/* ==========================================================================
   今朝有酒 Today Entertainment — 深色主题样式
   ========================================================================== */

:root {
	--bg: #0b0614;
	--bg-soft: #130b20;
	--bg-card: #1a1029;
	--bg-card-hover: #221538;
	--border: #2c1d45;
	--text: #f3eefc;
	--text-muted: #9d8fb8;
	--primary: #8b5cf6;
	--primary-strong: #7c3aed;
	--accent: #d946ef;
	--gradient: linear-gradient(100deg, #8b5cf6, #d946ef);
	--radius: 14px;
	--radius-sm: 10px;
	--shadow: 0 10px 35px rgba(0, 0, 0, 0.45);
	--header-h: 68px;
}

* { box-sizing: border-box; }

html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
	font-size: 16px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }
a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent); }

.container {
	width: min(1200px, calc(100% - 40px));
	margin: 0 auto;
}

.container-narrow { width: min(820px, calc(100% - 40px)); }

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

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
}

.skip-link:focus {
	position: fixed !important;
	top: 8px; left: 8px;
	z-index: 1000;
	width: auto; height: auto;
	clip: auto;
	padding: 8px 16px;
	background: var(--primary);
	color: #fff;
	border-radius: 6px;
}

/* ---------- 按钮 / 徽章 / chips ---------- */
.btn {
	display: inline-block;
	padding: 10px 22px;
	border: 1px solid transparent;
	border-radius: 999px;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.5;
	cursor: pointer;
	transition: all 0.2s;
	text-align: center;
}

