/* ============================================================
   美团专送跑单系统 — 主样式
   Design reference: Apple Design System (DESIGN-apple.md)
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:        #0066cc;
  --blue-focus:  #0071e3;
  --blue-dark:   #2997ff;
  --ink:         #1d1d1f;
  --ink80:       rgba(0,0,0,0.80);
  --ink48:       rgba(0,0,0,0.48);
  --ink08:       rgba(0,0,0,0.08);
  --white:       #ffffff;
  --parchment:   #f5f5f7;
  --pearl:       #fafafc;
  --tile1:       #272729;
  --tile2:       #2a2a2c;
  --tile3:       #252527;
  --nav-bg:      #000000;
  --radius-pill: 980px;
  --radius-card: 18px;
  --radius-btn:  8px;
  --radius-pearl:11px;
  --shadow-img:  rgba(0,0,0,0.22) 3px 5px 30px 0;
  --font-display:"system-ui","-apple-system","BlinkMacSystemFont","Helvetica Neue",Helvetica,Arial,sans-serif;
  --font-text:   "system-ui","-apple-system","BlinkMacSystemFont","Helvetica Neue",Helvetica,Arial,sans-serif;

  /* status colors */
  --status-online:#34c759;
  --status-busy:  #ff9f0a;
  --status-offline:#8e8e93;

  /* order status */
  --order-wait:  #ff9f0a;
  --order-going: #0066cc;
  --order-done:  #34c759;
  --order-cancel:#8e8e93;
}

html { font-size: 17px; -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }
body { font-family: var(--font-text); color: var(--ink); background: var(--white); line-height: 1.47; letter-spacing: -0.374px; }

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

img { display: block; max-width: 100%; }

/* ============================================================
   GLOBAL NAV
   ============================================================ */
.g-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: 44px;
  background: var(--nav-bg);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 20px;
}
.g-nav__logo {
  font-family: var(--font-display);
  font-size: 17px; font-weight: 600; color: var(--white);
  letter-spacing: -0.374px;
  white-space: nowrap;
}
.g-nav__links {
  display: flex; align-items: center; gap: 20px; list-style: none;
}
.g-nav__links a {
  color: var(--white); font-size: 12px; font-weight: 400;
  letter-spacing: -0.12px; white-space: nowrap;
}
.g-nav__links a:hover { color: rgba(255,255,255,0.7); text-decoration: none; }
.g-nav__status {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--white); letter-spacing: -0.12px;
}
.g-nav__status-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--status-offline);
  display: inline-block;
}
.g-nav__status-dot--online  { background: var(--status-online); }
.g-nav__status-dot--busy    { background: var(--status-busy); }
.g-nav__status-dot--offline { background: var(--status-offline); }

.g-nav__hamburger {
  display: none;
  flex-direction: column; gap: 5px; cursor: pointer;
  background: none; border: none; padding: 4px;
}
.g-nav__hamburger span {
  display: block; width: 22px; height: 1.5px; background: var(--white);
  border-radius: 2px; transition: transform .3s, opacity .3s;
}

/* mobile nav drawer */
.g-nav__drawer {
  display: none;
  position: fixed; top: 44px; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.96);
  z-index: 999;
  padding: 24px 20px;
  flex-direction: column; gap: 0;
}
.g-nav__drawer.open { display: flex; }
.g-nav__drawer a {
  color: var(--white); font-size: 17px; font-weight: 400;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  letter-spacing: -0.374px;
}

/* ============================================================
   PAGE OFFSET (fixed nav)
   ============================================================ */
.page-wrap { padding-top: 44px; }

/* ============================================================
   HERO TILE
   ============================================================ */
.hero-tile {
  background: var(--tile1);
  min-height: 540px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 80px 24px;
  text-align: center;
}
.hero-tile--light {
  background: var(--white);
}
.hero-tile--parchment {
  background: var(--parchment);
}
.hero-tile--wuhan {
  background-color: var(--tile1);
  background-image: url('/uploads/wuhan-bridge.jpg');
  background-size: cover;
  background-position: center 60%;
  position: relative;
}
.hero-tile--wuhan::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.60) 100%);
  pointer-events: none;
  z-index: 0;
}
.hero-tile--wuhan > * {
  position: relative;
  z-index: 1;
}

