*, ::before, ::after {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

::backdrop {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}/*
! tailwindcss v3.4.19 | MIT License | https://tailwindcss.com
*//*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
*/

*,
::before,
::after {
  box-sizing: border-box; /* 1 */
  border-width: 0; /* 2 */
  border-style: solid; /* 2 */
  border-color: #e5e7eb; /* 2 */
}

::before,
::after {
  --tw-content: '';
}

/*
1. Use a consistent sensible line-height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
3. Use a more readable tab size.
4. Use the user's configured `sans` font-family by default.
5. Use the user's configured `sans` font-feature-settings by default.
6. Use the user's configured `sans` font-variation-settings by default.
7. Disable tap highlights on iOS
*/

html,
:host {
  line-height: 1.5; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
  -moz-tab-size: 4; /* 3 */
  -o-tab-size: 4;
     tab-size: 4; /* 3 */
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; /* 4 */
  font-feature-settings: normal; /* 5 */
  font-variation-settings: normal; /* 6 */
  -webkit-tap-highlight-color: transparent; /* 7 */
}

/*
1. Remove the margin in all browsers.
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
*/

body {
  margin: 0; /* 1 */
  line-height: inherit; /* 2 */
}

/*
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
3. Ensure horizontal rules are visible by default.
*/

hr {
  height: 0; /* 1 */
  color: inherit; /* 2 */
  border-top-width: 1px; /* 3 */
}

/*
Add the correct text decoration in Chrome, Edge, and Safari.
*/

abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}

/*
Remove the default font size and weight for headings.
*/

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

/*
Reset links to optimize for opt-in styling instead of opt-out.
*/

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

/*
Add the correct font weight in Edge and Safari.
*/

b,
strong {
  font-weight: bolder;
}

/*
1. Use the user's configured `mono` font-family by default.
2. Use the user's configured `mono` font-feature-settings by default.
3. Use the user's configured `mono` font-variation-settings by default.
4. Correct the odd `em` font sizing in all browsers.
*/

code,
kbd,
samp,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; /* 1 */
  font-feature-settings: normal; /* 2 */
  font-variation-settings: normal; /* 3 */
  font-size: 1em; /* 4 */
}

/*
Add the correct font size in all browsers.
*/

small {
  font-size: 80%;
}

/*
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/*
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
3. Remove gaps between table borders by default.
*/

table {
  text-indent: 0; /* 1 */
  border-color: inherit; /* 2 */
  border-collapse: collapse; /* 3 */
}

/*
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
3. Remove default padding in all browsers.
*/

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-feature-settings: inherit; /* 1 */
  font-variation-settings: inherit; /* 1 */
  font-size: 100%; /* 1 */
  font-weight: inherit; /* 1 */
  line-height: inherit; /* 1 */
  letter-spacing: inherit; /* 1 */
  color: inherit; /* 1 */
  margin: 0; /* 2 */
  padding: 0; /* 3 */
}

/*
Remove the inheritance of text transform in Edge and Firefox.
*/

