:root {
  color-scheme: light;
  font-family: system-ui, "Microsoft YaHei", sans-serif;
  color: #17382e;
  background: #f3efe5;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid #a47730; outline-offset: 4px; }
.shell { max-width: 1440px; margin: auto; }
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
  padding: clamp(38px, 6vw, 86px) 16px clamp(58px, 7vw, 96px);
  color: #fff7df;
  background: radial-gradient(ellipse at 50% 110%, #306052, #102c25 69%);
}
.hero::before, .hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  bottom: -40%;
  width: min(85vw, 900px);
  aspect-ratio: 1.6;
  transform: translateX(-50%);
  border: 1px solid #d2ad6540;
  border-radius: 50%;
  pointer-events: none;
}
.hero::after { width: min(100vw, 1080px); bottom: -50%; }
.hero h1 {
  margin: 0;
  font-family: "Songti SC", "Noto Serif CJK SC", "SimSun", serif;
  font-size: clamp(62px, 12vw, 150px);
  line-height: 1;
  letter-spacing: .04em;
}
.hero h1 span { color: #e6bd74; font-variant-numeric: lining-nums; }
.hero p { margin: clamp(24px, 3vw, 34px) 0 0; font-size: clamp(15px, 2vw, 20px); letter-spacing: .16em; }

.directory {
  position: relative;
  margin: 0 auto;
  width: min(calc(100% - 32px), 980px);
  padding: clamp(16px, 3vw, 32px);
  background: #fffdf7;
  border: 1px solid #e2d9c6;
  border-radius: 18px;
  box-shadow: 0 14px 34px #17382e14;
}
main {
  padding-bottom: clamp(72px, 12vw, 170px);
  background-color: #f3efe5;
  background-image: linear-gradient(to bottom, #f3efe5 0%, #f3efe5 8%, #f3efe500 42%),
    url("ink-landscape.jpg");
  background-position: bottom center;
  background-size: 100% min(33.333334vw, 480px), 100% auto;
  background-repeat: no-repeat;
}
.directory-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.directory-head h2 { margin: 0; font-size: clamp(20px, 3vw, 29px); }
button {
  padding: 9px 13px;
  border: 1px solid #557369;
  border-radius: 7px;
  background: #eff4ef;
  color: #17382e;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}
#open-fastest { background: #17382e; color: #fff7df; }
button:disabled { opacity: .55; cursor: default; }
#stay-here { margin-bottom: 12px; }
.note, .result { color: #4e655b; font-size: 13px; line-height: 1.55; }
.note { margin: 10px 0 18px; }
.slots { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.route {
  display: block;
  padding: 18px 20px;
  border: 1px solid #ccdacf;
  border-radius: 10px;
  background: #f0f5ef;
  font-size: clamp(18px, 3vw, 23px);
  font-weight: 700;
}
.route:hover { border-color: #52796b; background: #e7efe7; }
.result { display: block; min-height: 1.55em; margin-top: 7px; font-weight: 400; }
.browser-tip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  margin: 20px 0 0;
  padding-top: 16px;
  border-top: 1px solid #e2d9c6;
  font-size: 14px;
}
.browser-option { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.browser-icon { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; }
.chrome-icon { background: conic-gradient(from 30deg, #fbbc04 0 120deg, #34a853 120deg 240deg, #ea4335 240deg); }
.chrome-icon::after { content: ""; width: 11px; height: 11px; border: 1px solid white; border-radius: 50%; background: #4285f4; }
.safari-icon { border: 1px solid #fff; background: radial-gradient(circle, #43c5fa, #0878cc); box-shadow: 0 0 0 1px #6e9eaf; }
.safari-icon::after { content: ""; width: 6px; height: 16px; transform: rotate(36deg); background: linear-gradient(#fd4d4f 50%, white 50%); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
