/* ============================================================
   蓝湾国际货运 · 航线报价小程序原型
   视觉语言：海图经纬线 + 舱位票据
   ============================================================ */

:root {
  --navy-950: #041c29;
  --navy-900: #06263a;
  --navy-800: #0a3550;
  --navy-700: #0e4763;
  --blue-700: #0f5c8c;
  --blue-600: #1678ac;
  --accent: #2e9bd6;
  --accent-deep: #1a7fb4;
  --accent-soft: #eaf4fb;
  --foam: #f2f7fa;
  --paper: #ffffff;
  --line: #e3ebf1;
  --line-strong: #cfdfe9;
  --ink: #0d2b3c;
  --text: #1e3a4a;
  --muted: #5e7787;
  --faint: #8fa3b1;
  --green: #0e9e70;
  --green-soft: #e7f6f0;
  --amber: #c9852a;
  --amber-soft: #fdf3e3;
  --red: #cf4048;
  --red-soft: #fdeef0;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --num: "Barlow Condensed", "PingFang SC", sans-serif;
  --latin: "Barlow", "PingFang SC", sans-serif;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  background: var(--navy-950);
  color: var(--text);
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}
button { cursor: pointer; border: none; background: none; padding: 0; }
button:disabled { cursor: not-allowed; }
a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ---------------- 桌面舞台 ---------------- */
.stage {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 72px;
  padding: 48px 56px;
  background-color: #041a26;
  background-image:
    radial-gradient(900px 520px at 78% 12%, rgba(46, 155, 214, 0.2), transparent 62%),
    radial-gradient(720px 520px at 12% 88%, rgba(30, 190, 180, 0.11), transparent 62%),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: auto, auto, 48px 48px, 48px 48px;
}

.stage-aside {
  width: 330px;
  flex: 0 0 auto;
  color: #e7f2f8;
}

.eyebrow {
  font-family: var(--latin);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #6fb9d6;
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: #4a93b3;
}

.stage-title {
  font-size: 36px;
  line-height: 1.28;
  letter-spacing: -0.02em;
  font-weight: 600;
  margin: 18px 0 14px;
  color: #f4fbfe;
}
.stage-title em {
  font-style: normal;
  color: #79cbe6;
}
.stage-desc {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.8;
  color: rgba(224, 240, 248, 0.66);
}

.stage-rail {
  margin-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 6px;
  display: flex;
  flex-direction: column;
}
.rail-label {
  font-family: var(--latin);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #5f9db8;
  margin: 12px 0 6px;
}
.rail-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #d6e9f3;
  font-size: 13px;
  text-align: left;
  transition: color 0.2s ease, padding-left 0.2s ease;
}
.rail-btn:first-of-type { border-top: none; }
.rail-btn:hover { color: #ffffff; padding-left: 8px; }
.rail-btn i {
  font-family: var(--num);
  font-style: normal;
  font-size: 15px;
  font-weight: 600;
  color: #6fc3e0;
  width: 20px;
}
.rail-btn span { flex: 1; }
.rail-btn svg { opacity: 0.45; }

.stage-foot {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.notes-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  border-radius: 9px;
  border: 1px solid rgba(140, 201, 226, 0.4);
  color: #c8e8f4;
  font-size: 13px;
  background: rgba(255, 255, 255, 0.04);
  transition: background 0.2s ease, border-color 0.2s ease;
}
.notes-btn:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(180, 226, 244, 0.7); }
.stage-note { font-size: 11px; line-height: 1.6; color: rgba(200, 226, 238, 0.4); margin: 0; }

.device-wrap {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.device-shadow {
  border-radius: 52px;
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.16) inset,
    0 40px 90px -24px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(255, 255, 255, 0.06);
  line-height: 0;
}
.device-caption {
  font-family: var(--latin);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(190, 220, 234, 0.42);
  display: flex;
  align-items: center;
  gap: 8px;
}
.device-caption::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #4ec9a4;
  box-shadow: 0 0 0 3px rgba(78, 201, 164, 0.16);
}

/* ---------------- App 基础 ---------------- */
.mp-root {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--foam);
  color: var(--text);
  position: relative;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.5;
}

.mp-content {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  scrollbar-width: none;
  position: relative;
}
.mp-content::-webkit-scrollbar { width: 0; height: 0; }

.mp-screen {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  animation: screenIn 0.32s cubic-bezier(0.22, 0.8, 0.3, 1);
}
.mp-screen--tab { animation: fadeUp 0.26s ease; }

@keyframes screenIn {
  from { opacity: 0; transform: translateX(16px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------------- 顶部导航（小程序胶囊） ---------------- */
.mp-header {
  position: sticky;
  top: 0;
  z-index: 6;
  background: var(--paper);
  padding-top: var(--ios-safe-top, 12px);
  flex-shrink: 0;
}
.mp-header--foam { background: var(--foam); }
.mp-nav {
  height: 44px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  position: relative;
}
.mp-nav-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding-right: 92px;
}
.mp-nav-back {
  width: 34px;
  height: 34px;
  margin-left: -6px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  flex-shrink: 0;
  transition: background 0.18s ease;
}
.mp-nav-back:hover { background: rgba(13, 43, 60, 0.06); }
.mp-nav-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
  padding-right: 92px;
}
.mp-nav-brand b {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mp-nav-brand span {
  font-family: var(--latin);
  font-size: 8.5px;
  letter-spacing: 0.16em;
  color: var(--faint);
  text-transform: uppercase;
  white-space: nowrap;
}
.mp-capsule {
  position: absolute;
  right: 12px;
  top: 6px;
  height: 32px;
  width: 84px;
  border-radius: 17px;
  border: 1px solid rgba(13, 43, 60, 0.09);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  color: #223d4e;
}
.capsule-half {
  flex: 1;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
}
.capsule-divider { width: 1px; height: 16px; background: rgba(13, 43, 60, 0.12); }
.capsule-dot { width: 3.4px; height: 3.4px; border-radius: 50%; background: currentColor; }

/* ---------------- 通用原子 ---------------- */
.mp-body { padding: 16px; flex: 1; }
.mp-section-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: 8px;
  letter-spacing: -0.01em;
}
.mp-section-title small {
  font-family: var(--latin);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  font-weight: 500;
}
.mp-eyebrow {
  font-family: var(--latin);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--faint);
  display: flex;
  align-items: center;
  gap: 8px;
}
.mp-eyebrow::before { content: ""; width: 14px; height: 1px; background: currentColor; opacity: 0.6; }

