/* Thai Star Schedule — mint & blush palette */

:root {
  --mint-50: #f0fdf9;
  --mint-100: #ccfbf1;
  --mint-300: #5eead4;
  --mint-400: #2dd4bf;
  --mint-500: #14b8a6;
  --pink-50: #fdf2f8;
  --pink-100: #fce7f3;
  --pink-300: #f9a8d4;
  --pink-400: #f472b6;
  --pink-500: #ec4899;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-400: #94a3b8;
  --slate-600: #475569;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --card-bg: rgba(255, 255, 255, 0.82);
  --card-border: rgba(255, 255, 255, 0.9);
  --shadow-soft: 0 4px 24px rgba(20, 184, 166, 0.08), 0 2px 8px rgba(236, 72, 153, 0.06);
  --shadow-hover: 0 12px 40px rgba(20, 184, 166, 0.14), 0 4px 16px rgba(236, 72, 153, 0.1);
  --radius-lg: 1.25rem;
  --radius-xl: 1.5rem;
  --font-display: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei",
    "Noto Sans CJK SC", Arial, sans-serif;
  --font-title: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei",
    "Noto Sans CJK SC", Arial, sans-serif;
  --title-mint: #00bfa5;
  --title-slate: #2c3e50;
  --max-width: 42rem;
  --poster-width: 132px;
  --poster-height: 174px;
  --poster-radius: 0.65rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--slate-800);
  background: linear-gradient(165deg, var(--mint-50) 0%, #fff 35%, var(--pink-50) 100%);
  position: relative;
  overflow-x: hidden;
}

/* Decorative blobs */
.bg-blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
}

.bg-blob--mint {
  width: min(70vw, 320px);
  height: min(70vw, 320px);
  background: var(--mint-300);
  top: -8%;
  right: -12%;
}

.bg-blob--pink {
  width: min(60vw, 280px);
  height: min(60vw, 280px);
  background: var(--pink-300);
  bottom: 10%;
  left: -15%;
}

/* Header */
.site-header {
  position: relative;
  z-index: 1;
  padding: 2.5rem 1.25rem 1.5rem;
  text-align: center;
}

.site-header__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.site-header__eyebrow {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mint-500);
}

/* 主标题 — 现代潮流排版：轻 · 重 · 稳 */
.site-header__title {
  position: relative;
  isolation: isolate;
  margin: 0;
  padding: 0.5rem 0.75rem 0.6rem;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial,
    "SF Pro SC", "Noto Sans CJK SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: clamp(2rem, 8vw, 3rem);
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 1.15;
  text-align: center;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.site-header__title::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 50%;
  width: min(108%, 24rem);
  height: 140%;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(ellipse 90% 75% at 28% 48%, rgba(0, 191, 165, 0.12), transparent 62%),
    radial-gradient(ellipse 75% 65% at 75% 42%, rgba(236, 72, 153, 0.1), transparent 60%),
    linear-gradient(
      100deg,
      rgba(255, 255, 255, 0.72) 0%,
      rgba(255, 255, 255, 0.35) 50%,
      rgba(255, 255, 255, 0.5) 100%
    );
  border-radius: 1.5rem;
  pointer-events: none;
}

.site-header__title-brand,
.site-header__title-num,
.site-header__title-zh {
  font-family: inherit;
  line-height: 1.1;
}

/* 泰流行 — 轻盈优雅 */
.site-header__title-brand {
  font-size: 0.95em;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--title-mint);
}

/* 369 — 潮牌视觉焦点 */
.site-header__title-num {
  margin: 0 6px;
  font-size: 1.2em;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: var(--pink-500);
  vertical-align: middle;
  position: relative;
  top: -1px;
}

/* 行程表 — 稳重收尾 */
.site-header__title-zh {
  font-size: 0.82em;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--title-slate);
}

.site-header__services {
  margin: 0.85rem 0 0;
  padding: 0 0.5rem;
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: 0.02em;
  color: var(--slate-400);
}

.seo-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin: 1rem auto 0;
}

.seo-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 2.35rem;
  padding: 0.55rem 0.85rem;
  border: 1px solid rgba(20, 184, 166, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--slate-800);
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(20, 184, 166, 0.08);
}

.seo-actions a:hover,
.seo-actions a:focus-visible {
  border-color: rgba(236, 72, 153, 0.3);
  color: var(--pink-500);
}

.site-header__wechat {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.4rem;
  margin: 0.5rem 0 0;
  padding: 0 0.5rem;
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--slate-600);
}

#wechat-id {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  color: var(--mint-500);
}

/* 复制胶囊标签 */
.copy-tag {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.3rem;
  margin: 0;
  padding: 0.28rem 0.7rem;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.04em;
  color: #3d8f85;
  cursor: pointer;
  background: rgba(204, 251, 241, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(45, 212, 191, 0.28);
  border-radius: 20px;
  box-shadow: 0 2px 10px rgba(20, 184, 166, 0.12);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.copy-tag__icon {
  display: block;
  flex-shrink: 0;
  color: #5a9e96;
}

.copy-tag__text {
  color: #4a7c76;
}

.copy-tag:hover {
  background: rgba(204, 251, 241, 0.82);
  border-color: rgba(45, 212, 191, 0.45);
  box-shadow: 0 4px 14px rgba(20, 184, 166, 0.16);
  transform: translateY(-1px);
}

.copy-tag:active {
  transform: translateY(0);
}

.copy-tag:focus-visible {
  outline: 2px solid var(--mint-400);
  outline-offset: 2px;
}

/* Module tabs */
.module-tabs {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 1.05rem;
  padding: 0.25rem;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 999px;
  box-shadow: 0 4px 18px rgba(20, 184, 166, 0.08);
}

.module-tab {
  min-width: 5.5rem;
  margin: 0;
  padding: 0.48rem 0.95rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--slate-500, var(--slate-600));
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.module-tab:hover {
  color: var(--slate-800);
  transform: translateY(-1px);
}

.module-tab--active {
  color: #fff;
  background: linear-gradient(135deg, var(--mint-500), var(--pink-500));
  box-shadow: 0 5px 16px rgba(20, 184, 166, 0.18);
}

.module-tab:focus-visible {
  outline: 2px solid var(--mint-400);
  outline-offset: 3px;
}

/* Shared content layout */
.site-main {
  position: relative;
  z-index: 1;
}

.content-panel[hidden] {
  display: none !important;
}

/* Schedule layout */
.schedule {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem 3rem;
}

.schedule-shell {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Date tabs navigation */
.date-tabs {
  position: relative;
  border-bottom: 1px solid rgba(148, 163, 184, 0.35);
  margin: 0 -0.25rem;
}

.date-tabs::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(45, 212, 191, 0.35) 20%,
    rgba(244, 114, 182, 0.35) 80%,
    transparent
  );
  pointer-events: none;
}

.date-tabs__scroll {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.25rem;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0 0.25rem 0;
  margin-bottom: -1px;
}

.date-tabs__scroll::-webkit-scrollbar {
  display: none;
}

.date-tab {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  padding: 0.65rem 1rem 0.75rem;
  margin: 0;
  border: none;
  background: transparent;
  font-family: var(--font-body);
  cursor: pointer;
  color: var(--slate-400);
  position: relative;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.date-tab__label {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  transition: font-weight 0.2s ease, color 0.2s ease;
}

.date-tab__weekday {
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--slate-400);
  opacity: 0.85;
  transition: color 0.2s ease;
}

.date-tab::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(90deg, var(--mint-400), var(--pink-400));
  transform: translateX(-50%);
  transition: width 0.25s ease;
}