button,
select {
  text-transform: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Remove default button styles.
*/

button,
input:where([type='button']),
input:where([type='reset']),
input:where([type='submit']) {
  -webkit-appearance: button; /* 1 */
  background-color: transparent; /* 2 */
  background-image: none; /* 2 */
}

/*
Use the modern Firefox focus style for all focusable elements.
*/

:-moz-focusring {
  outline: auto;
}

/*
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/

:-moz-ui-invalid {
  box-shadow: none;
}

/*
Add the correct vertical alignment in Chrome and Firefox.
*/

progress {
  vertical-align: baseline;
}

/*
Correct the cursor style of increment and decrement buttons in Safari.
*/

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

/*
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/

[type='search'] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/*
Remove the inner padding in Chrome and Safari on macOS.
*/

::-webkit-search-decoration {
  -webkit-appearance: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to `inherit` in Safari.
*/

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/*
Add the correct display in Chrome and Safari.
*/

summary {
  display: list-item;
}

/*
Removes the default spacing and border for appropriate elements.
*/

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}

fieldset {
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

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

/*
Reset default styling for dialogs.
*/
dialog {
  padding: 0;
}

/*
Prevent resizing textareas horizontally by default.
*/

textarea {
  resize: vertical;
}

/*
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
2. Set the default placeholder color to the user's configured gray 400 color.
*/

input::-moz-placeholder, textarea::-moz-placeholder {
  opacity: 1; /* 1 */
  color: #9ca3af; /* 2 */
}

input::placeholder,
textarea::placeholder {
  opacity: 1; /* 1 */
  color: #9ca3af; /* 2 */
}

/*
Set the default cursor for buttons.
*/

button,
[role="button"] {
  cursor: pointer;
}

/*
Make sure disabled buttons don't get the pointer cursor.
*/
:disabled {
  cursor: default;
}

/*
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
   This can trigger a poorly considered lint error in some tools but is included by design.
*/

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block; /* 1 */
  vertical-align: middle; /* 2 */
}

/*
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/

img,
video {
  max-width: 100%;
  height: auto;
}

/* Make elements with the HTML hidden attribute stay hidden by default */
[hidden]:where(:not([hidden="until-found"])) {
  display: none;
}
.container {
  width: 100%;
}
@media (min-width: 640px) {

  .container {
    max-width: 640px;
  }
}
@media (min-width: 768px) {

  .container {
    max-width: 768px;
  }
}
@media (min-width: 1024px) {

  .container {
    max-width: 1024px;
  }
}
@media (min-width: 1280px) {

  .container {
    max-width: 1280px;
  }
}
@media (min-width: 1536px) {

  .container {
    max-width: 1536px;
  }
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
.visible {
  visibility: visible;
}
.fixed {
  position: fixed;
}
.absolute {
  position: absolute;
}
.relative {
  position: relative;
}
.inset-0 {
  inset: 0px;
}
.-top-10 {
  top: -2.5rem;
}
.right-0 {
  right: 0px;
}
.z-\[9999\] {
  z-index: 9999;
}
.m-0 {
  margin: 0px;
}
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}
.mr-2 {
  margin-right: 0.5rem;
}
.mt-12 {
  margin-top: 3rem;
}
.block {
  display: block;
}
.flex {
  display: flex;
}
.hidden {
  display: none;
}
.aspect-video {
  aspect-ratio: 16 / 9;
}
.h-12 {
  height: 3rem;
}
.h-4 {
  height: 1rem;
}
.h-8 {
  height: 2rem;
}
.h-full {
  height: 100%;
}
.w-4 {
  width: 1rem;
}
.w-8 {
  width: 2rem;
}
.w-\[85vw\] {
  width: 85vw;
}
.w-auto {
  width: auto;
}
.w-full {
  width: 100%;
}
.max-w-7xl {
  max-width: 80rem;
}
.max-w-\[1600px\] {
  max-width: 1600px;
}
.max-w-none {
  max-width: none;
}
.transform {
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.resize {
  resize: both;
}
.items-center {
  align-items: center;
}
.justify-center {
  justify-content: center;
}
.justify-between {
  justify-content: space-between;
}
.gap-4 {
  gap: 1rem;
}
.whitespace-nowrap {
  white-space: nowrap;
}
.rounded-full {
  border-radius: 9999px;
}
.border {
  border-width: 1px;
}
.border-none {
  border-style: none;
}
.border-white {
  --tw-border-opacity: 1;
  border-color: rgb(255 255 255 / var(--tw-border-opacity, 1));
}
.bg-black {
  --tw-bg-opacity: 1;
  background-color: rgb(0 0 0 / var(--tw-bg-opacity, 1));
}
.bg-black\/50 {
  background-color: rgb(0 0 0 / 0.5);
}
.p-0 {
  padding: 0px;
}
.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}
.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.text-base {
  font-size: 1rem;
  line-height: 1.5rem;
}
.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}
.font-medium {
  font-weight: 500;
}
.text-white {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}
.shadow-md {
  --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.filter {
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}
.transition {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
#footer {
	background: #27156b;
	width: 100%;
	margin-top: 250px;
	padding-top: 60px;
	/* padding-bottom: 26px; */
	/* 活动领取 */
	padding-bottom: 120px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	position: relative;
}

#footer::before {
	content: '';
	position: absolute;
	z-index: -1;
	bottom: 100%;
	left: 0;
	width: 100%;
	height: 1013px;
	background: center/cover url(https://rise-tc-files.risechina.com/prod/www/static/images/footer-bg.png?v=53820079) no-repeat;
}

#footer::after {
	content: '';
	position: absolute;
	z-index: 1;
	top: -173px;
	left: 50%;
	transform: translateX(-50%);
	width: 368px;
	height: 173px;
	background: center/cover url(https://rise-tc-files.risechina.com/prod/www/static/images/footer-ip.png?v=d19cf593) no-repeat;
}

#footer .footer_main,
#footer .footer_info {
	display: flex;
	width: 100%;
	max-width: 1000px;
	margin: 0 auto;
	justify-content: space-between;
}

