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

:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-soft: #eff6ff;
  --accent-green: #10b981;
  --accent-green-soft: #ecfdf5;
  --accent-amber: #f59e0b;
  --accent-amber-soft: #fffbeb;
  --text: #0f172a;
  --text-secondary: #64748b;
  --text-muted: #94a3b8;
  --bg: #f8fafc;
  --card: #ffffff;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 24px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 8px 40px rgba(37, 99, 235, 0.12);
  --radius: 16px;
  --radius-sm: 12px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Noto Sans SC", "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  max-width: 480px;
  margin: 0 auto;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.page {
  display: none;
  min-height: 100vh;
  flex-direction: column;
}

.page.active {
  display: flex;
}

.hidden {
  display: none !important;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding-left: 4px;
}

/* ========== 主页面（第一套风格） ========== */
#page-home {
  background: #f8f9ff;
  height: 100dvh;
  max-height: 100dvh;
  overflow: hidden;
}

.home-header {
  display: flex;
  align-items: center;
  justify-content: center;
  height: clamp(48px, 7dvh, 56px);
  flex-shrink: 0;
  padding: 0 16px;
  padding-top: env(safe-area-inset-top, 0px);
  background: #f8f9ff;
  border-bottom: 1px solid #c3c6d7;
  position: sticky;
  top: 0;
  z-index: 50;
}

.home-header-left {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.home-header-back {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: none;
  background: transparent;
  color: #003da6;
  cursor: pointer;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}

.home-header-back:active {
  opacity: 0.7;
}

.home-header-title {
  font-size: clamp(1.0625rem, 3.2dvh, 1.25rem);
  font-weight: 700;
  color: #003da6;
  letter-spacing: -0.01em;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.home-header-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: none;
  background: transparent;
  color: #003da6;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.home-header-icon:active {
  opacity: 0.7;
}

.home-hero {
  position: relative;
  height: var(--home-hero-h, clamp(96px, 20dvh, 216px));
  flex-shrink: 0;
  overflow: hidden;
  background: linear-gradient(180deg, #eff4ff 0%, #f8f9ff 100%);
}

.home-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.home-hero.has-banner .home-hero-bg {
  opacity: 1;
}

.home-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(to bottom, transparent , rgb(248 249 255 / 0.4) , #f8f9ff);
}

.home-hero.has-banner .home-hero-overlay {
  opacity: 1;
}

.home-hero.has-banner {
  background: transparent;
}

.home-hero-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: clamp(2px, 0.6dvh, 6px);
  padding: 16px;
  padding-bottom: clamp(12px, 3.5dvh, 40px);
  pointer-events: none;
}

.home-hero-title {
  font-size: clamp(1.125rem, 3.6dvh, 1.5rem);
  font-weight: 700;
  line-height: 1.3;
  color: #003da6;
  letter-spacing: -0.02em;
}

.home-hero-subtitle {
  font-size: clamp(0.6875rem, 1.85dvh, 0.8125rem);
  font-weight: 400;
  color: #434654;
  line-height: 1.45;
}

.home-main {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  padding: calc(32px + env(safe-area-inset-top, 0px)) 16px 12px;
  padding-bottom: calc(12px + var(--safe-bottom));
}

.park-list {
  display: grid;
  grid-template-rows: repeat(var(--park-grid-rows, 4), minmax(0, 1fr));
  height: 100%;
  gap: var(--park-list-gap, clamp(8px, 1.5dvh, 24px));
}

.park-card {
  display: block;
  width: 100%;
  min-height: 0;
  padding: 0;
  border: none;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  background: transparent;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.park-card:active {
  transform: scale(0.98);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.park-card-media {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: var(--park-card-h, 72px);
}

.park-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: #334155;
}

.park-card-bg-hitech {
  background-image: linear-gradient(135deg, #003da6 0%, #0052d9 100%);
}

.park-card-bg-legal {
  background-image: linear-gradient(135deg, #1e3a5c 0%, #006c46 100%);
}

.park-card-bg-digital {
  background-image: linear-gradient(135deg, #733500 0%, #974700 100%);
}

.park-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.7) 100%);
  pointer-events: none;
}

.park-card-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(8px, 1.5dvh, 12px);
  padding: clamp(12px, 2dvh, 20px) clamp(16px, 4vw, 24px);
}

.park-card-name {
  width: 100%;
  font-size: clamp(1.0625rem, 3dvh, 1.1rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.35;
}

.park-card-action {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: clamp(6px, 1.2dvh, 10px) clamp(14px, 3.5vw, 22px);
  font-size: clamp(0.8125rem, 2.2dvh, 0.9375rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #fff;
  border-radius: 8px;
  white-space: nowrap;
}

.park-card-hitech .park-card-action {
  background: #003da6;
}

.park-card-legal .park-card-action {
  background: #003da6;
}

.park-card-digital .park-card-action {
  background: #003da6;
}

.park-card-action-arrow {
  flex-shrink: 0;
}

.park-services {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.park-card-sub {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 6px;
}

/* ========== 园区内页（第一套风格） ========== */
.park-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  padding: 0 16px;
  padding-top: env(safe-area-inset-top, 0px);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #e9eefa;
  position: sticky;
  top: 0;
  z-index: 50;
}

.park-header-left {
  display: flex;
  align-items: center;
  min-width: 0;
  flex: 1;
}

.park-header-back,
.park-header-share {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: none;
  background: transparent;
  color: #161c24;
  cursor: pointer;
  flex-shrink: 0;
  border-radius: 50%;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.2s;
}

.park-header-back:hover,
.park-header-share:hover {
  background: #e9eefa;
}

.park-header-back:active,
.park-header-share:active {
  opacity: 0.7;
}

.park-header-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #003da6;
  letter-spacing: -0.01em;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  align-items: center;
  gap: 8px;
}


.park-main {
  flex: 1;
  padding: 16px 16px calc(88px + var(--safe-bottom));
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.park-banner-card {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e9eefa;
  box-shadow: 0 4px 20px -2px rgba(0, 61, 166, 0.05);
}

.park-banner-media {
  position: relative;
  height: 176px;
  background: linear-gradient(135deg, #003da6 0%, #0052d9 100%);
  overflow: hidden;
}

.park-banner-media .hero-carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.park-banner-media .park-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.park-banner-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 50%, transparent 100%);
  pointer-events: none;
}

.park-banner-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 12px;
}

.park-banner-badge {
  display: inline-block;
  align-self: flex-start;
  padding: 2px 8px;
  margin-bottom: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: #0052d9;
  border-radius: 2px;
}

.park-banner-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 4px;
}

.park-banner-subtitle {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
}