.date-tab:hover {
  color: var(--slate-600);
}

.date-tab:hover .date-tab__label {
  color: var(--slate-700);
}

.date-tab--active {
  color: var(--slate-900);
}

.date-tab--active .date-tab__label {
  font-weight: 700;
  color: var(--slate-900);
}

.date-tab--active .date-tab__weekday {
  color: var(--mint-500);
  opacity: 1;
}

.date-tab--active::after {
  width: calc(100% - 1.25rem);
  min-width: 2.5rem;
}

.date-tab:focus-visible {
  outline: 2px solid var(--mint-400);
  outline-offset: 2px;
  border-radius: 0.5rem;
}

/* Day panels (tab content) */
.schedule-panels {
  position: relative;
  min-height: 4rem;
}

.day-panel {
  width: 100%;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.28s ease, transform 0.28s ease;
  pointer-events: none;
}

.day-panel:not(.day-panel--active):not([hidden]) {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.day-panel--active {
  position: relative;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.day-panel[hidden] {
  display: none !important;
}

.day-panel__empty {
  margin: 1.5rem 0;
  text-align: center;
  font-size: 0.88rem;
  color: var(--slate-400);
}

.card-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

/* Event cards — flex row: accent | [media] | body */
.event-card {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.event-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.event-card__accent {
  flex-shrink: 0;
  width: 5px;
  background: linear-gradient(180deg, var(--mint-400), var(--mint-500));
}

.event-card__accent--pink {
  background: linear-gradient(180deg, var(--pink-300), var(--pink-500));
}

.event-card--alt .event-card__body {
  background: linear-gradient(90deg, rgba(252, 231, 243, 0.25), transparent);
}

/* 左图右文：固定海报尺寸 + 右侧文字纵排 */
.event-card--has-image {
  min-height: calc(var(--poster-height) + 1.5rem);
}

.event-card--has-image .event-card__media {
  flex: 0 0 var(--poster-width);
  width: var(--poster-width);
  height: var(--poster-height);
  margin: 0.75rem 0 0.75rem 0.65rem;
  align-self: flex-start;
  overflow: hidden;
  border-radius: var(--poster-radius);
  background: linear-gradient(135deg, var(--mint-50), var(--pink-50));
  box-shadow: 0 2px 10px rgba(20, 184, 166, 0.1);
}

.event-card--has-image .event-card__poster {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.event-card__image-button {
  display: grid;
  width: 100%;
  height: 100%;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  cursor: zoom-in;
  overflow: hidden;
}

.event-card__image-button:hover .event-card__poster {
  transform: scale(1.03);
}

.event-card__image-button:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: -4px;
}

.event-card__poster {
  transition: transform 180ms ease;
}

.event-card__poster-tile {
  position: relative;
  display: block;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

.event-card__image-button--count-1 {
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
}

.event-card__image-button--count-2 {
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: 1fr;
  gap: 2px;
}

.event-card__image-button--count-3 {
  grid-template-columns: 1.18fr 0.82fr;
  grid-template-rows: repeat(2, 1fr);
  gap: 2px;
}

.event-card__image-button--count-3 .event-card__poster-tile:first-child {
  grid-row: 1 / span 2;
}

.event-card__image-button--count-4 {
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 2px;
}

.event-card__poster-more {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(18, 24, 38, 0.58);
  font-size: 1.2rem;
  font-weight: 900;
}

.event-card--has-image .event-card__body {
  flex: 1 1 0;
  min-width: 0;
  padding: 0.85rem 1rem 0.85rem 0.6rem;
}

/* 无图：文字区满宽毛玻璃 */
.event-card:not(.event-card--has-image) .event-card__body {
  flex: 1 1 100%;
  width: 100%;
}

.event-card__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  gap: 0.2rem;
  flex: 1;
  padding: 1rem 1.15rem 1.1rem;
  min-width: 0;
}

.event-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.65rem;
  margin-bottom: 0.15rem;
  flex-shrink: 0;
}

.event-card__time {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--mint-500);
  letter-spacing: 0.02em;
}

.event-card--alt .event-card__time {
  color: var(--pink-500);
}

.event-card__artist {
  margin: 0;
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--slate-900);
  line-height: 1.35;
  word-break: break-word;
}

.event-card__title {
  margin: 0;
  flex-shrink: 0;
  font-size: 0.9rem;
  color: var(--slate-600);
  line-height: 1.45;
}

.event-card__location {
  margin: 0.25rem 0 0;
  flex-shrink: 0;
  padding-left: 1.1rem;
  font-size: 0.82rem;
  color: var(--slate-400);
  line-height: 1.45;
  position: relative;
}

.event-card__location::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--mint-300), var(--pink-300));
  opacity: 0.85;
}

.event-card__notes {
  margin: 0.5rem 0 0;
  flex-shrink: 0;
  padding: 0.6rem 0.75rem;
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--slate-400);
  background: linear-gradient(135deg, rgba(241, 245, 249, 0.65), rgba(240, 253, 249, 0.5));
  border-radius: 0.65rem;
  border-left: 2px solid var(--pink-300);
}

