/* 基础颜色集中定义，后续调整整体风格时可直接修改这里。 */
:root {
  --color-background: #03152b;
  --color-surface: #061f3b;
  --color-surface-light: #0a2b4d;
  --color-primary: #00aeef;
  --color-highlight: #27e1ff;
  --color-gold: #f3c969;
  --color-text: #ffffff;
  --color-text-muted: #a9c4dd;
  --color-border: rgba(39, 225, 255, 0.35);
}

/* 统一盒模型，避免尺寸计算产生意外偏差。 */
* {
  box-sizing: border-box;
}

html,
body {
  min-width: 320px;
  min-height: 100%;
  margin: 0;
}

body {
  min-height: 100vh;
  color: var(--color-text);
  overflow: hidden;
  background: var(--color-background);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}

button {
  font: inherit;
}

button,
.page {
  -webkit-tap-highlight-color: transparent;
}

.site-shell {
  min-height: 100vh;
}

/* 固定顶部导航栏。导览页显示时，JavaScript 会将其隐藏。 */
.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  min-height: 82px;
  padding: 12px clamp(20px, 3vw, 48px);
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: rgba(3, 21, 43, 0.96);
  border-bottom: 1px solid rgba(39, 225, 255, 0.24);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.2);
}

.site-header[hidden] {
  display: none;
}

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