.btn-primary {
	background: var(--gradient);
	color: #fff;
	box-shadow: 0 6px 18px rgba(139, 92, 246, 0.35);
}
.btn-primary:hover { color: #fff; filter: brightness(1.12); transform: translateY(-1px); }

.btn-ghost {
	background: transparent;
	border-color: var(--border);
	color: var(--text);
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }

.btn-sm { padding: 7px 16px; font-size: 14px; }
.btn-block { display: block; width: 100%; }
.btn-disabled { background: var(--border); color: var(--text-muted); cursor: not-allowed; }

.chip {
	display: inline-block;
	padding: 7px 18px;
	border: 1px solid var(--border);
	border-radius: 999px;
	background: rgba(26, 16, 41, 0.7);
	color: var(--text);
	font-size: 14px;
	transition: all 0.2s;
}
.chip:hover { border-color: var(--primary); color: var(--primary); }
.chip-sm { padding: 4px 12px; font-size: 13px; }
.chip-more { color: var(--text-muted); }

.badge-beta {
	display: inline-block;
	margin-left: 6px;
	padding: 2px 8px;
	border-radius: 999px;
	background: var(--gradient);
	color: #fff;
	font-size: 11px;
	vertical-align: middle;
}

/* ---------- 页头 ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	height: var(--header-h);
	background: rgba(11, 6, 20, 0.85);
	backdrop-filter: blur(14px);
	border-bottom: 1px solid rgba(44, 29, 69, 0.6);
}

.header-inner {
	display: flex;
	align-items: center;
	gap: 28px;
	height: var(--header-h);
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--text);
	font-size: 21px;
	font-weight: 800;
	letter-spacing: 1px;
}
.brand:hover { color: var(--text); }

.brand-mark {
	width: 14px; height: 14px;
	border-radius: 4px;
	background: var(--gradient);
	box-shadow: 0 0 12px rgba(217, 70, 239, 0.7);
	transform: rotate(45deg);
}

.main-nav { flex: 1; }
.main-nav ul {
	display: flex;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.main-nav a {
	display: block;
	padding: 8px 14px;
	border-radius: 8px;
	color: var(--text-muted);
	font-size: 15px;
	font-weight: 500;
}
.main-nav a:hover { color: var(--text); }
.main-nav a.is-active { color: #fff; background: rgba(139, 92, 246, 0.18); }

.header-actions { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 42px; height: 42px;
	padding: 9px;
	border: 1px solid var(--border);
	border-radius: 10px;
	background: transparent;
	cursor: pointer;
}
.nav-toggle span {
	display: block;
	height: 2px;
	background: var(--text);
	border-radius: 2px;
	transition: all 0.25s;
}
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
	position: relative;
	min-height: 560px;
	display: flex;
	align-items: center;
	background: radial-gradient(ellipse at 20% 0%, #2c1455 0%, var(--bg) 55%), var(--bg);
	background-size: cover;
	background-position: center;
}

.hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(11, 6, 20, 0.55) 0%, rgba(11, 6, 20, 0.75) 70%, var(--bg) 100%);
}

.hero-inner { position: relative; padding: 90px 0 70px; }

.hero-title {
	margin: 0 0 14px;
	font-size: 58px;
	font-weight: 900;
	line-height: 1.18;
	letter-spacing: 2px;
}

.gradient-text {
	background: var(--gradient);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.hero-subtitle { margin: 0; font-size: 20px; letter-spacing: 6px; color: var(--text); }
.hero-desc { margin: 8px 0 30px; color: var(--text-muted); font-size: 16px; }

.hero-search {
	display: flex;
	gap: 10px;
	max-width: 620px;
	padding: 8px;
	border: 1px solid var(--border);
	border-radius: 999px;
	background: rgba(19, 11, 32, 0.85);
	backdrop-filter: blur(8px);
}
.hero-search input {
	flex: 1;
	min-width: 0;
	padding: 8px 18px;
	border: 0;
	background: transparent;
	color: var(--text);
	font-size: 16px;
	outline: none;
}
.hero-search input::placeholder { color: var(--text-muted); }

.hero-cats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

/* ---------- 区块通用 ---------- */
.section { padding: 70px 0; }
.section-alt { background: var(--bg-soft); }

.section-head { margin-bottom: 30px; }
.section-head-row {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
}

.section-title {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 6px;
	font-size: 30px;
	font-weight: 800;
}

.title-dot {
	width: 10px; height: 10px;
	border-radius: 50%;
	background: var(--gradient);
	box-shadow: 0 0 10px rgba(217, 70, 239, 0.8);
}

.section-sub { margin: 0; color: var(--text-muted); font-size: 15px; }

.empty-tip {
	padding: 50px 20px;
	border: 1px dashed var(--border);
	border-radius: var(--radius);
	text-align: center;
	color: var(--text-muted);
}
.empty-tip .btn { margin-top: 14px; }

/* ---------- 地图 + AI 区 ---------- */
.section-map-ai { padding-top: 30px; }

.map-ai-grid {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr);
	gap: 26px;
	align-items: stretch;
}

.map-panel, .ai-panel {
	display: flex;
	flex-direction: column;
	padding: 26px;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: var(--bg-card);
	box-shadow: var(--shadow);
}

.map-region-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 16px;
}

.map-tab {
	padding: 6px 16px;
	border: 1px solid var(--border);
	border-radius: 999px;
	background: transparent;
	color: var(--text-muted);
	font-size: 14px;
	cursor: pointer;
	transition: all 0.2s;
}
.map-tab:hover { color: var(--text); border-color: var(--primary); }
.map-tab.is-active {
	background: var(--gradient);
	border-color: transparent;
	color: #fff;
}

.map-canvas-wrap { flex: 1; }

.map-canvas {
	width: 100%;
	height: 440px;
	border-radius: var(--radius-sm);
	overflow: hidden;
	background: var(--bg-soft);
}

.map-placeholder {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	border: 1px dashed var(--border);
	text-align: center;
	padding: 20px;
}
.map-placeholder p { margin: 4px 0; }

.map-placeholder-pin {
	width: 38px; height: 38px;
	border-radius: 50% 50% 50% 0;
	background: var(--gradient);
	transform: rotate(-45deg);
	margin-bottom: 14px;
	box-shadow: 0 0 24px rgba(139, 92, 246, 0.55);
}

.map-region-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-top: 16px;
	font-size: 13px;
}

