/* === 共用样式 === */

:root {
  --brand-hue: 28;
  --text-primary: #170f0e;
  --text-secondary: #534b49;
  --text-muted: #7f787a;
  --accent: #c5353e;
  --accent-hover: #b7162d;
  --accent-subtle: #ffdbd9;
  --link-color: #3e5f8a;
  --link-visited: #4c476c;
  --page-background: #fcf7f8;
  --border: #ded5d4;
  --shadow-sm: 0 1px 3px oklch(0% 0 0 / 0.06);
  --shadow-md: 0 4px 16px oklch(0% 0 0 / 0.07), 0 1px 4px oklch(0% 0 0 / 0.04);
  --shadow-lg: 0 8px 32px oklch(0% 0 0 / 0.09), 0 2px 8px oklch(0% 0 0 / 0.05);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 250ms cubic-bezier(0.22, 0.61, 0.36, 1);
  --color-primary: #c5353e;
  --color-yellow: #ffa502;
  --color-blue: #3742fa;
  --color-red: #ff6348;
  --color-green: #2ed573;
  --color-purple: #a55eea;
  --color-orange: #fa8231;
  --color-pink: #FDA7DF;
  --color-gray: #747d8c;
}

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--page-background);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px);
}

.closure-banner {
  background: oklch(94% 0.06 90);
  border: 1px solid oklch(82% 0.10 90);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
  position: relative;
}
.closure-icon {
  font-size: 24px;
  flex-shrink: 0;
  line-height: 1;
}
.closure-text {
  flex: 1;
  font-size: 14px;
  color: oklch(35% 0.06 90);
  line-height: 1.6;
}
.closure-text strong { color: oklch(32% 0.08 70); }

.footer {
  margin-top: auto;
  padding: 32px 0;
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  background-color: white;
}

.footer a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
  margin: 0 8px;
}

.footer a:hover {
  color: var(--accent);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid oklch(55% 0.18 22 / 0.35);
  outline-offset: 2px;
}

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