.hero-tile__label {
  font-size: 14px; font-weight: 600; letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--blue); margin-bottom: 16px;
}
.hero-tile__label--white { color: var(--blue-dark); }

.hero-tile__h1 {
  font-family: var(--font-display);
  font-size: 56px; font-weight: 600;
  line-height: 1.07; letter-spacing: -0.28px;
  color: var(--white);
  max-width: 800px;
}
.hero-tile__h1--dark { color: var(--ink); }

.hero-tile__sub {
  font-size: 28px; font-weight: 400;
  line-height: 1.14; letter-spacing: 0.196px;
  color: rgba(255,255,255,0.72);
  margin-top: 16px;
  max-width: 640px;
}
.hero-tile__sub--dark { color: rgba(0,0,0,0.56); }

.hero-tile__ctas {
  display: flex; gap: 16px; margin-top: 32px;
  flex-wrap: wrap; justify-content: center;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-pill {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 11px 22px;
  background: var(--blue); color: var(--white);
  font-family: var(--font-text); font-size: 17px; font-weight: 400;
  border-radius: var(--radius-pill); border: none; cursor: pointer;
  transition: background .2s, transform .1s;
  text-decoration: none; letter-spacing: -0.374px;
  white-space: nowrap;
}
.btn-pill:hover { background: #0055b3; text-decoration: none; color: var(--white); }
.btn-pill:active { transform: scale(0.95); }
.btn-pill:focus-visible { outline: 2px solid var(--blue-focus); outline-offset: 2px; }

.btn-pill-ghost {
  background: transparent; color: var(--blue);
  border: 1px solid var(--blue);
}
.btn-pill-ghost:hover { background: rgba(0,102,204,0.06); color: var(--blue); }

.btn-pill-sm {
  padding: 8px 18px; font-size: 14px;
}

.btn-rect {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 8px 20px;
  background: var(--ink); color: var(--white);
  font-size: 14px; font-weight: 400; letter-spacing: -0.224px;
  border-radius: var(--radius-btn); border: 1px solid transparent;
  cursor: pointer; transition: background .2s, transform .1s;
  text-decoration: none;
}
.btn-rect:hover { background: #333; text-decoration: none; color: var(--white); }
.btn-rect:active { transform: scale(0.95); }
.btn-rect:focus-visible { outline: 2px solid var(--blue-focus); outline-offset: 2px; }

.btn-rect-blue {
  background: var(--blue);
}
.btn-rect-blue:hover { background: #0055b3; }

.btn-rect-outline {
  background: var(--white); color: var(--ink);
  border: 1px solid var(--ink08);
}
.btn-rect-outline:hover { background: var(--parchment); color: var(--ink); }

/* ============================================================
   SECTION RHYTHM
   ============================================================ */
.section {
  padding: 80px 24px;
}
.section--tight { padding: 48px 24px; }
.section--dark {
  background: var(--tile1);
  color: var(--white);
}
.section--parchment { background: var(--parchment); }

.section__inner {
  max-width: 980px; margin: 0 auto;
}
.section__inner--wide {
  max-width: 1200px; margin: 0 auto;
}

.section__label {
  font-size: 14px; font-weight: 600; letter-spacing: 0.6px;
  text-transform: uppercase; color: var(--blue); margin-bottom: 12px;
}
.section--dark .section__label { color: var(--blue-dark); }

.section__title {
  font-family: var(--font-display);
  font-size: 40px; font-weight: 600;
  line-height: 1.10; letter-spacing: -0.28px;
  color: var(--ink); margin-bottom: 16px;
}
.section--dark .section__title { color: var(--white); }

.section__desc {
  font-size: 17px; font-weight: 400; line-height: 1.47;
  color: var(--ink48); max-width: 600px;
}
.section--dark .section__desc { color: rgba(255,255,255,0.56); }

/* ============================================================
   STATS ROW
   ============================================================ */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--ink08);
  border: 1px solid var(--ink08);
  border-radius: var(--radius-card);
  overflow: hidden;
  margin-top: 48px;
}
.stat-card {
  background: var(--white);
  padding: 28px 20px;
  text-align: center;
}
.section--dark .stat-card { background: var(--tile2); }
.stat-card__num {
  font-family: var(--font-display);
  font-size: 40px; font-weight: 600;
  letter-spacing: -0.28px; color: var(--blue);
  line-height: 1.1;
}
.stat-card__label {
  font-size: 14px; font-weight: 400; color: var(--ink48);
  margin-top: 6px; letter-spacing: -0.224px;
}
.section--dark .stat-card__label { color: rgba(255,255,255,0.48); }

/* ============================================================
   ORDER TABLE / CARD
   ============================================================ */
.order-table-wrap {
  overflow-x: auto; margin-top: 32px;
}
.order-table {
  width: 100%; border-collapse: collapse;
  font-size: 14px;
}
.order-table th {
  padding: 12px 16px;
  text-align: left; font-weight: 600;
  border-bottom: 2px solid var(--ink08);
  color: var(--ink); letter-spacing: -0.224px;
  white-space: nowrap;
  background: var(--parchment);
}
.order-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--ink08);
  color: var(--ink); letter-spacing: -0.224px;
  vertical-align: middle;
}
.order-table tr:last-child td { border-bottom: none; }
.order-table tr:hover td { background: var(--parchment); }

