/* =====================================================================
   云京公会 · 站点样式
   暗紫 + 金色 · 像素硬边风格（还原原 React/Tailwind 设计）
   ===================================================================== */

:root {
  color-scheme: dark;
  --background: #131022;
  --foreground: #ece9f7;
  --card: #1a1630;
  --card-70: rgba(26, 22, 48, 0.7);
  --card-60: rgba(26, 22, 48, 0.6);
  --card-80: rgba(26, 22, 48, 0.8);
  --primary: #e8b64c;
  --primary-foreground: #221603;
  --secondary: #221c3e;
  --secondary-foreground: #dcd7f0;
  --muted: #1d1836;
  --muted-foreground: #9a93bd;
  --accent: #262048;
  --accent-foreground: #e4dff5;
  --destructive: #f87171;
  --border: #322a55;
  --input: #3a3164;
  --gold-soft: #e3c07a;
  --radius: 2px;
  --radius-btn: 4px;
  --font-sans: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "Cascadia Code", Consolas, "Liberation Mono", monospace;
  --shadow-pixel: 6px 6px 0 0 rgba(0, 0, 0, 0.45);
  --shadow-dialog: 0 24px 60px -12px rgba(0, 0, 0, 0.6);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100dvh;
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  background-image:
    radial-gradient(1100px 520px at 82% -12%, rgba(232, 182, 76, 0.1), transparent 62%),
    radial-gradient(900px 520px at 8% 8%, rgba(111, 91, 216, 0.14), transparent 60%),
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: auto, auto, 32px 32px, 32px 32px;
  background-attachment: fixed;
}

::selection {
  background: rgba(232, 182, 76, 0.28);
}

h1,
h2,
h3,
p,
ul,
ol {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

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

button {
  font: inherit;
  color: inherit;
}

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

svg {
  display: block;
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

code {
  font-family: var(--font-mono);
}

:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(232, 182, 76, 0.5);
}

.mono {
  font-family: var(--font-mono);
}

.muted {
  color: var(--muted-foreground);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 10px 16px;
  background: var(--primary);
  color: var(--primary-foreground);
  border-radius: var(--radius-btn);
}

.skip-link:focus {
  left: 16px;
  top: 12px;
}

/* ------------------------------------------------------------ 布局 */

.container {
  width: 100%;
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 16px;
}

main {
  display: block;
}

.section {
  border-bottom: 1px solid rgba(50, 42, 85, 0.6);
}

.section > .container {
  padding-top: 56px;
  padding-bottom: 56px;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.section-index {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: rgba(232, 182, 76, 0.8);
}

.section-index .line {
  display: block;
  width: 32px;
  height: 1px;
  background: rgba(232, 182, 76, 0.3);
}

.section-title {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.section-intro {
  max-width: 42rem;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted-foreground);
}

.section-body {
  margin-top: 32px;
}

/* ------------------------------------------------------------ 顶栏 */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(50, 42, 85, 0.8);
  background: rgba(19, 16, 34, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.pixel-logo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 1px;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  padding: 1px;
  border: 1px solid rgba(0, 0, 0, 0.5);
  border-radius: 2px;
  background: rgba(0, 0, 0, 0.4);
}

.pixel-logo > span {
  display: block;
}

.pixel-logo > span:nth-child(1) {
  background: #f3c969;
}
.pixel-logo > span:nth-child(2) {
  background: #d9a441;
}
.pixel-logo > span:nth-child(3) {
  background: #6f5bd8;
}
.pixel-logo > span:nth-child(4) {
  background: #57448f;
}

.brand-text {
  min-width: 0;
  line-height: 1.25;
}

.brand-name {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-sub {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--muted-foreground);
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  display: inline-block;
  padding: 8px 12px;
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--muted-foreground);
  transition: background-color 0.15s ease, color 0.15s ease;
}

.nav a:hover {
  background: var(--accent);
  color: var(--foreground);
}

.admin-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  color: var(--muted-foreground);
  transition: border-color 0.15s ease, color 0.15s ease;
}