#footer .left,
#footer a {
	font-size: 12px;
	font-weight: 500;
	color: #9b8bd1;
	line-height: 22px;
	text-align: left;
	text-decoration: none;
}

#footer .left_top {
	display: flex;
	align-items: flex-end;
}

#footer .logo {
	width: 84px;
	height: 82px;
	margin-right: 31px;
}

#footer .tel p {
	font-weight: 700;
	font-size: 26px;
	margin: 10px 0 0;
	/* font-family: ArialBlack, sans-serif; */
}

#footer .tel span {
	font-size: 16px;
}

#footer .tel img {
	width: 24px;
	height: 24px;
	margin-right: 10px;
}

#footer .footer_info {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	font-size: 12px;
	font-weight: 500;
	color: #9b8bd1;
	line-height: 22px;
	text-decoration: none;
	margin-top: 40px;
}

#footer .footer_info a {
	color: #9b8bd1;
}

#footer .footer-campus-link {
	margin-left: 12px;
}

#footer .footer_info p {
	margin: 0;
}

#footer .right {
	position: relative;
	display: flex;
}

#footer .right .wx {
	text-align: center;
	margin: 0 20px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	position: relative;
	align-items: center;
}

#footer .right span {
	margin-top: 5px;
	color: #9b8bd1;
	font-size: 12px;
	font-weight: 500;
}

#footer .right .right_img {
	width: 76px;
	height: 76px;
}

#footer .ld {
	background-color: #fff;
	padding: 20px;
	width: 200px;
	height: 200px;
	border-radius: 10px;
	position: absolute;
	top: -270px;
	left: -80px;
	opacity: 0;
	transition: opacity 0.5s ease;
}

#footer .ld img {
	width: 100%;
	height: 100%;
}

#footer .ld::after {
	position: absolute;
	content: '';
	width: 45px;
	height: 45px;
	transform: rotate(45deg);
	bottom: -23px;
	left: 96px;
	background-color: #fff;
}

@media screen and (max-width: 768px) {
	#footer {
		padding: 40px 20px 20px;
		margin-top: 180px;
	}

	#footer .footer_main {
		flex-direction: column;
		padding: 0;
	}

	#footer .left {
		margin-bottom: 30px;
	}

	#footer .left_top {
		flex-direction: column;
		align-items: flex-start;
	}

	#footer .logo {
		width: 70px;
		height: 68px;
		margin: 0 0 20px;
	}

	#footer .tel {
		width: 100%;
		display: flex;
		align-items: center;
	}

	#footer .tel span {
		font-size: 14px;
	}

	#footer .tel p {
		font-size: 24px;
		margin: 5px 0 0 10px;
	}

	#footer .tel img {
		width: 20px;
		height: 20px;
		margin-right: 8px;
	}

	#footer .right {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		gap: 20px;
		justify-items: center;
	}

	#footer .right .wx {
		margin: 0;
	}

	#footer .right .right_img {
		width: 60px;
		height: 60px;
	}

	#footer .right span {
		font-size: 11px;
		margin-top: 8px;
	}

	#footer .footer_info {
		margin-top: 30px;
		padding: 0;
	}

	#footer .footer_info .flex {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}

	#footer .footer_info a,
	#footer .footer_info span {
		font-size: 11px;
		line-height: 1.8;
	}

	#footer .footer-campus-link {
		margin-left: 0;
	}

	#footer .footer_info p {
		text-align: center;
		margin: 5px 0;
	}

	#footer .footer_info img.im {
		margin: 5px auto !important;
		display: block;
	}

	/* 调整二维码弹出层 */
	#footer .ld {
		width: 160px;
		height: 160px;
		padding: 15px;
		top: -220px;
		left: 50%;
		transform: translateX(-50%);
	}

	#footer .ld::after {
		width: 30px;
		height: 30px;
		bottom: -15px;
		left: 50%;
		margin-left: -15px;
	}
}

