:root {
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #f6f5f1;
  color: #14161a;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.page {
  max-width: 760px;
  margin: 0 auto;
  padding-bottom: 40px;
}

.hero {
  height: 210px;
  background: #dde3ea;
}

.hero-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.head {
  padding: 20px 20px 0;
}

.kicker {
  margin: 0 0 6px;
  font-size: 11px;
  letter-spacing: 1.4px;
  color: #8a6a3f;
  font-weight: 700;
}

.title {
  margin: 0;
  font-size: 30px;
  line-height: 1.1;
  font-weight: 800;
}

.meta {
  margin: 4px 0 0;
  font-size: 14px;
  color: #5b6470;
}

.summary {
  margin: 10px 0 0;
  font-size: 15px;
  line-height: 1.5;
  color: #333a44;
}

.map-box {
  height: 230px;
  margin: 18px 16px 0;
  border-radius: 16px;
  overflow: hidden;
  background: #e8ebe7;
}

.map {
  width: 100%;
  height: 100%;
}

.map-card {
  margin: 8px 16px 0;
  padding: 12px;
  display: flex;
  gap: 12px;
  background: #fff;
  border: 1px solid #e2ded6;
  border-radius: 12px;
}

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

.map-card-body {
  flex: 1;
}

.map-card-title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
}

.map-card-meta {
  margin: 2px 0 0;
  font-size: 12px;
  color: #5b6470;
}

.map-card-note {
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 1.4;
  color: #333a44;
}

.map-card-close {
  align-self: flex-start;
  border: 0;
  background: transparent;
  font-size: 22px;
  line-height: 1;
  color: #5b6470;
  cursor: pointer;
}

.day {
  margin: 22px 20px 0;
}

.day-label {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  color: #5b6470;
}

.stop {
  display: flex;
  gap: 12px;
  padding: 12px;
  margin-bottom: 8px;
  background: #fff;
  border-left: 3px solid #208aef;
  border-radius: 10px;
}

.stop-time {
  width: 46px;
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: #5b6470;
}

.stop-body {
  flex: 1;
}

.stop-name {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}

.stop-meta {
  margin: 2px 0 0;
  font-size: 12px;
  color: #5b6470;
}

.stop-note {
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 1.4;
  color: #333a44;
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 30px 20px 0;
  padding-top: 16px;
  border-top: 1px solid #e2ded6;
}

.footer-text {
  margin: 0;
  font-size: 12px;
  color: #8a8f98;
}

.footer-link {
  font-size: 13px;
  font-weight: 700;
  color: #8a6a3f;
  text-decoration: none;
}

.page.center {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 32px;
  text-align: center;
}

.brand {
  margin: 0;
  font-size: 14px;
  letter-spacing: 2px;
  color: #8a6a3f;
  font-weight: 700;
}

.error-title {
  margin: 0;
  font-size: 22px;
  line-height: 1.3;
}

.muted {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #5b6470;
}

@media (max-width: 480px) {
  .title {
    font-size: 26px;
  }

  .map-box {
    margin-left: 12px;
    margin-right: 12px;
  }

  .day {
    margin-left: 16px;
    margin-right: 16px;
  }
}