.event-card--has-image .event-card__notes {
  margin-top: auto;
}

/* Loading & empty states */
.schedule-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin: 2rem 0;
  font-size: 0.9rem;
  color: var(--slate-600);
}

.schedule-status__spinner {
  width: 1.1rem;
  height: 1.1rem;
  border: 2px solid var(--mint-100);
  border-top-color: var(--mint-500);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.schedule-empty,
.schedule-error {
  margin: 2rem 0;
  padding: 1.25rem 1rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--slate-600);
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-soft);
}

.schedule-error__retry {
  margin-top: 0.85rem;
  padding: 0.45rem 1.1rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--mint-500);
  background: var(--mint-50);
  border: 1px solid rgba(20, 184, 166, 0.25);
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.schedule-error__retry:hover {
  background: var(--mint-100);
  transform: translateY(-1px);
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: 999px;
  letter-spacing: 0.04em;
}

.badge--offline {
  background: linear-gradient(135deg, var(--mint-100), var(--mint-50));
  color: var(--mint-500);
  border: 1px solid rgba(20, 184, 166, 0.2);
}

.badge--online {
  background: linear-gradient(135deg, var(--pink-100), var(--pink-50));
  color: var(--pink-500);
  border: 1px solid rgba(236, 72, 153, 0.2);
}

/* Merchandise */
.merchandise {
  max-width: 48rem;
  margin: 0 auto;
  padding: 0 1.25rem 3rem;
}

.merch-shell {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.merch-section-header {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.35rem 0.15rem 0;
}

.merch-section-header__title {
  margin: 0;
  font-family: var(--font-title);
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1.25;
}

.merch-section-header__intro {
  margin: 0;
  font-size: 0.82rem;
  color: var(--slate-400);
}

.merch-controls {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: 0.85rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.merch-category-tabs {
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 0.1rem;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.merch-category-tabs::-webkit-scrollbar {
  display: none;
}

.merch-category-tab {
  flex: 0 0 auto;
  min-height: 2rem;
  margin: 0;
  padding: 0.42rem 0.82rem;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--slate-600);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.merch-category-tab:hover {
  border-color: rgba(45, 212, 191, 0.36);
  color: var(--slate-900);
  transform: translateY(-1px);
}

.merch-category-tab--active {
  color: #fff;
  background: linear-gradient(135deg, var(--mint-500), var(--pink-500));
  border-color: transparent;
}

.merch-category-tab:focus-visible {
  outline: 2px solid var(--mint-400);
  outline-offset: 2px;
}

.merch-search {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 2.45rem;
  padding: 0.35rem 0.7rem;
  border: 1px solid rgba(20, 184, 166, 0.22);
  border-radius: 999px;
  background: rgba(240, 253, 249, 0.68);
}

.merch-search__label {
  flex: 0 0 auto;
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--mint-500);
}

.merch-search__input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--slate-800);
  font-family: var(--font-body);
  font-size: 0.86rem;
}

.merch-search__input::placeholder {
  color: var(--slate-400);
}

.merch-result-meta {
  margin: -0.2rem 0 0;
  padding: 0 0.15rem;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--slate-400);
}

.merch-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.merch-card {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.merch-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.merch-card--alt {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(252, 231, 243, 0.42));
}

.merch-card__media {
  flex: 0 0 auto;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, var(--mint-50), var(--pink-50));
}

.merch-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.merch-card__body {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem;
}

.merch-card:not(.merch-card--has-image) .merch-card__body {
  padding: 1rem;
}

.merch-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}

.merch-card__category,
.merch-card__status {
  display: inline-flex;
  align-items: center;
  min-height: 1.45rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
}

.merch-card__category {
  color: var(--mint-500);
  background: rgba(204, 251, 241, 0.62);
  border: 1px solid rgba(20, 184, 166, 0.18);
}

.merch-card__status {
  color: var(--pink-500);
  background: rgba(252, 231, 243, 0.78);
  border: 1px solid rgba(236, 72, 153, 0.18);
}

.merch-card__status[data-status="售罄"] {
  color: var(--slate-400);
  background: var(--slate-100);
  border-color: rgba(148, 163, 184, 0.2);
}

.merch-card__title {
  margin: 0.1rem 0 0;
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--slate-900);
  word-break: break-word;
}

.merch-card__star {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--slate-600);
  word-break: break-word;
}

.merch-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  margin-top: auto;
  padding-top: 0.35rem;
}

.merch-card__price {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  color: var(--pink-500);
  white-space: nowrap;
}

.merch-card__contact {
  flex: 0 0 auto;
  min-height: 2rem;
  padding: 0.42rem 0.78rem;
  border: 1px solid rgba(20, 184, 166, 0.24);
  border-radius: 999px;
  background: rgba(240, 253, 249, 0.88);
  color: var(--mint-500);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1;
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.merch-card__contact:hover {
  background: var(--mint-100);
  box-shadow: 0 4px 12px rgba(20, 184, 166, 0.16);
  transform: translateY(-1px);
}

.merch-card__contact:focus-visible {
  outline: 2px solid var(--mint-400);
  outline-offset: 2px;
}

.merch-card__notes {
  margin: 0.2rem 0 0;
  padding-top: 0.45rem;
  border-top: 1px solid rgba(148, 163, 184, 0.16);
  color: var(--slate-400);
  font-size: 0.75rem;
  line-height: 1.5;
}

.merch-empty {
  margin: 2rem 0;
  padding: 1.25rem 1rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--slate-600);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.merch-results-empty {
  margin: 0.4rem 0 0;
  padding: 1.25rem 1rem;
  text-align: center;
  font-size: 0.88rem;
  color: var(--slate-500, var(--slate-600));
  background: rgba(255, 255, 255, 0.72);
  border: 1px dashed rgba(148, 163, 184, 0.32);
  border-radius: var(--radius-lg);
}

/* Footer */
.site-footer {
  position: relative;
  z-index: 1;
  padding: 1.5rem 1.25rem 2rem;
  text-align: center;
}

.footer-links {
  margin: 0 0 0.45rem;
}

.footer-links a {
  color: var(--slate-400);
  font-size: 0.72rem;
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--slate-600);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.site-footer p {
  margin: 0;
  font-size: 0.75rem;
  color: var(--slate-400);
}

.seo-page {
  color: var(--slate-800);
}

.seo-hero,
.seo-main {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, var(--max-width));
  margin: 0 auto;
}