/* Google Maps 信息窗 */
.map-info { display: flex; gap: 10px; max-width: 250px; color: #1a1029; }
.map-info img { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; }
.map-info-body { display: flex; flex-direction: column; gap: 2px; font-size: 12px; }
.map-info-body strong { font-size: 13px; line-height: 1.4; }

/* ---------- AI 面板 ---------- */
.ai-chat {
	display: flex;
	flex-direction: column;
	flex: 1;
	min-height: 480px;
}

.ai-messages {
	flex: 1;
	overflow-y: auto;
	max-height: 430px;
	padding-right: 6px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.ai-msg p { margin: 0; padding: 12px 16px; border-radius: 14px; font-size: 14px; }

.ai-msg-bot p {
	background: rgba(139, 92, 246, 0.12);
	border: 1px solid rgba(139, 92, 246, 0.25);
	border-radius: 4px 14px 14px 14px;
}

.ai-msg-user { align-self: flex-end; max-width: 90%; }
.ai-msg-user p {
	background: var(--gradient);
	color: #fff;
	border-radius: 14px 4px 14px 14px;
}

.ai-card {
	display: flex;
	gap: 10px;
	margin-top: 8px;
	padding: 10px;
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	background: var(--bg-soft);
	color: var(--text);
	transition: border-color 0.2s;
}
.ai-card:hover { border-color: var(--primary); color: var(--text); }
.ai-card img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; flex: none; }
.ai-card-body { display: flex; flex-direction: column; gap: 2px; font-size: 12px; min-width: 0; }
.ai-card-body strong { font-size: 13px; line-height: 1.4; }
.ai-card-meta { color: var(--text-muted); }
.ai-card-reason { color: var(--primary); }

.ai-msg-loading .dot {
	display: inline-block;
	width: 6px; height: 6px;
	margin: 0 2px;
	border-radius: 50%;
	background: var(--primary);
	animation: ai-blink 1.2s infinite both;
}
.ai-msg-loading .dot:nth-child(2) { animation-delay: 0.2s; }
.ai-msg-loading .dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes ai-blink {
	0%, 80%, 100% { opacity: 0.25; }
	40% { opacity: 1; }
}

.ai-presets { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }

.ai-preset {
	padding: 6px 12px;
	border: 1px solid var(--border);
	border-radius: 999px;
	background: transparent;
	color: var(--text-muted);
	font-size: 12.5px;
	cursor: pointer;
	transition: all 0.2s;
}
.ai-preset:hover { color: var(--primary); border-color: var(--primary); }

.ai-input-row {
	display: flex;
	gap: 8px;
	padding: 8px;
	border: 1px solid var(--border);
	border-radius: 999px;
	background: var(--bg-soft);
}
.ai-input-row input {
	flex: 1;
	min-width: 0;
	border: 0;
	padding: 6px 12px;
	background: transparent;
	color: var(--text);
	font-size: 14px;
	outline: none;
}
.ai-input-row .btn { padding: 7px 18px; font-size: 14px; }

.ai-chat-off { justify-content: center; align-items: center; min-height: 200px; }

/* ---------- 活动卡片 ---------- */
.event-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 22px;
}
.event-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.event-card {
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: var(--bg-card);
	overflow: hidden;
	transition: transform 0.25s, border-color 0.25s, background 0.25s;
}
.event-card:hover {
	transform: translateY(-5px);
	border-color: rgba(139, 92, 246, 0.55);
	background: var(--bg-card-hover);
}

.event-card-media {
	position: relative;
	display: block;
	aspect-ratio: 3 / 2;
	overflow: hidden;
}
.event-card-media img {
	width: 100%; height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.35s;
}
.event-card:hover .event-card-media img { transform: scale(1.06); }

