:root {
  --ink: #131312;
  --ink-2: #1f1e1c;
  --gold: #b8914a;
  --gold-soft: #d9bf8a;
  --bg: #f6f3ed;
  --card: #ffffff;
  --text: #1d1b18;
  --muted: #6b655b;
  --line: #e6e0d4;
  --note-bg: #faf4e6;
  --note-line: #e3cf9f;
  --warn-bg: #fdf0ec;
  --warn-line: #eab7a6;
  --warn-text: #8a2f16;
  --shadow: 0 1px 2px rgba(20, 20, 19, .06), 0 4px 16px rgba(20, 20, 19, .05);
  --radius: 14px;
  --serif: "Cormorant Garamond", "Songti SC", "Noto Serif CJK SC", Georgia, serif;
  --sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans", "Apple SD Gothic Neo", "Noto Sans CJK SC", "Microsoft YaHei", "Malgun Gothic", "Yu Gothic", sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #100f0e;
    --card: #1b1a18;
    --text: #efe9df;
    --muted: #a39b8e;
    --line: #2e2c28;
    --gold: #d1ae67;
    --note-bg: #231e14;
    --note-line: #5a4a26;
    --warn-bg: #2a1712;
    --warn-line: #6b2f1f;
    --warn-text: #f0b4a0;
    --shadow: none;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }

.shell { max-width: 640px; margin: 0 auto; min-height: 100vh; padding-bottom: calc(92px + env(safe-area-inset-bottom)); }