.park-intro-clickable {
  cursor: pointer;
  transition: transform 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.park-intro-clickable:active {
  transform: scale(0.99);
}

.park-quick-entries {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.park-entry-primary {
  grid-column: 1 / -1;
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  min-height: 112px;
  padding: 16px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #0052d9 0%, #003da6 100%);
  box-shadow: 0 4px 16px rgba(0, 61, 166, 0.2);
  cursor: pointer;
  text-align: left;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.15s ease;
}

.park-entry-primary::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 128px;
  height: 128px;
  opacity: 0.1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M0 20 L20 0 M40 0 L0 40 M80 0 L0 80 M100 20 L20 100 M100 60 L60 100' fill='none' stroke='white' stroke-width='2'/%3E%3C/svg%3E") no-repeat center;
  pointer-events: none;
}

.park-entry-primary:active {
  transform: scale(0.98);
}

.park-entry-icon-primary {
  width: 44px;
  height: 44px;
  border-radius: 10px;
}

.park-entry-primary-text {
  flex: 1;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.park-entry-primary-aside {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.park-entry-tags {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.park-entry-tag {
  font-size: 9px;
  font-weight: 500;
  line-height: 1.2;
  padding: 3px 7px;
  border-radius: 999px;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.park-entry-go {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  flex-shrink: 0;
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.park-entry-row {
  display: contents;
}

.park-entry-secondary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid #e3e8f4;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 20px -2px rgba(0, 61, 166, 0.05);
  cursor: pointer;
  text-align: left;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.2s, transform 0.15s ease;
}

.park-entry-secondary:active {
  background: #e9eefa;
  transform: scale(0.98);
}

.park-entry-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  flex-shrink: 0;
}

.park-entry-icon-light {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  backdrop-filter: blur(8px);
}

.park-entry-icon-blue {
  background: rgba(0, 61, 166, 0.05);
  color: #003da6;
}

.park-entry-icon-amber {
  background: rgba(115, 53, 0, 0.05);
  color: #733500;
}

.park-entry-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #161c24;
  line-height: 1.4;
}

.park-entry-primary .park-entry-title,
.park-entry-primary .park-entry-desc {
  color: #fff;
}

.park-entry-primary .park-entry-desc {
  color: rgba(255, 255, 255, 0.8);
  margin-top: 4px;
}

.park-entry-desc {
  font-size: 10px;
  color: #434654;
  line-height: 1.4;
  margin-top: 2px;
}

.park-service-section {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e3e8f4;
  overflow: hidden;
  box-shadow: 0 4px 20px -2px rgba(0, 61, 166, 0.05);
}

.park-service-tabs {
  display: flex;
  border-bottom: 1px solid #e9eefa;
}

.park-service-tab {
  flex: 1;
  position: relative;
  padding: 16px 0;
  border: none;
  background: transparent;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #434654;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: color 0.2s;
}

.park-service-tab.active {
  color: #003da6;
}

.park-service-tab.active::after {
  content: "";
  position: absolute;
  left: 25%;
  right: 25%;
  bottom: 0;
  height: 2px;
  background: #003da6;
  border-radius: 1px;
}

.park-service-list {
  transition: opacity 0.15s ease;
}

.park-service-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px;
  border: none;
  border-bottom: 1px solid #e9eefa;
  background: transparent;
  cursor: pointer;
  text-align: left;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.2s;
}

.park-service-item:last-child {
  border-bottom: none;
}

.park-service-item:active,
.park-service-item:hover {
  background: #eff4ff;
}

.park-service-item-left {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.park-service-item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #e9eefa;
  border: 1px solid #e3e8f4;
  color: #003da6;
  flex-shrink: 0;
  transition: background 0.2s, color 0.2s;
}

.park-service-item:hover .park-service-item-icon,
.park-service-item:active .park-service-item-icon {
  background: #003da6;
  color: #fff;
}

.park-service-item-text {
  min-width: 0;
}

.park-service-item-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: #161c24;
  line-height: 1.4;
}

.park-service-item-en {
  font-size: 0.75rem;
  color: #434654;
  margin-top: 2px;
}

.park-service-item-arrow {
  color: rgba(67, 70, 84, 0.4);
  flex-shrink: 0;
  transition: color 0.2s;
}

.park-service-item:hover .park-service-item-arrow,
.park-service-item:active .park-service-item-arrow {
  color: #003da6;
}

.park-service-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 16px;
  border: none;
  border-top: 1px solid #e9eefa;
  background: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  color: #003da6;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.2s;
}

.park-service-more:active,
.park-service-more:hover {
  background: #e9eefa;
}

.park-service-empty {
  padding: 32px 16px;
  text-align: center;
  font-size: 0.875rem;
  color: #434654;
}

.park-bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: calc(64px + var(--safe-bottom));
  padding-bottom: var(--safe-bottom);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  border-top: 1px solid #e9eefa;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.03);
  z-index: 50;
}

.park-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 4px 16px;
  border: none;
  background: transparent;
  color: #434654;
  text-decoration: none;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  -webkit-tap-highlight-color: transparent;
  transition: color 0.2s;
}

.park-nav-item.active {
  color: #003da6;
}

.park-nav-item.active::before {
  content: "";
  position: absolute;
  top: 0;
  width: 4px;
  height: 4px;
  background: #003da6;
  border-radius: 50%;
}

.park-nav-item svg {
  width: 24px;
  height: 24px;
}

/* ========== 园区布局切换 ========== */
.park-layout {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 100%;
}

/* ========== 园区页一屏适配 ========== */
#page-park {
  height: 100dvh;
  max-height: 100dvh;
  overflow: hidden;
}

#page-park .park-layout {
  min-height: 0;
  height: 100%;
  overflow: hidden;
}

#page-park .park-layout-digital {
  position: relative;
}

#page-park .park-header {
  height: clamp(48px, 7dvh, 56px);
  flex-shrink: 0;
}

#page-park .park-header-title {
  font-size: clamp(1rem, 3dvh, 1.1rem);
}

#page-park .park-main {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  padding: clamp(8px, 1.5dvh, 16px) 16px calc(12px + var(--safe-bottom));
  gap: var(--park-section-gap, clamp(8px, 1.5dvh, 24px));
}

#page-park .park-banner-card {
  flex-shrink: 0;
}

#page-park .park-banner-media {
  height: var(--park-banner-h, clamp(72px, 17dvh, 176px));
}

#page-park .park-banner-title {
  font-size: clamp(0.9375rem, 2.8dvh, 1.1rem);
}

#page-park .park-quick-entries {
  flex-shrink: 0;
  gap: clamp(8px, 1.2dvh, 12px);
}

#page-park .park-entry-primary {
  min-height: var(--park-entry-primary-h, clamp(64px, 11dvh, 112px));
  padding: clamp(10px, 1.8dvh, 16px);
}

#page-park .park-entry-secondary {
  padding: clamp(8px, 1.5dvh, 12px);
}

#page-park .park-entry-icon {
  width: clamp(28px, 4.5dvh, 36px);
  height: clamp(28px, 4.5dvh, 36px);
}

#page-park .park-entry-icon-primary {
  width: clamp(36px, 5.5dvh, 44px);
  height: clamp(36px, 5.5dvh, 44px);
}

#page-park .park-entry-tag {
  font-size: clamp(8px, 1.6dvh, 9px);
}

#page-park .park-entry-go {
  width: clamp(26px, 4.2dvh, 30px);
  height: clamp(26px, 4.2dvh, 30px);
}

#page-park .park-entry-title {
  font-size: clamp(0.8125rem, 2.2dvh, 0.875rem);
}

#page-park .park-service-section {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