.admin-link:hover {
  border-color: rgba(232, 182, 76, 0.4);
  color: var(--foreground);
}

.nav-mobile {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  border-top: 1px solid rgba(50, 42, 85, 0.6);
  padding: 8px 16px;
  scrollbar-width: none;
}

.nav-mobile::-webkit-scrollbar {
  display: none;
}

.nav-mobile a {
  flex: 0 0 auto;
}

/* ------------------------------------------------------------ Hero */

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(700px 320px at 75% 0%, rgba(232, 182, 76, 0.14), transparent 70%);
}

.hero-inner {
  position: relative;
  display: grid;
  align-items: center;
  gap: 40px;
  padding-top: 48px;
  padding-bottom: 48px;
}

.hero-eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border: 1px solid rgba(232, 182, 76, 0.4);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--primary);
}

.hero-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted-foreground);
}

.hero-title {
  margin-top: 20px;
  font-size: 36px;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-shadow: 0 0 28px rgba(232, 182, 76, 0.35);
  overflow-wrap: anywhere;
}

.hero-tagline {
  margin-top: 16px;
  max-width: 36rem;
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted-foreground);
}

.hero-ip {
  margin-top: 28px;
  max-width: 28rem;
}

.default-hint {
  margin-top: 8px;
  font-size: 12px;
  color: rgba(227, 192, 122, 0.9);
}

.mode-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.chip {
  padding: 4px 10px;
  border: 1px solid var(--border);
  background: rgba(34, 28, 62, 0.6);
  font-size: 12px;
  color: var(--secondary-foreground);
  border-radius: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-media {
  position: relative;
}

.hero-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  box-shadow: var(--shadow-pixel);
}

.hero-frame img {
  width: 100%;
  height: 100%;
  max-height: 460px;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}

.hero-caption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 56px 16px 16px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.35), transparent);
}

.hero-caption-label {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: rgba(232, 182, 76, 0.9);
}

.hero-caption-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
}

.hero-stats {
  position: relative;
  border-top: 1px solid rgba(50, 42, 85, 0.6);
  background: rgba(0, 0, 0, 0.2);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px;
}

.stat + .stat {
  border-left: 1px solid rgba(50, 42, 85, 0.6);
}

.stat:first-child {
  padding-left: 0;
}

.stat:last-child {
  padding-right: 0;
}

.stat-value {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
}

.stat-label {
  font-size: 12px;
  color: var(--muted-foreground);
}

/* ------------------------------------------------------------ 通用组件 */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 36px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: var(--radius-btn);
  background: var(--primary);
  color: var(--primary-foreground);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, opacity 0.15s ease;
}

.btn:hover {
  background: rgba(232, 182, 76, 0.9);
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.btn-lg {
  height: 40px;
  padding: 0 24px;
  font-weight: 600;
}

.btn-sm {
  height: 32px;
  padding: 0 12px;
}

.btn-outline {
  background: transparent;
  border-color: var(--input);
  color: var(--foreground);
}

.btn-outline:hover {
  background: var(--accent);
  border-color: var(--input);
}

.btn-secondary {
  background: var(--secondary);
  color: var(--secondary-foreground);
}

.btn-secondary:hover {
  background: rgba(34, 28, 62, 0.8);
}

.btn-ghost {
  background: transparent;
  color: var(--foreground);
}

.btn-ghost:hover {
  background: var(--accent);
}

.btn-block {
  width: 100%;
}

.pixel-shadow {
  box-shadow: var(--shadow-pixel);
}

.card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card-70);
}