.seo-hero {
  padding: 3rem 0 1.5rem;
  text-align: center;
}

.seo-hero h1 {
  margin: 0;
  color: var(--slate-900);
  font-family: var(--font-title);
  font-size: clamp(2rem, 9vw, 3.15rem);
  line-height: 1.12;
  letter-spacing: 0;
}

.seo-hero p {
  margin: 1rem auto 0;
  max-width: 36rem;
  color: var(--slate-600);
  font-size: 1rem;
  line-height: 1.8;
}

.seo-main {
  display: grid;
  gap: 1rem;
  padding: 0 0 2rem;
}

.seo-section {
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.78);
  padding: 1.1rem 1.15rem;
  box-shadow: var(--shadow-soft);
}

.seo-section h2 {
  margin: 0 0 0.55rem;
  color: var(--slate-900);
  font-size: 1.08rem;
  line-height: 1.35;
  letter-spacing: 0;
}

.seo-section p,
.seo-section ul {
  margin: 0;
  color: var(--slate-600);
  font-size: 0.95rem;
  line-height: 1.75;
}

.seo-section ul {
  padding-left: 1.2rem;
}

/* Tablet & desktop */
@media (min-width: 640px) {
  .site-header {
    padding-top: 3.5rem;
    padding-bottom: 2rem;
  }

  .site-header__services {
    font-size: 0.82rem;
  }

  .site-header__wechat {
    font-size: 0.88rem;
  }

  #wechat-id {
    font-size: 0.95rem;
  }

  .schedule {
    padding-bottom: 4rem;
  }

  .merchandise {
    padding-bottom: 4rem;
  }

  .schedule-shell {
    gap: 1.5rem;
  }

  .date-tab__label {
    font-size: 1.05rem;
  }

  .date-tab {
    padding: 0.75rem 1.15rem 0.85rem;
  }

  .event-card__body {
    padding: 1.2rem 1.35rem 1.25rem;
  }

  .event-card__artist {
    font-size: 1.15rem;
  }

  .event-card__title {
    font-size: 0.95rem;
  }

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

  .merch-card {
    flex-direction: column;
  }

  .merch-card__media {
    flex: 0 0 auto;
    width: 100%;
    aspect-ratio: 1 / 1;
    min-height: 0;
  }

  .merch-card__body {
    padding: 1rem;
  }
}

/* Wide screens: subtle table-like density option via wider cards */
@media (min-width: 768px) {
  :root {
    --max-width: 36rem;
  }

  .card-list {
    gap: 1rem;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .event-card {
    transition: none;
  }

  .module-tab,
  .merch-card,
  .merch-card__contact {
    transition: none;
  }

  .event-card:hover {
    transform: none;
  }

  .module-tab:hover,
  .merch-card:hover,
  .merch-card__contact:hover {
    transform: none;
  }

  .schedule-status__spinner {
    animation: none;
  }

  .day-panel {
    transition: none;
    transform: none;
  }

  .date-tab::after {
    transition: none;
  }
}

/* Visual refresh: mobile-first fan magazine + shop */
:root {
  --ink: #121826;
  --muted: #7c8799;
  --line: rgba(18, 24, 38, 0.1);
  --paper: #fffdfa;
  --surface: rgba(255, 255, 255, 0.92);
  --warm: #fff3e8;
  --coral: #ff5c7a;
  --teal: #00b7a8;
  --amber: #ffb84d;
  --shadow-card: 0 18px 42px rgba(18, 24, 38, 0.1);
  --radius-lg: 1.1rem;
  --radius-xl: 1.35rem;
}

body {
  color: var(--ink);
  background:
    linear-gradient(180deg, #fff8ef 0%, #f7fbff 42%, #fff 100%);
}

.bg-blob {
  display: none;
}

.site-header {
  padding: 1.15rem 1rem 1rem;
  text-align: left;
}

.site-header__inner {
  max-width: 48rem;
  padding: 1.1rem;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 243, 232, 0.78)),
    linear-gradient(115deg, rgba(0, 183, 168, 0.12), rgba(255, 92, 122, 0.1));
  border: 1px solid rgba(255, 255, 255, 0.96);
  border-radius: 1.35rem;
  box-shadow: var(--shadow-card);
}

.site-header__eyebrow {
  margin-bottom: 0.35rem;
  color: var(--coral);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
}

.site-header__title {
  justify-content: flex-start;
  padding: 0;
  font-size: clamp(2.05rem, 10vw, 3.2rem);
  letter-spacing: 0.01em;
}

.site-header__title::before {
  display: none;
}

.site-header__title-brand {
  color: var(--ink);
  font-weight: 850;
  letter-spacing: 0;
}

.site-header__title-num {
  margin: 0 0.28rem;
  color: var(--coral);
  font-weight: 900;
}

.site-header__title-zh {
  color: var(--teal);
  font-weight: 800;
  letter-spacing: 0.02em;
}

.site-header__services {
  margin-top: 0.55rem;
  padding: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.site-header__wechat {
  justify-content: flex-start;
  margin-top: 0.8rem;
  padding: 0;
  color: var(--muted);
}

#wechat-id {
  color: var(--teal);
}

.copy-tag,
.merch-card__contact,
.schedule-error__retry {
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 8px 18px rgba(0, 183, 168, 0.1);
}

.module-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100%;
  margin-top: 1rem;
  padding: 0.3rem;
  background: rgba(18, 24, 38, 0.06);
  border: 1px solid rgba(18, 24, 38, 0.08);
  border-radius: 1rem;
  box-shadow: none;
}

.module-tab {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.72rem 0.5rem;
  color: var(--muted);
  font-size: 0.8rem;
  border-radius: 0.75rem;
}

.module-tab__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.55rem;
  height: 1.35rem;
  padding: 0 0.42rem;
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
}

.module-tab--active {
  color: #fff;
  background: var(--ink);
  box-shadow: 0 10px 22px rgba(18, 24, 38, 0.18);
}

.module-tab--active .module-tab__count {
  color: var(--ink);
  background: #fff;
}

.site-main {
  margin-top: 0.1rem;
}

.schedule,
.merchandise,
.groups,
.event-buying {
  max-width: 48rem;
  margin: 0 auto;
  padding: 0 1rem 3rem;
}