#page-park .park-service-tab {
  padding: clamp(10px, 2dvh, 16px) 0;
  font-size: clamp(0.8125rem, 2.2dvh, 0.875rem);
}

#page-park .park-service-list {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
}

#page-park .park-service-item {
  flex: 0 0 auto;
  min-height: 0;
  max-height: var(--park-service-item-max-h, clamp(44px, 6.5dvh, 64px));
  padding: clamp(8px, 1.5dvh, 16px);
  overflow: hidden;
}

#page-park .park-service-item-icon {
  width: clamp(32px, 5dvh, 40px);
  height: clamp(32px, 5dvh, 40px);
}

#page-park .park-service-item-left {
  gap: clamp(10px, 2dvh, 16px);
}

#page-park .park-service-item-name {
  font-size: clamp(0.8125rem, 2.2dvh, 0.875rem);
}

#page-park .park-service-more {
  flex-shrink: 0;
  padding: clamp(10px, 2dvh, 16px);
  font-size: clamp(0.8125rem, 2.2dvh, 0.875rem);
}

#page-park .park-legal-header,
#page-park .park-digital-header {
  height: clamp(48px, 7.5dvh, 64px);
  flex-shrink: 0;
}

#page-park .park-legal-header-title {
  font-size: clamp(1.0625rem, 3.2dvh, 1.25rem);
}

#page-park .park-digital-header-title {
  font-size: clamp(1rem, 3dvh, 1.125rem);
}

#page-park .park-legal-hero {
  height: var(--park-hero-h, clamp(108px, 26dvh, 280px));
  flex-shrink: 0;
}

#page-park .park-legal-hero-content {
  top: clamp(20px, 5dvh, 36px);
  bottom: clamp(24px, 5dvh, 52px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}


#page-park .park-legal-hero-title {
  font-size: clamp(1rem, 3dvh, 1.375rem);
  line-height: 1.35;
}

#page-park .park-legal-hero-subtitle {
  font-size: clamp(0.8125rem, 2.2dvh, 0.875rem);
}

#page-park .park-legal-actions {
  flex-shrink: 0;
  margin-top: var(--park-action-overlap, clamp(-32px, -4dvh, -40px));
  padding: 0 clamp(12px, 3vw, 20px);
  gap: clamp(8px, 1.2dvh, 12px);
}

#page-park .park-legal-action {
  aspect-ratio: unset;
  height: var(--park-legal-action-h, clamp(68px, 11.5dvh, 120px));
  padding: clamp(10px, 1.8dvh, 16px);
  gap: clamp(8px, 1.4dvh, 12px);
}

#page-park .park-legal-action svg {
  width: clamp(22px, 3.8dvh, 30px);
  height: clamp(22px, 3.8dvh, 30px);
}

#page-park .park-legal-action span {
  font-size: clamp(0.75rem, 2dvh, 0.875rem);
}

#page-park .park-legal-services {
  flex: 1;
  min-height: 0;
  margin-top: clamp(10px, 2dvh, 32px);
  padding-bottom: calc(12px + var(--safe-bottom));
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

#page-park .park-legal-tabs-wrap {
  position: static;
  flex-shrink: 0;
}

#page-park .park-legal-tabs {
  height: clamp(40px, 7dvh, 60px);
}

#page-park .park-legal-tab {
  font-size: clamp(0.8125rem, 2.2dvh, 0.9375rem);
}

#page-park .park-legal-list-wrap {
  flex: 1;
  min-height: 0;
  padding: clamp(16px, 2.5dvh, 32px) clamp(12px, 3vw, 20px) clamp(12px, 2dvh, 24px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

#page-park .park-legal-list {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: var(--park-service-gap, clamp(8px, 1.6dvh, 14px));
  justify-content: flex-start;
  overflow: hidden;
}

#page-park .park-legal-item {
  flex: 0 0 auto;
  max-height: var(--park-legal-item-max-h, clamp(44px, 6.5dvh, 64px));
  min-height: 0;
  padding: clamp(8px, 1.4dvh, 14px);
  overflow: hidden;
}

#page-park .park-legal-item-icon {
  width: clamp(32px, 4.8dvh, 40px);
  height: clamp(32px, 4.8dvh, 40px);
}

#page-park .park-legal-item-name {
  font-size: clamp(0.8125rem, 2.2dvh, 0.9375rem);
}

#page-park .park-legal-more {
  flex-shrink: 0;
  margin-top: 0;
  padding: clamp(10px, 1.8dvh, 14px);
  font-size: clamp(0.8125rem, 2.2dvh, 0.875rem);
}

#page-park .park-digital-hero {
  height: var(--park-hero-h, clamp(84px, 16dvh, 200px));
  flex-shrink: 0;
}

#page-park .park-digital-hero-content {
  top: clamp(16px, 4dvh, 32px);
  bottom: clamp(24px, 4.5dvh, 40px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}


#page-park .park-digital-hero-title {
  font-size: clamp(0.9375rem, 2.8dvh, 1.25rem);
  line-height: 1.35;
}

#page-park .park-digital-hero-subtitle {
  font-size: clamp(0.75rem, 2dvh, 0.8125rem);
}

#page-park .park-digital-hero-wave svg {
  height: clamp(20px, 3.2dvh, 32px);
}

#page-park .park-digital-actions {
  flex-shrink: 0;
  margin-top: var(--park-action-overlap, clamp(-20px, -2.8dvh, -28px));
  padding: 0 clamp(12px, 3vw, 20px);
  gap: clamp(6px, 1dvh, 10px);
}

#page-park .park-digital-action-primary {
  min-height: var(--park-digital-action-primary-h, clamp(50px, 7.2dvh, 72px));
  padding: clamp(10px, 1.6dvh, 16px);
}

#page-park .park-digital-action-icon-light {
  width: clamp(36px, 5.5dvh, 52px);
  height: clamp(36px, 5.5dvh, 52px);
}

#page-park .park-digital-action-primary .park-digital-action-title {
  font-size: clamp(0.9375rem, 2.4dvh, 1.125rem);
}

#page-park .park-digital-action-primary .park-digital-action-desc {
  font-size: clamp(0.6875rem, 1.8dvh, 0.8125rem);
}

#page-park .park-digital-action-title {
  font-size: clamp(0.9375rem, 2.4dvh, 1.125rem);
}

#page-park .park-digital-action-desc {
  font-size: clamp(0.6875rem, 1.8dvh, 0.8125rem);
}

#page-park .park-digital-action-secondary {
  padding: clamp(8px, 1.2dvh, 10px);
  gap: clamp(4px, 0.8dvh, 6px);
}

#page-park .park-digital-action-secondary .park-digital-action-title {
  font-size: clamp(0.75rem, 2dvh, 0.8125rem);
  font-weight: 600;
}

#page-park .park-digital-action-secondary .park-digital-action-desc {
  font-size: clamp(0.5625rem, 1.4dvh, 0.625rem);
}

#page-park .park-digital-action-icon-purple,
#page-park .park-digital-action-icon-orange {
  width: clamp(24px, 3.6dvh, 32px);
  height: clamp(24px, 3.6dvh, 32px);
  border-radius: 8px;
}