.hoverable {
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.hoverable:hover {
  border-color: rgba(232, 182, 76, 0.35);
}

.blank {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 48px 24px;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  background: rgba(26, 22, 48, 0.4);
  text-align: center;
}

.blank svg {
  width: 24px;
  height: 24px;
  color: var(--muted-foreground);
}

.blank-title {
  font-size: 14px;
  font-weight: 500;
}

.blank-hint {
  font-size: 12px;
  color: var(--muted-foreground);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 1px 6px;
  border: 1px solid var(--border);
  font-size: 10px;
  line-height: 1.4;
}

.tag-gold {
  border-color: rgba(227, 192, 122, 0.4);
  background: rgba(227, 192, 122, 0.1);
  color: var(--gold-soft);
}

.tag-primary {
  border-color: rgba(232, 182, 76, 0.3);
  color: var(--primary);
}

.tag-danger {
  border-color: rgba(248, 113, 113, 0.4);
  color: var(--destructive);
}

.tag-muted {
  color: var(--muted-foreground);
}

/* 复制地址 */
.copy-box {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px dashed rgba(232, 182, 76, 0.35);
  background: rgba(232, 182, 76, 0.06);
}

.copy-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--primary);
}

.copy-value {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 600;
}

.copy-btn {
  flex: 0 0 auto;
  height: 32px;
  padding: 0 12px;
  font-size: 12px;
}

@media (max-width: 639px) {
  .copy-btn span {
    display: none;
  }
  .copy-btn {
    width: 40px;
    padding: 0;
  }
}

/* 像素头像 */
.avatar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(5, 1fr);
  gap: 1px;
  padding: 1px;
  border: 1px solid rgba(0, 0, 0, 0.4);
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.4);
  flex: 0 0 auto;
  overflow: hidden;
}

.avatar > span {
  display: block;
  aspect-ratio: 1;
}

/* 徽章 */
.badge-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 6px;
  border: 1px solid;
  font-size: 10px;
  font-weight: 500;
  line-height: 1;
}

.badge-gold {
  border-color: rgba(227, 192, 122, 0.4);
  background: rgba(227, 192, 122, 0.1);
  color: var(--gold-soft);
}
.badge-purple {
  border-color: rgba(232, 182, 76, 0.4);
  background: rgba(232, 182, 76, 0.1);
  color: var(--primary);
}
.badge-green {
  border-color: rgba(52, 211, 153, 0.4);
  background: rgba(52, 211, 153, 0.1);
  color: #6ee7b7;
}
.badge-blue {
  border-color: rgba(56, 189, 248, 0.4);
  background: rgba(56, 189, 248, 0.1);
  color: #7dd3fc;
}
.badge-rose {
  border-color: rgba(251, 113, 133, 0.4);
  background: rgba(251, 113, 133, 0.1);
  color: #fda4af;
}

/* ------------------------------------------------------------ 公告 */

.announcement-grid {
  display: grid;
  gap: 16px;
}

.announcement {
  display: flex;
  flex-direction: column;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card-70);
  transition: border-color 0.15s ease;
}

.announcement:hover {
  border-color: rgba(232, 182, 76, 0.35);
}

.announcement-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.pinned {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border: 1px solid rgba(227, 192, 122, 0.4);
  background: rgba(227, 192, 122, 0.1);
  font-size: 11px;
  font-weight: 500;
  color: var(--gold-soft);
}

.pinned svg {
  width: 12px;
  height: 12px;
}

.date-line {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted-foreground);
}

.date-line svg {
  width: 12px;
  height: 12px;
}

.announcement h3 {
  margin-top: 12px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.announcement-body {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted-foreground);
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.announcement-body.clamped {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.expand-btn {
  align-self: flex-start;
  margin-top: 8px;
  padding: 0;
  border: 0;
  background: none;
  font-size: 12px;
  font-weight: 500;
  color: var(--primary);
  cursor: pointer;
}

.expand-btn:hover {
  text-decoration: underline;
}

/* ------------------------------------------------------------ 贡献榜 */

.leader-intro {
  max-width: 42rem;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted-foreground);
}

.podium {
  display: grid;
  gap: 16px;
  padding-top: 12px;
}

.podium-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card-80);
  text-align: center;
}