.brand__logo-placeholder {
  display: grid;
  width: 54px;
  height: 48px;
  flex: 0 0 54px;
  color: var(--color-highlight);
  place-items: center;
  border: 1px solid var(--color-primary);
  font-family: Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.brand__text {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
}

.brand__text strong {
  overflow: hidden;
  font-size: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand__text span {
  overflow: hidden;
  color: var(--color-text-muted);
  font-family: Arial, sans-serif;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header-actions {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.top-navigation,
.utility-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-button,
.utility-button {
  min-height: 48px;
  padding: 0 13px;
  color: var(--color-text-muted);
  cursor: pointer;
  touch-action: manipulation;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 4px;
  white-space: nowrap;
  transition:
    transform 0.12s ease,
    color 0.12s ease,
    background-color 0.12s ease,
    border-color 0.12s ease;
}

.nav-button {
  position: relative;
}

.nav-button::after {
  position: absolute;
  right: 13px;
  bottom: 5px;
  left: 13px;
  height: 2px;
  content: "";
  background: transparent;
}

.nav-button:hover,
.nav-button:focus-visible,
.utility-button:hover,
.utility-button:focus-visible {
  color: var(--color-text);
  background: rgba(0, 174, 239, 0.1);
  border-color: rgba(39, 225, 255, 0.22);
  outline: none;
}

.nav-button.is-active {
  color: var(--color-highlight);
}

.nav-button.is-active::after {
  background: var(--color-highlight);
  box-shadow: 0 0 10px rgba(39, 225, 255, 0.6);
}

.utility-actions {
  padding-left: 10px;
  border-left: 1px solid rgba(169, 196, 221, 0.18);
}

.utility-button {
  color: var(--color-text);
  border-color: rgba(39, 225, 255, 0.26);
}

.nav-button:active,
.utility-button:active,
.project-modal__close:active {
  transform: scale(0.96);
}

/* 每个页面共用同一套基础布局。 */
.page {
  min-height: 100vh;
  align-items: center;
  justify-content: center;
}

.page.is-active {
  display: flex;
  animation: page-fade-in 0.45s ease-out both;
}

.page[hidden] {
  display: none;
}

.content-page {
  padding: 112px clamp(28px, 5vw, 72px) 32px;
  background:
    linear-gradient(rgba(0, 174, 239, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 174, 239, 0.04) 1px, transparent 1px),
    radial-gradient(circle at 80% 25%, rgba(0, 174, 239, 0.12), transparent 28%),
    var(--color-background);
  background-size: 44px 44px, 44px 44px, auto, auto;
}

.page--guide {
  position: relative;
  isolation: isolate;
  padding: clamp(28px, 5vh, 56px) clamp(32px, 6vw, 88px);
  overflow: hidden;
  background:
    linear-gradient(rgba(0, 174, 239, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 174, 239, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 50% 15%, rgba(0, 174, 239, 0.18), transparent 38%),
    linear-gradient(145deg, #020d1c 0%, var(--color-background) 46%, #052342 100%);
  background-size: 48px 48px, 48px 48px, auto, auto;
}

/* 导览页背景装饰全部由 CSS 绘制，不影响点击操作。 */
.guide-background,
.guide-background__glow,
.guide-background__orbit,
.guide-background__line {
  position: absolute;
  pointer-events: none;
}

.guide-background {
  z-index: -1;
  inset: 0;
  overflow: hidden;
}

.guide-background::before,
.guide-background::after {
  position: absolute;
  content: "";
}

.guide-background::before {
  inset: 6% 4%;
  border: 1px solid rgba(39, 225, 255, 0.09);
  clip-path: polygon(0 8%, 4% 8%, 4% 0, 96% 0, 96% 8%, 100% 8%, 100% 92%, 96% 92%, 96% 100%, 4% 100%, 4% 92%, 0 92%);
}

.guide-background::after {
  left: 50%;
  bottom: -45vh;
  width: 90vh;
  height: 90vh;
  border: 1px solid rgba(0, 174, 239, 0.12);
  border-radius: 50%;
  box-shadow:
    0 0 0 9vh rgba(0, 174, 239, 0.025),
    0 0 0 18vh rgba(0, 174, 239, 0.018);
  transform: translateX(-50%);
}

.guide-background__glow {
  width: 36vw;
  height: 36vw;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.18;
}

.guide-background__glow--left {
  top: 10%;
  left: -18%;
  background: var(--color-primary);
}

.guide-background__glow--right {
  right: -18%;
  bottom: 0;
  background: var(--color-highlight);
}

.guide-background__orbit {
  top: 50%;
  left: 50%;
  border: 1px solid rgba(39, 225, 255, 0.1);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.guide-background__orbit--large {
  width: min(84vw, 1180px);
  aspect-ratio: 2.5 / 1;
}

.guide-background__orbit--small {
  width: min(63vw, 870px);
  aspect-ratio: 2.5 / 1;
}

.guide-background__line {
  width: 22vw;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(39, 225, 255, 0.42), transparent);
}

.guide-background__line--one {
  top: 21%;
  left: -3%;
  transform: rotate(-18deg);
}

.guide-background__line--two {
  right: -3%;
  bottom: 24%;
  transform: rotate(-18deg);
}

.guide-content {
  width: min(1180px, 100%);
  text-align: center;
}

.guide-kicker {
  margin: 0 0 14px;
  color: var(--color-highlight);
  font-size: clamp(12px, 1.3vw, 16px);
  font-weight: 600;
  letter-spacing: 0.32em;
}

.guide-title-en {
  margin: 14px 0 0;
  color: var(--color-text-muted);
  font-family: Arial, sans-serif;
  font-size: clamp(15px, 1.9vw, 22px);
  letter-spacing: 0.12em;
}

.placeholder-card {
  width: min(920px, 100%);
  padding: clamp(32px, 5vw, 64px);
  text-align: center;
  background: rgba(6, 31, 59, 0.78);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.content-frame {
  width: min(1280px, 100%);
  min-height: min(650px, calc(100vh - 150px));
}

.company-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  align-items: stretch;
  gap: clamp(32px, 6vw, 86px);
}

.company-layout::before {
  position: absolute;
  top: 4%;
  bottom: 4%;
  left: 45%;
  width: 1px;
  content: "";
  background: linear-gradient(transparent, rgba(39, 225, 255, 0.25), transparent);
}

.company-copy {
  display: flex;
  padding: clamp(36px, 6vh, 72px) 0;
  flex-direction: column;
  justify-content: center;
}

.section-index {
  margin: 0 0 24px;
  color: var(--color-primary);
  font-family: Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.section-title-en {
  margin: 0 0 8px;
  color: var(--color-text-muted);
  font-family: Arial, sans-serif;
  font-size: clamp(14px, 1.5vw, 18px);
  letter-spacing: 0.18em;
}

.company-copy h2 {
  font-weight: 600;
  letter-spacing: 0.08em;
}

.section-accent {
  width: 72px;
  height: 3px;
  margin: 24px 0 30px;
  background: linear-gradient(90deg, var(--color-highlight), transparent);
  box-shadow: 0 0 10px rgba(39, 225, 255, 0.4);
}

.company-description {
  max-width: 600px;
  margin: 0;
  color: var(--color-text-muted);
  font-size: clamp(16px, 1.55vw, 20px);
  line-height: 2;
}

.company-tags {
  display: flex;
  margin-top: 36px;
  flex-wrap: wrap;
  gap: 12px;
}

.company-tag {
  display: inline-flex;
  min-height: 40px;
  padding: 0 18px;
  color: var(--color-highlight);
  align-items: center;
  border: 1px solid rgba(39, 225, 255, 0.28);
  background: rgba(0, 174, 239, 0.06);
  font-size: 14px;
}

.company-media {
  display: flex;
  padding: clamp(24px, 5vh, 54px) 0;
  align-items: center;
}

.company-image-placeholder {
  position: relative;
  display: flex;
  width: 100%;
  aspect-ratio: 16 / 10;
  min-height: 340px;
  overflow: hidden;
  color: var(--color-text-muted);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  background:
    linear-gradient(135deg, rgba(39, 225, 255, 0.08), transparent 55%),
    rgba(6, 31, 59, 0.82);
  border: 1px solid rgba(39, 225, 255, 0.3);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.25);
}

.company-image-placeholder::before,
.company-image-placeholder::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.company-image-placeholder::before {
  inset: 20px;
  border: 1px solid rgba(39, 225, 255, 0.11);
}

.company-image-placeholder::after {
  top: 50%;
  left: 50%;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(39, 225, 255, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 32px rgba(0, 174, 239, 0.025);
  transform: translate(-50%, -50%);
}

.company-image-placeholder__mark,
.company-image-placeholder strong,
.company-image-placeholder small {
  position: relative;
  z-index: 1;
}

.company-image-placeholder__mark {
  color: rgba(39, 225, 255, 0.58);
  font-family: Arial, sans-serif;
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.company-image-placeholder strong {
  color: var(--color-text);
  font-size: 18px;
}

.company-image-placeholder small {
  font-family: Arial, sans-serif;
  font-size: 10px;
  letter-spacing: 0.16em;
}

.map-page {
  align-items: stretch;
}

.map-page-frame {
  display: flex;
  width: min(1320px, 100%);
  min-height: 0;
  margin: 0 auto;
  flex-direction: column;
}

.map-page-heading {
  display: grid;
  padding: 0 4px 14px;
  flex: 0 0 auto;
  grid-template-columns: minmax(300px, 0.8fr) minmax(360px, 1.2fr);
  align-items: end;
  gap: 48px;
  border-bottom: 1px solid rgba(39, 225, 255, 0.16);
}

.map-page-heading .section-index {
  margin-bottom: 10px;
}

.map-page-heading h2 {
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 600;
  letter-spacing: 0.06em;
}

.map-page-description {
  margin: 0 0 4px;
  color: var(--color-text-muted);
  font-size: clamp(14px, 1.2vw, 17px);
  line-height: 1.8;
}

.world-map-area {
  display: flex;
  min-height: 0;
  padding: 14px 0 4px;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
}

/*
 * 地图容器固定为 2:1，与 SVG 的 1000×500 viewBox 完全一致。
 * 宽度同时受可用页面高度限制，避免横屏平板出现纵向溢出。
 */
.world-map-stage {
  position: relative;
  width: min(100%, calc((100vh - 250px) * 2));
  overflow: hidden;
  aspect-ratio: 2 / 1;
  background: #04182d;
  border: 1px solid rgba(39, 225, 255, 0.24);
  box-shadow:
    inset 0 0 48px rgba(0, 174, 239, 0.06),
    0 18px 50px rgba(0, 0, 0, 0.2);
}

.world-map-image,
.world-map-overlay {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.world-map-image {
  pointer-events: none;
  object-fit: fill;
  user-select: none;
  -webkit-user-drag: none;
}

.world-map-overlay {
  overflow: visible;
}

.map-connections,
.map-connection-base,
.map-connection,
.map-origin {
  pointer-events: none;
}

.map-connection-base,
.map-connection {
  fill: none;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

.map-connection-base {
  stroke: rgba(39, 225, 255, 0.52);
  stroke-width: 1.4;
}

.map-connection {
  stroke: rgba(39, 225, 255, 0.9);
  stroke-width: 2.2;
  stroke-dasharray: 10 8;
  opacity: 1;
  filter: drop-shadow(0 0 4px rgba(39, 225, 255, 0.65));
  animation: connection-flow 1.5s linear infinite;
  animation-delay: var(--connection-delay, 0s);
}

.map-origin__ring {
  fill: rgba(3, 21, 43, 0.82);
  stroke: #ffffff;
  stroke-width: 1.5;
  opacity: 0.9;
  vector-effect: non-scaling-stroke;
  animation: node-breathing 1.5s ease-in-out infinite;
}

.map-origin__dot {
  fill: var(--color-highlight);
  stroke: #ffffff;
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.map-node {
  cursor: pointer;
  touch-action: manipulation;
  outline: none;
}

/* 透明点击区域跟随国家标签，高度为48，适合平板触摸。 */
.map-node__hit-area {
  fill: transparent;
  pointer-events: all;
}

.map-node__ring {
  fill: rgba(3, 21, 43, 0.78);
  stroke: var(--color-highlight);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
  animation: node-breathing 1.5s ease-in-out infinite;
}

.map-node__dot {
  fill: var(--color-highlight);
  stroke: #ffffff;
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.map-node__label {
  fill: #ffffff;
  paint-order: stroke;
  stroke: rgba(3, 21, 43, 0.92);
  stroke-width: 4px;
  stroke-linejoin: round;
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  pointer-events: none;
}

.map-node__label-en {
  fill: var(--color-text-muted);
  font-family: Arial, sans-serif;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.06em;
}

.map-node:hover .map-node__ring,
.map-node:focus .map-node__ring {
  fill: rgba(0, 174, 239, 0.18);
  stroke: #ffffff;
  stroke-width: 3;
}

.map-node:active .map-node__dot {
  opacity: 0.5;
}

/* 海外矿业开发使用克制的金色辅助高亮。 */
.map-page--mining .map-page-heading {
  border-bottom-color: rgba(243, 201, 105, 0.25);
}

.map-page--mining .section-index,
.map-page--mining .section-title-en,
.map-page--mining .map-node__label-en {
  color: var(--color-gold);
  fill: var(--color-gold);
}

.map-page--mining .map-node__ring {
  fill: rgba(243, 201, 105, 0.08);
  stroke: var(--color-gold);
}

.map-page--mining .map-node__dot {
  fill: var(--color-gold);
}

.map-page--mining .map-connection-base {
  stroke: rgba(243, 201, 105, 0.5);
}

.map-page--mining .map-connection {
  stroke: rgba(243, 201, 105, 0.9);
  filter: drop-shadow(0 0 4px rgba(243, 201, 105, 0.6));
}

.map-page--mining .map-origin__dot {
  fill: var(--color-gold);
}

.map-page--mining .map-origin__ring {
  stroke: var(--color-gold);
}

.map-page--mining .map-node:hover .map-node__ring,
.map-page--mining .map-node:focus .map-node__ring {
  fill: rgba(243, 201, 105, 0.18);
  stroke: #ffffff;
}

/* 未来展望节点使用空心样式，与现有业务节点区分。 */
.map-page--future .map-node__ring {
  fill: transparent;
  stroke-dasharray: 5 4;
}

.map-page--future .map-node__dot {
  fill: transparent;
  stroke: var(--color-highlight);
  stroke-width: 2;
}

.map-page--future .map-node:hover .map-node__ring,
.map-page--future .map-node:focus .map-node__ring {
  fill: transparent;
}

.map-page--future .map-node.is-selected .map-node__ring {
  fill: rgba(39, 225, 255, 0.18);
  stroke: #ffffff;
  stroke-width: 3;
  animation: none;
}

.map-page--future .map-node.is-selected .map-node__dot {
  fill: var(--color-highlight);
  stroke: #ffffff;
}

.map-load-error {
  position: absolute;
  inset: 0;
  display: grid;
  margin: 0;
  padding: 24px;
  color: var(--color-text-muted);
  place-items: center;
  background: var(--color-surface);
  text-align: center;
}

.map-load-error[hidden] {
  display: none;
}

.map-empty-state {
  position: absolute;
  z-index: 3;
  bottom: 22px;
  left: 50%;
  min-height: 48px;
  margin: 0;
  padding: 12px 22px;
  color: var(--color-text-muted);
  background: rgba(3, 21, 43, 0.9);
  border: 1px solid rgba(39, 225, 255, 0.32);
  text-align: center;
  line-height: 22px;
  transform: translateX(-50%);
  white-space: nowrap;
}

.map-empty-state[hidden] {
  display: none;
}

.map-page--future .map-empty-state {
  border-style: dashed;
}

/* 共用的国家项目介绍弹窗；当前只使用直接显示和隐藏。 */
.project-modal {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  padding: 24px;
  place-items: center;
  background: rgba(1, 10, 22, 0.84);
}

.project-modal:not([hidden]) {
  animation: modal-backdrop-in 0.3s ease-out both;
}

.project-modal:not([hidden]) .project-modal__panel {
  animation: modal-panel-in 0.3s ease-out both;
}

.project-modal[hidden] {
  display: none;
}

.project-modal__panel {
  position: relative;
  display: grid;
  width: min(960px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  grid-template-columns: minmax(300px, 1fr) minmax(320px, 1fr);
  color: var(--color-text);
  background: #061f3b;
  border: 1px solid rgba(39, 225, 255, 0.48);
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.5);
}

.project-modal__close {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
  width: 48px;
  height: 48px;
  padding: 0;
  color: var(--color-text);
  cursor: pointer;
  touch-action: manipulation;
  background: rgba(3, 21, 43, 0.92);
  border: 1px solid rgba(39, 225, 255, 0.5);
  border-radius: 4px;
  font-size: 32px;
  line-height: 44px;
  transition:
    transform 0.12s ease,
    border-color 0.12s ease,
    color 0.12s ease;
}

.project-modal__close:hover,
.project-modal__close:focus-visible {
  color: var(--color-highlight);
  border-color: var(--color-highlight);
  outline: none;
}

.project-modal__media {
  min-height: 360px;
  background:
    linear-gradient(rgba(39, 225, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(39, 225, 255, 0.05) 1px, transparent 1px),
    #04182d;
  background-size: 32px 32px;
}

.project-modal__image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
}

.project-modal__image[hidden],
.project-modal__image-placeholder[hidden] {
  display: none;
}

.project-modal__image-placeholder {
  display: grid;
  width: 100%;
  min-height: 360px;
  padding: 24px;
  color: var(--color-text-muted);
  place-items: center;
  text-align: center;
  letter-spacing: 0.08em;
}

.project-modal__content {
  display: flex;
  min-width: 0;
  padding: clamp(56px, 6vw, 76px) clamp(28px, 4vw, 56px) 42px;
  flex-direction: column;
  justify-content: center;
}

.project-modal__country-en,
.project-modal__label,
.project-modal__description {
  margin: 0;
}

.project-modal__country-en {
  color: var(--color-highlight);
  font-family: Arial, sans-serif;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.project-modal__country {
  margin-top: 8px;
  font-size: clamp(30px, 4vw, 46px);
}

.project-modal__label {
  margin-top: 34px;
  color: var(--color-text-muted);
  font-size: 13px;
  letter-spacing: 0.12em;
}

.project-modal__project-name {
  margin: 10px 0 0;
  color: var(--color-text);
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.45;
}

.project-modal__description {
  margin-top: 24px;
  color: var(--color-text-muted);
  line-height: 1.9;
}

/* 未来展望使用独立内容布局，原有项目建设和矿业弹窗保持不变。 */
.future-modal__panel {
  display: block;
  width: min(1040px, 100%);
}

.future-modal__content {
  padding: 46px clamp(28px, 5vw, 64px);
}

.future-modal__header {
  padding-right: 60px;
}

.future-modal__section {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(39, 225, 255, 0.2);
}

.future-modal__section[hidden],
.future-project-group[hidden],
.future-mineral-card__image[hidden],
.future-mineral-card__placeholder[hidden] {
  display: none;
}

.future-modal__section h3 {
  margin: 0;
  color: var(--color-highlight);
  font-size: 20px;
  letter-spacing: 0.06em;
}

.future-modal__description {
  margin: 12px 0 0;
  color: var(--color-text-muted);
  line-height: 1.8;
}

.future-project-group {
  margin-top: 20px;
}

.future-project-group h4 {
  margin: 0;
  color: #ffffff;
  font-size: 16px;
}

.future-project-group ul {
  display: grid;
  margin: 12px 0 0;
  padding: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 24px;
  list-style: none;
}

.future-project-group li {
  position: relative;
  min-height: 34px;
  padding-left: 18px;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.future-project-group li::before {
  position: absolute;
  top: 0.78em;
  left: 0;
  width: 6px;
  height: 6px;
  content: "";
  background: var(--color-highlight);
  border-radius: 50%;
}

.future-minerals {
  display: grid;
  margin-top: 18px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.future-mineral-card {
  display: grid;
  min-width: 0;
  overflow: hidden;
  grid-template-columns: 116px minmax(0, 1fr);
  background: rgba(3, 21, 43, 0.66);
  border: 1px solid rgba(39, 225, 255, 0.24);
}

.future-mineral-card__media {
  min-height: 116px;
  background: #04182d;
}

.future-mineral-card__image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 116px;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
}

.future-mineral-card__placeholder {
  display: grid;
  width: 100%;
  min-height: 116px;
  padding: 12px;
  color: var(--color-text-muted);
  place-items: center;
  text-align: center;
  font-size: 13px;
}

.future-mineral-card__copy {
  padding: 16px;
}

.future-mineral-card__copy h4 {
  margin: 0;
  color: #ffffff;
  font-size: 18px;
}

.future-mineral-card__copy p {
  margin: 10px 0 0;
  color: var(--color-text-muted);
  font-size: 14px;
  line-height: 1.65;
}

h1,
h2 {
  margin: 0;
  line-height: 1.3;
}

h1 {
  font-size: clamp(34px, 4.3vw, 60px);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-shadow: 0 0 28px rgba(39, 225, 255, 0.2);
}

h2 {
  font-size: clamp(28px, 4vw, 48px);
}

.page-subtitle,
.placeholder-card > p:last-child {
  color: var(--color-text-muted);
  line-height: 1.8;
}

.page-subtitle {
  max-width: 720px;
  margin: 20px auto 0;
  font-size: clamp(15px, 1.6vw, 19px);
}

.guide-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(620px, 70%);
  height: 18px;
  margin: clamp(22px, 3.5vh, 38px) auto 0;
}

.guide-divider::before,
.guide-divider::after {
  width: 46%;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(39, 225, 255, 0.55));
}

.guide-divider::after {
  background: linear-gradient(90deg, rgba(39, 225, 255, 0.55), transparent);
}

.guide-divider span {
  width: 8px;
  height: 8px;
  margin: 0 14px;
  border: 1px solid var(--color-highlight);
  transform: rotate(45deg);
}

.guide-prompt {
  margin: 6px 0 18px;
  color: var(--color-text-muted);
  font-size: 14px;
  letter-spacing: 0.18em;
}

.guide-entries {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1.8vw, 24px);
}

.guide-entry {
  position: relative;
  display: flex;
  min-height: 124px;
  padding: 20px 16px;
  color: var(--color-text);
  cursor: pointer;
  touch-action: manipulation;
  align-items: center;
  justify-content: center;
  gap: 13px;
  background:
    linear-gradient(135deg, rgba(39, 225, 255, 0.08), transparent 55%),
    rgba(6, 31, 59, 0.82);
  border: 1px solid rgba(39, 225, 255, 0.32);
  border-radius: 8px;
  box-shadow: inset 0 0 24px rgba(0, 174, 239, 0.035);
  transition:
    transform 0.12s ease,
    background-color 0.12s ease,
    border-color 0.12s ease;
}

.guide-entry::before,
.guide-entry::after {
  position: absolute;
  width: 18px;
  height: 18px;
  content: "";
  pointer-events: none;
}

.guide-entry::before {
  top: -1px;
  left: -1px;
  border-top: 2px solid var(--color-highlight);
  border-left: 2px solid var(--color-highlight);
}

.guide-entry::after {
  right: -1px;
  bottom: -1px;
  border-right: 2px solid var(--color-highlight);
  border-bottom: 2px solid var(--color-highlight);
}

.guide-entry:hover,
.guide-entry:focus-visible {
  background-color: rgba(10, 43, 77, 0.96);
  border-color: var(--color-highlight);
  outline: none;
}

.guide-entry:active {
  background-color: rgba(0, 174, 239, 0.18);
  transform: scale(0.97);
}

.guide-entry__icon {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  color: var(--color-highlight);
  place-items: center;
  border: 1px solid rgba(39, 225, 255, 0.42);
  border-radius: 50%;
  font-size: 20px;
  font-weight: 700;
}

.guide-entry__text {
  min-width: 0;
  text-align: left;
}

.guide-entry__title,
.guide-entry__title-en {
  display: block;
}

.guide-entry__title {
  font-size: clamp(17px, 1.7vw, 22px);
  font-weight: 600;
  white-space: nowrap;
}

.guide-entry__title-en {
  margin-top: 6px;
  overflow: hidden;
  color: var(--color-text-muted);
  font-family: Arial, sans-serif;
  font-size: 10px;
  letter-spacing: 0.07em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page--placeholder {
  padding-top: 112px;
}

@keyframes page-fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes node-breathing {
  0%,
  100% {
    opacity: 0.55;
  }

  50% {
    opacity: 1;
  }
}

@keyframes connection-flow {
  from {
    stroke-dashoffset: 18;
  }

  to {
    stroke-dashoffset: 0;
  }
}

@keyframes modal-backdrop-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes modal-panel-in {
  from {
    opacity: 0;
    transform: scale(0.98);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/*
 * 用户开启“减少动态效果”时保留静态页面、节点和连接线，
 * 同时关闭所有新增动画和缩放反馈。
 */
@media (prefers-reduced-motion: reduce) {
  .page.is-active,
  .map-connection,
  .map-origin__ring,
  .map-node__ring,
  .project-modal:not([hidden]),
  .project-modal:not([hidden]) .project-modal__panel {
    animation: none;
  }

  .nav-button,
  .utility-button,
  .guide-entry,
  .project-modal__close {
    transition: none;
  }

  .nav-button:active,
  .utility-button:active,
  .guide-entry:active,
  .project-modal__close:active {
    transform: none;
  }
}

/* 基础适配：平板较窄时入口保持足够大的触摸区域。 */
@media (max-width: 1280px) {
  .site-header {
    gap: 14px;
  }

  .brand {
    min-width: 210px;
  }

  .brand__text strong {
    font-size: 14px;
  }

  .nav-button,
  .utility-button {
    padding-right: 9px;
    padding-left: 9px;
    font-size: 13px;
  }

  .company-layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
    gap: 44px;
  }
}

@media (max-width: 980px) {
  .site-header {
    min-height: 128px;
    align-items: flex-start;
  }

  .header-actions {
    flex-wrap: wrap;
  }

  .top-navigation {
    width: 100%;
    justify-content: flex-end;
  }

  .utility-actions {
    margin-left: auto;
  }

  .content-page,
  .page--placeholder {
    padding-top: 158px;
  }

  .company-layout {
    min-height: auto;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .company-layout::before {
    display: none;
  }

  .company-image-placeholder {
    min-height: 300px;
  }

  .map-page-heading {
    grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
    gap: 24px;
  }

  .world-map-stage {
    width: min(100%, calc((100vh - 330px) * 2));
  }

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

  .guide-entry {
    min-height: 96px;
  }
}

@media (max-width: 600px) {
  body {
    overflow: auto;
  }

  .site-header {
    position: static;
    min-height: auto;
    padding: 14px;
    flex-direction: column;
  }

  .brand,
  .header-actions,
  .top-navigation,
  .utility-actions {
    width: 100%;
  }

  .header-actions {
    flex-direction: column;
  }

  .top-navigation,
  .utility-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .utility-actions {
    padding-top: 8px;
    padding-left: 0;
    border-top: 1px solid rgba(169, 196, 221, 0.18);
    border-left: 0;
  }

  .page {
    padding: 24px;
  }

  .content-page,
  .page--placeholder {
    padding-top: 32px;
  }

  .company-layout {
    grid-template-columns: 1fr;
  }

  .company-copy,
  .company-media {
    padding: 12px 0;
  }

  .map-page-heading {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .world-map-stage {
    width: 100%;
  }

  .project-modal {
    padding: 14px;
  }

  .project-modal__panel {
    max-height: calc(100vh - 28px);
    grid-template-columns: 1fr;
  }

  .project-modal__media,
  .project-modal__image,
  .project-modal__image-placeholder {
    min-height: 220px;
  }

  .project-modal__content {
    padding: 32px 24px;
  }

  .future-modal__content {
    padding: 32px 24px;
  }

  .future-project-group ul {
    grid-template-columns: 1fr;
  }

  .future-mineral-card {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .page--guide {
    min-height: 100svh;
  }

  .guide-content {
    padding: 20px 0;
  }

  .guide-entries {
    grid-template-columns: 1fr;
  }

  .guide-entry {
    min-height: 76px;
  }

  .placeholder-card {
    padding: 32px 24px;
  }
}