#page-park .park-digital-action-secondary .park-digital-action-icon svg {
  width: clamp(16px, 2.4dvh, 18px);
  height: clamp(16px, 2.4dvh, 18px);
}

#page-park .park-digital-services {
  flex: 1;
  min-height: 0;
  padding: clamp(8px, 1.4dvh, 16px) clamp(12px, 3vw, 20px) calc(12px + var(--safe-bottom));
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

#page-park .park-digital-services-head {
  flex-shrink: 0;
  margin-bottom: clamp(6px, 1.2dvh, 12px);
}

#page-park .park-digital-services-title {
  font-size: clamp(0.9375rem, 2.6dvh, 1.125rem);
}

#page-park .park-digital-tabs {
  flex-shrink: 0;
  margin-bottom: clamp(8px, 1.4dvh, 14px);
  padding: clamp(3px, 0.5dvh, 4px);
  border-radius: clamp(12px, 2dvh, 14px);
}

#page-park .park-digital-tab {
  padding: clamp(7px, 1.2dvh, 10px) clamp(10px, 2vw, 16px);
  border-radius: clamp(10px, 1.6dvh, 12px);
  font-size: clamp(0.8125rem, 2.2dvh, 0.875rem);
}

#page-park .park-digital-list {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: var(--park-service-gap, clamp(4px, 0.8dvh, 8px));
  justify-content: flex-start;
  overflow: hidden;
}

#page-park .park-digital-item {
  flex: 0 0 auto;
  max-height: var(--park-digital-item-max-h, clamp(44px, 6.8dvh, 64px));
  min-height: 0;
  padding: clamp(8px, 1.4dvh, 12px);
  gap: clamp(8px, 1.4dvh, 12px);
  overflow: hidden;
}

#page-park .park-digital-item-icon {
  width: clamp(32px, 4.8dvh, 44px);
  height: clamp(32px, 4.8dvh, 44px);
}

#page-park .park-digital-item-name {
  font-size: clamp(0.8125rem, 2.2dvh, 0.9375rem);
}

#page-park .park-digital-fab {
  position: absolute;
  right: clamp(22px, 3vw, 20px);
  bottom: calc(62px + var(--safe-bottom));
  width: clamp(40px, 6dvh, 45px);
  height: clamp(40px, 6dvh, 45px);
}

.park-layout-legal,
.park-layout-digital {
  display: none;
}

.park-theme-legal .park-layout-hitech {
  display: none;
}

.park-theme-legal .park-layout-legal {
  display: flex;
}

.park-theme-digital .park-layout-hitech,
.park-theme-digital .park-layout-legal {
  display: none;
}

.park-theme-digital .park-layout-digital {
  display: flex;
}

/* ========== 第二套风格：legal 法务区 ========== */
.park-legal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 20px;
  padding-top: env(safe-area-inset-top, 0px);
  background: #fff;
  border-bottom: 1px solid rgba(226, 232, 240, 0.5);
  position: sticky;
  top: 0;
  z-index: 50;
  transition: box-shadow 0.2s;
}

.park-legal-header.is-scrolled {
  box-shadow: 0 1px 3px rgba(0, 33, 71, 0.06);
}

.park-legal-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
}

.park-legal-header-back,
.park-legal-header-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  background: transparent;
  color: #002147;
  cursor: pointer;
  flex-shrink: 0;
  border-radius: 50%;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.2s;
}

.park-legal-header-icon {
  color: #4a5568;
}

.park-legal-header-icon:hover,
.park-legal-header-back:hover {
  background: #f2f4f7;
}

.park-legal-header-icon:active,
.park-legal-header-back:active {
  opacity: 0.7;
}

.park-legal-header-title {
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #002147;
  letter-spacing: -0.01em;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.park-legal-header-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.park-legal-hero {
  position: relative;
  height: 256px;
  overflow: hidden;
  background: #002147;
  touch-action: pan-y;
}

.park-legal-hero .hero-carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.park-legal-hero .park-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.park-legal-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 33, 71, 0) 0%, rgba(0, 33, 71, 0.85) 100%);
  pointer-events: none;
}

.park-legal-hero-content {
  position: absolute;
  left: 20px;
  right: 20px;
  top: 36px;
  bottom: 64px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}


.park-legal-hero-line {
  width: 32px;
  height: 1px;
  background: #b08d57;
  flex-shrink: 0;
}

.park-legal-hero-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #b08d57;
}

.park-legal-hero-title {
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 1.375rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
  margin-bottom: 4px;
}

.park-legal-hero-subtitle {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.park-legal-hero .hero-carousel-dots {
  bottom: 12px;
  z-index: 4;
}

.park-legal-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 0 20px;
  margin-top: -40px;
  position: relative;
  z-index: 10;
}

.park-legal-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  aspect-ratio: 1;
  padding: 16px;
  border-radius: 8px;
  border: 1px solid rgba(226, 232, 240, 0.5);
  background: #fff;
  color: #002147;
  cursor: pointer;
  box-shadow: 0 4px 20px -2px rgba(0, 33, 71, 0.08);
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.15s ease, border-color 0.2s;
}

.park-legal-action svg {
  color: #b08d57;
}

.park-legal-action span {
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 0.875rem;
  font-weight: 700;
}

.park-legal-action:active {
  transform: scale(0.98);
}

.park-legal-action-primary {
  background: #002147;
  border-color: #002147;
  color: #fff;
}

.park-legal-action-primary svg {
  color: #b08d57;
}

.park-legal-action-primary span {
  color: #fff;
}

.park-legal-services {
  flex: 1;
  margin-top: 32px;
  padding-bottom: calc(80px + var(--safe-bottom));
}

.park-legal-tabs-wrap {
  position: sticky;
  top: 64px;
  z-index: 20;
  background: #fff;
  border-bottom: 1px solid rgba(226, 232, 240, 0.3);
  padding: 0 20px;
}

.park-legal-tabs {
  display: flex;
  gap: 32px;
  height: 60px;
}

.park-legal-tab {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  background: transparent;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #4a5568;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: color 0.2s;
}

.park-legal-tab.active {
  color: #002147;
  font-weight: 700;
}

.park-legal-tab.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 3px;
  background: #b08d57;
  border-radius: 2px;
}

.park-legal-list-wrap {
  padding: 24px 20px 0;
}

.park-legal-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: opacity 0.15s ease;
}

.park-legal-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px;
  border: 1px solid rgba(226, 232, 240, 0.5);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  text-align: left;
  box-shadow: 0 4px 20px -2px rgba(0, 33, 71, 0.08);
  -webkit-tap-highlight-color: transparent;
  transition: border-color 0.2s, transform 0.15s ease;
}

.park-legal-item:active {
  transform: scale(0.99);
}

.park-legal-item:hover {
  border-color: #b08d57;
}

.park-legal-item-left {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.park-legal-item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: rgba(176, 141, 87, 0.05);
  color: #002147;
  flex-shrink: 0;
}

.park-legal-item-text {
  min-width: 0;
}

.park-legal-item-name {
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 1rem;
  font-weight: 600;
  color: #002147;
  line-height: 1.4;
}

