:root { --bg: #fff; --fg: #1d1d1d; --muted: #5a5a5a; --line: #e3e3e3; --accent: #b3261e; --soft: #fbf3f2; --green: #1a6b3a; }
@media (prefers-color-scheme: dark) { :root { --bg: #141414; --fg: #f1f1f1; --muted: #b5b5b5; --line: #333; --soft: #2a1d1c; --accent: #f08a82; } }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 17px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: var(--accent); }
.top { display: flex; align-items: center; gap: 12px; padding: 10px 16px; border-bottom: 1px solid var(--line); }
.top img { border-radius: 8px; background: #fff; }
.top div { line-height: 1.25; }
.top .call { margin-left: auto; background: var(--accent); color: #fff; text-decoration: none; font-weight: 700; padding: 10px 14px; border-radius: 10px; white-space: nowrap; }
.banner { display: block; width: 100%; height: auto; max-height: 360px; object-fit: cover; }
main { max-width: 860px; margin: 0 auto; padding: 8px 16px 32px; }
h1 { font-size: 30px; line-height: 1.2; margin: 20px 0 8px; }
h2 { font-size: 24px; margin: 32px 0 8px; }
.dates { font-size: 19px; }
.phonebox { background: var(--soft); border: 2px solid var(--accent); border-radius: 14px; padding: 16px 18px; margin: 16px 0; }
.phonebox p { margin: 6px 0; }
.phonebox .big { display: inline-block; font-size: 32px; font-weight: 800; text-decoration: none; margin: 4px 0; }
.small { font-size: 15px; color: var(--muted); }
.how li { margin: 6px 0; }
details { border-bottom: 1px solid var(--line); padding: 10px 0; }
summary { font-weight: 700; cursor: pointer; }
details p { margin: 8px 0 2px; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px; }
.gallery img { width: 100%; height: 220px; object-fit: cover; border-radius: 8px; display: block; }
footer { border-top: 1px solid var(--line); padding: 16px; text-align: center; color: var(--muted); font-size: 15px; }
@media (max-width: 480px) { .top .call { padding: 8px 10px; font-size: 15px; } h1 { font-size: 25px; } .phonebox .big { font-size: 28px; } .top div { font-size: 15px; } }
/* booking form (SPEC §15.1.6) */
.book-app { max-width: 640px; }
.book-app h1 { font-size: 27px; }
.book-app fieldset { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin: 14px 0; }
.book-app legend { font-weight: 800; padding: 0 6px; }
.book-app label { display: block; margin: 8px 0; font-weight: 600; }
.book-app input:not([type=checkbox]):not([type=radio]), .book-app select { display: block; width: 100%; font: inherit; padding: 11px 12px; margin-top: 4px;
  border: 1px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--fg); }
.book-app label.check, .book-app label.inline { font-weight: 400; display: flex; gap: 8px; align-items: center; }
.book-app label.inline input { width: 9em !important; display: inline-block; margin: 0; }
.book-app .hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
.sug { display: flex; flex-direction: column; gap: 4px; margin-top: 6px; }
.sug .opt { text-align: left; font: inherit; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--soft); color: var(--fg); cursor: pointer; }
.confirm { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-start; margin-top: 10px; }
.confirm img { border-radius: 10px; border: 1px solid var(--line); max-width: 100%; height: auto; }
.confirm .addr { font-size: 19px; font-weight: 800; margin: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { display: flex !important; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; margin: 0 !important;
  cursor: pointer; background: var(--bg); color: var(--fg); font: inherit; font-weight: 600; }
.choice.on, .choice:has(input:checked) { border-color: var(--accent); background: var(--soft); }
.choice.full { opacity: .5; }
.total { font-size: 19px; margin: 8px 0 0; }
.btn, button.big { display: inline-block; font: inherit; font-weight: 700; border: 0; border-radius: 10px; padding: 12px 16px; background: var(--accent); color: #fff; cursor: pointer; text-decoration: none; }
.btn.ghost { background: transparent; color: var(--fg); border: 1px solid var(--line); }
button.big { width: 100%; font-size: 19px; padding: 15px; margin-top: 6px; }
button.big:disabled { opacity: .6; }
button.link { background: none; border: 0; color: var(--accent); text-decoration: underline; font: inherit; cursor: pointer; padding: 0; }
.notice { border: 2px solid var(--accent); background: var(--soft); border-radius: 10px; padding: 10px 12px; margin-top: 10px; }
.notice.flash { animation: flash 1s; }
@keyframes flash { 50% { transform: scale(1.02); } }
.err { color: #c0392b; font-weight: 600; }
.ok { color: var(--green); font-weight: 700; }
.hint { font-size: 15px; margin-top: -4px; }
.muted { color: var(--muted); }
.receipt { border: 2px dashed var(--line); border-radius: 12px; padding: 12px 16px; margin: 12px 0; }
.receipt .code { font-size: 20px; margin: 0 0 8px; }
.receipt dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; margin: 0 0 8px; }
.receipt dt { color: var(--muted); } .receipt dd { margin: 0; }
.phonebox .btn { font-size: 20px; padding: 14px 20px; margin: 6px 0; }
/* share buttons */
.share-title { font-weight: 700; margin: 18px 0 6px; }
.share { display: flex; flex-wrap: wrap; gap: 8px; }
.share .sh { font: inherit; font-size: 15px; font-weight: 600; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); color: var(--fg); text-decoration: none; cursor: pointer; }
.share .sh.native { background: var(--accent); color: #fff; border-color: var(--accent); }
/* embedded in another site (embed.js): no header, footer or page share bar */
.embed body { background: transparent; }
.embed header.top, .embed footer, .embed body > section.book-app { display: none; }
.embed main { padding-top: 0; }
body > section.book-app { margin: 0 auto; padding: 0 16px 16px; }