.podium-card.is-first {
  border-color: rgba(232, 182, 76, 0.5);
  background: rgba(232, 182, 76, 0.06);
}

.rank-bubble {
  position: absolute;
  top: -12px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--card);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--muted-foreground);
}

.podium-card.is-first .rank-bubble {
  border-color: rgba(232, 182, 76, 0.6);
  background: var(--primary);
  color: var(--primary-foreground);
}

.podium-icon {
  width: 20px;
  height: 20px;
  margin-top: 4px;
  color: var(--muted-foreground);
}

.podium-card.is-first .podium-icon {
  color: var(--primary);
}

.podium-name {
  font-size: 14px;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

.podium-role {
  margin-top: 2px;
  font-size: 11px;
  color: var(--muted-foreground);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.podium-total {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
}

.podium-card.is-first .podium-total {
  color: var(--primary);
}

.podium-caption {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted-foreground);
}

.rank-list {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(26, 22, 48, 0.5);
  overflow: hidden;
}

.rank-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
}

.rank-row + .rank-row {
  border-top: 1px solid rgba(50, 42, 85, 0.6);
}

.rank-no {
  width: 24px;
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--muted-foreground);
}

.rank-main {
  min-width: 0;
  flex: 1 1 auto;
}

.rank-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
}

.rank-name {
  font-size: 14px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-role {
  font-size: 11px;
  color: var(--muted-foreground);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-sub {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
  font-size: 11px;
  color: var(--muted-foreground);
}

.rank-sub svg {
  width: 12px;
  height: 12px;
}

.rank-total {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
}

/* ------------------------------------------------------------ 商店 */

.shop-grid {
  display: grid;
  gap: 16px;
}

.shop-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card-70);
  transition: border-color 0.15s ease;
}

.shop-card:hover {
  border-color: rgba(232, 182, 76, 0.4);
}

.shop-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-bottom: 1px solid rgba(50, 42, 85, 0.6);
  background: #171225;
}

.shop-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.shop-card:hover .shop-media img {
  transform: scale(1.03);
}

.shop-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 30% 20%, rgba(111, 91, 216, 0.35), transparent 60%),
    radial-gradient(circle at 75% 80%, rgba(227, 192, 122, 0.25), transparent 55%);
}

.shop-placeholder svg {
  width: 40px;
  height: 40px;
  color: rgba(232, 182, 76, 0.7);
}

.stock-tag {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 2px 8px;
  border: 1px solid rgba(0, 0, 0, 0.4);
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold-soft);
}

.shop-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 16px;
}

.shop-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.shop-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 600;
}

.shop-cost {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
}

.shop-cost small {
  margin-left: 4px;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 400;
  color: var(--muted-foreground);
}

.shop-desc {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 36px;
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted-foreground);
  overflow-wrap: anywhere;
}

.shop-actions {
  margin-top: auto;
  padding-top: 12px;
}

.shop-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 20px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted-foreground);
}

.shop-note svg {
  width: 14px;
  height: 14px;
  margin-top: 2px;
  flex: 0 0 auto;
  color: var(--primary);
}

/* ------------------------------------------------------------ 活动 */

.group-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--primary);
}

.group-label.is-muted {
  color: var(--muted-foreground);
}

.group-label svg {
  width: 14px;
  height: 14px;
}

.event-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}

.event-card {
  display: flex;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card-70);
  transition: border-color 0.15s ease, opacity 0.15s ease;
}

.event-card.is-upcoming:hover {
  border-color: rgba(232, 182, 76, 0.35);
}

.event-card.is-past {
  border-color: rgba(50, 42, 85, 0.6);
  opacity: 0.7;
}

.event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 64px;
  flex: 0 0 auto;
  padding: 12px 8px;
  border: 1px solid var(--border);
  background: rgba(34, 28, 62, 0.4);
  text-align: center;
}

.event-weekday {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted-foreground);
}

.event-day {
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  color: var(--primary);
}

.event-time {
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted-foreground);
}