.park-legal-item-desc {
  font-size: 0.75rem;
  color: #4a5568;
  margin-top: 2px;
  line-height: 1.45;
}

.park-legal-item-arrow {
  color: #e2e8f0;
  flex-shrink: 0;
  transition: color 0.2s;
}

.park-legal-item:hover .park-legal-item-arrow {
  color: #b08d57;
}

.park-legal-more {
  display: block;
  width: 100%;
  margin-top: 0;
  padding: 14px;
  border: 1px solid rgba(226, 232, 240, 0.5);
  border-radius: 8px;
  background: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  color: #002147;
  cursor: pointer;
  text-align: center;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.2s;
}

.park-legal-more:active,
.park-legal-more:hover {
  background: #f2f4f7;
}

.park-legal-empty {
  padding: 32px 16px;
  text-align: center;
  font-size: 0.875rem;
  color: #4a5568;
}

.park-legal-bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  padding: 0 16px;
  padding-bottom: var(--safe-bottom);
  background: #fff;
  border-top: 1px solid rgba(226, 232, 240, 0.5);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
  z-index: 50;
}

.park-legal-nav-item {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 12px 0;
  border: none;
  background: transparent;
  color: #4a5568;
  text-decoration: none;
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  position: relative;
  -webkit-tap-highlight-color: transparent;
  transition: color 0.2s;
}

.park-legal-nav-item:hover {
  color: #002147;
}

.park-legal-nav-item.active {
  color: #002147;
  font-weight: 700;
}

.park-legal-nav-item.active::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background: #b08d57;
  border-radius: 50%;
}

/* ========== 第三套风格：digital 文创城 ========== */
.park-digital-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 20px;
  padding-top: env(safe-area-inset-top, 0px);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(195, 198, 215, 0.3);
  position: sticky;
  top: 0;
  z-index: 50;
  transition: box-shadow 0.2s;
}

.park-digital-header.is-scrolled {
  box-shadow: 0 4px 24px rgba(0, 82, 217, 0.05);
}

.park-digital-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
}

.park-digital-header-back,
.park-digital-header-more {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  background: rgba(227, 232, 244, 0.5);
  border-radius: 50%;
  color: #0052d9;
  cursor: pointer;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.1s ease, opacity 0.2s;
}

.park-digital-header-more {
  background: transparent;
  color: #434654;
}

.park-digital-header-back:active,
.park-digital-header-more:active {
  transform: scale(0.96);
}

.park-digital-header-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #0052d9;
  letter-spacing: -0.01em;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.park-digital-hero {
  position: relative;
  height: 240px;
  overflow: hidden;
  touch-action: pan-y;
  isolation: isolate;
}

.park-digital-hero-mesh {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: #1976d2;
  background-image:
    radial-gradient(ellipse 90% 80% at 15% 85%, rgba(0, 201, 167, 0.95) 0%, transparent 55%),
    radial-gradient(ellipse 70% 65% at 92% 12%, rgba(142, 36, 170, 0.92) 0%, transparent 52%),
    radial-gradient(ellipse 75% 70% at 88% 92%, rgba(255, 138, 101, 0.88) 0%, transparent 50%),
    radial-gradient(ellipse 100% 90% at 50% 45%, rgba(0, 82, 217, 0.85) 0%, transparent 70%),
    linear-gradient(135deg, #0052d9 0%, #1976d2 42%, #7c4dff 78%, #ff7043 100%);
}

.park-digital-hero-deco {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
  padding: 16px;
  opacity: 0.1;
  color: #fff;
  transform: rotate(12deg);
  pointer-events: none;
}

.park-digital-hero-content {
  position: absolute;
  left: 20px;
  right: 20px;
  top: 36px;
  bottom: 52px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}


.park-digital-badge {
  display: inline-block;
  padding: 4px 12px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  color: #fff;
}

.park-digital-badge-light {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
}

.park-digital-badge-orange {
  background: rgba(255, 87, 34, 0.9);
}

.park-digital-hero-title {
  font-size: 1.375rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.park-digital-hero-subtitle {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 4px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.park-digital-hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 3;
  line-height: 0;
  pointer-events: none;
}

.park-digital-hero-wave svg {
  display: block;
  width: calc(100% + 1.3px);
  height: 40px;
  fill: #fdfeff;
}

.park-digital-actions {
  padding: 0 20px;
  margin-top: -32px;
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.park-digital-action-primary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px;
  border: none;
  border-radius: 2rem 0.75rem 2rem 0.75rem;
  background: #0052d9;
  color: #fff;
  box-shadow: 0 8px 32px rgba(0, 82, 217, 0.2);
  cursor: pointer;
  text-align: left;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.1s ease;
}

.park-digital-action-primary:active {
  transform: scale(0.96);
}

.park-digital-action-primary-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.park-digital-action-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.park-digital-action-icon-light {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.2);
}

.park-digital-action-icon-purple {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(124, 77, 255, 0.1);
  color: #7c4dff;
}

.park-digital-action-icon-orange {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 87, 34, 0.1);
  color: #ff5722;
}

.park-digital-action-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #161c24;
  line-height: 1.3;
}

.park-digital-action-primary .park-digital-action-title,
.park-digital-action-primary .park-digital-action-desc {
  color: #fff;
}

.park-digital-action-primary .park-digital-action-desc {
  opacity: 0.8;
}

.park-digital-action-desc {
  font-size: 0.875rem;
  color: #434654;
  margin-top: 2px;
  line-height: 1.35;
}

.park-digital-action-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.park-digital-action-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.park-digital-action-secondary {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(195, 198, 215, 0.4);
  border-radius: 1rem 0.5rem 1rem 0.5rem;
  background: #fff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  cursor: pointer;
  text-align: left;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.1s ease, background 0.2s;
}

.park-digital-action-secondary:active {
  transform: scale(0.96);
}

.park-digital-action-secondary .park-digital-action-title {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.35;
}

.park-digital-action-secondary .park-digital-action-desc {
  font-size: 10px;
}

.park-digital-action-secondary .park-digital-action-icon svg {
  width: 20px;
  height: 20px;
}

.park-digital-services {
  padding: 16px 20px calc(16px + var(--safe-bottom));
}

.park-digital-services-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 20px;
}

.park-digital-services-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #161c24;
}

.park-digital-services-line {
  display: block;
  width: 32px;
  height: 4px;
  margin-top: 4px;
  background: #009688;
  border-radius: 999px;
}

.park-digital-services-more {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  border: none;
  background: transparent;
  font-size: 0.75rem;
  font-weight: 700;
  color: #0052d9;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.park-digital-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
  padding: 4px;
  background: linear-gradient(135deg, #f4f7fb 0%, #eef6f5 100%);
  border: 1px solid rgba(0, 150, 136, 0.1);
  border-radius: 14px;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
}

.park-digital-tab {
  position: relative;
  flex: 1;
  padding: 10px 16px;
  border: none;
  border-radius: 12px;
  background: transparent;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #919eab;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease, transform 0.15s ease;
}

.park-digital-tab:active:not(.active) {
  transform: scale(0.98);
}

.park-digital-tab.active {
  background: #fff;
  color: #00796b;
  font-weight: 600;
  box-shadow:
    0 2px 8px rgba(0, 121, 107, 0.1),
    0 1px 2px rgba(15, 23, 42, 0.06);
}

.park-digital-tab.active::after {
  content: none;
}

.park-digital-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: opacity 0.15s ease;
}