.mp-btn {
  min-height: 48px;
  width: 100%;
  border-radius: 11px;
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.12s ease, background 0.2s ease, box-shadow 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}
.mp-btn:active { transform: scale(0.985); }
.mp-btn--primary {
  background: var(--navy-800);
  color: #f2fbff;
  box-shadow: 0 6px 16px -8px rgba(6, 38, 58, 0.8);
}
.mp-btn--primary:hover { background: var(--navy-700); }
.mp-btn--accent { background: var(--accent); color: #fff; }
.mp-btn--ghost {
  background: #fff;
  color: var(--navy-800);
  border: 1px solid var(--line-strong);
}
.mp-btn--ghost:hover { border-color: var(--accent); color: var(--accent-deep); }
.mp-btn--soft { background: var(--accent-soft); color: var(--accent-deep); }
.mp-btn[disabled] { background: #dbe6ee; color: #97aab8; box-shadow: none; }
.mp-btn--sm { min-height: 44px; font-size: 13.5px; border-radius: 9px; width: auto; padding: 0 16px; }

.mp-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.chip {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 19px;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--muted);
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: all 0.18s ease;
}
.chip:hover { border-color: #b6cdda; color: var(--text); }
.chip.is-active {
  background: var(--navy-800);
  border-color: var(--navy-800);
  color: #fff;
}
.chip.is-active .chip-sub { color: rgba(255, 255, 255, 0.6); }
.chip-sub { font-size: 10px; color: var(--faint); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 20px;
  padding: 0 7px;
  border-radius: 5px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.badge--direct { background: var(--green-soft); color: #0a7d59; }
.badge--transit { background: var(--amber-soft); color: #a5681b; }
.badge--soon { background: #eef3f7; color: #7d92a1; }
.badge--navy { background: rgba(255, 255, 255, 0.14); color: #cfeeff; }

.mp-hint {
  display: flex;
  gap: 8px;
  padding: 11px 12px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: #3a647a;
  font-size: 11.5px;
  line-height: 1.65;
}
.mp-hint svg { flex-shrink: 0; margin-top: 1px; color: var(--accent-deep); }
.mp-hint--plain { background: #fff; border: 1px dashed var(--line-strong); color: var(--muted); }

.num { font-family: var(--num); font-weight: 600; letter-spacing: 0.01em; }
.latin { font-family: var(--latin); }

/* ---------------- 首页 ---------------- */
.home-hero {
  position: relative;
  margin: 4px 14px 0;
  height: 272px;
  border-radius: 20px;
  overflow: hidden;
  background: var(--navy-800);
  isolation: isolate;
}
.home-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}
.home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 28, 41, 0.55) 0%, rgba(4, 28, 41, 0.12) 38%, rgba(4, 28, 41, 0.9) 100%),
    radial-gradient(120% 80% at 90% 10%, rgba(46, 155, 214, 0.35), transparent 60%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.09) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 76%);
  z-index: 2;
}
.hero-content {
  position: absolute;
  inset: 0;
  z-index: 3;
  padding: 18px 18px 44px;
  display: flex;
  flex-direction: column;
  color: #eef8fd;
}
.hero-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 24px;
  padding: 0 9px;
  border-radius: 12px;
  background: rgba(238, 250, 255, 0.14);
  border: 1px solid rgba(238, 250, 255, 0.22);
  font-family: var(--latin);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}
.hero-coord {
  font-family: var(--num);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(226, 245, 252, 0.55);
  text-align: right;
  line-height: 1.4;
}
.hero-title {
  margin: auto 0 0;
  font-size: 29px;
  line-height: 1.28;
  font-weight: 600;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 14px rgba(2, 20, 30, 0.35);
}
.hero-title span { display: block; color: #8cd8ef; }
.hero-sub {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.6;
  color: rgba(228, 243, 250, 0.75);
  max-width: 250px;
}
.hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 62px;
  z-index: 2;
  opacity: 0.5;
  pointer-events: none;
}

.hero-chart {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(120% 90% at 80% 10%, #175f86 0%, #0a3550 55%, #062335 100%);
}

.home-query {
  margin: -30px 14px 0;
  position: relative;
  z-index: 4;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 18px 40px -26px rgba(6, 38, 58, 0.55), 0 0 0 1px rgba(10, 53, 80, 0.04);
  padding: 15px 15px 14px;
}
.home-query-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.home-query-head b { font-size: 14.5px; color: var(--ink); font-weight: 600; }
.home-query-head span {
  font-family: var(--latin);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
}
.home-route {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  text-align: left;
  padding: 11px 12px;
  border-radius: 11px;
  background: var(--foam);
  border: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.home-route:hover { border-color: var(--accent); background: #fff; }
.home-route .hr-end { flex: 1; min-width: 0; }
.home-route .hr-label { font-size: 10px; color: var(--faint); display: block; margin-bottom: 2px; }
.home-route .hr-port {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: 5px;
}
.home-route .hr-port em {
  font-family: var(--num);
  font-style: normal;
  font-size: 11px;
  color: var(--faint);
  letter-spacing: 0.04em;
}
.home-route .hr-arrow { color: var(--faint); flex-shrink: 0; }

.quick-routes {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 0 2px;
  scrollbar-width: none;
  mask-image: linear-gradient(90deg, #000 0, #000 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, #000 0, #000 90%, transparent 100%);
}
.quick-routes::-webkit-scrollbar { display: none; }
.quick-routes button {
  flex-shrink: 0;
  height: 32px;
  padding: 0 11px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 12px;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.18s ease;
}
.quick-routes button:hover { border-color: var(--accent); color: var(--accent-deep); background: var(--accent-soft); }
.quick-routes svg { opacity: 0.55; }

.home-cats {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  margin: 16px 14px 0;
  scrollbar-width: none;
}
.home-cats::-webkit-scrollbar { display: none; }
.cat-pill {
  flex: 0 0 auto;
  height: 38px;
  padding: 0 13px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 12.5px;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.cat-pill svg { color: var(--accent-deep); }
.cat-pill em {
  font-style: normal;
  font-size: 9.5px;
  color: var(--faint);
  padding-left: 5px;
  border-left: 1px solid var(--line);
}

.stats {
  margin: 18px 14px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.stat { position: relative; padding-right: 10px; }
.stat + .stat { padding-left: 14px; border-left: 1px solid var(--line); }
.stat b {
  font-family: var(--num);
  font-size: 26px;
  font-weight: 600;
  color: var(--navy-800);
  line-height: 1.05;
  display: block;
  letter-spacing: 0.01em;
}
.stat b small { font-family: var(--sans); font-size: 11px; font-weight: 500; color: var(--muted); margin-left: 2px; }
.stat span { display: block; margin-top: 4px; font-size: 10.5px; color: var(--faint); }

.home-block { margin: 22px 14px 0; }
.home-block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.link-quiet {
  font-size: 11.5px;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 2px;
}
.link-quiet:hover { color: var(--accent-deep); }

.advantage-list { display: flex; flex-direction: column; }
.adv {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  align-items: flex-start;
}
.adv:first-child { border-top: none; padding-top: 2px; }
.adv-ico {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--accent-soft);
  color: var(--blue-700);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.adv b { display: block; font-size: 13px; font-weight: 600; color: var(--ink); }
.adv p { margin: 3px 0 0; font-size: 11.5px; line-height: 1.6; color: var(--muted); }

.company-card {
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  background: var(--navy-800);
}
.company-card img { width: 100%; height: 118px; object-fit: cover; display: block; opacity: 0.85; }
.company-card .cc-body {
  padding: 13px 14px 14px;
  background: linear-gradient(180deg, rgba(10, 53, 80, 0.92), var(--navy-900));
  color: #dcf0f9;
}
.company-card b { font-size: 13px; font-weight: 600; display: block; }
.company-card p { margin: 5px 0 0; font-size: 11px; line-height: 1.7; color: rgba(214, 236, 246, 0.65); }
.cc-row {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
}
.cc-row span { display: flex; align-items: center; gap: 5px; color: rgba(214, 236, 246, 0.72); }
.cc-row button {
  font-family: var(--num);
  font-size: 13px;
  color: #9fe2f6;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.page-foot {
  margin: 26px 16px 22px;
  text-align: center;
  font-size: 10px;
  line-height: 1.8;
  color: var(--faint);
}

/* ---------------- 服务页 ---------------- */
.service-hero {
  margin: 4px 14px 0;
  padding: 16px;
  border-radius: 16px;
  background: var(--navy-800);
  color: #e9f6fc;
  position: relative;
  overflow: hidden;
}
.service-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: radial-gradient(90% 100% at 100% 0%, #000, transparent 75%);
}
.service-hero h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  position: relative;
}
.service-hero p {
  margin: 6px 0 0;
  font-size: 11.5px;
  line-height: 1.7;
  color: rgba(214, 238, 248, 0.7);
  position: relative;
}
.svc-main {
  margin-top: 14px;
  position: relative;
  width: 100%;
  text-align: left;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  padding: 13px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #f0fbff;
  transition: background 0.2s ease;
}
.svc-main:hover { background: rgba(255, 255, 255, 0.14); }
.svc-main-ico {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: rgba(140, 216, 239, 0.2);
  color: #aee8fb;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.svc-main b { font-size: 14.5px; display: flex; align-items: center; gap: 8px; font-weight: 600; }
.svc-main p { margin: 3px 0 0; font-size: 11px; color: rgba(214, 238, 248, 0.62); }
.svc-main-arrow {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--navy-800);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.svc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 14px;
}
.svc-tile {
  position: relative;
  text-align: left;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 13px 12px 12px;
  min-height: 104px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.svc-tile:hover { border-color: #bfd5e1; transform: translateY(-1px); }
.svc-tile .st-ico {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: #f3f7fa;
  color: #6e8695;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: auto;
}
.svc-tile b { font-size: 13px; font-weight: 600; color: var(--text); margin-top: 12px; display: block; }
.svc-tile span { font-size: 10.5px; color: var(--faint); margin-top: 2px; display: block; }
.svc-tile .badge { position: absolute; top: 11px; right: 10px; }
.svc-tile--ghost { border-style: dashed; background: transparent; align-items: flex-start; justify-content: center; }
.svc-tile--ghost b { color: var(--muted); margin-top: 8px; }
.svc-tile--ghost .st-ico { background: transparent; border: 1px dashed var(--line-strong); color: var(--faint); margin-bottom: 0; }

.svc-tip {
  margin: 0 14px 18px;
  padding: 13px 14px;
  border-radius: 12px;
  border: 1px dashed var(--line-strong);
  background: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  gap: 10px;
}
.svc-tip p { margin: 0; font-size: 11.5px; line-height: 1.6; color: var(--muted); flex: 1; }
.svc-tip button {
  font-size: 11.5px;
  color: var(--accent-deep);
  display: flex;
  align-items: center;
  gap: 3px;
  white-space: nowrap;
  padding: 8px 0;
}

/* ---------------- 查询页 ---------------- */
.query-hero { padding: 4px 16px 0; }
.query-hero h1 {
  margin: 8px 0 6px;
  font-size: 23px;
  line-height: 1.3;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.query-hero p { margin: 0; font-size: 12px; line-height: 1.7; color: var(--muted); }

.step-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 22px;
  padding: 0 8px;
  border-radius: 4px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-family: var(--latin);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.route-card {
  margin: 14px 14px 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 6px 6px;
  position: relative;
}
.route-field {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 11px;
  text-align: left;
  border: 1.5px solid transparent;
  min-height: 64px;
  transition: background 0.18s ease, border-color 0.18s ease;
}
.route-field:hover { background: var(--foam); }
.route-field.is-error { border-color: var(--red); background: var(--red-soft); }
.rf-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--latin);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.rf-mark.from { background: var(--accent-soft); color: var(--blue-700); }
.rf-mark.to { background: #eaf6f0; color: #0a7d59; }
.rf-body { flex: 1; min-width: 0; }
.rf-label { font-size: 10px; color: var(--faint); display: block; letter-spacing: 0.02em; }
.rf-value {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 3px;
}
.rf-value b { font-size: 18px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.rf-value em {
  font-family: var(--num);
  font-style: normal;
  font-size: 12px;
  color: var(--faint);
  letter-spacing: 0.05em;
}
.rf-placeholder { color: #a3b5c1; font-size: 15px; margin-top: 5px; display: block; }
.rf-chevron { color: #b4c5d0; flex-shrink: 0; }
.route-swap {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line-strong);
  color: var(--navy-700);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px -6px rgba(6, 38, 58, 0.4);
  z-index: 2;
  transition: transform 0.25s ease, border-color 0.2s ease;
}
.route-swap:hover { border-color: var(--accent); }
.route-swap:active { transform: translateY(-50%) rotate(180deg); }

.field-error {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 7px 16px 0;
  font-size: 11.5px;
  color: var(--red);
}

.query-block { margin: 16px 14px 0; }
.qb-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 9px;
}
.qb-head b { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.qb-head span { font-size: 10.5px; color: var(--faint); }
.box-row { display: flex; gap: 8px; }
.box-opt {
  flex: 1;
  min-height: 52px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  transition: all 0.18s ease;
}
.box-opt b { font-family: var(--num); font-size: 15px; font-weight: 600; color: var(--text); letter-spacing: 0.03em; }
.box-opt span { font-size: 9.5px; color: var(--faint); }
.box-opt.is-active {
  border-color: var(--navy-800);
  background: var(--navy-800);
}
.box-opt.is-active b { color: #fff; }
.box-opt.is-active span { color: rgba(255, 255, 255, 0.55); }

.qty-row {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 10px 8px 14px;
}
.qty-row b { font-size: 12.5px; font-weight: 500; color: var(--muted); }
.stepper { display: flex; align-items: center; gap: 4px; }
.stepper button {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid var(--line);
  color: var(--navy-800);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}
.stepper button:disabled { color: #c8d5de; }
.stepper span {
  font-family: var(--num);
  font-size: 16px;
  font-weight: 600;
  min-width: 30px;
  text-align: center;
  color: var(--ink);
}

.query-actions { margin: 20px 14px 0; }
.query-example {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-top: 12px;
  font-size: 11.5px;
  color: var(--muted);
  padding: 8px;
  width: 100%;
}
.query-example b { color: var(--accent-deep); font-weight: 500; }
.query-example:hover b { text-decoration: underline; }

.btn-loading {
  display: inline-flex;
  gap: 3px;
  align-items: center;
}
.btn-loading i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  animation: dotPulse 1s infinite ease-in-out;
}
.btn-loading i:nth-child(2) { animation-delay: 0.15s; }
.btn-loading i:nth-child(3) { animation-delay: 0.3s; }
@keyframes dotPulse {
  0%, 80%, 100% { opacity: 0.25; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-2px); }
}

/* ---------------- 结果页 ---------------- */
.result-top {
  margin: 4px 14px 0;
  padding: 14px 15px;
  border-radius: 16px;
  background: var(--navy-800);
  color: #eaf7fd;
  position: relative;
  overflow: hidden;
}
.result-top::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(100% 100% at 100% 0%, #000, transparent 70%);
}
.result-route { position: relative; display: flex; align-items: center; gap: 10px; }
.result-route .rr-end { min-width: 0; }
.result-route .rr-code {
  font-family: var(--num);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1;
}
.result-route .rr-city { font-size: 11px; color: rgba(220, 240, 250, 0.65); margin-top: 3px; display: flex; align-items: center; gap: 4px; }
.result-route .rr-mid { flex: 1; display: flex; align-items: center; gap: 6px; color: #7fd2ec; }
.result-route .rr-mid .line {
  flex: 1;
  border-top: 1px dashed rgba(146, 218, 240, 0.55);
  position: relative;
}
.result-meta {
  position: relative;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10.5px;
  color: rgba(212, 236, 247, 0.62);
}
.result-meta b { color: #a8e5f8; font-weight: 500; }

.sort-row {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 13px 14px 10px;
}
.sort-row .sr-label {
  font-family: var(--latin);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
  margin-right: 2px;
}
.sort-chip {
  height: 30px;
  padding: 0 11px;
  border-radius: 15px;
  border: 1px solid transparent;
  background: transparent;
  font-size: 11.5px;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.sort-chip.is-active { background: var(--navy-800); color: #fff; }
.sort-chip:hover:not(.is-active) { background: #e8f1f6; }

.quote-list { padding: 0 14px; display: flex; flex-direction: column; gap: 11px; }

.quote {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px 13px 0;
  position: relative;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.quote:hover { border-color: #bcd4e2; box-shadow: 0 10px 24px -22px rgba(6, 38, 58, 0.6); }
.quote-head { display: flex; align-items: center; gap: 9px; }
.carrier-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: #eef5f9;
  color: var(--navy-800);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--num);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.carrier-name { flex: 1; min-width: 0; }
.carrier-name b { display: block; font-size: 13px; font-weight: 600; color: var(--ink); }
.carrier-name span { font-family: var(--latin); font-size: 9.5px; letter-spacing: 0.1em; color: var(--faint); }
.quote-head .badge { flex-shrink: 0; }

.quote-route {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 11px 0 10px;
}
.qr-end { min-width: 52px; }
.qr-code { font-family: var(--num); font-size: 16px; font-weight: 600; color: var(--navy-800); letter-spacing: 0.05em; line-height: 1.1; }
.qr-city { font-size: 9.5px; color: var(--faint); margin-top: 1px; }
.qr-track { flex: 1; position: relative; height: 22px; display: flex; align-items: center; }
.qr-track .tr-line {
  flex: 1;
  border-top: 1px dashed #bfd2df;
  position: relative;
}
.qr-track .tr-line::before,
.qr-track .tr-line::after {
  content: "";
  position: absolute;
  top: -3.5px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  border: 1.4px solid var(--navy-700);
}
.qr-track .tr-line::before { left: 0; }
.qr-track .tr-line::after { right: 0; border-color: var(--accent); }
.qr-track .tr-days {
  position: absolute;
  left: 50%;
  top: -14px;
  transform: translateX(-50%);
  font-size: 9.5px;
  color: var(--muted);
  background: #fff;
  padding: 0 4px;
  white-space: nowrap;
}
.qr-track .tr-ship {
  position: absolute;
  left: 50%;
  top: 4px;
  transform: translateX(-50%);
  color: var(--accent-deep);
  background: #fff;
  padding: 0 2px;
  line-height: 0;
}
.qr-end--right { text-align: right; }

.quote-via {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10.5px;
  color: var(--muted);
  margin-bottom: 10px;
}
.quote-via b { color: var(--text); font-weight: 500; }

.quote-divider {
  height: 0;
  border-top: 1px dashed var(--line-strong);
  margin: 0 -13px;
  position: relative;
}
.quote-divider::before,
.quote-divider::after {
  content: "";
  position: absolute;
  top: -7px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--foam);
}
.quote-divider::before { left: -6px; }
.quote-divider::after { right: -6px; }

.quote-price {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  padding: 11px 0 10px;
}
.qp-main { display: flex; align-items: baseline; gap: 3px; }
.qp-cur { font-family: var(--latin); font-size: 9.5px; color: var(--faint); letter-spacing: 0.08em; }
.qp-num { font-family: var(--num); font-size: 28px; font-weight: 600; color: var(--navy-800); line-height: 1; letter-spacing: 0.01em; }
.qp-unit { font-size: 10px; color: var(--faint); margin-left: 2px; }
.qp-side { text-align: right; }
.qp-valid { font-size: 9.5px; color: var(--faint); }
.qp-link {
  margin-top: 4px;
  font-size: 11px;
  color: var(--accent-deep);
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.quote-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0 11px;
}
.qf-note { flex: 1; font-size: 9.5px; color: var(--faint); line-height: 1.5; }
.qf-btn {
  height: 32px;
  padding: 0 12px;
  border-radius: 7px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-size: 11.5px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.qf-btn:hover { background: #dcedf8; }

.result-foot {
  padding: 14px 14px 20px;
  font-size: 10px;
  line-height: 1.7;
  color: var(--faint);
  text-align: center;
}

/* 空状态 */
.empty {
  padding: 26px 22px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.empty-art { width: 186px; height: 116px; margin-bottom: 8px; }
.empty h3 {
  margin: 6px 0 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.empty p {
  margin: 7px 0 0;
  font-size: 12px;
  line-height: 1.75;
  color: var(--muted);
  max-width: 260px;
}
.empty-route {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 9px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 12px;
}
.empty-route .num { font-size: 13px; color: var(--navy-800); letter-spacing: 0.05em; }
.empty-route .arw { color: var(--faint); }
.empty-actions { width: 100%; margin-top: 18px; display: flex; flex-direction: column; gap: 9px; }
.empty-alt {
  margin-top: 14px;
  text-align: left;
  width: 100%;
  border-top: 1px dashed var(--line-strong);
  padding-top: 14px;
}
.empty-alt h4 {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 500;
  color: var(--faint);
  letter-spacing: 0.04em;
}
.alt-route {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 2px;
  border-top: 1px solid var(--line);
  text-align: left;
}
.alt-route:first-of-type { border-top: none; }
.alt-route b { font-size: 12.5px; font-weight: 500; color: var(--text); }
.alt-route .num { font-size: 11px; color: var(--faint); margin-left: 2px; }
.alt-route .alt-count { margin-left: auto; font-size: 10.5px; color: var(--accent-deep); display: flex; align-items: center; gap: 2px; }

/* 骨架屏 */
.skeleton-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sk {
  background: linear-gradient(90deg, #eef4f8 25%, #f7fafc 37%, #eef4f8 63%);
  background-size: 400% 100%;
  animation: shimmer 1.3s ease infinite;
  border-radius: 5px;
}
@keyframes shimmer {
  0% { background-position: 100% 50%; }
  100% { background-position: 0 50%; }
}

/* ---------------- 表单 / 需求提交 ---------------- */
.form-card {
  margin: 12px 14px 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 4px 14px;
}
.form-row { padding: 13px 0; border-top: 1px solid var(--line); }
.form-row:first-child { border-top: none; }
.form-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--text);
  margin-bottom: 7px;
}
.form-label b { font-weight: 500; }
.form-label b i { color: var(--red); font-style: normal; margin-left: 2px; }
.form-label span { font-size: 10px; color: var(--faint); }
.mp-input {
  width: 100%;
  min-height: 44px;
  border-radius: 9px;
  border: 1.5px solid var(--line);
  background: #fbfdfe;
  padding: 10px 12px;
  font-size: 14px;
  color: var(--ink);
  transition: border-color 0.18s ease, background 0.18s ease;
}
.mp-input::placeholder { color: #a8bac6; font-size: 13px; }
.mp-input:focus { outline: none; border-color: var(--accent); background: #fff; }
.mp-input.is-error { border-color: var(--red); background: var(--red-soft); }
textarea.mp-input { min-height: 78px; resize: none; line-height: 1.6; }
.form-err { margin-top: 5px; font-size: 11px; color: var(--red); }

.form-route {
  margin: 12px 14px 0;
  border-radius: 14px;
  background: var(--navy-800);
  color: #eef9fe;
  padding: 14px;
  position: relative;
  overflow: hidden;
}
.form-route::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: radial-gradient(80% 100% at 100% 0%, #000, transparent 75%);
}
.form-route-top {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.form-route-top span {
  font-family: var(--latin);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(198, 230, 244, 0.6);
}
.form-route-top button {
  font-size: 11px;
  color: #9fe2f6;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 2px 0;
}
.form-route-main { position: relative; display: flex; align-items: center; gap: 10px; }
.frm-end b { font-size: 15px; font-weight: 600; display: block; }
.frm-end span { font-family: var(--num); font-size: 10.5px; color: rgba(196, 228, 242, 0.6); letter-spacing: 0.05em; }
.frm-arrow { flex: 1; border-top: 1px dashed rgba(143, 214, 238, 0.5); position: relative; color: #8ed9ef; display: flex; align-items: center; justify-content: center; }
.frm-arrow svg { background: var(--navy-800); padding: 0 4px; }
.form-route-meta {
  position: relative;
  margin-top: 11px;
  padding-top: 9px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 10.5px;
  color: rgba(202, 232, 244, 0.7);
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.form-route-meta b { color: #c8ecfa; font-weight: 500; }

.form-actions { padding: 16px 14px 12px; }
.form-privacy {
  margin-top: 10px;
  font-size: 10px;
  line-height: 1.7;
  color: var(--faint);
  text-align: center;
}

/* 成功 */
.success {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 26px 24px;
  text-align: center;
}
.seal {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--navy-800);
  color: #bff0d9;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 20px;
  animation: sealIn 0.5s cubic-bezier(0.2, 0.9, 0.25, 1.2);
}
.seal::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px dashed rgba(10, 53, 80, 0.28);
  animation: spinSlow 22s linear infinite;
}
.seal::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
}
@keyframes sealIn {
  from { opacity: 0; transform: scale(0.7); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes spinSlow { to { transform: rotate(360deg); } }
.success h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.success .succ-sub { margin: 8px 0 0; font-size: 12.5px; line-height: 1.75; color: var(--muted); }
.succ-card {
  width: 100%;
  margin-top: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  text-align: left;
}
.succ-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 0;
  font-size: 12px;
}
.succ-row + .succ-row { border-top: 1px dashed var(--line); }
.succ-row span { color: var(--faint); font-size: 11px; }
.succ-row b { font-weight: 500; color: var(--text); }
.succ-row b.mono { font-family: var(--num); font-size: 13px; color: var(--navy-800); letter-spacing: 0.03em; }
.succ-steps {
  width: 100%;
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 0;
}
.succ-step { flex: 1; text-align: center; position: relative; font-size: 9.5px; color: var(--faint); }
.succ-step::before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line-strong);
  margin: 0 auto 6px;
}
.succ-step.is-done { color: var(--text); }
.succ-step.is-done::before { background: var(--green); }
.succ-actions { width: 100%; margin-top: auto; padding-top: 26px; display: flex; flex-direction: column; gap: 9px; }

/* ---------------- 我的 / 记录 ---------------- */
.profile-head {
  padding: 4px 16px 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.profile-card {
  margin: 4px 14px 0;
  padding: 18px 16px;
  border-radius: 18px;
  background: var(--navy-800);
  color: #eef9fe;
  position: relative;
  overflow: hidden;
}
.profile-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(90% 120% at 100% 0%, #000, transparent 75%);
}
.pc-row { position: relative; display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #cdeffc;
  font-size: 19px;
  font-weight: 500;
  position: relative;
  overflow: hidden;
}
.avatar svg { opacity: 0.85; }
.pc-name { flex: 1; min-width: 0; }
.pc-name b { font-size: 17px; font-weight: 600; display: block; letter-spacing: -0.01em; }
.pc-name span { font-size: 11px; color: rgba(206, 234, 246, 0.62); display: block; margin-top: 3px; }
.pc-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 22px;
  padding: 0 8px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 9.5px;
  color: #b7e6f7;
}
.pc-login {
  position: relative;
  margin-top: 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pc-benefits { display: flex; flex-direction: column; gap: 6px; }
.pc-benefit {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  color: rgba(208, 236, 247, 0.72);
}
.pc-benefit svg { color: #8fd6ec; flex-shrink: 0; }
.pc-login-btn {
  min-height: 46px;
  border-radius: 10px;
  background: #eefaff;
  color: var(--navy-800);
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}
.pc-login-btn:hover { background: #ffffff; }
.pc-login-note { font-size: 9.5px; color: rgba(198, 227, 240, 0.45); text-align: center; }

.pc-stats {
  position: relative;
  margin-top: 15px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.pc-stat { text-align: center; }
.pc-stat + .pc-stat { border-left: 1px solid rgba(255, 255, 255, 0.1); }
.pc-stat b { font-family: var(--num); font-size: 21px; font-weight: 600; display: block; line-height: 1.1; color: #ffffff; }
.pc-stat span { font-size: 9.5px; color: rgba(200, 231, 244, 0.6); }
.pc-logout {
  position: absolute;
  right: 14px;
  top: 14px;
  font-size: 10px;
  color: rgba(205, 233, 245, 0.55);
  padding: 4px;
}

.menu-card {
  margin: 14px 14px 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.menu-row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 14px;
  min-height: 54px;
  border-top: 1px solid var(--line);
  text-align: left;
  transition: background 0.16s ease;
}
.menu-row:first-child { border-top: none; }
.menu-row:hover { background: #f8fbfd; }
.menu-ico {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--blue-700);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.menu-row b { flex: 1; font-size: 13px; font-weight: 500; color: var(--text); }
.menu-row .menu-meta { font-size: 10.5px; color: var(--faint); margin-right: 2px; }
.menu-row svg.chev { color: #c0cfd9; flex-shrink: 0; }
.menu-row--locked b { color: var(--muted); }

.record-list { padding: 12px 14px 20px; display: flex; flex-direction: column; gap: 10px; }
.record {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 13px;
  text-align: left;
  width: 100%;
  transition: border-color 0.18s ease;
}
.record:hover { border-color: #bcd4e2; }
.record-top { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.record-route { flex: 1; display: flex; align-items: center; gap: 7px; min-width: 0; }
.record-route b { font-size: 14px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.record-route .num { font-size: 10px; color: var(--faint); letter-spacing: 0.05em; }
.record-route svg { color: var(--faint); flex-shrink: 0; }
.record-status {
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 4px;
  background: var(--green-soft);
  color: #0a7d59;
  white-space: nowrap;
}
.record-status.is-empty { background: #f1f4f6; color: #8799a5; }
.record-status.is-pending { background: var(--amber-soft); color: #a5681b; }
.record-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10.5px;
  color: var(--faint);
  border-top: 1px dashed var(--line);
  padding-top: 8px;
}
.record-foot em { font-style: normal; display: flex; align-items: center; gap: 4px; }

.filter-bar {
  display: flex;
  gap: 7px;
  padding: 4px 14px 12px;
}
.filter-chip {
  height: 32px;
  padding: 0 12px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 11.5px;
  color: var(--muted);
}
.filter-chip.is-active { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }

.empty-simple {
  padding: 56px 30px;
  text-align: center;
  color: var(--faint);
}
.empty-simple .es-ico {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #e9f2f7;
  color: #93b0c0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}
.empty-simple h4 { margin: 0 0 5px; font-size: 14px; color: var(--muted); font-weight: 500; }
.empty-simple p { margin: 0; font-size: 11px; line-height: 1.7; }

.order-card { padding-bottom: 11px; }
.order-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 9px; }
.order-no { font-family: var(--num); font-size: 11.5px; letter-spacing: 0.04em; color: var(--faint); }
.order-status { font-size: 10px; padding: 2px 7px; border-radius: 4px; }
.order-status.sailing { background: var(--accent-soft); color: var(--accent-deep); }
.order-status.booked { background: var(--amber-soft); color: #a5681b; }
.order-status.arrived { background: var(--green-soft); color: #0a7d59; }
.order-body { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.order-body .record-route { margin-bottom: 0; }
.order-eta { font-size: 10px; color: var(--faint); text-align: right; line-height: 1.6; }
.order-eta b { font-family: var(--num); font-size: 14px; color: var(--navy-800); display: block; }

.detail-head {
  margin: 12px 14px 0;
  background: var(--navy-800);
  border-radius: 16px;
  padding: 16px;
  color: #eef9fe;
  position: relative;
  overflow: hidden;
}
.detail-head::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(90% 100% at 100% 0%, #000, transparent 72%);
}
.detail-head .dh-no { font-family: var(--num); font-size: 11px; letter-spacing: 0.08em; color: rgba(198, 230, 244, 0.55); position: relative; }
.detail-head h3 { margin: 7px 0 0; font-size: 19px; font-weight: 600; position: relative; letter-spacing: -0.01em; }
.detail-head .dh-sub { margin: 6px 0 0; font-size: 11px; color: rgba(206, 234, 246, 0.65); position: relative; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.detail-grid {
  position: relative;
  margin-top: 13px;
  padding-top: 11px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px 12px;
}
.detail-grid div span { font-size: 9.5px; color: rgba(198, 230, 244, 0.55); display: block; }
.detail-grid div b { font-size: 12px; font-weight: 500; color: #e6f7fe; }

.timeline-card { margin: 12px 14px 0; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.timeline { margin-top: 12px; }
.tl-item { display: flex; gap: 12px; position: relative; padding-bottom: 18px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: "";
  position: absolute;
  left: 6.5px;
  top: 14px;
  bottom: 0;
  width: 1px;
  background: var(--line-strong);
}
.tl-item:last-child::before { display: none; }
.tl-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  background: #fff;
  flex-shrink: 0;
  margin-top: 2px;
  position: relative;
  z-index: 1;
}
.tl-item.done .tl-dot { background: var(--green); border-color: var(--green); }
.tl-item.current .tl-dot { background: #fff; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(46, 155, 214, 0.14); }
.tl-body { flex: 1; display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.tl-body b { font-size: 12.5px; font-weight: 500; color: var(--text); }
.tl-item.current .tl-body b { color: var(--navy-800); font-weight: 600; }
.tl-item.pending .tl-body b { color: var(--faint); }
.tl-body span { font-family: var(--num); font-size: 11.5px; color: var(--faint); letter-spacing: 0.03em; }

/* ---------------- 底部 Tab ---------------- */
.mp-tabbar {
  flex-shrink: 0;
  height: calc(58px + var(--ios-safe-bottom, 10px));
  padding-bottom: var(--ios-safe-bottom, 10px);
  display: flex;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px) saturate(160%);
  border-top: 1px solid var(--line);
  z-index: 8;
}
.mp-tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: #8fa3b1;
  font-size: 10px;
  position: relative;
  padding-top: 4px;
  transition: color 0.18s ease;
}
.mp-tab.is-active { color: var(--navy-800); }
.mp-tab.is-active .tab-ico { color: var(--accent-deep); }
.mp-tab.is-active::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}
.tab-ico { color: #93a7b5; display: flex; }

/* ---------------- Toast / Sheet ---------------- */
.mp-toast {
  position: absolute;
  left: 50%;
  bottom: 96px;
  transform: translateX(-50%);
  z-index: 60;
  background: rgba(9, 39, 55, 0.94);
  color: #eef8fd;
  font-size: 12px;
  line-height: 1.5;
  padding: 10px 16px;
  border-radius: 10px;
  max-width: 300px;
  text-align: center;
  box-shadow: 0 12px 30px -14px rgba(0, 0, 0, 0.6);
  animation: toastIn 0.24s ease;
  display: flex;
  align-items: center;
  gap: 7px;
}
@keyframes toastIn {
  from { opacity: 0; transform: translate(-50%, 8px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}
.mp-toast svg { flex-shrink: 0; color: #8be0c4; }

.sheet-mask {
  position: absolute;
  inset: 0;
  z-index: 40;
  background: rgba(6, 31, 46, 0.44);
  display: flex;
  align-items: flex-end;
  animation: fadeIn 0.22s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.sheet {
  width: 100%;
  max-height: 88%;
  background: #fff;
  border-radius: 20px 20px 0 0;
  display: flex;
  flex-direction: column;
  padding-bottom: var(--ios-safe-bottom, 10px);
  animation: sheetUp 0.3s cubic-bezier(0.22, 0.8, 0.3, 1);
}
@keyframes sheetUp {
  from { transform: translateY(24px); opacity: 0.6; }
  to { transform: translateY(0); opacity: 1; }
}
.sheet-grip {
  width: 36px;
  height: 4px;
  border-radius: 2px;
  background: #dbe6ee;
  margin: 9px auto 0;
  flex-shrink: 0;
}
.sheet-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px 10px;
  flex-shrink: 0;
}
.sheet-head b { flex: 1; font-size: 16px; font-weight: 600; color: var(--ink); }
.sheet-head span { font-size: 10.5px; color: var(--faint); }
.sheet-close {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #f1f5f8;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
}
.sheet-body { overflow-y: auto; overscroll-behavior: contain; padding: 0 16px 14px; }
.sheet-body::-webkit-scrollbar { width: 0; }
.sheet-foot { padding: 10px 16px 12px; border-top: 1px solid var(--line); flex-shrink: 0; }

.port-search {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 12px;
  border-radius: 10px;
  background: var(--foam);
  border: 1.5px solid transparent;
  margin-bottom: 6px;
  color: var(--faint);
}
.port-search:focus-within { border-color: var(--accent); background: #fff; }
.port-search input {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font-size: 14px;
  color: var(--ink);
  min-width: 0;
}
.port-search input::placeholder { color: #a8bac6; font-size: 12.5px; }
.port-group-label {
  font-family: var(--latin);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  padding: 14px 2px 6px;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1;
}
.port-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 8px 2px;
  border-top: 1px solid var(--line);
  text-align: left;
}
.port-item:hover { background: #f8fbfd; }
.port-item .pi-code {
  font-family: var(--num);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--blue-700);
  background: var(--accent-soft);
  padding: 3px 6px;
  border-radius: 4px;
  min-width: 46px;
  text-align: center;
}
.pi-main { flex: 1; min-width: 0; }
.pi-main b { display: block; font-size: 14px; font-weight: 500; color: var(--ink); }
.pi-main span { font-family: var(--latin); font-size: 10.5px; color: var(--faint); }
.port-item .pi-country { font-size: 10px; color: var(--faint); }
.port-empty { padding: 34px 0; text-align: center; font-size: 12px; color: var(--faint); }

/* 报价详情 */
.qd-price {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 4px 0 14px;
  border-bottom: 1px dashed var(--line-strong);
}
.qd-price .qp-num { font-size: 34px; }
.qd-block { padding: 14px 0 0; }
.qd-block h5 {
  margin: 0 0 9px;
  font-size: 11px;
  font-weight: 500;
  color: var(--faint);
  letter-spacing: 0.04em;
}
.qd-route { display: flex; flex-direction: column; gap: 0; }
.qd-stop { display: flex; gap: 10px; position: relative; padding-bottom: 14px; }
.qd-stop:last-child { padding-bottom: 0; }
.qd-stop::before {
  content: "";
  position: absolute;
  left: 4.5px;
  top: 12px;
  bottom: 0;
  width: 1px;
  background: var(--line-strong);
}
.qd-stop:last-child::before { display: none; }
.qd-stop i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid var(--navy-700);
  background: #fff;
  margin-top: 3px;
  flex-shrink: 0;
  z-index: 1;
}
.qd-stop:first-child i { background: var(--navy-700); }
.qd-stop:last-child i { border-color: var(--accent); }
.qd-stop div { flex: 1; display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.qd-stop b { font-size: 12px; font-weight: 500; color: var(--text); }
.qd-stop span { font-family: var(--num); font-size: 11px; color: var(--faint); letter-spacing: 0.03em; }
.qd-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.qd-list li { display: flex; align-items: flex-start; gap: 7px; font-size: 11.5px; line-height: 1.6; color: var(--muted); }
.qd-list li svg { flex-shrink: 0; margin-top: 1px; }
.qd-list li.in svg { color: var(--green); }
.qd-list li.ex svg { color: #b9c6cf; }
.qd-note { margin-top: 12px; font-size: 10.5px; line-height: 1.7; color: var(--faint); background: var(--foam); padding: 10px; border-radius: 8px; }
.qd-actions { display: flex; gap: 9px; }
.qd-actions .mp-btn { flex: 1; }
.qd-actions .mp-btn--ghost { flex: 0 0 46px; padding: 0; }

.sheet-choice { padding: 18px 16px 6px; text-align: center; }
.sheet-choice .sc-ico {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--accent-soft);
  color: var(--blue-700);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}
.sheet-choice h4 { margin: 0; font-size: 16px; font-weight: 600; color: var(--ink); }
.sheet-choice p { margin: 7px 0 0; font-size: 12px; line-height: 1.7; color: var(--muted); }
.sheet-choice .sc-list { margin: 16px 0 0; display: flex; flex-direction: column; gap: 8px; text-align: left; }
.sc-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  color: var(--muted);
  background: var(--foam);
  border-radius: 8px;
  padding: 9px 11px;
}
.sc-item svg { color: var(--green); flex-shrink: 0; }

/* 客服 */
.support-sheet { padding: 16px; }
.support-head { text-align: center; padding: 6px 0 16px; }
.support-head h4 { margin: 0; font-size: 17px; color: var(--ink); font-weight: 600; }
.support-head p { margin: 5px 0 0; font-size: 11.5px; color: var(--muted); }
.support-phone {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--navy-800);
  border-radius: 12px;
  padding: 14px;
  color: #eaf8fe;
}
.support-phone .sp-ico {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.support-phone b { display: block; font-family: var(--num); font-size: 19px; letter-spacing: 0.04em; }
.support-phone span { font-size: 10px; color: rgba(200, 231, 244, 0.6); }
.support-phone a {
  margin-left: auto;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  color: var(--navy-800);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.support-rows { margin-top: 12px; display: flex; flex-direction: column; gap: 1px; }
.support-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--text);
}
.support-row:first-child { border-top: none; }
.support-row svg { color: var(--faint); }
.support-row b { margin-left: auto; font-weight: 400; color: var(--muted); font-size: 11.5px; }

/* ---------------- 移动端直出 ---------------- */
.mobile-app {
  width: 100%;
  height: 100dvh;
  overflow: hidden;
}

@media (max-width: 900px) {
  html, body { background: var(--foam); }
  body { overscroll-behavior: none; }
  .stage { display: none; }
  .mobile-app .mp-header { padding-top: calc(8px + env(safe-area-inset-top, 0px)); }
  .mobile-app .mp-tabbar { height: calc(58px + 8px + env(safe-area-inset-bottom, 0px)); padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px)); }
  .mobile-app .mp-toast { bottom: 88px; }
  .mobile-app .sheet { padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px)); }
}

@media (min-width: 901px) {
  .mobile-app { display: none; }
}

@media (max-height: 960px) and (min-width: 901px) {
  .stage { padding: 26px 44px; gap: 56px; }
  .device-wrap { zoom: 0.86; }
}

@media (max-height: 840px) and (min-width: 901px) {
  .stage { zoom: 0.92; }
  .device-wrap { zoom: 0.78; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================================
   设计说明面板
   ============================================================ */
.notes {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  color: #e4f1f8;
  background-color: #041a26;
  background-image:
    radial-gradient(1000px 560px at 82% -5%, rgba(46, 155, 214, 0.18), transparent 62%),
    radial-gradient(760px 520px at 5% 100%, rgba(24, 174, 164, 0.1), transparent 60%),
    linear-gradient(rgba(255, 255, 255, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.032) 1px, transparent 1px);
  background-size: auto, auto, 52px 52px, 52px 52px;
  animation: fadeIn 0.24s ease;
}
.notes-bar {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(4, 26, 38, 0.72);
  backdrop-filter: blur(14px);
}
.notes-bar-brand { display: flex; align-items: center; gap: 12px; }
.notes-bar-brand b { display: block; font-size: 14px; font-weight: 600; letter-spacing: 0.02em; }
.notes-bar-brand span {
  font-family: var(--latin);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(190, 222, 237, 0.5);
}
.notes-close {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 14px;
  border-radius: 8px;
  border: 1px solid rgba(140, 201, 226, 0.35);
  color: #cfe9f4;
  font-size: 12px;
  background: rgba(255, 255, 255, 0.05);
}
.notes-close:hover { background: rgba(255, 255, 255, 0.12); }
.notes-scroll { flex: 1; overflow-y: auto; }
.notes-inner { max-width: 1120px; margin: 0 auto; padding: 52px 36px 64px; }

.notes-hero h1 {
  margin: 20px 0 0;
  font-size: 46px;
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #f2fbff;
}
.notes-hero h1 em { font-style: normal; color: #7ccde6; }
.notes-hero p {
  margin: 18px 0 0;
  max-width: 700px;
  font-size: 13.5px;
  line-height: 1.9;
  color: rgba(210, 234, 245, 0.66);
}
.notes-facts {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 16px;
  max-width: 720px;
}
.notes-facts div { padding-right: 16px; }
.notes-facts div + div { border-left: 1px solid rgba(255, 255, 255, 0.1); padding-left: 20px; }
.notes-facts b {
  font-family: var(--num);
  font-size: 32px;
  font-weight: 600;
  color: #9fe1f4;
  display: block;
  line-height: 1;
}
.notes-facts span { font-size: 10.5px; color: rgba(188, 220, 236, 0.55); display: block; margin-top: 6px; }

.notes-sec { margin-top: 46px; padding-top: 34px; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.notes-sec-head { display: grid; grid-template-columns: 62px 1fr; gap: 12px; }
.notes-idx {
  font-family: var(--num);
  font-size: 30px;
  font-weight: 600;
  color: #4f9cba;
  line-height: 1;
}
.notes-sec-head h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #f1fafe;
}
.notes-sec-head p {
  margin: 10px 0 0;
  max-width: 720px;
  font-size: 12.5px;
  line-height: 1.85;
  color: rgba(203, 230, 242, 0.58);
}

.notes-quad {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
}
.notes-cell { background: #082736; padding: 18px 20px 20px; }
.nc-label {
  font-family: var(--latin);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #62aac7;
  display: block;
}
.notes-cell b { display: block; margin-top: 8px; font-size: 14px; font-weight: 600; color: #eaf8fe; }
.notes-cell p { margin: 7px 0 0; font-size: 11.5px; line-height: 1.8; color: rgba(196, 225, 239, 0.55); }

.notes-palette {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px 14px;
}
.np-swatch span {
  display: block;
  height: 46px;
  border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  margin-bottom: 8px;
}
.np-swatch b { display: block; font-size: 11.5px; font-weight: 500; color: #e7f5fb; }
.np-swatch em {
  display: block;
  font-family: var(--num);
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: #6fb9d5;
  margin-top: 1px;
}
.np-swatch i { display: block; font-style: normal; font-size: 10px; color: rgba(184, 216, 232, 0.42); margin-top: 2px; }

.notes-type {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.nt-card {
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 12px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.025);
}
.nt-label {
  font-family: var(--latin);
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #62aac7;
}
.nt-big { font-family: var(--num); font-size: 30px; font-weight: 600; letter-spacing: 0.04em; color: #eaf9ff; margin-top: 10px; }
.nt-zh { font-size: 24px; font-weight: 600; color: #eaf9ff; margin-top: 12px; letter-spacing: -0.02em; }
.nt-meta { font-family: var(--latin); font-size: 9.5px; letter-spacing: 0.1em; color: rgba(160, 204, 224, 0.55); margin-top: 8px; }
.nt-card p { margin: 10px 0 0; font-size: 11px; line-height: 1.8; color: rgba(196, 225, 239, 0.52); }

.notes-arch {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.notes-arch-col {
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 10px;
  padding: 14px 16px 8px;
  background: rgba(255, 255, 255, 0.025);
}
.notes-arch-col--main { border-color: rgba(91, 189, 222, 0.4); background: rgba(46, 155, 214, 0.08); }
.na-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #dcf3fb;
}
.na-tab::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #4ec9e6; }
.notes-arch-col ul { margin: 10px 0 0; padding: 0; list-style: none; }
.notes-arch-col li {
  font-size: 11px;
  line-height: 1.5;
  color: rgba(197, 226, 240, 0.58);
  padding: 6px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.notes-flow {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.notes-flow-step { border-top: 1px solid rgba(115, 199, 227, 0.4); padding-top: 12px; }
.notes-flow-step span { font-family: var(--num); font-size: 13px; color: #5cb4d3; }
.notes-flow-step b { display: block; font-size: 13px; color: #e9f7fd; margin-top: 3px; }
.notes-flow-step p { margin: 5px 0 0; font-size: 10.5px; line-height: 1.7; color: rgba(190, 222, 236, 0.5); }

.notes-table { margin-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.notes-tr {
  display: grid;
  grid-template-columns: 118px 1fr 152px;
  gap: 16px;
  align-items: baseline;
  padding: 13px 2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}
.notes-tr b { font-size: 12px; font-weight: 600; color: #dcf2fb; }
.notes-tr p { margin: 0; font-size: 11.5px; line-height: 1.8; color: rgba(198, 228, 241, 0.6); }
.notes-tr span {
  font-family: var(--num);
  font-size: 10.5px;
  letter-spacing: 0.05em;
  color: #68b3d0;
  text-align: right;
}

.notes-rules { margin-top: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 26px; }
.notes-rules div { border-left: 1px solid rgba(110, 196, 224, 0.4); padding-left: 14px; }
.notes-rules b { font-size: 12.5px; font-weight: 600; color: #e6f6fd; }
.notes-rules p { margin: 6px 0 0; font-size: 11px; line-height: 1.8; color: rgba(194, 224, 238, 0.56); }

.notes-checklist { margin-top: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.notes-check { display: flex; gap: 10px; }
.notes-check span {
  width: 15px;
  height: 15px;
  border-radius: 3px;
  border: 1px solid rgba(120, 205, 231, 0.5);
  flex-shrink: 0;
  margin-top: 2px;
  position: relative;
}
.notes-check span::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 4px;
  height: 8px;
  border-right: 1.4px solid #6fc9e4;
  border-bottom: 1.4px solid #6fc9e4;
  transform: rotate(40deg);
}
.notes-check b { font-size: 11.5px; font-weight: 500; color: #e2f4fc; }
.notes-check p { margin: 4px 0 0; font-size: 10.5px; line-height: 1.75; color: rgba(189, 220, 234, 0.5); }

.notes-footer {
  margin-top: 52px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.notes-footer b { display: block; font-size: 12.5px; font-weight: 600; color: #e8f7fe; }
.notes-footer span { display: block; font-size: 10.5px; color: rgba(184, 216, 232, 0.45); margin-top: 4px; }
.notes-footer .notes-btn { width: auto; padding: 0 16px; }

@media (max-width: 820px) {
  .notes-bar { padding: 12px 16px; }
  .notes-bar-brand span { display: none; }
  .notes-inner { padding: 30px 20px 48px; }
  .notes-hero h1 { font-size: 31px; margin-top: 16px; }
  .notes-hero p { font-size: 12.5px; }
  .notes-facts { grid-template-columns: repeat(2, 1fr); gap: 16px 0; }
  .notes-facts div:nth-child(3) { border-left: none; padding-left: 0; }
  .notes-facts div:nth-child(4) { border-left: 1px solid rgba(255, 255, 255, 0.1); }
  .notes-sec { margin-top: 34px; padding-top: 26px; }
  .notes-sec-head { grid-template-columns: 1fr; gap: 6px; }
  .notes-sec-head h2 { font-size: 20px; }
  .notes-quad, .notes-type, .notes-arch, .notes-flow, .notes-rules, .notes-checklist { grid-template-columns: 1fr; }
  .notes-palette { grid-template-columns: repeat(2, 1fr); }
  .notes-tr { grid-template-columns: 1fr; gap: 4px; }
  .notes-tr span { text-align: left; }
  .notes-footer { flex-direction: column; align-items: flex-start; }
}