.order-no {
  font-family: monospace; font-size: 13px;
  color: var(--ink); letter-spacing: 0;
}

.badge {
  display: inline-block; padding: 3px 10px;
  border-radius: 4px; font-size: 12px; font-weight: 600;
  letter-spacing: 0; white-space: nowrap;
}
.badge--wait   { background: rgba(255,159,10,0.12); color: var(--order-wait); }
.badge--going  { background: rgba(0,102,204,0.10);  color: var(--order-going); }
.badge--done   { background: rgba(52,199,89,0.12);  color: var(--order-done); }
.badge--cancel { background: rgba(142,142,147,0.12);color: var(--order-cancel); }

/* ============================================================
   UTILITY CARDS (grid)
   ============================================================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin-top: 40px;
}

.util-card {
  background: var(--white);
  border: 1px solid var(--ink08);
  border-radius: var(--radius-card);
  padding: 24px;
  transition: box-shadow .2s;
}
.util-card:hover { box-shadow: var(--shadow-img); }

.util-card__icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: var(--parchment);
  border-radius: var(--radius-btn);
  margin-bottom: 16px;
}
.util-card__icon svg { width: 22px; height: 22px; fill: var(--blue); }

.util-card__title {
  font-size: 17px; font-weight: 600;
  color: var(--ink); margin-bottom: 8px;
  letter-spacing: -0.374px;
}
.util-card__desc {
  font-size: 14px; color: var(--ink48);
  line-height: 1.43; letter-spacing: -0.224px;
}

/* ============================================================
   STATUS DISPLAY
   ============================================================ */
.status-block {
  display: flex; align-items: center; gap: 16px;
  padding: 20px 24px;
  background: var(--white); border: 1px solid var(--ink08);
  border-radius: var(--radius-card);
}
.status-block__dot {
  width: 16px; height: 16px; border-radius: 50%;
  flex-shrink: 0;
}
.status-block__dot--online  { background: var(--status-online); box-shadow: 0 0 0 4px rgba(52,199,89,0.2); }
.status-block__dot--busy    { background: var(--status-busy);   box-shadow: 0 0 0 4px rgba(255,159,10,0.2); }
.status-block__dot--offline { background: var(--status-offline);box-shadow: 0 0 0 4px rgba(142,142,147,0.2); }
.status-block__text { font-size: 17px; font-weight: 600; letter-spacing: -0.374px; }

/* ============================================================
   SCHEDULE LIST
   ============================================================ */
.schedule-list { margin-top: 32px; }
.schedule-item {
  display: flex; gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--ink08);
  align-items: flex-start;
}
.schedule-item:last-child { border-bottom: none; }
.schedule-item__date {
  flex-shrink: 0; width: 64px; text-align: center;
  background: var(--parchment); border-radius: var(--radius-btn);
  padding: 8px 0;
}
.schedule-item__date-day {
  font-size: 28px; font-weight: 600; line-height: 1; color: var(--ink);
  letter-spacing: -0.28px;
}
.schedule-item__date-month {
  font-size: 12px; font-weight: 400; color: var(--ink48);
  margin-top: 2px; letter-spacing: -0.12px;
}
.schedule-item__body { flex: 1; }
.schedule-item__title {
  font-size: 17px; font-weight: 600; color: var(--ink);
  letter-spacing: -0.374px; margin-bottom: 6px;
}
.schedule-item__content {
  font-size: 14px; color: var(--ink48);
  line-height: 1.43; letter-spacing: -0.224px;
}
.schedule-item__type {
  display: inline-block; margin-top: 8px;
  padding: 2px 8px; border-radius: 4px;
  font-size: 12px; font-weight: 600;
  background: rgba(0,102,204,0.10); color: var(--blue);
}