.event-main {
  min-width: 0;
  flex: 1 1 auto;
}

.event-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.event-title {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 600;
}

.event-desc {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted-foreground);
  overflow-wrap: anywhere;
}

.event-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 16px;
  margin-top: 10px;
  font-size: 11px;
  color: var(--muted-foreground);
}

.event-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.event-meta svg {
  width: 12px;
  height: 12px;
}

.capacity-bar {
  display: inline-block;
  width: 64px;
  height: 4px;
  overflow: hidden;
  background: var(--secondary);
}

.capacity-bar > i {
  display: block;
  height: 100%;
  background: rgba(232, 182, 76, 0.7);
}

.event-action {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
}

/* ------------------------------------------------------------ 相册 */

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

.gallery-item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card-60);
  cursor: pointer;
  transition: border-color 0.15s ease;
}

.gallery-item:hover {
  border-color: rgba(232, 182, 76, 0.5);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 12px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.1), transparent);
  text-align: left;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay,
.gallery-item:focus-visible .gallery-overlay {
  opacity: 1;
}

.gallery-overlay-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
}

.gallery-overlay-caption {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 2px;
  font-size: 10px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.7);
}

.gallery-zoom {
  position: absolute;
  right: 8px;
  top: 8px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(0, 0, 0, 0.45);
  color: rgba(255, 255, 255, 0.8);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-zoom {
  opacity: 1;
}

.gallery-zoom svg {
  width: 12px;
  height: 12px;
}

/* ------------------------------------------------------------ 特色 */

.about-card {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card-60);
}

.about-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--primary);
}

.about-label svg {
  width: 14px;
  height: 14px;
}

.about-text {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted-foreground);
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.feature-grid {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}

.feature {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card-70);
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.feature:hover {
  border-color: rgba(232, 182, 76, 0.4);
  background: rgba(38, 32, 72, 0.4);
}

.feature svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
}

.feature h3 {
  margin-top: 16px;
  font-size: 16px;
  font-weight: 600;
}

.feature p {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted-foreground);
}

/* ------------------------------------------------------------ 成员 */

.member-grid {
  display: grid;
  gap: 12px;
}

.member-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card-70);
  transition: border-color 0.15s ease;
}

.member-card:hover {
  border-color: rgba(232, 182, 76, 0.3);
}

.member-card .avatar {
  width: 48px;
  height: 48px;
}

.member-info {
  min-width: 0;
}

.member-name-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.member-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 600;
}

.member-role {
  padding: 1px 8px;
  border: 1px solid rgba(232, 182, 76, 0.3);
  border-radius: 999px;
  font-size: 10px;
  color: var(--primary);
}

.member-bio {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.65;
  color: var(--muted-foreground);
  overflow-wrap: anywhere;
}

/* ------------------------------------------------------------ 留言板 */

.guestbook-grid {
  display: grid;
  gap: 20px;
  align-items: start;
}

.guest-form {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card-70);
}

.guest-form h3 {
  font-size: 16px;
  font-weight: 600;
}

.guest-form-note {
  margin-top: 4px;
  font-size: 12px;
  color: var(--muted-foreground);
}

.field {
  margin-top: 16px;
}

.field-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.field label {
  display: block;
  font-size: 14px;
  font-weight: 500;
}

.counter {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted-foreground);
}

.input,
.textarea,
.select {
  width: 100%;
  height: 36px;
  padding: 0 12px;
  border: 1px solid var(--input);
  border-radius: var(--radius-btn);
  background: rgba(58, 49, 100, 0.3);
  color: var(--foreground);
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.textarea {
  height: auto;
  min-height: 112px;
  padding: 8px 12px;
  line-height: 1.6;
  resize: vertical;
}

.input::placeholder,
.textarea::placeholder {
  color: var(--muted-foreground);
}

.input:focus,
.textarea:focus,
.select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(232, 182, 76, 0.5);
}

.input[aria-invalid="true"],
.textarea[aria-invalid="true"] {
  border-color: var(--destructive);
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.2);
}