/* Skip link: visible only on keyboard focus */
.skip-link {
	position: fixed;
	top: -100px;
	left: 16px;
	z-index: 10000;
	padding: 12px 20px;
	background: #fff;
	color: #27156b;
	border-radius: 4px;
	font-size: 16px;
	text-decoration: none;
}

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

/* Keyboard focus ring: visible on both purple sections and white cards */
:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 2px;
	box-shadow: 0 0 0 6px rgba(110, 109, 232, 0.9);
}

/* Swiper arrows are real buttons now; remove native button chrome */
#swiper-4-prev,
#swiper-4-next,
#swiper-8-prev,
#swiper-8-next {
	background: transparent;
	border: 0;
	padding: 0;
	display: block;
}

/* Links converted from <p> keep their block layout */
.swiper-8-link {
	display: block;
}

/* Converted cards/buttons behave like the original divs */
.section-3-card,
.common-btn,
.swiper-8-link {
	text-decoration: none;
}

/* QR cards reveal the enlarged QR panel on keyboard focus */
#footer .right .wx:focus-within .ld {
	opacity: 1;
}
/* --------------------------------------------------------------------------
   Map page tokens
   -------------------------------------------------------------------------- */

:root {
	--map-brand: #6e6de8;
	--map-brand-deep: #5554d4;
	--map-brand-soft: #efefff;
	--map-ink: #1d1e2f;
	--map-muted: #67697e;
	--map-line: #e6e6f0;
	--map-surface: #ffffff;
	--map-page: #f5f5fb;
	--map-header: #6d56e1;
	--map-radius: 18px;
	--map-header-h: 64px;
	--map-sheet-height: 80dvh;
	--map-sheet-peek: 32dvh;
}

@media (min-width: 768px) {
	:root {
		--map-header-h: 96px;
	}
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

body.map-page {
	margin: 0;
	min-height: 100dvh;
	background: var(--map-page);
	color: var(--map-ink);
	font-family: 'Noto Sans SC', 'Manjari', sans-serif;
	-webkit-font-smoothing: antialiased;
}

body.map-page [hidden] {
	display: none !important;
}

.js-only {
	display: none !important;
}

.js .js-only {
	display: inline-flex !important;
}

body.map-page :focus-visible {
	outline: 3px solid var(--map-brand);
	outline-offset: 2px;
	box-shadow: 0 0 0 6px rgba(110, 109, 232, 0.18);
}

/* --------------------------------------------------------------------------
   Header / footer overrides
   -------------------------------------------------------------------------- */

body.map-page #header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--map-header);
	color: #fff;
	box-shadow: 0 2px 14px rgba(39, 21, 107, 0.2);
}

body.map-page #header a {
	color: #fff;
}

body.map-page #header [aria-current='page'] {
	text-decoration: underline;
	text-underline-offset: 6px;
	text-decoration-thickness: 2px;
}

body.map-page #footer {
	margin-top: 0;
	padding-top: 36px;
	padding-bottom: 36px;
}

body.map-page #footer::before,
body.map-page #footer::after {
	display: none;
}

/* --------------------------------------------------------------------------
   Stage & layout
   -------------------------------------------------------------------------- */