/* ============================================================
   MAP SECTION
   ============================================================ */
.map-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px; margin-top: 40px;
}
.map-card {
  background: var(--white);
  border: 1px solid var(--ink08);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.map-card__img {
  width: 100%; aspect-ratio: 16/9; object-fit: cover;
}
.map-card__body { padding: 16px 20px; }
.map-card__title {
  font-size: 17px; font-weight: 600; color: var(--ink);
  letter-spacing: -0.374px;
}
.map-card__desc {
  font-size: 14px; color: var(--ink48);
  margin-top: 6px; line-height: 1.43; letter-spacing: -0.224px;
}

/* ============================================================
   FORMS
   ============================================================ */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block; font-size: 14px; font-weight: 600;
  color: var(--ink); margin-bottom: 6px; letter-spacing: -0.224px;
}
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 12px 16px;
  font-family: var(--font-text); font-size: 17px;
  color: var(--ink); background: var(--white);
  border: 1px solid var(--ink08);
  border-radius: var(--radius-btn);
  outline: none; transition: border-color .2s, box-shadow .2s;
  letter-spacing: -0.374px;
  appearance: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,102,204,0.15);
}
.form-textarea { min-height: 100px; resize: vertical; line-height: 1.47; }
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238e8e93' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  padding-right: 36px;
}

/* ============================================================
   MODAL
   ============================================================ */
.modal-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 2000; align-items: center; justify-content: center;
  padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 32px;
  width: 100%; max-width: 560px;
  max-height: 90vh; overflow-y: auto;
  box-shadow: rgba(0,0,0,0.3) 0 20px 60px;
}
.modal-box__title {
  font-size: 21px; font-weight: 600; color: var(--ink);
  letter-spacing: -0.374px; margin-bottom: 24px;
}
.modal-box__actions {
  display: flex; gap: 12px; justify-content: flex-end;
  margin-top: 24px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--parchment);
  padding: 40px 24px 24px;
}
.site-footer__inner {
  max-width: 980px; margin: 0 auto;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-bottom: 32px;
}
.site-footer__col-title {
  font-size: 12px; font-weight: 600; color: var(--ink);
  letter-spacing: -0.12px; margin-bottom: 8px;
}
.site-footer__links { list-style: none; }
.site-footer__links li { line-height: 2.41; }
.site-footer__links a {
  font-size: 12px; color: var(--ink48); letter-spacing: -0.12px;
}
.site-footer__links a:hover { color: var(--ink); text-decoration: none; }
.site-footer__bottom {
  border-top: 1px solid var(--ink08); padding-top: 16px;
  font-size: 12px; color: var(--ink48); letter-spacing: -0.12px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 8px;
}

/* ============================================================
   ALERT / TOAST
   ============================================================ */