.date-tabs {
  margin: 0;
  border: 0;
}

.date-tabs::after {
  display: none;
}

.date-tabs__scroll {
  gap: 0.5rem;
  padding: 0.1rem 0 0.2rem;
}

.date-tab {
  min-width: 4.6rem;
  padding: 0.62rem 0.78rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  box-shadow: 0 10px 24px rgba(18, 24, 38, 0.06);
}

.date-tab::after {
  display: none;
}

.date-tab--active {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}

.date-tab--active .date-tab__label,
.date-tab--active .date-tab__weekday {
  color: #fff;
}

.date-tab__weekday {
  color: var(--muted);
}

.card-list {
  gap: 0.85rem;
}

.event-card {
  background: var(--surface);
  border: 1px solid rgba(18, 24, 38, 0.08);
  border-radius: 1.2rem;
  box-shadow: 0 14px 34px rgba(18, 24, 38, 0.08);
}

.event-card__accent {
  width: 0;
}

.event-card--alt .event-card__body {
  background: transparent;
}

.event-card--has-image .event-card__media {
  margin: 0.9rem 0 0.9rem 0.9rem;
  border-radius: 0.95rem;
  box-shadow: 0 12px 24px rgba(18, 24, 38, 0.12);
}

.event-card--has-image .event-card__body {
  padding: 0.9rem 0.95rem 0.95rem 0.85rem;
}

.event-card__meta {
  gap: 0.45rem;
}

.event-card__time {
  color: var(--teal);
  font-size: 1rem;
  font-weight: 900;
}

.event-card--alt .event-card__time {
  color: var(--coral);
}

.badge,
.merch-card__category,
.merch-card__status {
  border-radius: 999px;
  font-weight: 900;
}

.badge--offline,
.badge--online {
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
}

.event-card__artist {
  color: var(--ink);
  font-size: 1.02rem;
  letter-spacing: 0.01em;
}

.event-card__title {
  color: #404a5d;
  font-weight: 650;
}

.event-card__location {
  color: var(--muted);
}

.event-card__location::before {
  background: var(--amber);
}

.event-card__notes {
  color: var(--muted);
  background: #f7f8fa;
  border-left: 3px solid var(--coral);
  border-radius: 0.85rem;
}

.merch-shell {
  gap: 0.9rem;
}

.merch-section-header {
  padding: 0.2rem 0.1rem;
}

.merch-section-header__title {
  font-size: 1.35rem;
  letter-spacing: 0;
}

.merch-section-header__intro {
  color: var(--muted);
}

.merch-controls {
  padding: 0.82rem;
  background: var(--surface);
  border: 1px solid rgba(18, 24, 38, 0.08);
  border-radius: 1.15rem;
  box-shadow: 0 14px 34px rgba(18, 24, 38, 0.08);
}

.merch-category-tabs {
  gap: 0.5rem;
}

.merch-category-tab {
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
}

.merch-category-tab--active {
  color: #fff;
  background: var(--ink);
}

.merch-search {
  background: #f7f8fa;
  border-color: transparent;
  border-radius: 0.85rem;
}

.merch-search__label {
  color: var(--coral);
}

.merch-grid {
  gap: 1rem;
}

.merch-card {
  background: #fff;
  border: 1px solid rgba(18, 24, 38, 0.08);
  border-radius: 1.15rem;
  box-shadow: 0 14px 34px rgba(18, 24, 38, 0.08);
}

.merch-card--alt {
  background: #fff;
}

.merch-card__media {
  background: #f2f4f7;
}

.merch-card__body {
  gap: 0.45rem;
}

.merch-card__title {
  font-size: 1.05rem;
}

.merch-card__star {
  color: var(--muted);
}

.merch-card__category {
  color: var(--teal);
  background: rgba(0, 183, 168, 0.1);
  border-color: rgba(0, 183, 168, 0.18);
}

.merch-card__status {
  color: var(--coral);
  background: rgba(255, 92, 122, 0.1);
  border-color: rgba(255, 92, 122, 0.18);
}

.merch-card__price {
  color: var(--ink);
  font-size: 1.12rem;
}

.merch-card__contact {
  color: #fff;
  background: var(--teal);
  border-color: var(--teal);
  box-shadow: 0 10px 22px rgba(0, 183, 168, 0.22);
}

.merch-card__notes {
  color: var(--muted);
}

/* WeChat groups */
.groups {
  margin: 0 auto;
}

.groups-shell {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.groups-section-header {
  padding: 0.2rem 0.1rem;
}

.groups-section-header__title {
  margin: 0;
  font-family: var(--font-title);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--ink);
}