body.map-page .map-main {
	display: flex;
	flex-direction: column;
	min-height: calc(100dvh - var(--map-header-h));
}

.map-stage {
	position: relative;
	display: flex;
	flex: 0 0 auto;
	flex-direction: column;
	height: calc(100dvh - var(--map-header-h));
	min-height: calc(100dvh - var(--map-header-h));
}

.map-overlay-head {
	display: flex;
	flex-direction: column;
	gap: 14px;
	width: 100%;
	max-width: 1440px;
	margin: 0 auto;
	padding: 24px 24px 0;
}

.map-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
}

.map-title {
	margin: 0;
	color: var(--map-ink);
	font-size: clamp(26px, 3vw, 40px);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.02em;
}

.map-subtitle {
	margin: 8px 0 0;
	color: var(--map-muted);
	font-size: 15px;
	line-height: 1.5;
}

.map-head-count {
	margin: 0;
	color: var(--map-muted);
	font-size: 14px;
	white-space: nowrap;
}

.map-toolbar {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
}

.city-chips {
	display: flex;
	flex: 1;
	align-items: center;
	gap: 8px;
	min-width: 0;
	overflow-x: auto;
	padding: 2px 2px 6px;
	scrollbar-width: none;
}

.city-chips::-webkit-scrollbar {
	display: none;
}

.city-chip,
.all-cities-button {
	-webkit-appearance: none;
	   -moz-appearance: none;
	        appearance: none;
	border: 1px solid var(--map-line);
	border-radius: 999px;
	background: var(--map-surface);
	color: var(--map-ink);
	padding: 8px 14px;
	font-size: 14px;
	font-weight: 500;
	line-height: 1;
	white-space: nowrap;
	cursor: pointer;
}

.city-chip:hover,
.all-cities-button:hover {
	border-color: var(--map-brand);
	color: var(--map-brand-deep);
}

.city-chip[aria-pressed='true'] {
	border-color: var(--map-brand);
	background: var(--map-brand);
	color: #fff;
}

.city-chip-count {
	margin-left: 4px;
	font-size: 12px;
	opacity: 0.7;
}

.all-cities-button {
	flex: 0 0 auto;
}

.map-layout {
	display: grid;
	flex: 1;
	grid-template-columns: minmax(0, 1.5fr) minmax(340px, 0.9fr);
	grid-template-rows: minmax(0, 1fr);
	gap: 18px;
	width: 100%;
	max-width: 1440px;
	min-height: 0;
	margin: 0 auto;
	padding: 16px 24px 28px;
}

/* --------------------------------------------------------------------------
   Map column
   -------------------------------------------------------------------------- */

.map-panel {
	position: relative;
	min-height: 0;
	overflow: hidden;
	border-radius: var(--map-radius);
	background: #e8e8f2;
	box-shadow: 0 18px 50px rgba(39, 21, 107, 0.1);
}

.map-canvas {
	position: absolute;
	inset: 0;
}

.map-loading,
.map-fallback {
	position: absolute;
	inset: 0;
	z-index: 6;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	background: #f0f0f7;
	color: var(--map-muted);
	font-size: 14px;
	text-align: center;
}

.map-loading[hidden],
.map-fallback[hidden],
.map-notice[hidden] {
	display: none !important;
}

.map-spinner {
	width: 28px;
	height: 28px;
	border: 3px solid #d9d9ea;
	border-top-color: var(--map-brand);
	border-radius: 50%;
	animation: map-spin 1s linear infinite;
}

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

.map-retry,
.map-notice-action,
.campus-empty-reset {
	-webkit-appearance: none;
	   -moz-appearance: none;
	        appearance: none;
	border: 1px solid var(--map-line);
	border-radius: 10px;
	background: var(--map-surface);
	color: var(--map-brand-deep);
	padding: 8px 12px;
	font-size: 13px;
	font-weight: 500;
	line-height: 1;
	cursor: pointer;
}

.map-retry:hover,
.map-notice-action:hover,
.campus-empty-reset:hover {
	border-color: var(--map-brand);
}