/* Header */
.top {
  position: sticky; top: 0; z-index: 20;
  background: var(--ink);
  color: #f3ede2;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 16px; padding-top: calc(10px + env(safe-area-inset-top));
}
.top .brand { display: flex; align-items: center; gap: 8px; text-decoration: none; min-width: 0; }
.top .brand img { height: 46px; width: auto; margin: -6px 0; }
.top .back { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; color: var(--gold-soft); text-decoration: none; margin-left: -8px; }
.top .back:active { background: rgba(255,255,255,.08); }
.lang { position: relative; display: flex; align-items: center; gap: 6px; color: var(--gold-soft); }
.lang select {
  appearance: none; -webkit-appearance: none;
  background: transparent; color: #f3ede2; border: 1px solid rgba(217,191,138,.4);
  border-radius: 999px; padding: 6px 12px; font: 500 14px var(--sans);
}
.lang select option { color: #111; }

/* Hero */
.hero { position: relative; background: var(--ink); color: #fff; min-height: 260px; display: flex; align-items: flex-end; overflow: hidden; }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .82; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,20,19,.1) 30%, rgba(20,20,19,.88) 100%); }
.hero .inner { position: relative; z-index: 1; padding: 20px 16px 18px; }
.kicker { font: 600 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-soft); margin: 0 0 8px; }
.hero h1 { font: 600 36px/1.05 var(--serif); margin: 0; letter-spacing: .01em; }
.hero .sub { margin: 6px 0 0; color: #e5dccb; font-size: 15px; }

.intro { padding: 18px 16px 4px; color: var(--muted); font-size: 15px; }

/* Tiles */
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 14px 16px; }
.tile {
  display: flex; flex-direction: column; gap: 10px; justify-content: space-between;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px; min-height: 96px; text-decoration: none; box-shadow: var(--shadow);
}
.tile:active { transform: scale(.98); }
.tile .ico { color: var(--gold); width: 26px; height: 26px; }
.tile span { font-weight: 600; font-size: 15px; line-height: 1.25; }

.promo { margin: 4px 16px 14px; background: var(--ink); color: #f3ede2; border-radius: var(--radius); padding: 16px; display: grid; gap: 10px; }
.promo h3 { margin: 0; font: 600 22px/1.15 var(--serif); color: var(--gold-soft); }
.promo .row { display: flex; flex-wrap: wrap; gap: 8px; }

/* Page */
.page-head { padding: 22px 16px 6px; }
.page-head .ico { color: var(--gold); width: 30px; height: 30px; }
.page-head h1 { font: 600 32px/1.1 var(--serif); margin: 8px 0 0; }
.body { padding: 4px 16px 16px; }
.body h3 { font: 600 22px/1.2 var(--serif); margin: 26px 0 8px; }
.body p { margin: 10px 0; }
.body ul, .body ol { margin: 10px 0; padding-left: 22px; }
.body li { margin: 6px 0; }
.body ol.steps { list-style: none; padding: 0; counter-reset: s; }
.body ol.steps li { counter-increment: s; position: relative; padding: 2px 0 2px 38px; margin: 10px 0; }
.body ol.steps li::before {
  content: counter(s); position: absolute; left: 0; top: 0;
  width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: var(--gold-soft);
  font: 600 13px/26px var(--sans); text-align: center;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .body ol.steps li::before { background: var(--gold); color: var(--ink); } }
.callout { border-radius: 12px; padding: 12px 14px; margin: 14px 0; border: 1px solid; font-size: 15px; }
.callout.note { background: var(--note-bg); border-color: var(--note-line); }
.callout.warn { background: var(--warn-bg); border-color: var(--warn-line); color: var(--warn-text); }
figure { margin: 14px 0; }
figure img { border-radius: 12px; width: 100%; background: var(--card); }
/* Photos inside the arrival instructions: compact, tap to see full screen */
.more-body figure img { max-height: 300px; object-fit: cover; cursor: zoom-in; }
figcaption { font-size: 13px; color: var(--muted); margin-top: 6px; }

details.manual { border: 1px solid var(--line); border-radius: 12px; background: var(--card); margin: 14px 0; }
details.manual summary { cursor: pointer; padding: 12px 14px; font-weight: 600; font-size: 15px; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
details.manual summary::-webkit-details-marker { display: none; }
details.manual summary::after { content: "+"; color: var(--gold); font-size: 20px; line-height: 1; }
details.manual[open] summary::after { content: "–"; }
details.manual .pages { padding: 0 10px 10px; display: grid; gap: 10px; }
details.manual .pages img { border-radius: 8px; background: #fff; }

/* Wi-Fi card */
.wifi { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 6px 14px; margin: 12px 0; box-shadow: var(--shadow); }
.wifi .label { font: 600 12px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--gold); padding: 10px 0 2px; }
.wifi .kv { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); }
.wifi .kv:first-of-type { border-top: 0; }
.wifi .k { font-size: 13px; color: var(--muted); }
.wifi .v { font: 600 17px/1.3 var(--sans); word-break: break-all; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 16px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--card); color: var(--text);
  font: 600 15px var(--sans); text-decoration: none; cursor: pointer;
}
.btn .ico { width: 18px; height: 18px; }
.btn.small { min-height: 36px; padding: 6px 12px; font-size: 14px; }
.btn.gold { background: var(--gold); border-color: var(--gold); color: #1a1406; }
.btn.dark { background: var(--ink); border-color: var(--ink); color: #f3ede2; }
.btn.ghost-light { background: transparent; border-color: rgba(217,191,138,.45); color: #f3ede2; }
.call-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 12px 14px; margin: 10px 0; text-decoration: none; box-shadow: var(--shadow);
}
.call-row .t { font-size: 14px; color: var(--muted); }
.call-row .n { font: 600 20px/1.2 var(--sans); }
.call-row .ico-wrap { flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--ink); color: var(--gold-soft); display: grid; place-items: center; }
.call-row .ico-wrap .ico { width: 20px; height: 20px; }
.addr { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; margin: 12px 0; display: grid; gap: 10px; box-shadow: var(--shadow); }
.addr .lbl { font: 600 12px/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.addr .a { font-weight: 600; }
.addr .row { display: flex; flex-wrap: wrap; gap: 8px; }

details.more { border: 1px solid var(--gold); border-radius: var(--radius); background: var(--card); margin: 18px 0; box-shadow: var(--shadow); }
details.more > summary { cursor: pointer; list-style: none; padding: 14px 16px; font: 600 20px/1.2 var(--serif); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
details.more > summary::-webkit-details-marker { display: none; }
details.more > summary::after { content: "+"; color: var(--gold); font: 400 24px/1 var(--sans); }
details.more[open] > summary::after { content: "–"; }
details.more .more-body { padding: 0 16px 8px; border-top: 1px solid var(--line); }
details.more .more-body h3 { font-size: 20px; margin-top: 18px; }

/* Local guide */
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 16px 10px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 7px 14px; font: 500 14px var(--sans); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--gold-soft); border-color: var(--ink); }
.cat-title { font: 600 22px/1.2 var(--serif); margin: 22px 0 8px; display: flex; align-items: center; gap: 8px; }
.cat-title .ico { width: 20px; height: 20px; color: var(--gold); }
.place { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; margin: 10px 0; box-shadow: var(--shadow); }
.place h4 { margin: 0; font-size: 16px; }
.place p { margin: 4px 0 0; font-size: 15px; }
.place .where { color: var(--muted); font-size: 14px; }
.place .row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.hint { font-size: 13px; color: var(--muted); margin: 4px 0 0; }

/* Gallery */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; padding: 8px 16px 16px; }
.grid button { padding: 0; border: 0; background: var(--line); border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 3; cursor: zoom-in; }
.grid button:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.grid img { width: 100%; height: 100%; object-fit: cover; }
.lightbox { position: fixed; inset: 0; z-index: 50; background: rgba(8,8,8,.96); display: flex; align-items: center; justify-content: center; touch-action: pan-y; }
.lightbox img { max-width: 100%; max-height: 86vh; object-fit: contain; }
.lightbox .lb-btn { position: absolute; background: rgba(255,255,255,.1); border: 0; color: #fff; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
.lightbox .lb-close { top: calc(12px + env(safe-area-inset-top)); right: 12px; }
.lightbox .lb-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 10px; top: 50%; transform: translateY(-50%); }
.lightbox .count { position: absolute; bottom: calc(16px + env(safe-area-inset-bottom)); left: 0; right: 0; text-align: center; color: #cfc6b6; font-size: 14px; }

/* Contact bar */
.contact {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  background: var(--ink); color: #f3ede2;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(217,191,138,.2);
}
.contact .wrap { max-width: 608px; margin: 0 auto; }
.contact .lbl { font-size: 12px; color: var(--gold-soft); margin-bottom: 6px; letter-spacing: .02em; }
.contact .row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.contact .btn { min-height: 42px; padding: 8px 6px; font-size: 14px; }

.xlate { margin: 16px; padding: 10px 12px; font-size: 13px; color: var(--muted); border: 1px dashed var(--line); border-radius: 10px; }
.empty { padding: 48px 24px; text-align: center; }
.empty img { width: 160px; margin: 0 auto 20px; border-radius: 12px; }
.empty h1 { font: 600 30px/1.15 var(--serif); margin: 0 0 10px; }
.empty p { color: var(--muted); }

#toast { position: fixed; left: 50%; bottom: calc(110px + env(safe-area-inset-bottom)); transform: translateX(-50%) translateY(10px); background: var(--ink); color: var(--gold-soft); padding: 8px 16px; border-radius: 999px; font-size: 14px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 60; }
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

.ico { width: 22px; height: 22px; flex: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
@media (min-width: 560px) { .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } .hero { min-height: 320px; } .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