.input:disabled,
.textarea:disabled,
.select:disabled {
  opacity: 0.5;
}

.select {
  height: 36px;
  padding: 0 8px;
  border-radius: var(--radius);
  color-scheme: dark;
}

.select option {
  background: var(--card);
  color: var(--foreground);
}

.honeypot {
  display: none;
}

.form-error {
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--destructive);
}

.form-submit {
  margin-top: 16px;
}

.guest-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.message-card {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card-70);
}

.message-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.message-who {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
}

.message-avatar {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  border: 1px solid rgba(232, 182, 76, 0.25);
  border-radius: 2px;
  background: rgba(232, 182, 76, 0.1);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
}

.message-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 500;
}

.message-time {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted-foreground);
}

.message-body {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(236, 233, 247, 0.9);
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.load-more {
  margin-top: 16px;
}

/* ------------------------------------------------------------ 加入 */

.join-grid {
  display: grid;
  gap: 16px;
}

.join-card {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card-70);
}

.join-card h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 600;
}

.join-card h3 svg {
  width: 16px;
  height: 16px;
  color: var(--primary);
}

.ip-box {
  margin-top: 16px;
}

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

.meta-cell {
  padding: 12px;
  border: 1px solid var(--border);
  background: rgba(34, 28, 62, 0.4);
}

.meta-key {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted-foreground);
}

.meta-value {
  margin-top: 4px;
  font-size: 14px;
  font-weight: 500;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.step {
  display: flex;
  gap: 12px;
}

.step-no {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  margin-top: 2px;
  border: 1px solid rgba(232, 182, 76, 0.3);
  background: rgba(232, 182, 76, 0.1);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
}

.step-text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted-foreground);
}

.join-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(50, 42, 85, 0.6);
}

.qq-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  background: rgba(34, 28, 62, 0.5);
  font-size: 12px;
  color: var(--secondary-foreground);
}

.qq-chip strong {
  font-family: var(--font-mono);
  color: var(--foreground);
}

.rules {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.rule {
  display: flex;
  gap: 12px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted-foreground);
}

.rule::before {
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  margin-top: 8px;
  background: rgba(232, 182, 76, 0.7);
}

.join-foot {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(50, 42, 85, 0.6);
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted-foreground);
}

/* ------------------------------------------------------------ 页脚 */

.site-footer {
  border-top: 1px solid rgba(50, 42, 85, 0.6);
  background: rgba(0, 0, 0, 0.2);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 32px;
  padding-bottom: 32px;
  font-size: 14px;
  color: var(--muted-foreground);
}

.footer-brand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.footer-name {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(232, 182, 76, 0.8);
}

.footer-copy {
  font-size: 12px;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  transition: color 0.15s ease;
}

.footer-link:hover {
  color: var(--foreground);
}

.footer-link svg {
  width: 14px;
  height: 14px;
}

/* ------------------------------------------------------------ 弹窗 */

dialog.dialog {
  width: min(100% - 32px, 448px);
  max-height: calc(100dvh - 48px);
  margin: auto;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--background);
  color: var(--foreground);
  box-shadow: var(--shadow-dialog);
  overflow: auto;
}

dialog.dialog.wide {
  width: min(100% - 32px, 768px);
}

dialog.dialog[open] {
  animation: dialog-in 0.2s ease-out;
}

dialog.dialog:focus-visible {
  box-shadow: var(--shadow-dialog);
}

dialog.dialog::backdrop {
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
}

@keyframes dialog-in {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.dialog-close {
  position: absolute;
  right: 14px;
  top: 14px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: rgba(236, 233, 247, 0.7);
  cursor: pointer;
}

.dialog-close:hover {
  background: var(--accent);
  color: var(--foreground);
}

.dialog-close svg {
  width: 16px;
  height: 16px;
}

.dialog-title {
  padding-right: 32px;
  font-size: 18px;
  font-weight: 600;
}

.dialog-desc {
  margin-top: 4px;
  padding-right: 32px;
  font-size: 14px;
  color: var(--muted-foreground);
}

.dialog-body {
  margin-top: 16px;
}

.dialog-foot {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 24px;
}

.balance-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 12px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  background: rgba(34, 28, 62, 0.4);
  font-size: 12px;
  color: var(--muted-foreground);
}