.map-notice {
	position: absolute;
	top: 16px;
	left: 16px;
	right: 72px;
	z-index: 5;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 12px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.95);
	color: var(--map-ink);
	font-size: 13px;
	box-shadow: 0 6px 20px rgba(39, 21, 107, 0.12);
	backdrop-filter: blur(8px);
}

.map-controls {
	position: absolute;
	top: 16px;
	right: 16px;
	z-index: 5;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.map-control {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 12px;
	background: var(--map-surface);
	color: var(--map-ink);
	font-size: 20px;
	line-height: 1;
	box-shadow: 0 4px 14px rgba(39, 21, 107, 0.16);
	cursor: pointer;
}

.map-control:hover {
	color: var(--map-brand-deep);
}

.map-control-reset {
	font-size: 12px;
	font-weight: 600;
}

.map-noscript {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background: #f0f0f7;
	color: var(--map-muted);
	font-size: 14px;
	text-align: center;
}

/* --------------------------------------------------------------------------
   List panel
   -------------------------------------------------------------------------- */

.campus-panel {
	display: flex;
	flex-direction: column;
	min-height: 0;
	overflow: hidden;
	border: 1px solid var(--map-line);
	border-radius: var(--map-radius);
	background: var(--map-surface);
}

.campus-panel-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 16px 18px 12px;
	border-bottom: 1px solid var(--map-line);
}

.campus-panel-title {
	margin: 0;
	color: var(--map-ink);
	font-size: 16px;
	font-weight: 600;
}

.campus-panel-count {
	color: var(--map-muted);
	font-size: 13px;
}

.campus-panel-body {
	flex: 1;
	min-height: 0;
	overflow-y: auto;
	overscroll-behavior: contain;
}

.campus-list {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
	padding: 10px 10px 18px;
	list-style: none;
}

.campus-card {
	scroll-margin-top: 16px;
	padding: 14px;
	border: 1px solid transparent;
	border-radius: 12px;
	transition:
		background-color 0.15s ease,
		border-color 0.15s ease;
}

.campus-card:hover {
	border-color: #ededf7;
	background: #fafaff;
}

.campus-card.is-selected {
	border-color: var(--map-brand);
	background: var(--map-brand-soft);
}

.campus-card:target {
	border-color: var(--map-brand);
}

.campus-card-top {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
}

.campus-card-title {
	margin: 0;
	color: var(--map-ink);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.35;
}

.campus-card-city {
	color: var(--map-muted);
	font-size: 12px;
	white-space: nowrap;
}

.campus-card-address {
	margin: 6px 0 0;
	color: #4d4f63;
	font-size: 13px;
	line-height: 1.55;
}

.campus-card-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 10px;
}

.campus-card-map,
.campus-card-nav {
	-webkit-appearance: none;
	   -moz-appearance: none;
	        appearance: none;
	display: inline-flex;
	align-items: center;
	border: 1px solid var(--map-line);
	border-radius: 9px;
	background: var(--map-surface);
	color: var(--map-brand-deep);
	padding: 6px 10px;
	font-size: 12px;
	font-weight: 500;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
}

.campus-card-map {
	border-color: var(--map-brand);
	background: var(--map-brand);
	color: #fff;
}

.campus-card-map:hover {
	background: var(--map-brand-deep);
}

.campus-card-nav:hover {
	border-color: var(--map-brand);
}

.campus-empty {
	margin: 0;
	padding: 24px 18px;
	color: var(--map-muted);
	font-size: 14px;
	text-align: center;
}

.campus-empty-reset {
	margin-left: 6px;
}

/* --------------------------------------------------------------------------
   Mobile sheet
   -------------------------------------------------------------------------- */

.sheet-handle {
	display: none;
}