.alert {
  padding: 12px 16px; border-radius: var(--radius-btn);
  font-size: 14px; margin-bottom: 16px; letter-spacing: -0.224px;
}
.alert--success { background: rgba(52,199,89,0.12); color: #1a7a38; border: 1px solid rgba(52,199,89,0.3); }
.alert--error   { background: rgba(255,59,48,0.10);  color: #c0392b; border: 1px solid rgba(255,59,48,0.2); }
.alert--info    { background: rgba(0,102,204,0.08);  color: var(--blue); border: 1px solid rgba(0,102,204,0.2); }

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination {
  display: flex; gap: 8px; align-items: center;
  margin-top: 24px; justify-content: center; flex-wrap: wrap;
}
.pagination a, .pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border: 1px solid var(--ink08); border-radius: var(--radius-btn);
  font-size: 14px; color: var(--ink);
  transition: background .15s;
}
.pagination a:hover { background: var(--parchment); text-decoration: none; }
.pagination .active { background: var(--blue); border-color: var(--blue); color: var(--white); }
.pagination .disabled { color: var(--ink48); pointer-events: none; }

/* ============================================================
   EMPTY STATE
   ============================================================ */
.empty-state {
  padding: 60px 24px; text-align: center;
}
.empty-state__title {
  font-size: 21px; font-weight: 600; color: var(--ink);
  letter-spacing: -0.374px; margin-bottom: 8px;
}
.empty-state__desc { font-size: 14px; color: var(--ink48); letter-spacing: -0.224px; }

/* ============================================================
   ORDER DETAIL PAGE
   ============================================================ */
.detail-back {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; color: var(--ink48); margin-bottom: 24px;
  transition: color .15s; letter-spacing: -0.224px;
}
.detail-back:hover { color: var(--ink); text-decoration: none; }
.detail-back svg { flex-shrink: 0; }

.detail-header {
  display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.detail-order-no {
  font-family: monospace; font-size: 28px; font-weight: 600;
  letter-spacing: 0; color: var(--ink);
}
.badge--lg { font-size: 14px; padding: 6px 16px; }

/* -- Progress Track -- */
.progress-section {
  background: var(--white);
  border: 1px solid var(--ink08);
  border-radius: var(--radius-card);
  padding: 32px 28px;
  margin-bottom: 28px;
}
.progress-title {
  font-size: 17px; font-weight: 600; color: var(--ink);
  letter-spacing: -0.374px; margin-bottom: 32px;
}
.progress-track {
  display: flex; align-items: flex-start;
  justify-content: space-between;
  position: relative;
}
.progress-line {
  flex: 1; height: 2px;
  background: var(--ink08);
  margin-top: 20px;
  align-self: flex-start;
  transition: background .3s;
}
.progress-line--done { background: var(--order-done); }

.progress-node {
  display: flex; flex-direction: column;
  align-items: center; gap: 10px;
  flex-shrink: 0; width: 72px;
}
.progress-node__circle {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--ink08);
  background: var(--white);
  position: relative;
  transition: border-color .3s, background .3s;
  flex-shrink: 0;
}
.progress-node--done .progress-node__circle {
  background: var(--order-done);
  border-color: var(--order-done);
}
.progress-node--current .progress-node__circle {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(0,102,204,0.12);
}
.progress-node--pending .progress-node__circle {
  background: var(--white);
  border-color: var(--ink08);
}
.progress-node__pulse {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--blue);
  animation: pulse 1.4s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.25); opacity: .6; }
}
.progress-node__label {
  font-size: 13px; font-weight: 600; color: var(--ink);
  letter-spacing: -0.12px; text-align: center; white-space: nowrap;
}
.progress-node--pending .progress-node__label { color: var(--ink48); }
.progress-node__time {
  font-size: 11px; color: var(--ink48);
  letter-spacing: -0.1px; text-align: center; white-space: nowrap;
}
.progress-node__time--hint { color: var(--blue); font-weight: 600; }
.progress-node__time--empty { color: var(--ink08); }

/* -- Detail Info Grid -- */
.detail-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.detail-card {
  background: var(--white);
  border: 1px solid var(--ink08);
  border-radius: var(--radius-card);
  padding: 24px 28px;
}
.detail-card__title {
  font-size: 17px; font-weight: 600; color: var(--ink);
  letter-spacing: -0.374px; margin-bottom: 20px;
  padding-bottom: 14px; border-bottom: 1px solid var(--ink08);
}
.detail-row {
  display: flex; justify-content: space-between;
  align-items: center; gap: 12px;
  padding: 10px 0; border-bottom: 1px solid var(--ink08);
  font-size: 14px;
}
.detail-row:last-child { border-bottom: none; padding-bottom: 0; }
.detail-row--col { flex-direction: column; align-items: flex-start; gap: 6px; }
.detail-row__label { color: var(--ink48); letter-spacing: -0.224px; flex-shrink: 0; }
.detail-row__value { color: var(--ink); font-weight: 600; letter-spacing: -0.224px; text-align: right; }
.detail-row__value--blue { color: var(--blue); }
.detail-row--col .detail-row__value { text-align: left; }

@media (max-width: 768px) {
  .progress-track { gap: 0; }
  .progress-node { width: 56px; }
  .progress-node__circle { width: 32px; height: 32px; }
  .progress-line { margin-top: 16px; }
  .progress-node__label { font-size: 11px; }
  .progress-node__time { font-size: 10px; }
  .progress-section { padding: 20px 16px; }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-order-no { font-size: 20px; }
}

