:root {
  --green: #1f4d3d;
  --green-soft: #e6efe9;
  --ink: #1d2b25;
  --muted: #5d6b64;
  --line: #dfe5df;
  --paper: #f7f4ec;
  --card: #fffdf8;
  --gold: #b7802f;
  --red: #b3322a;
  --tabs-h: 62px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 64px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  padding-bottom: calc(var(--tabs-h) + env(safe-area-inset-bottom));
}

a { color: var(--green); }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { line-height: 1.3; margin: 0 0 .4em; }
h1 { font-size: 26px; }
h2 { font-size: 20px; }
h3 { font-size: 18px; }
p { margin: 0 0 .7em; }

main, .foot { max-width: 560px; margin: 0 auto; }
main { padding: 0 16px 8px; outline: none; }

.top {
  position: sticky; top: 0; z-index: 5;
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 16px; background: rgba(247, 244, 236, .96);
  border-bottom: 1px solid var(--line);
}
.brand { font-weight: 700; font-size: 18px; text-decoration: none; color: var(--green); }
.brand small { display: block; font-weight: 400; font-size: 12px; color: var(--muted); }
.top-call {
  font-size: 14px; text-decoration: none; padding: 6px 12px;
  border: 1px solid var(--green); border-radius: 999px;
}

.hero {
  margin: 16px 0; padding: 22px 18px; border-radius: 18px;
  background: linear-gradient(160deg, #1f4d3d, #2f6a52); color: #fff;
}
.hero h1 { font-size: 28px; }
.hero-meta { margin: 0 0 .2em; opacity: .92; }
.eyebrow { font-size: 13px; letter-spacing: .06em; color: var(--gold); margin: 0 0 .3em; font-weight: 600; }
.eyebrow.light { color: #f3d9a6; }

.status {
  margin-top: 14px; padding: 12px 14px; border-radius: 12px;
  background: var(--green-soft); color: var(--ink);
}
.status.after { background: #eee; }
.status .eyebrow { color: var(--red); }
.now-item { display: block; text-decoration: none; color: var(--ink); padding: 4px 0; }
.now-item span { display: block; font-size: 14px; color: var(--muted); }
.next { margin: 6px 0 0; font-size: 14px; color: var(--muted); }

.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 8px; }
.tile {
  display: block; padding: 14px; min-height: 84px; border-radius: 14px;
  background: var(--card); border: 1px solid var(--line); text-decoration: none; color: var(--ink);
}
.tile strong { display: block; font-size: 17px; color: var(--green); }
.tile small { color: var(--muted); font-size: 13px; }

.page-head { padding: 18px 0 6px; }
.back { display: inline-block; margin-top: 14px; text-decoration: none; }

.section { margin: 14px 0; padding: 16px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; }
.hint { font-size: 14px; color: var(--muted); }
.hint.inline { display: inline; margin-left: 8px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip {
  font: inherit; font-size: 14px; padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--card); color: var(--green);
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 8px 14px; border-radius: 12px; font: inherit; font-size: 15px;
  text-decoration: none; cursor: pointer; border: 1px solid var(--green);
  background: var(--card); color: var(--green);
}
.btn.map { background: var(--green); color: #fff; }
.btn.ghost { border-color: var(--line); }
.btn.call { background: var(--green); color: #fff; border: 0; flex-direction: column; gap: 0; line-height: 1.3; }
.btn.call.block { display: flex; width: 100%; }
.btn.call.urgent { background: var(--red); }
.btn.small { min-height: 36px; font-size: 14px; padding: 6px 10px; flex-direction: row; }
.call-name { font-size: 14px; opacity: .9; }
.call-no { font-size: 18px; font-weight: 700; letter-spacing: .02em; }

.row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 8px; }
.venue { font-weight: 600; margin-right: 4px; }
.calls { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 10px 0; }
.calls.three { grid-template-columns: 1fr 1fr 1fr; }
.speak { margin: 6px 0; }

.timeline { list-style: none; margin: 12px 0 0; padding: 0; }
.slot { position: relative; padding: 12px 0 14px 18px; border-left: 3px solid var(--line); }
.slot::before {
  content: ""; position: absolute; left: -8px; top: 18px;
  width: 13px; height: 13px; border-radius: 50%; background: var(--line);
}
.slot.now { border-left-color: var(--red); }
.slot.now::before { background: var(--red); }
.slot-time { margin: 0; font-weight: 700; color: var(--gold); }
.slot-place { margin-bottom: .4em; color: var(--muted); font-size: 15px; }
.badge { display: none; margin-left: 8px; font-size: 12px; padding: 1px 8px; border-radius: 999px; background: var(--red); color: #fff; vertical-align: 2px; }
.slot.now .badge { display: inline-block; }

.card { padding: 12px 0 16px; border-bottom: 1px solid var(--line); }
.card:last-child { border-bottom: 0; }
.pic { display: block; margin: 8px 0 12px; border-radius: 12px; overflow: hidden; background: var(--green-soft); }
.gallery .pic { margin-bottom: 10px; }

.list { padding-left: 1.2em; margin: 8px 0; }
.list li { margin-bottom: 6px; }

.stays { display: grid; gap: 12px; }
.stay-card {
  display: block; overflow: hidden; border-radius: 16px; text-decoration: none; color: var(--ink);
  background: var(--card); border: 1px solid var(--line);
}
.stay-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.stay-body { padding: 12px 14px 14px; }
.stay-body h3 { color: var(--green); margin-top: 4px; }
.stay-body p { margin: 0 0 .3em; }
.tag { display: inline-block; font-size: 13px; padding: 2px 10px; border-radius: 999px; background: #f5e7cc; color: #7a4f12; }

.phone-list { list-style: none; margin: 8px 0 0; padding: 0; }
.phone-list li { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.phone-list li:last-child { border-bottom: 0; }

.foot { padding: 12px 16px 20px; font-size: 13px; color: var(--muted); }
.foot p { margin: 0 0 .4em; }

.tabs {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 5;
  display: flex; justify-content: space-around;
  height: calc(var(--tabs-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: #fff; border-top: 1px solid var(--line);
}
.tabs a {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-size: 12px; text-decoration: none; color: var(--muted);
}
.tabs svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 2px; }
.tabs a.active { color: var(--green); font-weight: 700; }