.park-digital-item {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 16px;
  border: 1px solid rgba(195, 198, 215, 0.2);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  cursor: pointer;
  text-align: left;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.2s, transform 0.1s ease;
}

.park-digital-item:active {
  background: #f8f9ff;
  transform: scale(0.99);
}

.park-digital-item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  flex-shrink: 0;
}

.park-digital-item-icon--0 {
  background: #eff6ff;
  color: #2563eb;
}

.park-digital-item-icon--1 {
  background: #f0fdfa;
  color: #0d9488;
}

.park-digital-item-icon--2 {
  background: #fff7ed;
  color: #ea580c;
}

.park-digital-item-icon--3 {
  background: #f5f3ff;
  color: #7c3aed;
}

.park-digital-item-text {
  flex: 1;
  min-width: 0;
}

.park-digital-item-name {
  font-size: 1rem;
  font-weight: 700;
  color: #161c24;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.park-digital-item-arrow {
  color: #c3c6d7;
  flex-shrink: 0;
}

.park-digital-empty {
  padding: 32px 16px;
  text-align: center;
  font-size: 0.875rem;
  color: #434654;
}

.park-digital-fab {
  position: fixed;
  right: 24px;
  bottom: calc(16px + var(--safe-bottom));
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border: none;
  border-radius: 50%;
  background: #161c24;
  color: #fff;
  box-shadow: 0 25px 50px -12px rgba(22, 28, 36, 0.35);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.1s ease;
}

.park-digital-fab-icon {
  display: block;
  flex-shrink: 0;
  animation: park-digital-fab-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes park-digital-fab-pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.55;
  }
}

.park-digital-fab:active {
  transform: scale(0.96);
}

.park-digital-bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  padding: 12px 24px calc(24px + var(--safe-bottom));
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(195, 198, 215, 0.3);
  z-index: 50;
}

.park-digital-nav-item {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: none;
  background: transparent;
  color: #434654;
  text-decoration: none;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
  position: relative;
  -webkit-tap-highlight-color: transparent;
  transition: color 0.2s;
}

.park-digital-nav-item:hover {
  color: #0052d9;
}

.park-digital-nav-item.active {
  color: #0052d9;
}

.park-digital-nav-item.active::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 4px;
  background: #0052d9;
  border-radius: 999px;
}

.park-digital-nav-item.has-dot::after {
  content: "";
  position: absolute;
  top: 8px;
  right: calc(50% - 20px);
  width: 8px;
  height: 8px;
  background: #ff5722;
  border-radius: 50%;
}

.park-banner-media .hero-carousel-dots {
  bottom: 8px;
  z-index: 4;
}

.park-banner-media .hero-carousel-dot {
  background: rgba(255, 255, 255, 0.55);
}

.park-banner-media .hero-carousel-dot.active {
  background: #fff;
}

/* ========== 园区内页（旧版结构兼容） ========== */
.park-hero {
  position: relative;
  min-height: 220px;
  padding: 20px 24px 52px;
  color: #fff;
  background: #1565c0;
  overflow: hidden;
  touch-action: pan-y;
}

.park-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.hero-carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-carousel .park-hero-bg {
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.hero-carousel .park-hero-bg.active {
  opacity: 1;
}

.hero-carousel-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  z-index: 3;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  pointer-events: auto;
}

.hero-carousel-dot {
  width: 6px;
  height: 6px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: width 0.25s, border-radius 0.25s, background 0.25s;
  -webkit-tap-highlight-color: transparent;
}

.hero-carousel-dot.active {
  width: 18px;
  border-radius: 3px;
  background: #fff;
}

.park-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.park-hero-content {
  position: relative;
  z-index: 2;
}


.back-btn {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 20px;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background 0.2s;
}

.back-btn:active {
  background: rgba(255, 255, 255, 0.25);
}

.park-hero h1 {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.01em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.25);
}

.park-intro {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 20px 22px;
  border: 1px solid var(--border);
}

.park-intro #park-intro {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.75;
  max-height: 4.6rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  word-break: break-word;
}

.park-intro #park-intro p {
  display: inline;
  margin: 0;
}

.park-intro-clickable {
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.park-intro-clickable:active {
  transform: scale(0.99);
}

.park-intro-more {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--primary);
}

.park-intro-more svg {
  flex-shrink: 0;
}

/* 园区介绍详情页 */
.intro-main {
  flex: 1;
  padding: 20px 20px 40px;
  margin-top: -20px;
  position: relative;
  z-index: 2;
  background: var(--bg);
  border-radius: var(--radius) var(--radius) 0 0;
}

.intro-content {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  padding: 22px 24px;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.85;
  word-break: break-word;
}

.intro-content p {
  margin: 0 0 1em;
}

.intro-content p:last-child {
  margin-bottom: 0;
}

.intro-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
}

/* 服务区块 */
.service-block {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  overflow: hidden;
}

.service-head {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 22px 20px;
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: left;
  -webkit-tap-highlight-color: transparent;
}

.service-head-static {
  cursor: default;
  padding-bottom: 0;
}

.service-head-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-affairs .service-head-icon {
  background: var(--primary-soft);
  color: var(--primary);
}

.service-consult .service-head-icon {
  background: var(--accent-green-soft);
  color: var(--accent-green);
}

.service-policy .service-head-icon {
  background: var(--accent-amber-soft);
  color: var(--accent-amber);
}

.service-head-text {
  flex: 1;
  min-width: 0;
}

.service-head-text h2 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}

.service-head-text p {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.service-head-arrow {
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform 0.25s ease;
}

.service-head-arrow.open {
  transform: rotate(180deg);
}

.service-head-arrow-link {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-soft);
  border-radius: 50%;
  color: var(--primary);
}

.service-body {
  padding: 8px 20px 24px;
}

.service-desc {
  padding: 12px 14px;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.75;
  background: var(--bg);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
}

.service-desc-em {
  display: inline-block;
  padding: 0 5px;
  margin: 0 1px;
  font-style: normal;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-soft);
  border-radius: 4px;
}

.service-block > .service-desc {
  margin: 0 20px 20px;
}

.service-body .service-desc {
  margin-bottom: 20px;
}

/* 我要办事展开区 */
.affairs-panel {
  padding: 0 20px 24px;
  border-top: 1px solid var(--border);
  margin-top: 0;
  padding-top: 20px;
}

/* 我要办事页 */
.affairs-hero {
  position: relative;
  min-height: 180px;
  padding: 20px 24px 40px;
  color: #fff;
  background: var(--primary);
  overflow: hidden;
  touch-action: pan-y;
}

.affairs-hero-content {
  position: relative;
  z-index: 2;
}

.affairs-hero h1 {
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 6px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.25);
}

.affairs-hero p {
  font-size: 0.8125rem;
  opacity: 0.85;
}

.affairs-main {
  flex: 1;
  padding: 20px 20px 40px;
  margin-top: -20px;
  position: relative;
  z-index: 2;
  background: var(--bg);
  border-radius: var(--radius) var(--radius) 0 0;
}