@media (max-width: 480px) {
  .progress-node { width: 44px; }
  .progress-node__circle { width: 28px; height: 28px; }
  .progress-node__label { font-size: 10px; }
  .progress-node__time { display: none; }
  .progress-line { margin-top: 14px; }
}

/* ============================================================
   MAP SECTION (order-detail)
   ============================================================ */
.map-section {
  background: var(--white);
  border: 1px solid var(--ink08);
  border-radius: var(--radius-card);
  overflow: hidden;
  margin-bottom: 28px;
}
.map-section__title {
  display: flex; align-items: center; gap: 8px;
  font-size: 17px; font-weight: 600; color: var(--ink);
  letter-spacing: -0.374px;
  padding: 20px 28px 16px;
  border-bottom: 1px solid var(--ink08);
}
.map-section__canvas {
  width: 100%; height: 420px;
}
@media (max-width: 768px) {
  .map-section__canvas { height: 300px; }
  .map-section__title { padding: 16px 16px 12px; font-size: 15px; }
}

/* ============================================================
   UNSYM LAYOUT helpers (不对称页面)
   ============================================================ */
.unsym-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 40px; align-items: start;
}
.unsym-grid--reverse { grid-template-columns: 2fr 3fr; }

/* ============================================================
   SITE INFO PAGE
   ============================================================ */
.info-hero {
  background: var(--tile1); padding: 80px 24px;
}
.info-hero__inner {
  max-width: 980px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.info-hero__title {
  font-family: var(--font-display);
  font-size: 48px; font-weight: 600;
  color: var(--white); letter-spacing: -0.28px; line-height: 1.07;
  margin-bottom: 16px;
}
.info-hero__desc {
  font-size: 17px; color: rgba(255,255,255,0.72);
  line-height: 1.47; letter-spacing: -0.374px;
}
.info-panel {
  background: var(--tile2);
  border-radius: var(--radius-card);
  padding: 28px; border: 1px solid rgba(255,255,255,0.08);
}
.info-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 14px;
}
.info-row:last-child { border-bottom: none; }
.info-row__label { color: rgba(255,255,255,0.48); letter-spacing: -0.224px; }
.info-row__value { color: var(--white); font-weight: 600; letter-spacing: -0.224px; }

/* ============================================================
   LOADING SPINNER
   ============================================================ */
.spinner {
  display: inline-block; width: 20px; height: 20px;
  border: 2px solid var(--ink08); border-top-color: var(--blue);
  border-radius: 50%; animation: spin .6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1068px) {
  .hero-tile__h1 { font-size: 40px; }
  .section__title { font-size: 34px; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .unsym-grid { grid-template-columns: 1fr; }
  .unsym-grid--reverse { grid-template-columns: 1fr; }
  .info-hero__inner { grid-template-columns: 1fr; }
  .map-grid { grid-template-columns: 1fr; }
}

@media (max-width: 833px) {
  .g-nav__links { display: none; }
  .g-nav__hamburger { display: flex; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .order-table th:nth-child(n+5), .order-table td:nth-child(n+5) { display: none; }
  .hero-tile { min-height: 420px; padding: 64px 20px; }
}

@media (max-width: 640px) {
  html { font-size: 16px; }
  .hero-tile__h1 { font-size: 34px; }
  .hero-tile__sub { font-size: 21px; }
  .section { padding: 48px 16px; }
  .card-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .site-footer__grid { grid-template-columns: 1fr; }
  .modal-box { padding: 20px; }
  .order-table th:nth-child(n+4), .order-table td:nth-child(n+4) { display: none; }
  .info-hero { padding: 48px 16px; }
  .schedule-item { flex-direction: column; gap: 12px; }
  .schedule-item__date { width: 100%; display: flex; gap: 8px; align-items: center; padding: 8px 12px; }
  .modal-box__actions { flex-direction: column; }
  .modal-box__actions .btn-pill, .modal-box__actions .btn-rect { width: 100%; }
}

@media (max-width: 419px) {
  .hero-tile__h1 { font-size: 28px; }
  .hero-tile__sub { font-size: 17px; }
  .g-nav__logo { font-size: 14px; }
}