.groups-section-header__intro {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.groups-grid {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.group-card {
  min-height: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.85rem;
  overflow: hidden;
  padding: 0.78rem;
  background: var(--surface);
  border: 1px solid rgba(39, 34, 27, 0.1);
  border-radius: 1.15rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.group-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 54px rgba(44, 36, 25, 0.14);
}

.group-card__media {
  flex: 0 0 6.4rem;
  display: grid;
  place-items: center;
  width: 6.4rem;
  height: 6.4rem;
  aspect-ratio: 1 / 1;
  padding: 0.28rem;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(39, 34, 27, 0.08);
  border-radius: 0.95rem;
  box-shadow: 0 10px 22px rgba(44, 36, 25, 0.08);
}

button.group-card__media {
  position: relative;
  margin: 0;
  cursor: zoom-in;
}

button.group-card__media::after {
  content: "查看";
  position: absolute;
  right: 0.42rem;
  bottom: 0.42rem;
  padding: 0.18rem 0.38rem;
  color: #fff;
  background: rgba(23, 21, 18, 0.72);
  border-radius: 999px;
  font-size: 0.6rem;
  font-weight: 900;
  line-height: 1;
  opacity: 0;
  transition: opacity 0.18s ease;
}

button.group-card__media:hover::after,
button.group-card__media:focus-visible::after {
  opacity: 1;
}

button.group-card__media:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

.group-card__image {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 0.72rem;
}

.group-card__media--empty {
  color: var(--muted);
  background: rgba(243, 234, 220, 0.62);
  font-size: 0.86rem;
  font-weight: 800;
}

.group-card__body {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.42rem;
  padding: 0.1rem 0.15rem 0.1rem 0;
}

.group-card__label {
  width: fit-content;
  margin: 0;
  padding: 0.22rem 0.58rem;
  color: var(--teal);
  background: rgba(102, 122, 106, 0.12);
  border: 1px solid rgba(102, 122, 106, 0.18);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.04em;
}

.group-card__title {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.35;
  word-break: break-word;
}

/* Event buying */
.event-buying {
  margin: 0 auto;
}

.event-buying-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  padding: 0.2rem 0.1rem 0.45rem;
  color: var(--ink);
}

.event-buying-header__eyebrow {
  margin: 0;
  color: var(--teal);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.event-buying-header__title {
  margin: 0;
  font-family: var(--font-title);
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1.25;
}

.event-buying-header__intro {
  max-width: 34rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.65;
}

.event-buying-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.event-buying-list-card {
  display: flex;
  align-items: stretch;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid rgba(39, 34, 27, 0.1);
  border-radius: 1.15rem;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.event-buying-list-card:hover {
  border-color: rgba(102, 122, 106, 0.28);
  box-shadow: 0 18px 42px rgba(39, 34, 27, 0.14);
  transform: translateY(-1px);
}

.event-buying-list-card:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

.event-buying-list-card__media {
  flex: 0 0 110px;
  width: 110px;
  min-height: 145px;
  margin: 0.9rem 0 0.9rem 0.9rem;
  background: #fff;
  border-radius: 0.95rem;
  box-shadow: 0 12px 24px rgba(18, 24, 38, 0.12);
  overflow: hidden;
}

.event-buying-list-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.event-buying-list-card__media--empty {
  display: grid;
  place-items: center;
  color: var(--muted);
  background: rgba(243, 234, 220, 0.62);
  font-size: 0.86rem;
  font-weight: 900;
}

.event-buying-list-card__body {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.9rem 0.95rem 0.95rem 0.85rem;
}

.event-buying-list-card__date,
.event-buying-detail__date {
  width: fit-content;
  margin: 0;
  padding: 0.22rem 0.58rem;
  color: var(--coral);
  background: rgba(159, 111, 79, 0.1);
  border: 1px solid rgba(159, 111, 79, 0.16);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
}

.event-buying-list-card__artist {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-title);
  font-size: 1.02rem;
  font-weight: 900;
  line-height: 1.35;
  word-break: break-word;
}

.event-buying-list-card__summary {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.55;
}

.event-buying-list-card__button,
.event-buying-detail__back,
.event-buying-detail__contact,
.event-buying-lightbox__close,
.event-buying-lightbox__link {
  min-height: 2.35rem;
  padding: 0.62rem 0.9rem;
  border-radius: 0.85rem;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
}

.event-buying-list-card__button,
.event-buying-detail__contact {
  width: fit-content;
  margin-top: 0.15rem;
  color: #fff;
  background: var(--teal);
  border: 1px solid var(--teal);
  box-shadow: 0 10px 22px rgba(102, 122, 106, 0.22);
}

.event-buying-detail {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.event-buying-detail__back {
  width: fit-content;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
}

.event-buying-detail__header,
.event-buying-detail__content {
  padding: 1rem;
  background: var(--surface);
  border: 1px solid rgba(39, 34, 27, 0.1);
  border-radius: 1.15rem;
  box-shadow: var(--shadow-card);
}

.event-buying-detail__title {
  margin: 0.55rem 0 0;
  color: var(--ink);
  font-family: var(--font-title);
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1.25;
}

.event-buying-detail__artist,
.event-buying-detail__summary {
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.event-buying-detail__artist {
  color: var(--ink);
  font-weight: 900;
}

.event-buying-gallery {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.event-buying-gallery__viewport {
  overflow-x: auto;
  overflow-y: hidden;
  border-radius: 1rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.event-buying-gallery__viewport::-webkit-scrollbar {
  display: none;
}

.event-buying-gallery__track {
  display: flex;
}

.event-buying-gallery__slide {
  flex: 0 0 100%;
  min-width: 0;
  scroll-snap-align: center;
}

.event-buying-gallery__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 2.45rem;
  height: 2.45rem;
  padding: 0;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(39, 34, 27, 0.12);
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(18, 24, 38, 0.14);
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 900;
  line-height: 1;
  transform: translateY(-50%);
}

.event-buying-gallery__nav--prev {
  left: 0.65rem;
}

.event-buying-gallery__nav--next {
  right: 0.65rem;
}

.event-buying-gallery__dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
}

.event-buying-gallery__dot {
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(129, 121, 109, 0.34);
  cursor: pointer;
}

.event-buying-gallery__dot--active {
  width: 1.35rem;
  background: var(--teal);
}

.event-buying-image {
  display: block;
  overflow: hidden;
  width: 100%;
  padding: 0;
  border: 1px solid rgba(39, 34, 27, 0.1);
  border-radius: 1rem;
  background: #fff;
  cursor: zoom-in;
  box-shadow: 0 12px 28px rgba(18, 24, 38, 0.08);
}

.event-buying-image__img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: contain;
  object-position: center;
  background: #fff;
}

.event-buying-detail__content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.event-buying-rule-block {
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(39, 34, 27, 0.1);
}

.event-buying-rule-block h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-title);
  font-size: 1.05rem;
  font-weight: 900;
}

.event-buying-rule-block p {
  margin: 0.6rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.85;
}

.event-buying-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem;
  background: rgba(18, 24, 38, 0.88);
}

.event-buying-lightbox__stage {
  position: relative;
  display: inline-grid;
  max-width: 100%;
  max-height: 78dvh;
  place-items: center;
}

.event-buying-lightbox__image {
  display: block;
  max-width: 100%;
  max-height: 78dvh;
  object-fit: contain;
  border-radius: 0.75rem;
  background: #fff;
}

.event-buying-lightbox__counter {
  min-height: 1.4rem;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
}

.event-buying-lightbox__close,
.event-buying-lightbox__link,
.event-buying-lightbox__nav {
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.85);
}

.event-buying-lightbox__close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  z-index: 2;
  flex: 0 0 auto;
  width: 3.35rem;
  min-width: 3.35rem;
  height: 3.35rem;
  min-height: 3.35rem;
  padding: 0;
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(18, 24, 38, 0.18);
}

.event-buying-lightbox__close::before,
.event-buying-lightbox__close::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1.35rem;
  height: 0.18rem;
  border-radius: 999px;
  background: var(--ink);
  transform-origin: center;
}