.search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding: 0 16px;
  height: 44px;
  background: var(--bg);
  border-radius: 22px;
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.search-bar input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 0.875rem;
  outline: none;
  color: var(--text);
}

.search-bar input::placeholder {
  color: var(--text-muted);
}

.tab-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.tab {
  flex: 1;
  padding: 10px 0;
  border: 1px solid var(--border);
  background: var(--bg);
  font-size: 0.8125rem;
  color: var(--text-secondary);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
}

.tab.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  font-weight: 500;
}

.category-group {
  margin-bottom: 12px;
  border-radius: var(--radius-sm);
  background: var(--bg);
  border: 1px solid var(--border);
  overflow: hidden;
}

.category-group:last-child {
  margin-bottom: 0;
}

.category-title {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 14px 16px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  -webkit-tap-highlight-color: transparent;
}

.category-title-text {
  flex: 1;
  min-width: 0;
}

.category-chevron {
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform 0.2s;
}

.category-group.expanded .category-chevron {
  transform: rotate(180deg);
}

.category-panel {
  display: none;
  padding: 0 12px 12px;
}

.category-group.expanded .category-panel {
  display: block;
}

.category-group.expanded .category-title {
  border-bottom: 1px solid var(--border);
}

.category-dot {
  width: 3px;
  height: 16px;
  border-radius: 2px;
  background: var(--primary);
  flex-shrink: 0;
}

.affair-load-tip {
  text-align: center;
  padding: 12px 0 4px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.affair-load-sentinel {
  height: 1px;
}

.affair-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.affair-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  background: var(--bg);
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  text-align: left;
  width: 100%;
  transition: border-color 0.2s, background 0.2s;
  -webkit-tap-highlight-color: transparent;
}

.affair-item:active {
  background: var(--primary-soft);
  border-color: rgba(37, 99, 235, 0.2);
}

.affair-item-name {
  font-size: 0.875rem;
  color: var(--text);
  line-height: 1.4;
}

.affair-item-tag {
  display: inline-block;
  margin-top: 6px;
  padding: 2px 8px;
  font-size: 0.6875rem;
  border-radius: 4px;
  font-weight: 500;
}

.tag-online {
  background: #dbeafe;
  color: #1d4ed8;
}

.tag-once {
  background: #fef3c7;
  color: #b45309;
}

.affair-item-arrow {
  flex-shrink: 0;
  color: var(--text-muted);
  margin-left: 12px;
}