.event-card-noimg {
	display: block;
	width: 100%; height: 100%;
	background: radial-gradient(circle at 30% 30%, #31205280, transparent 70%), var(--bg-soft);
}

.event-badge {
	position: absolute;
	top: 12px; left: 12px;
	padding: 3px 10px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
	color: #fff;
	background: var(--gradient);
}
.event-badge-ended { background: #4b4456; }
.event-badge-long { background: #2563eb; }

.event-price {
	position: absolute;
	right: 12px; bottom: 12px;
	padding: 3px 10px;
	border-radius: 999px;
	background: rgba(11, 6, 20, 0.8);
	backdrop-filter: blur(4px);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
}

.is-ended .event-card-media img { filter: grayscale(0.8); opacity: 0.7; }

.event-card-body { padding: 16px 18px 18px; }

.event-card-title {
	margin: 0 0 8px;
	font-size: 16.5px;
	font-weight: 700;
	line-height: 1.45;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.event-card-title a { color: var(--text); }
.event-card-title a:hover { color: var(--primary); }

.event-card-meta {
	margin: 0; padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 3px;
	color: var(--text-muted);
	font-size: 13px;
}

/* ---------- 新闻卡片 ---------- */
.news-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 22px;
}

.news-card {
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: var(--bg-card);
	overflow: hidden;
	transition: transform 0.25s, border-color 0.25s;
}
.news-card:hover { transform: translateY(-5px); border-color: rgba(139, 92, 246, 0.55); }

.news-card-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.news-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }

.news-card-body { padding: 14px 18px 18px; }
.news-card-date { color: var(--text-muted); font-size: 12.5px; }
.news-card-title { margin: 6px 0 8px; font-size: 16px; line-height: 1.45; }
.news-card-title a { color: var(--text); }
.news-card-title a:hover { color: var(--primary); }
.news-card-excerpt { margin: 0; color: var(--text-muted); font-size: 13.5px; }

/* ---------- 关于我们 ---------- */
.about-card {
	padding: 40px;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: linear-gradient(120deg, rgba(139, 92, 246, 0.12), rgba(217, 70, 239, 0.06)), var(--bg-card);
}
.about-text p { margin: 0 0 20px; font-size: 17px; max-width: 760px; }
.about-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- 列表页 ---------- */
.page-hero {
	padding: 64px 0 44px;
	background: radial-gradient(ellipse at 25% 0%, #2c145590 0%, transparent 60%), var(--bg-soft);
	border-bottom: 1px solid var(--border);
}
.page-hero-title { margin: 0 0 6px; font-size: 38px; font-weight: 800; }
.page-hero-desc { margin: 0; color: var(--text-muted); }
.page-hero-date { color: var(--text-muted); font-size: 14px; }

.event-filters {
	margin-bottom: 30px;
	padding: 18px;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: var(--bg-card);
}

.filters-search { display: flex; gap: 10px; }
.filters-search input[type="search"] {
	flex: 1;
	min-width: 0;
	padding: 10px 18px;
	border: 1px solid var(--border);
	border-radius: 999px;
	background: var(--bg-soft);
	color: var(--text);
	font-size: 15px;
	outline: none;
}
.filters-search input[type="search"]:focus { border-color: var(--primary); }
.filters-toggle { display: none; }

.filters-row {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	align-items: flex-end;
	margin-top: 14px;
}

.filter-field { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--text-muted); }
.filter-field select {
	min-width: 130px;
	padding: 8px 12px;
	border: 1px solid var(--border);
	border-radius: 8px;
	background: var(--bg-soft);
	color: var(--text);
	font-size: 14px;
	outline: none;
}
.filter-field select:focus { border-color: var(--primary); }

.results-count { margin: 0 0 16px; color: var(--text-muted); font-size: 14px; }

.event-results.is-loading { opacity: 0.45; pointer-events: none; transition: opacity 0.2s; }

/* ---------- 分页 ---------- */
.pagination { margin-top: 40px; text-align: center; }
.pagination .page-numbers {
	display: inline-block;
	min-width: 40px;
	margin: 0 3px;
	padding: 8px 12px;
	border: 1px solid var(--border);
	border-radius: 10px;
	color: var(--text-muted);
	font-size: 14px;
}
.pagination a.page-numbers:hover { border-color: var(--primary); color: var(--primary); }
.pagination .page-numbers.current {
	background: var(--gradient);
	border-color: transparent;
	color: #fff;
}
.pagination .page-numbers.dots { border: 0; }

/* ---------- 活动详情页 ---------- */
.event-hero {
	position: relative;
	min-height: 380px;
	display: flex;
	align-items: flex-end;
	background: var(--bg-soft);
	background-size: cover;
	background-position: center;
}
.event-hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(11, 6, 20, 0.35) 0%, rgba(11, 6, 20, 0.92) 100%);
}
.event-hero-inner { position: relative; padding: 70px 0 36px; }
.event-hero-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.event-hero-title { margin: 0 0 12px; font-size: 40px; font-weight: 800; line-height: 1.25; }
.event-hero-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	margin: 0; padding: 0;
	list-style: none;
	color: var(--text-muted);
	font-size: 15px;
}
.event-hero .event-badge { position: static; }