@media (max-width: 1023px) {
	.map-stage {
		height: calc(100dvh - var(--map-header-h));
		min-height: calc(100dvh - var(--map-header-h));
		overflow: hidden;
	}

	.map-overlay-head {
		position: absolute;
		top: 0;
		right: 0;
		left: 0;
		z-index: 8;
		gap: 10px;
		padding: 14px 14px 12px;
		background: linear-gradient(
			to bottom,
			rgba(245, 245, 251, 0.98) 0%,
			rgba(245, 245, 251, 0.92) 72%,
			rgba(245, 245, 251, 0) 100%
		);
	}

	.map-title {
		font-size: 24px;
	}

	.map-subtitle {
		display: none;
	}

	.map-head-count {
		font-size: 12px;
	}

	.map-layout {
		position: relative;
		display: block;
		height: 100%;
		min-height: 0;
		padding: 0;
	}

	.map-panel {
		position: absolute;
		inset: 0;
		min-height: 0;
		border-radius: 0;
		box-shadow: none;
	}

	.map-controls {
		top: 172px;
		right: 12px;
	}

	.map-notice {
		top: 172px;
		right: 72px;
		left: 12px;
	}

	.campus-panel {
		position: absolute;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 9;
		height: var(--map-sheet-height);
		border: 0;
		border-radius: 20px 20px 0 0;
		box-shadow: 0 -10px 40px rgba(39, 21, 107, 0.18);
		transform: translateY(calc(var(--map-sheet-height) - var(--map-sheet-peek)));
		transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
		will-change: transform;
	}

	.campus-panel[data-state='expanded'] {
		transform: translateY(0);
	}

	.sheet-handle {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 6px;
		width: 100%;
		padding: 10px 16px 2px;
		border: 0;
		background: transparent;
		cursor: grab;
		touch-action: none;
	}

	.sheet-handle:active {
		cursor: grabbing;
	}

	.sheet-grip {
		width: 42px;
		height: 4px;
		border-radius: 999px;
		background: #d5d5e4;
	}

	.sheet-handle-text {
		color: var(--map-muted);
		font-size: 12px;
	}

	.campus-panel-head {
		padding-top: 8px;
	}

	body.map-page .amap-logo,
	body.map-page .amap-copyright {
		bottom: calc(var(--map-sheet-peek) + 8px) !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	.campus-panel,
	.campus-card {
		transition: none;
	}

	.map-spinner {
		animation-duration: 2s;
	}
}

/* --------------------------------------------------------------------------
   City dialog
   -------------------------------------------------------------------------- */

.city-dialog {
	width: min(720px, calc(100vw - 32px));
	max-height: min(80dvh, 720px);
	padding: 0;
	border: 0;
	border-radius: 20px;
	background: var(--map-surface);
	color: var(--map-ink);
	box-shadow: 0 30px 90px rgba(20, 15, 60, 0.3);
}

.city-dialog::backdrop {
	background: rgba(22, 18, 50, 0.45);
	backdrop-filter: blur(2px);
}

.city-dialog-head {
	position: sticky;
	top: 0;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 18px 20px;
	border-bottom: 1px solid var(--map-line);
	background: var(--map-surface);
}

.city-dialog-head h2 {
	margin: 0;
	font-size: 18px;
	font-weight: 600;
}

.city-dialog-close {
	width: 36px;
	height: 36px;
	border: 0;
	border-radius: 50%;
	background: #f2f2f8;
	color: var(--map-muted);
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
}

.city-dialog-close:hover {
	color: var(--map-ink);
}

.city-dialog-body {
	max-height: calc(80dvh - 73px);
	padding: 8px 20px 24px;
	overflow-y: auto;
}

.city-group {
	padding: 12px 0;
	border-bottom: 1px solid #f0f0f6;
}

.city-group:last-child {
	border-bottom: 0;
}

.city-group h3 {
	margin: 0 0 10px;
	color: var(--map-muted);
	font-size: 13px;
	font-weight: 600;
}

.city-group-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.city-option {
	border: 1px solid var(--map-line);
	border-radius: 10px;
	background: var(--map-surface);
	color: var(--map-ink);
	padding: 8px 12px;
	font-size: 14px;
	cursor: pointer;
}

.city-option:hover {
	border-color: var(--map-brand);
	color: var(--map-brand-deep);
}

.city-option[aria-pressed='true'] {
	border-color: var(--map-brand);
	background: var(--map-brand);
	color: #fff;
}

.city-option-count {
	margin-left: 4px;
	font-size: 12px;
	opacity: 0.7;
}

@media (max-width: 767px) {
	.city-dialog {
		position: fixed;
		inset: auto 0 0 0;
		width: 100%;
		max-width: none;
		max-height: 85dvh;
		margin: 0;
		border-radius: 20px 20px 0 0;
	}

	.city-dialog-body {
		max-height: calc(85dvh - 73px);
	}
}

/* --------------------------------------------------------------------------
   AMap overlays
   -------------------------------------------------------------------------- */

.campus-marker {
	position: relative;
	width: 24px;
	height: 32px;
	cursor: pointer;
	filter: drop-shadow(0 4px 6px rgba(39, 21, 107, 0.28));
}

.campus-marker::before {
	position: absolute;
	top: 0;
	left: 50%;
	width: 24px;
	height: 24px;
	border: 2px solid #fff;
	border-radius: 50% 50% 50% 0;
	background: var(--map-brand);
	content: '';
	box-sizing: border-box;
	transform: translateX(-50%) rotate(45deg);
}

.campus-marker::after {
	position: absolute;
	top: 7px;
	left: 50%;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #fff;
	content: '';
	transform: translateX(-50%);
}

.campus-marker.is-selected {
	filter: drop-shadow(0 6px 12px rgba(39, 21, 107, 0.4));
	transform: scale(1.18);
}

.campus-marker.is-selected::before {
	background: var(--map-brand-deep);
}

.campus-cluster {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 12px;
	border: 3px solid rgba(255, 255, 255, 0.92);
	border-radius: 999px;
	background: var(--map-brand);
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	box-shadow:
		0 0 0 8px rgba(110, 109, 232, 0.18),
		0 8px 20px rgba(39, 21, 107, 0.25);
}

.campus-cluster:hover {
	background: var(--map-brand-deep);
}

/* --------------------------------------------------------------------------
   No-JS
   -------------------------------------------------------------------------- */

html:not(.js) .map-loading,
html:not(.js) .map-fallback,
html:not(.js) .map-controls,
html:not(.js) .map-notice,
html:not(.js) .map-toolbar,
html:not(.js) .sheet-handle {
	display: none !important;
}

html:not(.js) .map-noscript {
	display: flex;
}

html:not(.js) .map-stage {
	height: auto;
	min-height: 0;
	overflow: visible;
}

html:not(.js) .map-overlay-head {
	position: static;
	padding: 16px;
	background: none;
}

html:not(.js) .map-layout {
	display: block;
	height: auto;
	padding: 0 16px 24px;
}

html:not(.js) .map-panel {
	position: relative;
	height: 50vh;
	min-height: 320px;
	border-radius: var(--map-radius);
}

html:not(.js) .campus-panel {
	position: static;
	height: auto;
	margin-top: 16px;
	border-radius: var(--map-radius);
	box-shadow: none;
	transform: none;
}

/* --------------------------------------------------------------------------
   Small screens
   -------------------------------------------------------------------------- */

@media (max-width: 639px) {
	.map-overlay-head {
		padding: 12px 12px 10px;
	}

	.map-head-count {
		font-size: 11px;
	}

	.city-chip,
	.all-cities-button {
		padding: 7px 12px;
		font-size: 13px;
	}

	.map-controls {
		top: 172px;
	}

	.map-notice {
		top: 172px;
	}
}

.hover\:text-gray-300:hover {
  --tw-text-opacity: 1;
  color: rgb(209 213 219 / var(--tw-text-opacity, 1));
}

@media (min-width: 640px) {

  .sm\:px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 768px) {

  .md\:h-20 {
    height: 5rem;
  }

  .md\:h-5 {
    height: 1.25rem;
  }

  .md\:w-5 {
    width: 1.25rem;
  }

  .md\:gap-6 {
    gap: 1.5rem;
  }

  .md\:text-base {
    font-size: 1rem;
    line-height: 1.5rem;
  }

  .md\:text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
  }
}

@media (min-width: 1024px) {

  .lg\:px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}