.empty-tip {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* 咨询视觉 */
.consult-visual {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 16px 8px 20px;
  margin-bottom: 4px;
}

.consult-bubble {
  max-width: 65%;
  padding: 12px 16px;
  background: var(--primary-soft);
  border-radius: 16px 16px 16px 4px;
  font-size: 0.8125rem;
  color: var(--primary-dark);
  line-height: 1.5;
}

.consult-robot {
  flex-shrink: 0;
}

/* 按钮 */
.btn {
  display: block;
  width: 100%;
  padding: 14px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.2s;
}

.btn:active {
  opacity: 0.85;
}

.btn-outline {
  border: 1.5px solid var(--accent-green);
  color: var(--accent-green);
  background: var(--accent-green-soft);
}

.btn-primary {
  border: none;
  background: linear-gradient(135deg, var(--accent-amber), #ea580c);
  color: #fff;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.3);
}

/* ============================================================
   园区三套 UI
   hitech  经典卡片式（原版）
   legal   横向分栏式
   digital 清新色带卡片式
   ============================================================ */

/* ========== 主题一：经典卡片式 hitech（第一套风格） ========== */
.body-theme-hitech {
  --primary: #003da6;
  --primary-dark: #002d7a;
  --primary-soft: #eff4ff;
  --accent-green: #006c46;
  --accent-green-soft: #e8f5ef;
  --accent-amber: #733500;
  --accent-amber-soft: #fff3e8;
  --text: #161c24;
  --text-secondary: #434654;
  --text-muted: #737686;
  --bg: #f8f9ff;
  --card: #ffffff;
  --border: #e3e8f4;
  --shadow-md: 0 4px 20px -2px rgba(0, 61, 166, 0.05);
  --shadow-lg: 0 8px 32px rgba(0, 61, 166, 0.12);
  --radius: 12px;
  --radius-sm: 8px;
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  background-color: #f8f9ff;
  background-image: radial-gradient(#e0e7ff 1px, transparent 1px);
  background-size: 20px 20px;
}

.park-theme-hitech .park-hero-overlay {
  background: linear-gradient(
    160deg,
    rgba(0, 45, 122, 0.82) 0%,
    rgba(0, 61, 166, 0.68) 55%,
    rgba(0, 82, 217, 0.52) 100%
  );
}

.park-theme-hitech .park-hero-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent 85%);
}

.park-theme-hitech .park-hero h1 {
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.45;
}

.park-theme-hitech .affairs-hero {
  background: linear-gradient(145deg, #002d7a 0%, #003da6 55%, #0052d9 100%);
}

.park-theme-hitech .back-btn {
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.park-theme-hitech .park-intro {
  border-left: 4px solid #1565c0;
}

.park-theme-hitech .section-label {
  color: #1565c0;
  letter-spacing: 0.06em;
  font-size: 0.8125rem;
}

.park-theme-hitech .service-affairs .service-head-icon {
  background: var(--primary-soft);
  color: var(--primary);
}

.park-theme-hitech .service-consult .service-head-icon {
  background: var(--accent-green-soft);
  color: var(--accent-green);
}

.park-theme-hitech .service-policy .service-head-icon {
  background: var(--accent-amber-soft);
  color: var(--accent-amber);
}

.park-theme-hitech .tab.active {
  background: var(--primary);
  border-color: var(--primary);
}

.park-theme-hitech .category-dot {
  background: var(--primary);
}

.park-theme-hitech .affair-item:active {
  background: var(--primary-soft);
  border-color: rgba(21, 101, 192, 0.2);
}

.park-theme-hitech .tag-online {
  background: #e3f2fd;
  color: #1565c0;
}

.park-theme-hitech .tag-once {
  background: #fff3e0;
  color: #e65100;
}

.park-theme-hitech .btn-primary {
  background: linear-gradient(135deg, #e65100, #f57c00);
  box-shadow: 0 2px 8px rgba(230, 81, 0, 0.25);
}

/* ========== 主题二：法务区 legal（第二套风格） ========== */
.body-theme-legal {
  --primary: #002147;
  --primary-dark: #001a38;
  --primary-soft: #f5f1e9;
  --accent-green: #0e7490;
  --accent-green-soft: #ecfeff;
  --accent-amber: #b08d57;
  --accent-amber-soft: #f5f1e9;
  --text: #1a202c;
  --text-secondary: #4a5568;
  --text-muted: #718096;
  --bg: #f4f7f9;
  --card: #ffffff;
  --border: #e2e8f0;
  --shadow-md: 0 4px 20px -2px rgba(0, 33, 71, 0.08);
  --shadow-lg: 0 8px 32px rgba(0, 33, 71, 0.12);
  --radius: 8px;
  --radius-sm: 6px;
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: #f4f7f9;
  -webkit-font-smoothing: antialiased;
}

/* 办事页 */
.park-theme-legal .affairs-hero {
  background: linear-gradient(145deg, #001a38 0%, #002147 55%, #002d5f 100%);
}

.park-theme-legal .affairs-hero .park-hero-overlay {
  background: linear-gradient(
    180deg,
    rgba(0, 33, 71, 0.52) 0%,
    rgba(0, 33, 71, 0.85) 100%
  );
}

.park-theme-legal .affairs-main {
  margin-top: -20px;
  padding: 0 0 40px;
  border-radius: 0;
  background: var(--bg);
}

.park-theme-legal .search-bar {
  margin: 16px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--card);
}

.park-theme-legal .tab-bar {
  margin: 0 20px 16px;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--card);
}

.park-theme-legal .tab {
  border: none;
  border-radius: 0;
  border-right: 1px solid var(--border);
  background: #f8fafc;
  color: var(--text-secondary);
  padding: 12px 0;
}

.park-theme-legal .tab:last-child {
  border-right: none;
}

.park-theme-legal .tab.active {
  background: var(--primary);
  color: #fff;
  font-weight: 500;
  box-shadow: none;
}

.park-theme-legal .affair-content {
  padding: 0 20px;
}

.park-theme-legal .category-group {
  border: none;
  border-radius: 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
  background: var(--card);
  box-shadow: none;
}

.park-theme-legal .category-group:last-child {
  border-bottom: none;
}

.park-theme-legal .category-title {
  font-weight: 600;
  background: var(--card);
}

.park-theme-legal .category-group.expanded .category-title {
  background: var(--primary-soft);
  border-bottom: 1px solid var(--border);
}

.park-theme-legal .category-dot {
  width: 4px;
  height: 14px;
  border-radius: 0;
  background: var(--primary);
}

.park-theme-legal .category-panel {
  padding: 0 12px 12px;
  background: #f8fafc;
}

.park-theme-legal .affair-item {
  border-radius: 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  padding-left: 4px;
}

.park-theme-legal .affair-item:last-child {
  border-bottom: none;
}

.park-theme-legal .affair-item:active {
  background: var(--primary-soft);
}

.park-theme-legal .tag-online {
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: 3px;
}

.park-theme-legal .tag-once {
  background: var(--accent-amber-soft);
  color: var(--accent-amber);
  border-radius: 3px;
}

/* ========== 主题三：文创城 digital（第三套风格） ========== */
.body-theme-digital {
  --primary: #0052d9;
  --primary-dark: #003da6;
  --primary-soft: #eff4ff;
  --accent-green: #009688;
  --accent-green-soft: #e0f2f1;
  --accent-amber: #ff5722;
  --accent-amber-soft: #fff3e0;
  --text: #161c24;
  --text-secondary: #434654;
  --text-muted: #737686;
  --bg: #fdfeff;
  --card: #ffffff;
  --border: #c3c6d7;
  --shadow-md: 0 4px 20px -2px rgba(0, 82, 217, 0.08);
  --shadow-lg: 0 8px 32px rgba(0, 82, 217, 0.12);
  --radius: 16px;
  --radius-sm: 12px;
  background: #fdfeff;
  -webkit-font-smoothing: antialiased;
}

/* 办事页 */
.park-theme-digital .affairs-hero {
  background: linear-gradient(145deg, #003da6 0%, #0052d9 55%, #7c4dff 100%);
}

.park-theme-digital .affairs-hero .park-hero-overlay {
  background: linear-gradient(
    180deg,
    rgba(0, 61, 166, 0.35) 0%,
    rgba(0, 0, 0, 0.45) 100%
  );
}

.park-theme-digital .affairs-hero h1 {
  font-weight: 700;
}

.park-theme-digital .affairs-main {
  margin-top: -20px;
  padding: 20px 20px 40px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: var(--bg);
  box-shadow: 0 -2px 12px rgba(0, 77, 64, 0.06);
}

.park-theme-digital .search-bar {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--card);
  box-shadow: var(--shadow-md);
}

.park-theme-digital .tab-bar {
  gap: 8px;
}

.park-theme-digital .tab {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--card);
  color: var(--text-secondary);
}

.park-theme-digital .tab.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  font-weight: 500;
}

.park-theme-digital .category-group {
  border: none;
  border-radius: var(--radius-sm);
  background: var(--card);
  box-shadow: var(--shadow-md);
  margin-bottom: 12px;
  overflow: hidden;
}

.park-theme-digital .category-title {
  font-weight: 600;
  background: var(--card);
}

.park-theme-digital .category-group.expanded .category-title {
  background: var(--primary-soft);
  border-bottom: 1px solid var(--border);
}

.park-theme-digital .category-dot {
  width: 4px;
  height: 16px;
  border-radius: 2px;
  background: var(--primary);
}

.park-theme-digital .category-panel {
  padding: 0 12px 12px;
  background: #f7faf9;
}

.park-theme-digital .affair-item {
  border-radius: var(--radius-sm);
  background: var(--card);
  border: 1px solid transparent;
  box-shadow: 0 1px 4px rgba(0, 77, 64, 0.04);
}

.park-theme-digital .affair-item:active {
  background: var(--primary-soft);
  border-color: rgba(0, 121, 107, 0.15);
}

.park-theme-digital .tag-online {
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: 4px;
}

.park-theme-digital .tag-once {
  background: var(--accent-amber-soft);
  color: var(--accent-amber);
  border-radius: 4px;
}

/* ========== 入场动画 ========== */
.park-theme-hitech.active .park-main > *,
.park-theme-hitech.active .affairs-main > * {
  animation: layout-fade-in 0.35s ease-out both;
}

.park-theme-legal.active .park-main > *,
.park-theme-legal.active .affairs-main > * {
  animation: layout-scale-in 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.park-theme-digital.active .park-main > *,
.park-theme-digital.active .affairs-main > * {
  animation: layout-fade-in 0.4s ease-out both;
}

.park-theme-hitech.active .park-main > *:nth-child(1),
.park-theme-legal.active .park-main > *:nth-child(1),
.park-theme-digital.active .park-main > *:nth-child(1),
.park-theme-hitech.active .affairs-main > *:nth-child(1),
.park-theme-legal.active .affairs-main > *:nth-child(1),
.park-theme-digital.active .affairs-main > *:nth-child(1) { animation-delay: 0.04s; }

.park-theme-hitech.active .park-main > *:nth-child(2),
.park-theme-legal.active .park-main > *:nth-child(2),
.park-theme-digital.active .park-main > *:nth-child(2),
.park-theme-hitech.active .affairs-main > *:nth-child(2),
.park-theme-legal.active .affairs-main > *:nth-child(2),
.park-theme-digital.active .affairs-main > *:nth-child(2) { animation-delay: 0.08s; }

.park-theme-hitech.active .affairs-main > *:nth-child(3),
.park-theme-legal.active .affairs-main > *:nth-child(3),
.park-theme-digital.active .affairs-main > *:nth-child(3) { animation-delay: 0.12s; }

@keyframes layout-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes layout-scale-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