.event-buying-lightbox__close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.event-buying-lightbox__close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.event-buying-lightbox__nav {
  position: fixed;
  top: 50%;
  z-index: 1;
  display: grid;
  place-items: center;
  width: clamp(3.4rem, 9vw, 5.6rem);
  height: clamp(7rem, 32vh, 18rem);
  padding: 0;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transform: translateY(-50%);
}

.event-buying-lightbox__nav--prev {
  left: max(0.8rem, env(safe-area-inset-left));
}

.event-buying-lightbox__nav--next {
  right: max(0.8rem, env(safe-area-inset-right));
}

.event-buying-lightbox__actions {
  display: flex;
  justify-content: center;
}

.event-buying-list-card__button:hover,
.event-buying-detail__contact:hover,
.event-buying-detail__back:hover,
.event-buying-lightbox__close:hover,
.event-buying-lightbox__link:hover,
.event-buying-lightbox__nav:hover {
  transform: translateY(-1px);
}

.event-buying-lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-50%) scale(1.02);
}

.event-buying-lightbox__close:hover {
  transform: scale(1.04);
}

.event-buying-list-card__button:focus-visible,
.event-buying-detail__contact:focus-visible,
.event-buying-detail__back:focus-visible,
.event-buying-image:focus-visible,
.event-buying-gallery__nav:focus-visible,
.event-buying-gallery__dot:focus-visible,
.event-buying-lightbox__close:focus-visible,
.event-buying-lightbox__link:focus-visible,
.event-buying-lightbox__nav:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

@media (max-width: 640px) {
  .event-buying-lightbox {
    padding: 0.75rem;
  }

  .event-buying-lightbox__image {
    max-height: 72dvh;
  }

  .event-buying-lightbox__nav {
    top: 48%;
    width: clamp(2.8rem, 14vw, 4.2rem);
    height: clamp(6rem, 30vh, 13rem);
    background: rgba(18, 24, 38, 0.12);
    border-color: rgba(255, 255, 255, 0.12);
    font-size: clamp(2.4rem, 12vw, 3.8rem);
  }

  .event-buying-lightbox__nav:hover {
    transform: translateY(-50%) scale(1.02);
  }

  .event-buying-lightbox__actions {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
}

@media (max-width: 520px) {
  .module-tabs {
    display: flex;
    gap: 0.35rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .module-tabs::-webkit-scrollbar {
    display: none;
  }

  .module-tab {
    flex: 0 0 auto;
    min-width: max-content;
    padding-inline: 0.72rem;
    white-space: nowrap;
    scroll-snap-align: start;
  }
}

@media (max-width: 380px) {
  .event-buying-list-card__media {
    flex-basis: 96px;
    width: 96px;
    min-height: 126px;
    margin: 0.75rem 0 0.75rem 0.75rem;
  }

  .event-buying-list-card__body {
    padding: 0.75rem 0.8rem;
  }

  .event-buying-list-card__artist {
    font-size: 0.95rem;
  }

  .event-buying-list-card__summary {
    font-size: 0.76rem;
  }
}

.schedule-empty,
.schedule-error,
.merch-empty,
.merch-results-empty,
.groups-empty {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1.15rem;
  box-shadow: 0 14px 34px rgba(18, 24, 38, 0.08);
}

.site-footer {
  padding-top: 0;
}

@media (min-width: 640px) {
  .site-header {
    padding-top: 1.4rem;
  }

  .site-header__inner {
    padding: 1.35rem;
  }

  .schedule,
  .merchandise,
  .groups,
  .event-buying {
    padding-bottom: 4rem;
  }

  .event-card__artist {
    font-size: 1.1rem;
  }

  .event-buying-header__title {
    font-size: 1.5rem;
  }

  .event-buying-list-card__body,
  .event-buying-detail__header,
  .event-buying-detail__content {
    padding: 1.2rem;
  }

  .event-buying-gallery__viewport {
    max-width: 34rem;
    margin: 0 auto;
  }
}

/* Premium tone refinement */
:root {
  --ink: #171512;
  --muted: #81796d;
  --line: rgba(39, 34, 27, 0.1);
  --paper: #faf7f1;
  --surface: rgba(255, 253, 248, 0.94);
  --warm: #f3eadc;
  --coral: #9f6f4f;
  --teal: #667a6a;
  --amber: #c6a15b;
  --shadow-card: 0 18px 48px rgba(44, 36, 25, 0.1);
}

body {
  background:
    radial-gradient(circle at 12% 0%, rgba(198, 161, 91, 0.18), transparent 34rem),
    linear-gradient(180deg, #f7f1e8 0%, #fbfaf7 46%, #f6f2ea 100%);
}

.site-header__inner {
  background:
    linear-gradient(145deg, rgba(255, 253, 248, 0.96), rgba(243, 234, 220, 0.74)),
    linear-gradient(120deg, rgba(198, 161, 91, 0.14), rgba(102, 122, 106, 0.08));
  border-color: rgba(255, 253, 248, 0.95);
}

.site-header__eyebrow,
.site-header__title-num,
.merch-search__label {
  color: var(--coral);
}

.site-header__title-zh,
#wechat-id {
  color: var(--teal);
}

.date-tab,
.event-card,
.merch-controls,
.merch-card,
.schedule-empty,
.schedule-error,
.merch-empty,
.merch-results-empty {
  background: var(--surface);
  border-color: rgba(39, 34, 27, 0.1);
  box-shadow: var(--shadow-card);
}

.module-tab--active,
.date-tab--active,
.merch-category-tab--active {
  background: var(--ink);
  border-color: var(--ink);
}

.module-tab--active,
.module-tab--active:hover,
.date-tab--active,
.date-tab--active:hover,
.merch-category-tab--active,
.merch-category-tab--active:hover {
  color: #fff;
}

.date-tab--active .date-tab__label,
.date-tab--active .date-tab__weekday,
.date-tab--active:hover .date-tab__label,
.date-tab--active:hover .date-tab__weekday {
  color: #fff;
}

.event-card__time {
  color: var(--coral);
}

.event-card--alt .event-card__time {
  color: var(--teal);
}

.badge--offline,
.badge--online {
  color: var(--ink);
  background: rgba(255, 253, 248, 0.82);
}

.event-card__artist {
  color: var(--ink);
  font-weight: 900;
}

.event-card__location {
  margin-top: 0.42rem;
  padding: 0.68rem 0.78rem 0.68rem 2.05rem;
  color: #332f29;
  background: linear-gradient(135deg, rgba(198, 161, 91, 0.18), rgba(255, 253, 248, 0.82));
  border: 1px solid rgba(198, 161, 91, 0.22);
  border-radius: 0.9rem;
  font-size: 0.92rem;
  font-weight: 850;
  line-height: 1.45;
}

.event-card__location::before {
  left: 0.78rem;
  top: 0.98rem;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(198, 161, 91, 0.16);
}

.event-card__title {
  margin-top: 0.42rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 650;
}

.event-card__notes {
  background: rgba(255, 253, 248, 0.7);
  border-left-color: rgba(159, 111, 79, 0.62);
}

.merch-card__category {
  color: var(--teal);
  background: rgba(102, 122, 106, 0.12);
  border-color: rgba(102, 122, 106, 0.18);
}

.merch-card__status {
  color: var(--coral);
  background: rgba(159, 111, 79, 0.12);
  border-color: rgba(159, 111, 79, 0.18);
}

.merch-card__contact {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
  box-shadow: 0 12px 26px rgba(23, 21, 18, 0.18);
}

@media (min-width: 640px) {
  .event-card__location {
    font-size: 0.98rem;
  }

  .event-card__title {
    font-size: 0.86rem;
  }
}

/* Opening doll animation */
.intro-pop {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: grid;
  place-items: end center;
  padding: 1.25rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 78%, rgba(198, 161, 91, 0.24), transparent 18rem),
    rgba(250, 247, 241, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
}

.intro-pop--hidden {
  pointer-events: none;
  animation: introHide 0.38s ease forwards;
}

.intro-pop__stage {
  position: relative;
  width: min(100%, 26rem);
  height: 16rem;
}

.intro-pop__stage::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 2.35rem;
  height: 1.15rem;
  background: radial-gradient(ellipse at center, rgba(44, 36, 25, 0.2), transparent 70%);
  border: 0;
  border-radius: 999px;
  filter: blur(8px);
  opacity: 0.72;
}

.intro-pop__doll {
  position: absolute;
  bottom: 1.95rem;
  width: 7.4rem;
  aspect-ratio: 1 / 1;
  padding: 0.34rem;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(255, 253, 248, 0.95);
  border-radius: 50%;
  box-shadow: 0 16px 34px rgba(44, 36, 25, 0.2);
  transform: translateY(9rem) rotate(var(--tilt));
  animation: dollClimb 0.68s cubic-bezier(0.2, 0.85, 0.2, 1.1) forwards,
    dollWiggle 1s ease-in-out 0.78s infinite;
}

.intro-pop__doll img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
}

