html { scroll-behavior: smooth; }
* { margin: 0; padding: 0; box-sizing: border-box; }

::selection { background: #ff8fb1; color: #fff; }
::-moz-selection { background: #ff8fb1; color: #fff; }
body {
	font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
	background: #fdf3f6;
	color: #4a3a42;
	line-height: 1.8;
	display: flex;
	justify-content: center;
	min-height: 100vh;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

button, a,
.dept-mini, .gallery-main, .mascot img,
.bgm-player, .back-btn, .lightbox-close,
.lightbox-btn, .gallery-nav button {
	cursor: pointer;
}

.app {
	width: 100%;
	max-width: 480px;
	background: #fdf3f6;
	box-shadow: 0 0 40px rgba(255, 143, 177, 0.1);
	overflow: hidden;
	position: relative;
}

.view { display: none; }
.view.active {
	display: block;
	animation: viewFadeIn 0.4s ease;
}
@keyframes viewFadeIn {
	from { opacity: 0; transform: translateY(14px); }
	to { opacity: 1; transform: translateY(0); }
}
.hero {
	position: relative;
	background: #fdf3f6;
	padding: 40px 24px 0;
	text-align: center;
	overflow: hidden;
}
.hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image:
		radial-gradient(circle, #ffc9de 1.4px, transparent 1.4px),
		radial-gradient(circle, #ffd9e8 1px, transparent 1px);
	background-size: 56px 56px, 36px 36px;
	background-position: 0 0, 18px 18px;
	opacity: 0.75;
	pointer-events: none;
}
.hero-deco {
	font-size: 1.8rem;
	color: #ff6b9d;
	text-shadow: 0 0 14px rgba(255, 107, 157, 0.45);
	margin-bottom: 18px;
	position: relative;
	z-index: 1;
	animation: twinkle 2.5s ease-in-out infinite;
}
@keyframes twinkle {
	0%, 100% { opacity: 1; transform: scale(1) rotate(0deg); }
	50% { opacity: 0.6; transform: scale(1.18) rotate(15deg); }
}
.hero-badge {
	display: inline-block;
	border: 2px dashed #ff8fb1;
	border-radius: 999px;
	padding: 6px 22px;
	color: #ff6b9d;
	font-size: 0.9rem;
	font-weight: bold;
	letter-spacing: 1px;
	margin-bottom: 28px;
	position: relative;
	z-index: 1;
	background: rgba(255, 255, 255, 0.55);
}
.hero-title {
	font-size: 3rem;
	font-weight: 900;
	letter-spacing: 4px;
	color: #fff;
	margin-bottom: 22px;
	position: relative;
	z-index: 1;
	text-shadow:
		-4px -4px 0 #ff8fb1, 4px -4px 0 #ff8fb1,
		-4px 4px 0 #ff8fb1, 4px 4px 0 #ff8fb1,
		-4px 0 0 #ff8fb1, 4px 0 0 #ff8fb1,
		0 -4px 0 #ff8fb1, 0 4px 0 #ff8fb1,
		0 4px 0 rgba(255, 143, 177, 0.3);
	line-height: 1.15;
}
.hero-slogan {
	font-size: 1rem;
	color: #4a3a42;
	margin-bottom: 16px;
	position: relative;
	z-index: 1;
	font-weight: 600;
	line-height: 1.7;
	padding: 0 8px;
}
.hero-desc {
	font-size: 0.85rem;
	color: #8a6b78;
	margin-bottom: 26px;
	position: relative;
	z-index: 1;
	line-height: 1.95;
	padding: 0 4px;
}
.hero-buttons {
	display: flex;
	flex-direction: column;
	gap: 12px;
	position: relative;
	z-index: 2;
	margin-bottom: 16px;
	align-items: flex-start;
	padding-left: 4px;
}
.btn-primary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	background: #ff8fb1;
	color: #fff;
	padding: 14px 32px;
	border-radius: 999px;
	text-decoration: none;
	font-size: 1rem;
	font-weight: bold;
	letter-spacing: 1.5px;
	box-shadow: 0 6px 18px rgba(255, 143, 177, 0.45);
	transition: transform 0.2s, box-shadow 0.2s;
	width: 100%;
	max-width: 260px;
}
.btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(255, 143, 177, 0.6);
}
.btn-primary .b-icon {
	background: #fff;
	color: #ff8fb1;
	width: 26px;
	height: 26px;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1rem;
	font-weight: 900;
}
.hero-img {
	width: 100%;
	max-width: 100%;
	height: auto;
	display: block;
	margin: 16px auto 0;
	position: relative;
	z-index: 1;
}
.btn-outline {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.9);
	color: #ff6b9d;
	padding: 12px 32px;
	border: 2px solid #ffb8d4;
	border-radius: 999px;
	text-decoration: none;
	font-size: 0.95rem;
	font-weight: bold;
	letter-spacing: 1.5px;
	transition: all 0.2s;
	width: 100%;
	max-width: 210px;
	cursor: pointer;
	font-family: inherit;
}
.btn-outline:hover {
	background: #ff8fb1;
	color: #fff;
	border-color: #ff8fb1;
	transform: translateY(-2px);
}
.btn-join {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	color: #ff6b9d;
	padding: 12px 32px;
	border: 2px solid #ffb8d4;
	border-radius: 999px;
	text-decoration: none;
	font-size: 0.95rem;
	font-weight: bold;
	letter-spacing: 1.5px;
	transition: all 0.2s;
	width: 100%;
	max-width: 170px;
	cursor: pointer;
	font-family: inherit;
}
.btn-join:hover {
	background: #ff8fb1;
	color: #fff;
	border-color: #ff8fb1;
	transform: translateY(-2px);
}
.top-banner {
	background: linear-gradient(90deg, #ff8fb1 0%, #ffa3bd 50%, #ff8fb1 100%);
	color: #fff;
	height: 40px;
	overflow: hidden;
	position: relative;
	display: flex;
	align-items: center;
	box-shadow: 0 2px 8px rgba(255, 143, 177, 0.3);
	z-index: 10;
	-webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
	mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
}
.top-banner-track {
	display: flex;
	flex: none;
	width: max-content;
	min-width: max-content;
	white-space: nowrap;
	animation: banner-scroll 26s linear infinite;
	will-change: transform;
}
.top-banner-group {
	display: flex;
	flex: none;
}
.top-banner-group span {
	font-size: 0.9rem;
	font-weight: bold;
	letter-spacing: 2px;
	padding: 0;
	display: inline-flex;
	align-items: center;
}
.top-banner.paused .top-banner-track { animation-play-state: paused; }
@keyframes banner-scroll {
	from { transform: translate3d(0, 0, 0); }
	to { transform: translate3d(-50%, 0, 0); }
}
.container { padding: 20px 16px; }
section {
	background: #fff;
	border-radius: 18px;
	padding: 22px 20px;
	margin-bottom: 18px;
	box-shadow: 0 4px 16px rgba(255, 143, 177, 0.1);
	border: 1px solid #ffe0ec;
	scroll-margin-top: 20px;
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}
section.visible {
	opacity: 1;
	transform: translateY(0);
}
h2 {
	font-size: 1.15rem;
	color: #ff6b9d;
	margin-bottom: 16px;
	padding-bottom: 8px;
	border-bottom: 2px dashed #ffe0ec;
	display: flex;
	align-items: center;
	gap: 8px;
}
.h2-icon {
	width: 20px;
	height: 20px;
	stroke: #ff6b9d;
	stroke-width: 2;
	fill: none;
	stroke-linecap: round;
	stroke-linejoin: round;
	flex-shrink: 0;
}
.announcement-item {
	position: relative;
	background: #fff;
	border: 2px dashed #ffd9e8;
	border-radius: 18px;
	padding: 26px 22px 22px;
	margin-bottom: 18px;
	box-shadow: 0 4px 16px rgba(255, 143, 177, 0.08);
}
.announcement-item:last-child { margin-bottom: 0; }
.bow {
	position: absolute;
	top: -13px;
	width: 28px;
	height: 20px;
	pointer-events: none;
	background: radial-gradient(circle at center, #ff6b9d 0 3px, transparent 3.5px);
	z-index: 2;
}
.bow.left { left: 12px; }
.bow.right { right: 12px; }
.bow::before, .bow::after {
	content: '';
	position: absolute;
	top: 1px;
	width: 13px;
	height: 18px;
	background: #ff8fb1;
}
.bow::before {
	left: 0;
	border-radius: 100% 0 50% 50% / 100% 0 50% 50%;
	transform: rotate(-10deg);
	transform-origin: right center;
	box-shadow: inset -1px 0 0 #ffb8d4;
}
.bow::after {
	right: 0;
	border-radius: 0 100% 50% 50% / 0 100% 50% 50%;
	transform: rotate(10deg);
	transform-origin: left center;
	box-shadow: inset 1px 0 0 #ffb8d4;
}
.announcement-item .ann-date {
	font-size: 1rem;
	color: #ff6b9d;
	font-weight: 900;
	letter-spacing: 2px;
	margin-bottom: 16px;
	display: inline-flex;
	align-items: center;
}
.announcement-item .ann-title {
	font-size: 1.05rem;
	font-weight: 900;
	color: #4a3a42;
	margin-bottom: 12px;
	line-height: 1.5;
}
.announcement-item .ann-content {
	font-size: 0.88rem;
	color: #6b4a56;
	line-height: 2;
	white-space: pre-wrap;
}
.announcement-item .ann-tag {
	display: inline-block;
	background: #ffe4ef;
	color: #ff6b9d;
	font-size: 0.65rem;
	padding: 3px 11px;
	border-radius: 999px;
	margin-left: 10px;
	vertical-align: middle;
	font-weight: bold;
	letter-spacing: 1px;
}
.announcement-empty {
	color: #c9b0ba;
	font-size: 0.85rem;
	text-align: center;
	padding: 20px 0;
}
.bili { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.bili-logo {
	width: 60px; height: 60px; object-fit: contain;
	border-radius: 16px; background: #ffe4ef; padding: 8px; flex-shrink: 0;
}
.bili-text { flex: 1; min-width: 180px; }
.bili-text h3 { font-size: 1rem; margin-bottom: 4px; color: #4a3a42; }
.bili-text p { font-size: 0.85rem; color: #8a6b78; margin-bottom: 10px; }
.btn {
	display: inline-block; background: #ff8fb1; color: #fff;
	padding: 8px 22px; border-radius: 999px; text-decoration: none;
	font-size: 0.85rem; font-weight: bold;
	transition: background 0.2s, transform 0.2s;
	box-shadow: 0 4px 10px rgba(255, 143, 177, 0.3);
}
.btn:hover { background: #ff6b9d; transform: translateY(-1px); }
.schedule-item {
	padding: 12px 0; border-bottom: 1px dashed #ffe0ec;
	display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
}
.schedule-item:last-child { border-bottom: none; }
.schedule-tag {
	background: #ffe4ef; color: #ff6b9d; font-size: 0.75rem;
	padding: 4px 12px; border-radius: 999px; white-space: nowrap; font-weight: bold;
}
.schedule-item .desc { color: #6b4a56; font-size: 0.88rem; }

.gallery-viewer { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.gallery-main {
	width: 100%; background: #fff; border: 2px solid #ffe0ec;
	border-radius: 18px; overflow: hidden; cursor: pointer;
	transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
	box-shadow: 0 4px 16px rgba(255,143,177,0.12);
}
.gallery-main:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 24px rgba(255,143,177,0.25);
	border-color: #ff8fb1;
}
.gallery-main img {
	width: 100%; height: 260px; object-fit: cover;
	display: block; background: #ffeef5;
	transition: opacity 0.25s ease;
}
.gallery-nav { display: flex; align-items: center; justify-content: center; gap: 14px; width: 100%; }
.gallery-nav button {
	background: #fff; border: 2px solid #ffb8d4; color: #ff6b9d;
	font-size: 0.85rem; font-weight: bold; padding: 8px 20px;
	border-radius: 999px; cursor: pointer; transition: all 0.2s;
	font-family: inherit;
}
.gallery-nav button:hover { background: #ff8fb1; color: #fff; border-color: #ff8fb1; }
.gallery-counter { color: #ff8fb1; font-size: 0.8rem; font-weight: bold; letter-spacing: 2px; }
footer {
	text-align: center; padding: 48px 20px 180px;
	background: #fdf3f6; border-top: 2px dashed #ffd9e8;
	margin-top: 12px; position: relative;
	scroll-margin-top: 20px;
}
footer .footer-title {
	color: #ff6b9d; font-size: 1.15rem; font-weight: 900;
	letter-spacing: 3px; margin-bottom: 20px;
	display: flex; align-items: center; justify-content: center; gap: 10px;
}
footer .footer-title::before,
footer .footer-title::after { content: '❤'; font-size: 0.9rem; opacity: 0.75; }
footer .footer-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	background: #ff8fb1; color: #fff; padding: 13px 32px;
	border-radius: 999px; text-decoration: none;
	font-size: 0.92rem; font-weight: bold; letter-spacing: 1.5px;
	box-shadow: 0 6px 18px rgba(255, 143, 177, 0.45);
	transition: transform 0.2s, box-shadow 0.2s; margin-bottom: 12px;
}
footer .footer-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(255, 143, 177, 0.6); }
footer .footer-btn .b-icon {
	background: #fff; color: #ff8fb1; width: 22px; height: 22px;
	border-radius: 6px; display: flex; align-items: center;
	justify-content: center; font-size: 0.8rem; font-weight: 900;
}
footer .footer-copy { color: #7a6573; font-size: 0.7rem; letter-spacing: 1.5px; }
.footer-copy-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: #fff;
	color: #ff6b9d;
	border: 2px solid #ffb8d4;
	padding: 11px 26px;
	border-radius: 999px;
	font-size: 0.88rem;
	font-weight: bold;
	letter-spacing: 1px;
	cursor: pointer;
	transition: all 0.2s;
	margin-bottom: 18px;
	font-family: inherit;
}
.footer-copy-btn:hover {
	background: #ff8fb1;
	color: #fff;
	border-color: #ff8fb1;
	transform: translateY(-2px);
}
.footer-copy-btn:active { transform: scale(0.96); }
.footer-copy-btn svg {
	width: 16px;
	height: 16px;
	stroke: currentColor;
	stroke-width: 2;
	fill: none;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.lightbox {
	position: fixed; inset: 0;
	background: rgba(74, 58, 66, 0.95);
	display: flex; align-items: center; justify-content: center;
	z-index: 999;
	opacity: 0; visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s;
}
.lightbox.active { opacity: 1; visibility: visible; }
.lightbox-img {
	max-width: 90%; max-height: 85%; object-fit: contain;
	border-radius: 12px; box-shadow: 0 8px 40px rgba(0,0,0,0.5);
	transition: opacity 0.2s ease;
	-webkit-touch-callout: default;
	-webkit-user-select: auto;
	user-select: auto;
}
.lightbox-close { position: absolute; top: 16px; right: 20px; width: 44px; height: 44px; background: rgba(255,255,255,0.2); border: 1px solid rgba(255,255,255,0.35); border-radius: 50%; color: #fff; font-size: 1.8rem; cursor: pointer; display: flex; align-items: center; justify-content: center; line-height: 1; padding-bottom: 3px; transition: background 0.2s, transform 0.2s; z-index: 10; }
.lightbox-close:hover { background: rgba(255,255,255,0.35); transform: scale(1.08); }
.lightbox-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.2); border: none; color: #fff; font-size: 2.2rem; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.2s; line-height: 1; padding-bottom: 4px; }
.lightbox-btn:hover { background: rgba(255,255,255,0.35); }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
.lightbox-counter { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); color: #fff; font-size: 0.85rem; opacity: 0.9; letter-spacing: 2px; background: rgba(255,107,157,0.4); padding: 4px 16px; border-radius: 999px; }
.lightbox-save {
	position: absolute;
	bottom: 24px;
	right: 20px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #ff8fb1;
	color: #fff;
	border: none;
	padding: 10px 20px;
	border-radius: 999px;
	font-size: 0.82rem;
	font-weight: bold;
	letter-spacing: 1px;
	cursor: pointer;
	box-shadow: 0 4px 14px rgba(255, 143, 177, 0.5);
	transition: transform 0.2s, box-shadow 0.2s;
	font-family: inherit;
	z-index: 10;
}
.lightbox-save:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(255, 143, 177, 0.7); }
.lightbox-save:active { transform: scale(0.96); }
.lightbox-save svg {
	width: 15px; height: 15px;
	stroke: currentColor; stroke-width: 2; fill: none;
	stroke-linecap: round; stroke-linejoin: round;
}
.bgm-player { position: fixed; bottom: 20px; left: 16px; width: 52px; height: 52px; background: #fff; border: 3px solid #ff8fb1; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 100; box-shadow: 0 4px 16px rgba(255, 143, 177, 0.4); transition: transform 0.2s; }
.bgm-player:hover { transform: scale(1.08); }
.bgm-player .disc { width: 100%; height: 100%; border-radius: 50%; background: repeating-radial-gradient(circle, #ff8fb1 0, #ff8fb1 2px, #ffd6e7 2px, #ffd6e7 4px); display: flex; align-items: center; justify-content: center; }
.bgm-player .disc::before { content: '♪'; width: 22px; height: 22px; background: #fff; color: #ff8fb1; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; font-weight: bold; }
.bgm-player.playing .disc { animation: spin 4s linear infinite; }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.bgm-label { position: fixed; bottom: 30px; left: 76px; background: rgba(255, 255, 255, 0.92); color: #ff6b9d; font-size: 0.7rem; padding: 6px 14px; border-radius: 999px; border: 1px solid #ffe0ec; z-index: 99; white-space: nowrap; box-shadow: 0 2px 8px rgba(255, 143, 177, 0.15); }
.mascot { position: fixed; bottom: 0; right: 16px; width: 110px; height: auto; z-index: 98; pointer-events: none; filter: drop-shadow(0 4px 12px rgba(255, 143, 177, 0.35)); }
.mascot img { width: 100%; height: auto; display: block; pointer-events: auto; cursor: pointer; transition: transform 0.3s ease; }
.mascot img:hover { transform: translateY(-6px) scale(1.05); }
.mascot-bubble { position: fixed; bottom: 170px; right: 16px; max-width: 180px; background: transparent; color: #ff6b9d; font-size: 0.85rem; line-height: 1.5; padding: 4px 8px; text-align: right; text-shadow: 0 1px 2px rgba(255,255,255,0.95), 0 0 8px rgba(255,255,255,0.9), 0 0 16px rgba(255,255,255,0.7); opacity: 0; transform: translateY(6px); transition: opacity 0.3s, transform 0.3s; pointer-events: none; z-index: 99; }
.mascot-bubble.show { opacity: 1; transform: translateY(0); }
.qr-toggle-btn {
	display: flex; align-items: center; justify-content: center; gap: 8px;
	background: #ff8fb1; color: #fff; padding: 14px 32px;
	border-radius: 999px; font-size: 0.95rem; font-weight: bold;
	letter-spacing: 1.5px; cursor: pointer;
	box-shadow: 0 6px 18px rgba(255, 143, 177, 0.4);
	transition: all 0.2s; margin: 0 auto; width: fit-content;
	max-width: 100%; font-family: inherit; border: none;
}
.qr-toggle-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(255, 143, 177, 0.55); }
.qr-toggle-btn:active { transform: scale(0.96); }
.qr-toggle-btn .arrow { transition: transform 0.3s; display: inline-block; font-size: 0.7rem; }
.qr-toggle-btn.open .arrow { transform: rotate(180deg); }
.qr-content { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, margin-top 0.4s ease, opacity 0.3s; opacity: 0; text-align: center; }
.qr-content.show { max-height: 500px; margin-top: 20px; opacity: 1; }
.qr-img { max-width: 240px; width: 100%; height: auto; border-radius: 14px; background: #fff; padding: 8px; box-shadow: 0 4px 16px rgba(255, 143, 177, 0.15); -webkit-touch-callout: default; -webkit-user-select: auto; user-select: auto; }
.qr-tip { font-size: 0.75rem; color: #8a6b78; margin-top: 10px; letter-spacing: 1px; }
.dept-join-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	background: #fff; color: #ff6b9d; border: 2px solid #ffb8d4;
	padding: 13px 32px; border-radius: 999px;
	font-size: 0.95rem; font-weight: bold; letter-spacing: 1.5px;
	cursor: pointer; transition: all 0.2s;
	margin: 0 auto 14px; font-family: inherit;
}
.dept-join-btn:hover { background: #ff8fb1; color: #fff; border-color: #ff8fb1; transform: translateY(-2px); }
.dept-join-btn:active { transform: scale(0.96); }
.qr-modal { position: fixed; inset: 0; background: rgba(74, 58, 66, 0.9); display: flex; align-items: center; justify-content: center; z-index: 1000; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s; }
.qr-modal.active { opacity: 1; visibility: visible; }
.qr-modal-inner { background: #fff; border-radius: 20px; padding: 32px 28px 24px; max-width: 320px; width: 88%; text-align: center; position: relative; animation: qrPop 0.3s ease; }
@keyframes qrPop { from { transform: scale(0.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.qr-modal-close { position: absolute; top: 12px; right: 16px; width: 34px; height: 34px; background: #ffe4ef; color: #ff6b9d; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; line-height: 1; padding-bottom: 3px; cursor: pointer; transition: transform 0.2s, background 0.2s, color 0.2s; }
.qr-modal-close:hover { transform: scale(1.1); background: #ff8fb1; color: #fff; }
.qr-modal-title { font-size: 1rem; font-weight: 900; color: #ff6b9d; letter-spacing: 2px; margin-bottom: 18px; }
.qr-modal-img { width: 100%; max-width: 240px; height: auto; border-radius: 12px; display: block; margin: 0 auto 14px; -webkit-touch-callout: default; -webkit-user-select: auto; user-select: auto; }
.qr-modal-tip { font-size: 0.78rem; color: #8a6b78; line-height: 1.7; letter-spacing: 1px; }
.qr-modal-tip strong { color: #ff6b9d; }
.dept-scroll { display: flex; gap: 14px; overflow-x: auto; padding: 4px 4px 16px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.dept-scroll::-webkit-scrollbar { display: none; }
.dept-mini { flex: 0 0 200px; background: #fff; border-radius: 18px; padding: 20px 16px 16px; box-shadow: 0 4px 14px rgba(255,143,177,0.12); position: relative; overflow: hidden; cursor: pointer; transition: transform 0.25s, box-shadow 0.25s; scroll-snap-align: start; }
.dept-mini:hover { transform: translateY(-3px); box-shadow: 0 8px 22px rgba(255,143,177,0.22); }
.dept-mini::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 8px; background: var(--dept-color); }
.dept-mini::after { content: ''; position: absolute; top: 20px; right: -40px; width: 100px; height: 100px; border-radius: 50%; background: var(--dept-color); opacity: 0.12; pointer-events: none; }
.dept-mini-name { font-size: 1.35rem; font-weight: 900; color: var(--dept-color); letter-spacing: 2px; margin-bottom: 4px; position: relative; z-index: 1; }
.dept-mini-en { font-size: 0.62rem; color: #c9b0ba; letter-spacing: 2px; font-weight: bold; margin-bottom: 14px; position: relative; z-index: 1; }
.dept-mini-slogan { font-size: 0.8rem; color: #6b4a56; line-height: 1.6; margin-bottom: 16px; min-height: 38px; position: relative; z-index: 1; }
.dept-mini-btn { display: inline-block; background: var(--dept-color); color: #fff; font-size: 0.78rem; font-weight: bold; padding: 6px 16px; border-radius: 999px; letter-spacing: 1px; position: relative; z-index: 1; }
.dept-hint-box { margin-top: 18px; border: 2px dashed #ff8fb1; border-radius: 20px; padding: 22px 20px; text-align: center; background: rgba(255, 255, 255, 0.5); }
.dept-hint-title { font-size: 1.1rem; font-weight: 900; color: #ff6b9d; letter-spacing: 2px; margin-bottom: 8px; }
.dept-hint-text { font-size: 0.85rem; color: #8a6b78; letter-spacing: 1px; }
.back-btn { width: 42px; height: 42px; border-radius: 50%; background: #4a3a42; color: #fff; border: none; font-size: 1.3rem; cursor: pointer; display: flex; align-items: center; justify-content: center; padding-bottom: 3px; transition: transform 0.2s; flex-shrink: 0; z-index: 10; font-family: inherit; }
.back-btn:hover { transform: scale(1.08); }
.dept-detail-page { padding: 20px 20px 40px; position: relative; }
.back-fixed { position: absolute; top: 20px; left: 20px; }
.dept-detail-card { position: relative; background: #fff; border: 2px dashed #ffd9e8; border-radius: 22px; padding: 36px 26px 26px; margin-top: 60px; overflow: hidden; box-shadow: 0 6px 20px rgba(255, 143, 177, 0.1); }
.dept-detail-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 10px; background: var(--dept-color); }
.dept-detail-card::after { content: ''; position: absolute; top: 30px; right: -50px; width: 180px; height: 180px; border-radius: 50%; background: var(--dept-color); opacity: 0.15; pointer-events: none; }
.dept-detail-en { font-size: 0.8rem; font-weight: bold; color: #c9b0ba; letter-spacing: 4px; margin-bottom: 8px; position: relative; z-index: 1; }
.dept-detail-title { font-size: 2.2rem; font-weight: 900; color: var(--dept-color); letter-spacing: 4px; margin-bottom: 20px; line-height: 1.2; position: relative; z-index: 1; }
.dept-detail-slogan { font-size: 1.05rem; color: #4a3a42; font-weight: 600; line-height: 1.7; margin-bottom: 18px; position: relative; z-index: 1; }
.dept-detail-desc { font-size: 0.9rem; color: #6b4a56; line-height: 2; margin-bottom: 20px; position: relative; z-index: 1; }
.dept-detail-leader { display: inline-block; background: #ffe4ef; color: #ff6b9d; font-size: 0.82rem; font-weight: bold; padding: 7px 18px; border-radius: 999px; letter-spacing: 1px; position: relative; z-index: 1; }
.dept-activities-title { display: flex; align-items: center; gap: 8px; font-size: 1.15rem; font-weight: 900; color: #4a3a42; letter-spacing: 2px; margin: 30px 4px 20px; }
.dept-activities-title::before { content: '✦'; color: var(--dept-color); font-size: 1.3rem; text-shadow: 0 0 8px var(--dept-color); }
.dept-activities { display: flex; flex-direction: column; gap: 14px; }
.dept-activity-item { display: flex; align-items: center; gap: 14px; background: rgba(255, 255, 255, 0.85); border: 2px dashed var(--dept-color); border-radius: 999px; padding: 12px 20px; }
.dept-activity-num { width: 30px; height: 30px; border-radius: 50%; background: var(--dept-color); color: #fff; font-size: 0.9rem; font-weight: bold; display: flex; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
.dept-activity-text { font-size: 0.9rem; color: #4a3a42; line-height: 1.5; }
.dept-back-home-wrap { text-align: center; margin-top: 40px; padding-top: 20px; }
.dept-back-home-hint { font-size: 0.95rem; color: #8a6b78; margin-bottom: 16px; letter-spacing: 1px; }
.dept-back-home-btn { display: inline-flex; align-items: center; justify-content: center; background: #ff8fb1; color: #fff; font-size: 1rem; font-weight: bold; padding: 14px 40px; border-radius: 999px; border: none; cursor: pointer; letter-spacing: 2px; box-shadow: 0 6px 18px rgba(255, 143, 177, 0.45); transition: transform 0.2s, box-shadow 0.2s; font-family: inherit; }
.dept-back-home-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(255, 143, 177, 0.6); }
.btn-primary:active, .btn-outline:active, .btn-join:active, .btn:active,
.gallery-nav button:active, .footer-btn:active,
.dept-back-home-btn:active, .back-btn:active {
	transform: scale(0.96);
	transition: transform 0.1s;
}
.dept-mini:active { transform: scale(0.97); transition: transform 0.1s; }
@media (max-width: 480px) {
	.hero-title {
		font-size: 2.3rem;
		text-shadow:
			-3px -3px 0 #ff8fb1, 3px -3px 0 #ff8fb1,
			-3px 3px 0 #ff8fb1, 3px 3px 0 #ff8fb1,
			-3px 0 0 #ff8fb1, 3px 0 0 #ff8fb1,
			0 -3px 0 #ff8fb1, 0 3px 0 #ff8fb1;
	}
	.mascot { width: 80px; right: 8px; }
	.mascot-bubble { bottom: 130px; right: 8px; max-width: 150px; font-size: 0.78rem; }
	.gallery-main img { height: 220px; }
}


/* ===== 体验优化 ===== */
.quick-nav { position: sticky; top: 0; z-index: 30; display: flex; gap: 8px; padding: 8px 12px 9px; background: rgba(253,243,246,0.94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid #f3dfe8; overflow-x: auto; scrollbar-width: none; }
.quick-nav::-webkit-scrollbar { display: none; }
.quick-nav button { flex: none; padding: 6px 15px; border-radius: 999px; border: 1px solid #f0d3df; background: #fff; color: #8a5f72; font: inherit; font-size: 0.8rem; cursor: pointer; }
.quick-nav button:active { background: #ffe3ee; }
.quick-nav.stuck { box-shadow: 0 4px 14px rgba(255,143,177,0.14); }

.to-top { position: fixed; right: 16px; bottom: 178px; width: 42px; height: 42px; border-radius: 50%; border: 1px solid #ffd0df; background: #fff; color: #ff6b9d; font-size: 1.1rem; line-height: 1; z-index: 99; cursor: pointer; opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity 0.25s, transform 0.25s; box-shadow: 0 6px 16px rgba(255,143,177,0.25); }
.to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }

.dept-scroll { gap: 0; scroll-behavior: smooth; }
.dept-mini { flex: 0 0 100%; scroll-snap-align: start; }
.dept-nav { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 12px; }
.dept-dots { display: flex; gap: 6px; }
.dept-dot { width: 8px; height: 8px; padding: 0; border-radius: 50%; border: 0; background: #f2d3df; cursor: pointer; transition: background 0.2s, width 0.2s; }
.dept-dot.active { width: 20px; border-radius: 999px; background: #ff6b9d; }
.dept-count { font-size: 0.75rem; color: #8a6b78; letter-spacing: 1px; }

.gallery-thumbs { display: flex; width: 100%; max-width: 100%; gap: 8px; overflow-x: auto; overscroll-behavior-x: contain; padding: 10px 2px 4px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.gallery-thumbs::-webkit-scrollbar { display: none; }
.gallery-thumb { flex: none; width: 58px; height: 58px; padding: 0; border-radius: 10px; overflow: hidden; border: 2px solid transparent; background: #fff; cursor: pointer; opacity: 0.62; transition: opacity 0.2s, border-color 0.2s; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-thumb.active { opacity: 1; border-color: #ff6b9d; }

.list-more { display: block; width: 100%; margin-top: 12px; padding: 10px; border-radius: 999px; border: 1px dashed #ffb3cb; background: #fff; color: #d0507d; font: inherit; font-size: 0.85rem; cursor: pointer; }

.schedule-item.past { opacity: 0.55; }
.schedule-past { margin-left: auto; font-size: 0.7rem; color: #9b7f8c; border: 1px solid #e8d5de; border-radius: 999px; padding: 1px 8px; }

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


/* 灯箱缩放与二维码操作 */
.lightbox-img { transform-origin: center center; transition: transform 0.25s ease; will-change: transform; }
.lightbox-img.zoomed { cursor: zoom-out; }
.qr-modal-actions { display: flex; gap: 10px; justify-content: center; margin-top: 4px; }
.qr-modal-actions button { flex: 1; padding: 9px 10px; border-radius: 999px; border: 1px solid #ffd0df; background: #fff; color: #d0507d; font: inherit; font-size: 0.82rem; cursor: pointer; }
.qr-modal-actions button:active { transform: scale(0.97); }