.event-detail-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: 30px;
	align-items: start;
}

.detail-block { margin-bottom: 36px; }
.detail-block-title {
	margin: 0 0 16px;
	padding-left: 12px;
	border-left: 4px solid;
	border-image: var(--gradient) 1;
	font-size: 22px;
	font-weight: 800;
}

.entry-content { font-size: 16px; color: #ded5ef; }
.entry-content img { border-radius: var(--radius-sm); }
.entry-content a { text-decoration: underline; }
.entry-content h2, .entry-content h3 { color: var(--text); }

.detail-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.detail-list li {
	position: relative;
	padding: 12px 16px 12px 38px;
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	background: var(--bg-card);
	font-size: 14.5px;
}
.detail-list li::before {
	position: absolute;
	left: 14px;
	top: 12px;
}
.detail-list-highlight li::before { content: "✨"; }
.detail-list-notes li::before { content: "⚠️"; }

.event-gallery {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}
.gallery-item { display: block; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 3 / 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; display: block; }
.gallery-item:hover img { transform: scale(1.05); }

.side-card {
	margin-bottom: 20px;
	padding: 22px;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: var(--bg-card);
}
.side-card-title { margin: 0 0 14px; font-size: 17px; font-weight: 700; }
.side-card-reason { background: linear-gradient(120deg, rgba(139, 92, 246, 0.15), rgba(217, 70, 239, 0.08)), var(--bg-card); }
.side-card-reason p { margin: 0; font-size: 14.5px; }

.side-info-list { margin: 0 0 16px; padding: 0; list-style: none; }
.side-info-list li {
	display: flex;
	gap: 12px;
	padding: 9px 0;
	border-bottom: 1px dashed rgba(44, 29, 69, 0.8);
	font-size: 14px;
}
.side-info-list li:last-child { border-bottom: 0; }
.side-info-list span { flex: none; width: 42px; color: var(--text-muted); }
.side-info-list strong { font-weight: 600; }
.side-info-list a { word-break: break-all; }

.single-map { height: 220px; border-radius: var(--radius-sm); overflow: hidden; margin-bottom: 14px; background: var(--bg-soft); }
.single-map.map-placeholder { display: flex; align-items: center; justify-content: center; }

/* ---------- 灯箱 ---------- */
.lightbox {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: none;
	align-items: center;
	justify-content: center;
	background: rgba(5, 2, 10, 0.92);
	padding: 30px;
	cursor: zoom-out;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 8px; }
.lightbox-close {
	position: absolute;
	top: 18px; right: 24px;
	border: 0;
	background: transparent;
	color: #fff;
	font-size: 40px;
	cursor: pointer;
}

/* ---------- 文章 ---------- */
.article-cover { margin-bottom: 28px; }
.article-cover img { border-radius: var(--radius); width: 100%; }
.article-back { margin-top: 36px; }

/* ---------- 联系页 ---------- */
.contact-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 30px;
	align-items: start;
}

.contact-intro { margin-bottom: 24px; }

.contact-form { display: flex; flex-direction: column; gap: 16px; }
.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--text-muted); }
.contact-form input,
.contact-form textarea {
	padding: 11px 14px;
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	background: var(--bg-card);
	color: var(--text);
	font-size: 15px;
	font-family: inherit;
	outline: none;
}
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--primary); }
.contact-form .btn { align-self: flex-start; }