.intro-pop__doll--one {
  --tilt: -9deg;
  left: 4%;
  width: 6.8rem;
  animation-delay: 0.04s, 0.82s;
}

.intro-pop__doll--two {
  --tilt: 3deg;
  left: 50%;
  width: 8rem;
  margin-left: -4rem;
  z-index: 2;
  animation-delay: 0.12s, 0.9s;
}

.intro-pop__doll--three {
  --tilt: 10deg;
  right: 4%;
  width: 6.8rem;
  animation-delay: 0.2s, 0.98s;
}

.intro-pop__text {
  position: absolute;
  left: 50%;
  bottom: 0.15rem;
  z-index: 3;
  margin: 0;
  padding: 0.5rem 0.95rem;
  color: #fff;
  background: var(--ink);
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(23, 21, 18, 0.2);
  font-size: 0.88rem;
  font-weight: 900;
  white-space: nowrap;
  transform: translate(-50%, 1rem);
  opacity: 0;
  animation: introText 0.32s ease 0.48s forwards;
}

@keyframes dollClimb {
  0% {
    transform: translateY(9rem) rotate(var(--tilt)) scale(0.86);
  }

  72% {
    transform: translateY(-0.45rem) rotate(var(--tilt)) scale(1.04);
  }

  100% {
    transform: translateY(0) rotate(var(--tilt)) scale(1);
  }
}

@keyframes dollWiggle {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -0.22rem;
  }
}

@keyframes introText {
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

@keyframes introFade {
  0%,
  82% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes introHide {
  to {
    opacity: 0;
    transform: scale(1.01);
    visibility: hidden;
  }
}

@media (prefers-reduced-motion: reduce) {
  .intro-pop {
    display: none;
  }
}

/* Merchandise list layout: small image + details */
.merch-grid {
  grid-template-columns: 1fr;
}

.merch-card {
  flex-direction: row;
  align-items: stretch;
}

.merch-card__media {
  position: relative;
  display: block;
  flex: 0 0 7.25rem;
  width: 7.25rem;
  align-self: stretch;
  min-height: 7.25rem;
  margin: 0.85rem 0 0.85rem 0.85rem;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0.95rem;
  background: #f2f0ea;
  cursor: zoom-in;
}

.merch-card__media::after {
  content: "查看";
  position: absolute;
  right: 0.45rem;
  bottom: 0.45rem;
  padding: 0.2rem 0.42rem;
  color: #fff;
  background: rgba(23, 21, 18, 0.72);
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 900;
  opacity: 0;
  transition: opacity 0.18s ease;
}

.merch-card__media:hover::after,
.merch-card__media:focus-visible::after {
  opacity: 1;
}

.merch-card__image {
  width: 100%;
  height: 100%;
}

.merch-card__body {
  min-width: 0;
  padding: 0.88rem 0.9rem 0.88rem 0.78rem;
}

.merch-card__title {
  font-size: 1rem;
}

.merch-card__footer {
  align-items: flex-end;
  gap: 0.55rem;
}

.merch-card__price {
  font-size: 1.05rem;
}

.merch-card__contact {
  min-height: 2rem;
  padding: 0.42rem 0.7rem;
  font-size: 0.74rem;
}

.merch-card__notes {
  font-size: 0.74rem;
}

@media (min-width: 640px) {
  .merch-grid {
    grid-template-columns: 1fr;
  }

  .merch-card__media {
    flex-basis: 8.5rem;
    width: 8.5rem;
    min-height: 8.5rem;
  }

  .merch-card__body {
    padding: 1rem 1.05rem;
  }
}
