/* 손님 사이트 랜딩(`/w`) 전용 모양 — 휴대폰 폭 기본, 장부·손님앱·포털 CSS 를 하나도 쓰지 않는다. */

:root {
  color-scheme: light dark;
  --bg: #f4f6f8; --card: #fff; --line: #e1e5ea; --ink: #16191d; --muted: #667080; --accent: #2563eb; --accent-ink: #fff;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #101317; --card: #1a1e24; --line: #2c333c; --ink: #e9ecf0; --muted: #98a2b0; --accent: #3b82f6; --accent-ink: #fff; }
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

body {
  margin: 0; background: var(--bg); color: var(--ink); font-size: 16px; line-height: 1.6;
  font-family: -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}

#wrap { max-width: 460px; margin: 0 auto; padding: 0 16px 40px; }
#view { padding-top: calc(20px + env(safe-area-inset-top)); }

.store { font-size: 26px; font-weight: 800; margin: 0 0 4px; }
.intro { color: var(--muted); margin: 0 0 16px; }
.sub { color: var(--muted); font-size: 14px; margin: 2px 0; }
.head { font-size: 15px; color: var(--muted); font-weight: 700; margin: 20px 0 8px; }

.photos { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px 16px; padding: 0 16px; }
.photos img { width: 78%; flex: 0 0 auto; aspect-ratio: 4/3; object-fit: cover; border-radius: 14px; scroll-snap-align: start; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; margin: 0 0 12px; }
.body { white-space: pre-line; }
.notice { background: var(--accent); color: var(--accent-ink); border-radius: 14px; padding: 12px 16px; margin: 0 0 16px; white-space: pre-line; font-weight: 600; }

.event .title { font-weight: 800; margin-bottom: 2px; }
.event .coupon { display: inline-block; background: var(--accent); color: var(--accent-ink); border-radius: 8px; padding: 2px 8px; font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.event .body { white-space: pre-line; font-size: 14px; }

.links { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }

.btn {
  display: inline-block; text-align: center; text-decoration: none; font: inherit; color: inherit;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px;
  min-height: 48px; line-height: 24px;
}
.btn.primary { display: block; width: 100%; background: var(--accent); color: var(--accent-ink); border-color: transparent; font-weight: 700; margin-top: 8px; }

.wait .title { font-weight: 800; }
.wait .party { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 10px 0; }
.wait .party .btn { padding: 8px 0; cursor: pointer; }
.wait .party .btn.on { background: var(--accent); color: var(--accent-ink); border-color: transparent; font-weight: 700; }
.wait .answer { font-weight: 700; font-size: 17px; min-height: 1.6em; }
.wait .hold-form { display: grid; gap: 8px; margin-top: 8px; }
.wait .field { font: inherit; color: inherit; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; min-height: 48px; width: 100%; }
.wait .hold-done { margin-top: 8px; }
.wait [hidden] { display: none; }