.hp-field {
	position: absolute !important;
	left: -9999px !important;
	width: 1px; height: 1px;
	overflow: hidden;
}

.form-msg { margin: 0; min-height: 1.4em; font-size: 14px; }
.form-msg.is-error { color: #f87171; }
.form-msg.is-success { color: #34d399; }

/* ---------- 搜索结果 ---------- */
.search-results { margin: 0; padding: 0; list-style: none; }
.search-result-item {
	padding: 18px 0;
	border-bottom: 1px solid var(--border);
}
.search-result-item h3 { margin: 0 0 6px; font-size: 18px; color: var(--text); }
.search-result-item a:hover h3 { color: var(--primary); }
.search-result-item p { margin: 0; }

/* ---------- 404 ---------- */
.error-404 { text-align: center; padding: 60px 0; }
.error-code {
	margin: 0;
	font-size: 110px;
	font-weight: 900;
	line-height: 1;
	background: var(--gradient);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.error-404 h1 { margin: 10px 0; }
.error-404 .btn { margin: 6px; }

/* ---------- 页脚 ---------- */
.site-footer {
	margin-top: 40px;
	border-top: 1px solid var(--border);
	background: var(--bg-soft);
}

.footer-grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1.4fr;
	gap: 30px;
	padding: 54px 0 30px;
}

.footer-brand p { margin: 14px 0 0; color: var(--text-muted); font-size: 14px; }

.footer-col h4 { margin: 4px 0 14px; font-size: 15px; color: var(--text); }
.footer-col ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-col a { color: var(--text-muted); font-size: 14px; }
.footer-col a:hover { color: var(--primary); }

.footer-bottom {
	padding: 18px 0 26px;
	border-top: 1px solid rgba(44, 29, 69, 0.5);
	color: var(--text-muted);
	font-size: 13px;
}
.footer-bottom p { margin: 0; }

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1024px) {
	.event-grid, .news-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.map-ai-grid { grid-template-columns: 1fr; }
	.event-detail-grid { grid-template-columns: 1fr; }
	.hero-title { font-size: 46px; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
	.event-grid, .news-grid, .event-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
	.section { padding: 48px 0; }
	.section-title { font-size: 24px; }
	.hero { min-height: 480px; }
	.hero-title { font-size: 36px; letter-spacing: 1px; }
	.hero-subtitle { font-size: 16px; letter-spacing: 4px; }
	.page-hero-title { font-size: 28px; }
	.event-hero-title { font-size: 28px; }
	.contact-grid { grid-template-columns: 1fr; }
	.event-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.map-canvas { height: 340px; }

	/* 移动端菜单 */
	.nav-toggle { display: flex; }
	.main-nav {
		position: fixed;
		top: var(--header-h);
		left: 0; right: 0;
		display: none;
		background: rgba(11, 6, 20, 0.97);
		backdrop-filter: blur(14px);
		border-bottom: 1px solid var(--border);
		padding: 12px 20px 20px;
		z-index: 99;
	}
	.nav-open .main-nav { display: block; }
	.main-nav ul { flex-direction: column; gap: 2px; }
	.main-nav a { padding: 12px 10px; font-size: 16px; }
	.header-actions .btn { display: none; }

	/* 移动端筛选抽屉 */
	.filters-toggle { display: inline-block; }
	.filters-row { display: none; }
	.filters-row.is-open { display: flex; flex-direction: column; align-items: stretch; }
	.filter-field select { width: 100%; }
}

@media (max-width: 480px) {
	.event-grid, .news-grid, .event-grid-3 { grid-template-columns: 1fr; }
	.hero-search { flex-direction: column; border-radius: var(--radius); }
	.hero-search .btn { width: 100%; }
	.hero-title { font-size: 32px; }
	.brand-name { font-size: 18px; }
	.footer-grid { grid-template-columns: 1fr; gap: 22px; }
	.about-card { padding: 24px; }
	.contact-form .form-row { grid-template-columns: 1fr; }
}