.balance-box strong {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--foreground);
}

.balance-box.is-short {
  border-color: rgba(248, 113, 113, 0.4);
  background: rgba(248, 113, 113, 0.05);
  color: var(--destructive);
}

.balance-box.is-short strong {
  color: var(--foreground);
}

.field-row {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.lightbox-image {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.4);
}

.lightbox-image img {
  max-height: 70vh;
  width: auto;
  max-width: 100%;
  margin: 0 auto;
  object-fit: contain;
}

.lightbox-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 12px;
  font-size: 12px;
  color: var(--muted-foreground);
}

.lightbox-foot p {
  min-width: 0;
  flex: 1 1 auto;
  overflow-wrap: anywhere;
}

/* ------------------------------------------------------------ Toast */

.toast-root {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: min(360px, calc(100vw - 32px));
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  color: var(--foreground);
  font-size: 14px;
  line-height: 1.5;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  pointer-events: auto;
  animation: toast-in 0.2s ease-out;
}

.toast.is-error {
  border-color: rgba(248, 113, 113, 0.45);
}

.toast svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  margin-top: 2px;
}

.toast.is-error svg {
  color: var(--destructive);
}

.toast.is-success svg {
  color: var(--primary);
}

.toast-text {
  min-width: 0;
  flex: 1 1 auto;
  overflow-wrap: anywhere;
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ------------------------------------------------------------ 加载 / 错误 */

.boot {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 16px;
  min-height: 100dvh;
  padding: 24px;
  text-align: center;
}

.boot .pixel-logo {
  width: 40px;
  height: 40px;
  animation: pulse 1.6s ease-in-out infinite;
}

.boot-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--muted-foreground);
}

.spinner {
  display: block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(232, 182, 76, 0.3);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.55;
  }
}

.error-card {
  width: 100%;
  max-width: 448px;
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card-70);
  text-align: center;
}

.error-card > svg {
  width: 28px;
  height: 28px;
  margin: 0 auto;
  color: var(--destructive);
}

.error-card h1 {
  margin-top: 16px;
  font-size: 18px;
  font-weight: 600;
}

.error-card p {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted-foreground);
}

.error-card .btn {
  margin-top: 24px;
}

/* ------------------------------------------------------------ 响应式 */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

@media (min-width: 640px) {
  .container {
    padding: 0 24px;
  }

  .section > .container {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .section-title {
    font-size: 30px;
  }

  .hero-inner {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .hero-title {
    font-size: 48px;
  }

  .hero-tagline {
    font-size: 18px;
  }

  .stat {
    flex-direction: row;
    align-items: baseline;
    gap: 8px;
  }

  .stat-value {
    font-size: 24px;
  }

  .announcement-grid {
    gap: 16px;
  }

  .announcement {
    padding: 24px;
  }

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

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

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

  .podium {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .event-card {
    padding: 20px;
  }

  .event-title {
    font-size: 16px;
  }

  .footer-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .field-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .nav-mobile {
    display: none;
  }
}

@media (max-width: 767px) {
  .nav:not(.nav-mobile) {
    display: none;
  }
}

@media (min-width: 1024px) {
  .section-title {
    font-size: 30px;
  }

  .hero-inner {
    grid-template-columns: 1.05fr 0.95fr;
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .hero-title {
    font-size: 60px;
  }

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

  .shop-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .feature-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .member-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .gallery-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .guestbook-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 20px;
  }

  .guest-form {
    position: sticky;
    top: 128px;
  }

  .join-grid {
    grid-template-columns: 1.05fr 0.95fr;
  }
}
