:root {
  /* Our Memories: "reception at night". Warm black, cream paper, film date-stamp orange.
     Layout: phone-first single column (app screens max 560px); landing widens to two columns from 900px. */
  --bg: #110F0D;
  --surface: #1B1916;
  --surface-2: #26231F;
  --line: #37322C;
  --paper: #F1EADF;
  --muted: #A1988B;
  --stamp: #FF8F3A;
  --stamp-soft: rgba(255, 143, 58, 0.13);
  --ink: #17130F;
  --font-display: "Bodoni Moda", "Bodoni 72", Didot, "Times New Roman", serif;
  --font-body: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-hand: "Caveat", "Bradley Hand", "Segoe Print", cursive;
  --r-sm: 14px;
  --r-md: 20px;
  --r-lg: 28px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--paper);
  font-family: var(--font-body); font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}
#app { min-height: 100%; display: flex; flex-direction: column; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: 0.45; }
input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 600; text-wrap: balance; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--stamp); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.display { font-family: var(--font-display); font-optical-sizing: auto; }
.spaced { letter-spacing: 0.24em; }
.stamp { color: var(--stamp); }
.muted { color: var(--muted); }
.center { text-align: center; }
.ic { width: 1.25em; height: 1.25em; flex: none; }
img[data-scene], img[data-blob], img[data-tpl] { background: #1d1a16; }
img[data-scene]:not([src]), img[data-blob]:not([src]), img[data-tpl]:not([src]) { visibility: hidden; }
.img-shell { background: linear-gradient(135deg, #221e19, #15120f); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 24px; border-radius: 999px; font-weight: 600; font-size: 16px;
  transition: transform .15s ease, background .2s ease, opacity .2s;
}
.btn:active:not(:disabled) { transform: scale(0.98); }
.btn-primary { background: var(--paper); color: var(--ink); }
.btn-primary:hover:not(:disabled) { background: #fff8ee; }
.btn-ghost { border: 1px solid var(--line); color: var(--paper); }
.btn-ghost:hover { background: var(--surface); }
.btn-glass { background: rgba(255, 255, 255, 0.16); color: #fff; border: 1px solid rgba(255, 255, 255, 0.18); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.btn-block { width: 100%; }
.btn-small { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn-select { border: 1.5px solid var(--stamp); background: var(--stamp-soft); color: var(--stamp); width: 100%; }
.btn-round {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: var(--surface); border: 1px solid var(--line);
}
.btn-sq { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; flex: none; background: var(--surface); border: 1px solid var(--line); }
.btn-pill { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 18px 0 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; }
.glass { background: rgba(17, 15, 13, 0.42); border: 1px solid rgba(255, 255, 255, 0.14); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: #fff; }
.link-btn { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 14px; font-weight: 600; padding: 8px 2px; }
.link-btn:hover { color: var(--paper); }
.link-btn.danger { color: #e0786a; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line); font-size: 13px; color: var(--muted); white-space: nowrap; }
.chip.is-on { border-color: var(--stamp); color: var(--stamp); background: var(--stamp-soft); }
.pill-note { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); font-size: 13px; color: var(--muted); text-align: center; }
.mini-label { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hint { color: var(--muted); font-size: 14px; display: flex; gap: 8px; align-items: flex-start; }
.hint b { color: var(--paper); font-weight: 600; }
.notice { padding: 14px 16px; border-radius: var(--r-sm); background: var(--surface); border: 1px solid var(--line); color: var(--muted); font-size: 14px; display: flex; gap: 10px; align-items: flex-start; }
.notice .ic { color: var(--stamp); margin-top: 2px; }
.empty { color: var(--muted); font-size: 14px; padding: 18px 0; }
.badge { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; background: var(--stamp); color: var(--ink); font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }

/* language toggle */
.lang { display: inline-flex; align-items: center; gap: 2px; padding: 4px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); }
.lang button { min-width: 44px; height: 34px; border-radius: 999px; font-weight: 700; font-size: 14px; color: var(--muted); }
.lang button.is-on { background: var(--paper); color: var(--ink); }
.lang.glass { background: rgba(17, 15, 13, 0.4); }
.lang.glass button.is-on { background: rgba(255, 255, 255, 0.92); }

/* ---------- landing ---------- */
.ann { display: flex; justify-content: center; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 16px; background: #17140f; border-bottom: 1px solid #2a251f; font-size: 14px; }
.ann .ic { color: var(--stamp); }
.ann button { color: var(--stamp); font-weight: 700; display: inline-flex; gap: 4px; align-items: center; }
.nav-wrap { position: sticky; top: 0; z-index: 20; padding: 12px 16px; background: linear-gradient(to bottom, rgba(17, 15, 13, 0.95), rgba(17, 15, 13, 0.75)); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.nav { max-width: 1120px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px 10px 18px; border: 1px solid var(--line); border-radius: 22px; background: rgba(27, 25, 22, 0.7); }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-style: italic; font-weight: 600; font-size: 22px; letter-spacing: -0.01em; white-space: nowrap; }
.logo-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--stamp); box-shadow: 0 0 12px 2px rgba(255, 143, 58, 0.65); }
.nav-links { display: none; gap: 26px; font-size: 15px; color: var(--muted); }
.nav-links button:hover { color: var(--paper); }
.nav-right { display: flex; align-items: center; gap: 8px; }
.nav-right .btn { min-height: 44px; padding: 0 18px; font-size: 15px; }
.menu-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; }

.page { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
section.block { padding: 56px 0; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--stamp); box-shadow: 0 0 10px rgba(255, 143, 58, 0.7); }
.sec-title { font-family: var(--font-display); font-size: clamp(34px, 8.4vw, 58px); line-height: 1.04; letter-spacing: -0.015em; max-width: 18ch; }
.sec-sub { color: var(--muted); max-width: 56ch; margin-top: 14px; font-size: 17px; }

.hero { padding: 40px 0 24px; text-align: center; }
.hero h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(46px, 12.5vw, 96px); line-height: 0.98; letter-spacing: -0.025em; }
.hero h1 span, .hero h1 em { display: block; }
.hero h1 em { font-style: italic; font-weight: 700; }
.hero-sub { color: var(--muted); max-width: 52ch; margin: 22px auto 0; font-size: 17px; }
.hero-ctas { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 28px; }
.hero-ctas .btn { min-width: 260px; min-height: 58px; font-size: 17px; }
.trust { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; margin-top: 20px; padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 14px; }
.trust span { display: inline-flex; align-items: center; gap: 6px; }
.trust .ic { color: var(--stamp); width: 16px; height: 16px; }

/* phone mockups */
.hero-visual { --pw: min(250px, 57vw); position: relative; height: calc(var(--pw) * 19 / 9 + 96px); margin: 36px auto 0; max-width: 520px; }
.hero-visual .phone { width: var(--pw); }
.hero-visual .mock-note { position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%); font-size: 12px; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; }
.phone { position: relative; width: 250px; aspect-ratio: 9 / 19; border-radius: 42px; padding: 9px; background: #0b0a09; border: 1px solid #3b362f; box-shadow: inset 0 0 0 2px #1d1a17, 0 30px 70px rgba(0, 0, 0, 0.55); }
.phone::before { content: ""; position: absolute; top: 18px; left: 50%; width: 72px; height: 22px; transform: translateX(-50%); border-radius: 20px; background: #050505; z-index: 3; }
.phone-screen { position: relative; height: 100%; border-radius: 34px; overflow: hidden; background: var(--bg); }
.phone-a { position: absolute; left: 0; top: 0; z-index: 2; transform: rotate(-3deg); }
.phone-b { position: absolute; right: 0; top: 70px; z-index: 1; transform: rotate(4deg); }
.mock-cover { position: relative; height: 42%; }
.mock-cover img { width: 100%; height: 100%; object-fit: cover; }
.mock-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(17, 15, 13, 0) 40%, var(--bg)); }
.mock-title { position: absolute; left: 0; right: 0; bottom: 8px; z-index: 1; text-align: center; font-family: var(--font-display); font-size: 21px; font-weight: 600; }
.mock-stats { display: grid; grid-template-columns: repeat(3, 1fr); padding: 6px 10px; text-align: center; }
.mock-stats div + div { border-left: 1px solid var(--line); }
.mock-stats b { display: block; font-family: var(--font-display); font-style: italic; font-size: 17px; line-height: 1.1; }
.mock-stats span { font-size: 10px; color: var(--muted); }
.mock-actions { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 6px; padding: 6px 12px; }
.mock-actions span { height: 30px; border-radius: 10px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); }
.mock-actions span:first-child { background: var(--paper); color: var(--ink); border: 0; }
.mock-actions .ic { width: 15px; height: 15px; }
.mock-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 4px 12px; }
.mock-grid img { aspect-ratio: 3 / 4; width: 100%; object-fit: cover; border-radius: 10px; }
.cm-head { display: flex; align-items: center; justify-content: space-between; padding: 40px 12px 8px; gap: 6px; }
.cm-head > span { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); }
.cm-head .ic { width: 14px; height: 14px; }
.cm-head div { text-align: center; line-height: 1.15; }
.cm-head b { font-family: var(--font-display); font-size: 14px; }
.cm-head small { display: block; font-size: 9.5px; color: var(--muted); }
.cm-view { position: relative; margin: 6px 10px 0; border-radius: 18px; overflow: hidden; aspect-ratio: 3 / 4; }
.cm-view img { width: 100%; height: 100%; object-fit: cover; }
.cm-zoom { position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%); display: flex; gap: 2px; padding: 3px; border-radius: 99px; background: rgba(0, 0, 0, 0.45); font-size: 9px; font-weight: 700; }
.cm-zoom i { font-style: normal; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; }
.cm-zoom i.on { background: rgba(255, 255, 255, 0.16); color: #ffd36b; }
.cm-bar { display: flex; align-items: center; justify-content: space-between; padding: 14px 14px 0; }
.cm-count { display: flex; align-items: center; justify-content: center; width: 54px; height: 44px; border-radius: 12px; background: var(--surface); }
.cm-shutter { width: 54px; height: 54px; border-radius: 50%; border: 3px solid var(--paper); display: grid; place-items: center; }
.cm-shutter::after { content: ""; width: 42px; height: 42px; border-radius: 50%; background: var(--paper); }
.cm-thumb { width: 44px; height: 44px; border-radius: 12px; overflow: hidden; border: 1.5px solid var(--line); }
.cm-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* how it works: a strip of film */
.how-grid { display: grid; gap: 36px; }
.strip { position: relative; background: #1e140d; border-radius: 6px; padding: 26px 46px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35); }
.strip::before, .strip::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='24'%3E%3Crect x='0' y='6' width='16' height='12' rx='3' fill='%23110F0D'/%3E%3C/svg%3E");
  background-repeat: repeat-y;
}
.strip::before { left: 12px; }
.strip::after { right: 12px; }
.strip-edge { position: absolute; top: 0; bottom: 0; width: 14px; writing-mode: vertical-rl; display: flex; justify-content: space-around; font-size: 10px; font-weight: 700; letter-spacing: 0.18em; color: var(--stamp); opacity: 0.85; white-space: nowrap; overflow: hidden; }
.strip-edge.l { left: 31px; transform: rotate(180deg); }
.strip-edge.r { right: 31px; }
.strip ol { display: grid; gap: 22px; }
.frame-row { display: grid; gap: 14px; }
.frame-img { position: relative; border-radius: 4px; overflow: hidden; aspect-ratio: 4 / 3; background: #0d0a08; }
.frame-img img { width: 100%; height: 100%; object-fit: cover; }
.frame-img.qr-frame { display: grid; place-items: center; background: #2a2018; }
.frame-img.qr-frame img { width: auto; height: 92%; object-fit: contain; border-radius: 6px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45); transform: rotate(-3deg); }
.frame-chip { position: absolute; left: 12px; bottom: 12px; }
.frame-chip.chip { background: rgba(17, 15, 13, 0.6); color: var(--paper); border-color: rgba(255, 255, 255, 0.16); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.frame-chip .ic { color: var(--stamp); }
.frame-no { font-size: 12px; font-weight: 800; letter-spacing: 0.2em; color: var(--stamp); }
.frame-text h3 { font-family: var(--font-display); font-size: 26px; margin: 4px 0 6px; }
.frame-text p { color: #cfc6b8; font-size: 15px; }

/* presets */
.preset-layout { display: grid; gap: 22px; margin-top: 30px; }
.compare { --pos: 50%; position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; background: #1d1a16; user-select: none; touch-action: pan-y; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare-after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos)); }
.compare-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--paper); pointer-events: none; }
.compare-line::after { content: "‹ ›"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 44px; height: 44px; border-radius: 50%; background: var(--paper); color: var(--ink); display: grid; place-items: center; font-weight: 800; font-size: 15px; letter-spacing: 0.1em; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35); }
.compare-tag { position: absolute; bottom: 14px; padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; pointer-events: none; }
.compare-tag.before { left: 14px; }
.compare-tag.after { right: 14px; color: var(--stamp); }
.compare-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.compare:focus-within .compare-line::after { outline: 2px solid var(--stamp); outline-offset: 3px; }
.base-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.base-chips .chip { cursor: pointer; }
.preset-cams { display: flex; gap: 10px; overflow-x: auto; padding: 6px 2px 10px; scrollbar-width: none; }
.preset-cams::-webkit-scrollbar { display: none; }
.cam-pick { position: relative; flex: none; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 12px 10px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); font-size: 13px; font-weight: 600; color: var(--muted); transition: border-color .2s, transform .2s; }
.cam-pick.is-on { border-color: var(--stamp); background: var(--stamp-soft); color: var(--paper); }
.cam-pick.is-on .cam-svg { filter: drop-shadow(0 6px 18px rgba(255, 143, 58, 0.35)); }
.cam-pick .rec-dot { position: absolute; top: -8px; right: -6px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--stamp); color: var(--ink); }
.cam-pick .rec-dot .ic { width: 14px; height: 14px; }
.preset-info { padding: 22px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); }
.preset-info h3 { font-size: 22px; font-weight: 800; color: var(--stamp); }
.preset-info .tag { color: var(--paper); font-weight: 600; margin: 4px 0 10px; }
.preset-info p { color: #cfc6b8; }
.preset-info .best { margin-top: 12px; font-size: 14px; color: var(--muted); }
.preset-info .best b { color: var(--paper); }

/* event types */
.type-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.type-card { position: relative; display: block; border-radius: 22px; overflow: hidden; aspect-ratio: 1 / 0.9; border: 1px solid var(--line); text-align: left; background: #1d1a16; transition: transform .2s, border-color .2s; }
.type-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.type-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(17, 15, 13, 0.1) 30%, rgba(17, 15, 13, 0.85)); }
.type-card .type-ic { position: absolute; top: 12px; left: 12px; z-index: 1; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; }
.type-card .type-name { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 1; font-weight: 700; font-size: 18px; line-height: 1.2; }
.type-card .type-desc { display: block; font-weight: 500; font-size: 13px; color: #d7cfc2; margin-top: 2px; }
.type-card.is-on { border-color: var(--stamp); box-shadow: 0 0 0 2px var(--stamp); }
button.type-card:hover { transform: translateY(-2px); }

/* features */
.feat-grid { display: grid; gap: 12px; margin-top: 30px; }
.feat { padding: 22px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); }
.feat .feat-ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--stamp-soft); color: var(--stamp); margin-bottom: 14px; }
.feat h3 { font-size: 18px; margin-bottom: 4px; }
.feat p { color: var(--muted); font-size: 15px; }

/* pricing */
.price-card { margin-top: 30px; padding: 26px 22px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 20px; }
.price-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.price-n { font-size: 15px; color: var(--muted); font-weight: 600; }
.price-v { font-family: var(--font-display); font-size: clamp(40px, 11vw, 60px); font-weight: 600; line-height: 1; }
.price-v small { font-family: var(--font-body); font-size: 15px; color: var(--muted); font-weight: 500; margin-left: 6px; }
input[type="range"].range { width: 100%; accent-color: var(--stamp); height: 32px; }
.range-scale { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; margin-top: -4px; }
.incl { display: grid; gap: 10px; }
.incl li { display: flex; gap: 10px; align-items: center; font-size: 15px; }
.incl .ic { color: var(--stamp); }

/* faq */
.faq { margin-top: 26px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 20px 2px; font-weight: 600; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; color: var(--stamp); transition: transform .2s; flex: none; line-height: 1; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 2px 20px; max-width: 62ch; }

.closing { text-align: center; padding: 84px 0 70px; }
.closing h2 { font-family: var(--font-display); font-size: clamp(34px, 8.6vw, 60px); line-height: 1.04; max-width: 17ch; margin: 0 auto; }
.closing p { color: var(--muted); max-width: 46ch; margin: 16px auto 0; }
.closing .btn { margin-top: 26px; min-width: 260px; min-height: 58px; }
.closing small { display: block; margin-top: 14px; color: var(--muted); font-size: 13px; }
.footer { border-top: 1px solid var(--line); padding: 36px 0 44px; display: grid; gap: 22px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: 14px; }
.footer-links button:hover { color: var(--paper); }
.footer small { color: var(--muted); font-size: 13px; }
.footer .tagline { font-family: var(--font-display); font-style: italic; font-size: 20px; margin-top: 6px; }
.footer .credit { grid-column: 1 / -1; padding-top: 20px; border-top: 1px solid var(--line); text-align: center; font-size: 14px; color: var(--muted); }
.footer .credit span { color: var(--paper); font-weight: 600; }

/* ---------- app screens ---------- */
.screen { width: 100%; max-width: 560px; margin: 0 auto; padding: 18px 20px 24px; display: flex; flex-direction: column; flex: 1; gap: 18px; }
.w-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.w-head { text-align: center; display: grid; gap: 10px; justify-items: center; padding-top: 6px; }
.w-title { font-family: var(--font-display); font-size: clamp(30px, 8.6vw, 42px); line-height: 1.06; letter-spacing: -0.01em; }
.w-sub { color: var(--muted); max-width: 36ch; }
.w-body { display: grid; gap: 16px; }
.w-foot { position: sticky; bottom: 0; z-index: 5; margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0 calc(10px + env(safe-area-inset-bottom)); background: linear-gradient(to top, var(--bg) 72%, rgba(17, 15, 13, 0)); }
.w-foot .btn { min-width: 132px; }
.dots { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.dots i { width: 7px; height: 7px; border-radius: 99px; background: var(--line); transition: width .25s, background .25s; }
.dots i.done { background: #75695b; }
.dots i.on { width: 24px; background: var(--paper); }

.opt-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.opt { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 62px; padding: 0 14px; border-radius: 18px; border: 1.5px solid var(--line); background: var(--surface); font-weight: 600; color: var(--muted); transition: all .2s; }
.opt.is-on, .opt-card.is-on, .film-box.is-on, .cover-pick.is-on { border-color: var(--stamp); background: var(--stamp-soft); color: var(--stamp); }
.opt-card { display: grid; gap: 6px; text-align: left; padding: 18px; border-radius: 20px; border: 1.5px solid var(--line); background: var(--surface); align-content: start; transition: all .2s; }
.opt-card b { font-size: 18px; color: var(--paper); }
.opt-card span { font-size: 14px; color: var(--muted); }
.opt-card.is-on span { color: var(--stamp); }
.seg { display: flex; gap: 4px; padding: 4px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); }
.seg button { flex: 1; min-height: 44px; border-radius: 12px; font-weight: 600; font-size: 14px; color: var(--muted); padding: 0 8px; }
.seg button.is-on { background: var(--paper); color: var(--ink); }

.field { display: grid; gap: 8px; }
.field > span { font-size: 13px; font-weight: 700; color: var(--muted); letter-spacing: 0.04em; }
.field input { width: 100%; min-height: 54px; padding: 0 16px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--surface); color: var(--paper); font-size: 16px; }
.field input:focus { outline: none; border-color: var(--stamp); }
.field input { -webkit-appearance: none; appearance: none; text-align: left; }
.field input::-webkit-date-and-time-value { text-align: left; }
.field input::placeholder { color: #6f675c; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form { display: grid; gap: 16px; }
.form-err { color: #ff9f8a; font-size: 14px; min-height: 1px; }
.form-err:empty { display: none; }

.switch-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); cursor: pointer; position: relative; }
.switch-row b { display: block; font-size: 16px; }
.switch-row small { color: var(--muted); font-size: 14px; }
.switch-row.big b { font-size: 18px; }
.switch-row input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch { position: relative; flex: none; width: 58px; height: 34px; border-radius: 99px; background: var(--line); transition: background .2s; }
.switch::after { content: ""; position: absolute; top: 4px; left: 4px; width: 26px; height: 26px; border-radius: 50%; background: #8d8478; transition: transform .2s, background .2s; }
.switch-row input:checked + .switch { background: var(--paper); }
.switch-row input:checked + .switch::after { transform: translateX(24px); background: var(--ink); }
.switch-row input:focus-visible + .switch { outline: 2px solid var(--stamp); outline-offset: 3px; }

/* camera step */
.fan { position: relative; height: 330px; margin-top: 4px; }
.fan-card { position: absolute; top: 18px; width: 54%; aspect-ratio: 3 / 4; border-radius: 22px; overflow: hidden; box-shadow: 0 24px 50px rgba(0, 0, 0, 0.55); background: #1d1a16; }
.fan-card img { width: 100%; height: 100%; object-fit: cover; }
.fan-card.l { left: 4%; transform: rotate(-9deg); opacity: 0.85; }
.fan-card.r { right: 4%; transform: rotate(9deg); opacity: 0.85; }
.fan-card.c { left: 23%; top: 0; z-index: 2; }
.fan-label { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 10px 14px; text-align: center; background: linear-gradient(to top, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0)); }
.fan-label span { display: block; color: #ffc46b; font-weight: 800; font-size: 14px; }
.fan-label small { color: #e2d9cb; font-size: 12px; }
.cam-row { display: flex; gap: 10px; overflow-x: auto; padding: 10px 2px; scrollbar-width: none; }
.cam-row::-webkit-scrollbar { display: none; }
.cam-info { text-align: center; display: grid; gap: 8px; justify-items: center; }
.cam-info h2 { font-size: 24px; font-weight: 800; }
.cam-info p { color: var(--muted); max-width: 38ch; }
.rec { display: inline-flex; align-items: center; gap: 8px; color: var(--stamp); font-weight: 700; font-size: 15px; padding: 6px 4px; }
.rec .ic { width: 18px; height: 18px; }

/* reveal step */
.reveal-demo { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.rv-card { position: relative; margin: 0; border-radius: 22px; overflow: hidden; aspect-ratio: 3 / 4; background: #1d1a16; }
.rv-card img { width: 100%; height: 100%; object-fit: cover; transition: filter .4s, transform .4s; }
.rv-card figcaption { position: absolute; top: 12px; left: 12px; padding: 4px 12px; border-radius: 999px; background: rgba(0, 0, 0, 0.45); font-size: 14px; font-weight: 600; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.is-after .rv-card img { filter: blur(16px) brightness(0.4) saturate(0.5); transform: scale(1.15); }
.dev-overlay { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 8px; color: #ffc48a; font-weight: 600; font-size: 14px; }
.rv-pill { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px; background: rgba(17, 15, 13, 0.82); border: 1px solid rgba(255, 255, 255, 0.12); font-weight: 600; font-size: 14px; white-space: nowrap; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }

/* cover step */
.cover-wrap { display: grid; gap: 18px; justify-items: center; padding: 18px; border-radius: var(--r-lg); border: 1px solid var(--line); background: #151310; }
.phone-sm { width: 220px; border-radius: 36px; padding: 7px; }
.phone-sm::before { top: 14px; width: 60px; height: 18px; }
.phone-sm .phone-screen { border-radius: 30px; }
.cover-ctrl { width: 100%; display: grid; gap: 14px; }
.cover-row { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 6px; scrollbar-width: none; }
.cover-row::-webkit-scrollbar { display: none; }
.cover-pick { flex: none; width: 60px; height: 76px; border-radius: 12px; overflow: hidden; border: 2px solid var(--line); padding: 0; }
.cover-pick img { width: 100%; height: 100%; object-fit: cover; }

/* mini join preview + real join view share these */
.jp { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 14px 12px 16px; gap: 7px; text-align: center; }
.jp-bg { position: absolute; inset: 0; }
.jp-bg img { width: 100%; height: 100%; object-fit: cover; }
.jp-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(17, 15, 13, 0.05) 25%, rgba(17, 15, 13, 0.55) 55%, rgba(17, 15, 13, 0.95)); }
.jp > *:not(.jp-bg) { position: relative; }
.jp-pill { align-self: center; display: inline-flex; gap: 4px; align-items: center; font-size: 9px; padding: 4px 10px; border-radius: 99px; background: rgba(255, 255, 255, 0.16); }
.jp-pill .ic { width: 10px; height: 10px; }
.jp-title { font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: 22px; line-height: 1.05; }
.jp-meta { font-size: 8.5px; color: #ddd3c5; display: flex; justify-content: center; gap: 10px; }
.jp-input { height: 30px; border-radius: 10px; background: rgba(255, 255, 255, 0.14); font-size: 9.5px; color: #cfc6b8; display: flex; align-items: center; padding: 0 10px; }
.jp-btn { height: 30px; border-radius: 10px; background: rgba(255, 255, 255, 0.22); font-size: 10px; font-weight: 700; display: grid; place-items: center; }

/* frame step */
.frame-preview { display: grid; place-items: center; padding: 18px; border-radius: var(--r-lg); background: #151310; border: 1px solid var(--line); min-height: 300px; }
.frame-preview img { max-height: 340px; width: auto; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5); }

/* shots step */
.box-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.film-box { position: relative; display: grid; gap: 2px; justify-items: start; padding: 16px 16px 14px; border-radius: 18px; border: 1.5px solid var(--line); background: var(--surface); overflow: hidden; text-align: left; transition: all .2s; }
.film-box::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px; background: var(--box, var(--stamp)); }
.fb-n { font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: 46px; line-height: 1; color: var(--paper); margin-top: 6px; }
.fb-exp { font-size: 12px; font-weight: 800; letter-spacing: 0.22em; color: var(--muted); }
.fb-l { font-size: 14px; font-weight: 600; color: var(--muted); margin-top: 6px; }
.film-box.is-on .fb-exp, .film-box.is-on .fb-l { color: var(--stamp); }

/* visibility step */
.vis-phone { margin: 0 auto; }
.vp { padding: 38px 12px 12px; display: grid; gap: 9px; }
.vp-head { display: flex; gap: 8px; align-items: center; }
.vp-head .ic { width: 14px; height: 14px; }
.vp-head b { display: block; font-size: 12px; line-height: 1.2; }
.vp-head small { font-size: 9.5px; color: var(--muted); }
.vp-chip { display: flex; align-items: center; gap: 6px; font-size: 10px; padding: 7px 10px; border-radius: 10px; border: 1px solid var(--line); }
.vp-chip .ic { width: 12px; height: 12px; color: var(--stamp); }
.vp-label { font-size: 9px; letter-spacing: 0.16em; font-weight: 700; color: var(--muted); text-transform: uppercase; }
.vp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.vp-grid img, .vp-lock { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 9px; }
.vp-lock { display: grid; place-items: center; background: repeating-linear-gradient(135deg, #1d1a16 0 6px, #191612 6px 12px); color: #6c6459; }
.vp-lock .ic { width: 16px; height: 16px; }

/* guests step */
.tier-display { text-align: center; padding: 22px 16px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.tier-n { display: block; font-weight: 700; color: var(--muted); }
.tier-price { display: block; font-family: var(--font-display); font-size: 52px; font-weight: 600; line-height: 1.1; margin-top: 4px; }
.tier-display small { color: var(--muted); }

/* summary */
.sum { display: grid; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--surface); overflow: hidden; }
.sum-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; }
.sum-row + .sum-row { border-top: 1px solid var(--line); }
.sum-row dt { font-size: 13px; color: var(--muted); }
.sum-row dd { margin: 2px 0 0; font-weight: 600; }
.sum-row button { color: var(--stamp); font-weight: 700; font-size: 14px; padding: 6px 2px; }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; padding: 4px 4px 0; }
.sum-total b { font-family: var(--font-display); font-size: 28px; }

/* ready page */
.ready-meta { display: flex; gap: 10px; align-items: center; justify-content: center; flex-wrap: wrap; }
.tpl-carousel { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px calc(50% - 115px) 14px; margin: 0 -20px; scrollbar-width: none; }
.tpl-carousel::-webkit-scrollbar { display: none; }
.tpl { flex: 0 0 230px; margin: 0; scroll-snap-align: center; display: grid; gap: 10px; justify-items: center; transition: transform .25s, opacity .25s; opacity: 0.55; transform: scale(0.92); }
.tpl.is-on { opacity: 1; transform: none; }
.tpl img { width: 100%; height: 345px; object-fit: contain; border-radius: 14px; background: transparent; }
.tpl figcaption { font-size: 13px; color: var(--muted); font-weight: 600; }
.tpl.is-on figcaption { color: var(--paper); }
.dots.center { justify-content: center; }
.link-box { width: 100%; min-height: 48px; padding: 0 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); color: var(--paper); font-size: 16px; }

/* dashboard */
.dash { padding-top: 0; }
.dash-cover { position: relative; margin: 0 -20px; height: 330px; overflow: hidden; }
.dash-cover > img { width: 100%; height: 100%; object-fit: cover; }
.dash-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(17, 15, 13, 0.25), rgba(17, 15, 13, 0) 30%, rgba(17, 15, 13, 0.6) 70%, var(--bg)); }
.dash-top { position: absolute; top: 16px; left: 20px; right: 20px; z-index: 2; display: flex; justify-content: space-between; align-items: center; }
.dash-title { position: absolute; left: 20px; right: 20px; bottom: 14px; z-index: 2; text-align: center; }
.dash-title p { font-size: 13px; color: #d9cfc1; font-weight: 600; letter-spacing: 0.04em; }
.dash-title h1 { font-family: var(--font-display); font-size: clamp(30px, 8.6vw, 42px); line-height: 1.05; margin-top: 4px; }
.dash-stats { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; }
.dash-stats > div + div { border-left: 1px solid var(--line); }
.dash-stats b { display: block; font-family: var(--font-display); font-style: italic; font-size: 26px; line-height: 1.15; font-variant-numeric: tabular-nums; }
.dash-stats span { font-size: 13px; color: var(--muted); }
.dash-actions { display: flex; gap: 10px; }
.dash-actions .act-cam { flex: 1; }
.dash-links { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; margin-top: -6px; }
.banner { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 14px 16px; border-radius: 18px; border: 1px solid rgba(255, 143, 58, 0.35); background: var(--stamp-soft); }
.banner p { display: flex; gap: 8px; align-items: center; font-size: 14px; color: #ffd2ae; }
.banner .ic { color: var(--stamp); }
.album { display: grid; gap: 12px; }
.album-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; min-height: 40px; }
.sel-ctrl { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.chips-scroll { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.chips-scroll::-webkit-scrollbar { display: none; }
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.tile { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: 16px; overflow: hidden; background: #1d1a16; padding: 0; text-align: left; }
.tile img { width: 100%; height: 100%; object-fit: cover; }
.tile-by { position: absolute; left: 8px; bottom: 8px; padding: 3px 10px; border-radius: 999px; background: rgba(0, 0, 0, 0.5); font-size: 12px; font-weight: 600; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); max-width: calc(100% - 16px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tile-check { position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; border-radius: 50%; border: 2px solid #fff; display: grid; place-items: center; background: rgba(0, 0, 0, 0.3); }
.tile.is-sel { outline: 3px solid var(--stamp); outline-offset: -3px; }
.tile.is-sel .tile-check { background: var(--stamp); border-color: var(--stamp); color: var(--ink); }
.tile.dev { display: grid; place-content: center; justify-items: center; gap: 6px; background: repeating-linear-gradient(135deg, #241a12 0 10px, #1f160f 10px 20px); color: #ffb57a; }
.tile.dev .dev-by { font-size: 12px; color: #c9b39b; }
.demo-note { display: flex; gap: 8px; align-items: center; justify-content: center; color: #7d7468; font-size: 12px; text-align: center; padding: 6px 0 10px; }
.host-note { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 10px 14px; border-radius: 14px; background: var(--surface); border: 1px dashed var(--line); font-size: 14px; color: var(--muted); }
.host-note .link-btn { color: var(--stamp); }

/* my events */
.ev-list { display: grid; gap: 12px; }
.ev-card { display: grid; grid-template-columns: 84px 1fr auto; gap: 14px; align-items: center; padding: 10px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); text-align: left; width: 100%; }
.ev-card img { width: 84px; height: 100px; object-fit: cover; border-radius: 14px; }
.ev-card h3 { font-family: var(--font-display); font-size: 20px; line-height: 1.15; }
.ev-card p { color: var(--muted); font-size: 13px; margin-top: 4px; }
.ev-card .chip { font-size: 12px; padding: 4px 10px; margin-top: 8px; }
.ev-card .chip.live { color: #8fe0a8; border-color: rgba(143, 224, 168, 0.4); }
.ev-card > .ic { color: var(--muted); }

/* guest join */
.join { position: relative; flex: 1; min-height: 640px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.join-bg { position: absolute; inset: 0; }
.join-bg img { width: 100%; height: 100%; object-fit: cover; }
.join-fade { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(17, 15, 13, 0.15) 0%, rgba(17, 15, 13, 0.1) 30%, rgba(17, 15, 13, 0.7) 60%, rgba(17, 15, 13, 0.97) 88%); }
.join-top { position: absolute; top: 18px; right: 18px; z-index: 2; }
.join-body { position: relative; z-index: 1; width: 100%; max-width: 520px; margin: 0 auto; padding: 0 22px calc(30px + env(safe-area-inset-bottom)); display: grid; gap: 16px; justify-items: center; text-align: center; }
.join-body .pill { display: inline-flex; gap: 8px; align-items: center; padding: 10px 18px; border-radius: 999px; font-size: 15px; font-weight: 500; }
.join-title { font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: clamp(44px, 13vw, 76px); line-height: 1; letter-spacing: -0.02em; text-shadow: 0 2px 30px rgba(0, 0, 0, 0.35); }
.join-meta { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; color: #e3dacd; font-size: 15px; }
.join-meta span { display: inline-flex; align-items: center; gap: 6px; }
.join-form { width: 100%; display: grid; gap: 12px; margin-top: 6px; }
.join-input { display: flex; align-items: center; gap: 10px; height: 58px; padding: 0 18px; border-radius: 18px; background: rgba(255, 255, 255, 0.13); border: 1px solid rgba(255, 255, 255, 0.16); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: #d8cfc2; }
.join-input input { flex: 1; min-width: 0; height: 100%; background: none; border: 0; color: #fff; font-size: 17px; }
.join-input input::placeholder { color: rgba(255, 255, 255, 0.55); }
.join-input input:focus { outline: none; }
.join-input:focus-within { border-color: var(--stamp); }
.join-form .btn { min-height: 58px; font-size: 17px; }

/* camera */
.camera { gap: 14px; padding-bottom: calc(16px + env(safe-area-inset-bottom)); }
.cam-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cam-title { text-align: center; min-width: 0; line-height: 1.2; }
.cam-title b { display: block; font-family: var(--font-display); font-size: 21px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cam-title small { color: var(--muted); font-size: 14px; }
.viewfinder { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 3 / 4; background: #050505; width: 100%; max-height: 62vh; margin: 0 auto; }
.viewfinder video, .vf-native, .vf-native img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.viewfinder video { display: none; transform-origin: center; }
.viewfinder[data-mode="live"] video { display: block; }
.viewfinder[data-mode="live"] .vf-native { display: none; }
.vf-native { cursor: pointer; }
.vf-native img { filter: brightness(0.45) blur(1px); transform: scale(1.03); }
.vf-native-msg { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 8px; padding: 30px; text-align: center; }
.vf-native-msg b { font-size: 17px; }
.vf-native-msg small { color: #d4cabc; font-size: 14px; max-width: 30ch; }
.vf-native-msg .ic { width: 34px; height: 34px; color: var(--stamp); }
.vf-grain { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.45)); }
.vf-btn { position: absolute; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(0, 0, 0, 0.35); color: #fff; z-index: 2; }
.vf-flash { top: 14px; left: 14px; }
.vf-flash.is-on { color: #ffd36b; }
.vf-flip { right: 14px; bottom: 14px; }
.vf-preset { position: absolute; top: 26px; right: 18px; z-index: 2; font-size: 11px; font-weight: 800; color: #ffc46b; letter-spacing: 0.2em; }
.vf-zoom { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 2; display: flex; gap: 4px; padding: 4px; border-radius: 99px; background: rgba(0, 0, 0, 0.4); }
.viewfinder[data-mode="native"] .vf-zoom, .viewfinder[data-mode="native"] .vf-flip { display: none; }
.vf-zoom button { width: 40px; height: 40px; border-radius: 50%; font-weight: 700; font-size: 13px; color: #fff; }
.vf-zoom button.is-on { background: rgba(255, 255, 255, 0.16); color: #ffd36b; }
.vf-flashfx { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; z-index: 4; }
.vf-flashfx.go { animation: flashfx .45s ease-out; }
@keyframes flashfx { 0% { opacity: 0.95; } 100% { opacity: 0; } }
.cam-msg { text-align: center; color: var(--muted); font-size: 14px; min-height: 0; }
.cam-msg:empty { display: none; }
.cam-bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; }
.cam-count { justify-self: start; display: flex; align-items: center; gap: 8px; height: 66px; padding: 0 14px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.cam-count .ic { color: var(--muted); width: 18px; height: 18px; }
.cam-count small { color: var(--muted); font-size: 12px; line-height: 1.1; }

svg.lcd { filter: drop-shadow(0 0 6px rgba(255, 143, 58, 0.55)); }
.shutter { width: 84px; height: 84px; border-radius: 50%; border: 4px solid var(--paper); display: grid; place-items: center; transition: transform .12s; }
.shutter span { width: 66px; height: 66px; border-radius: 50%; background: var(--paper); transition: transform .12s; }
.shutter:active:not(:disabled) span { transform: scale(0.9); }
.shutter.busy span { animation: pulse 1s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(0.82); opacity: 0.6; } }
.cam-thumb { justify-self: end; width: 66px; height: 66px; border-radius: 16px; overflow: hidden; border: 1.5px dashed #4a443c; display: grid; place-items: center; color: #ffb57a; }
.cam-thumb.has { border-style: solid; border-color: var(--line); }
.cam-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cam-thumb .ic { width: 22px; height: 22px; }
.camera > .link-btn { align-self: center; }

/* guest gallery */
.roll { display: grid; gap: 10px; }
.roll-count { font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.roll-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.roll-strip .tile { border-radius: 12px; }

/* ---------- overlays ---------- */
.sheet-backdrop { position: fixed; inset: 0; z-index: 50; background: rgba(5, 4, 3, 0.62); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); animation: fade .2s ease; }
.sheet { position: fixed; z-index: 51; left: 0; right: 0; bottom: 0; max-width: 560px; margin: 0 auto; max-height: 90%; overflow-y: auto; background: var(--surface); border: 1px solid var(--line); border-bottom: 0; border-radius: 28px 28px 0 0; padding: 12px 20px calc(24px + env(safe-area-inset-bottom)); animation: up .28s cubic-bezier(.2, .8, .2, 1); }
.sheet-grip { width: 42px; height: 5px; border-radius: 9px; background: var(--line); margin: 0 auto 14px; }
.sheet-title { font-family: var(--font-display); font-size: 28px; margin-bottom: 6px; }
.sheet-body { display: grid; gap: 14px; }
.sheet .tpl-carousel { margin: 0 -20px; }
@keyframes up { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fade { from { opacity: 0; } }
.menu { display: grid; gap: 4px; }
.menu > button:not(.btn) { text-align: left; padding: 15px 4px; font-size: 18px; font-weight: 600; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.menu > button:not(.btn) .ic { color: var(--muted); }
.menu .row-between { padding: 16px 4px; }
.menu .btn { margin-top: 10px; }
.pay-list { display: grid; gap: 8px; }
.pay-opt { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--line); cursor: pointer; font-weight: 600; }
.pay-opt:has(input:checked) { border-color: var(--stamp); background: var(--stamp-soft); }
.pay-opt input { accent-color: var(--stamp); width: 18px; height: 18px; }
.save-img { max-height: 60vh; margin: 0 auto; border-radius: 12px; }

.viewer { position: fixed; inset: 0; z-index: 60; background: #050404; display: flex; flex-direction: column; animation: fade .2s ease; }
.viewer-top, .viewer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; }
.viewer-top span { color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; }
.viewer-stage { position: relative; flex: 1; min-height: 0; display: grid; place-items: center; padding: 0 10px; touch-action: pan-y; }
.viewer-stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; background: transparent; }
.viewer-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.1); z-index: 2; }
.viewer-nav.prev { left: 10px; }
.viewer-nav.next { right: 10px; }
.viewer-bottom { padding-bottom: calc(18px + env(safe-area-inset-bottom)); }
.viewer-bottom b { display: block; font-size: 17px; }
.viewer-bottom small { color: var(--muted); font-size: 13px; }
.viewer-acts { display: flex; gap: 8px; align-items: center; }
.toast { position: fixed; left: 50%; bottom: calc(26px + env(safe-area-inset-bottom)); z-index: 80; transform: translate(-50%, 20px); max-width: calc(100% - 32px); padding: 12px 18px; border-radius: 14px; background: var(--paper); color: var(--ink); font-weight: 600; font-size: 14px; box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- wider screens ---------- */
@media (min-width: 640px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .feat-grid { grid-template-columns: 1fr 1fr; }
  .hero-ctas { flex-direction: row; justify-content: center; }
  .type-grid.land { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px) {
  .nav-links { display: flex; }
  .hero { padding-top: 64px; }
  .how-grid { grid-template-columns: 0.9fr 1.1fr; align-items: start; gap: 60px; }
  .how-grid .sec-head { position: sticky; top: 120px; }
  .preset-layout { grid-template-columns: 1.05fr 0.95fr; align-items: start; gap: 34px; }
  .feat-grid { grid-template-columns: repeat(3, 1fr); }
  .price-card { grid-template-columns: 1.1fr 0.9fr; align-items: center; padding: 34px; }
  .footer { grid-template-columns: 1fr auto; align-items: end; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ---------- utilities ---------- */
.stack { display: grid; gap: 16px; }
.stack-sm { display: grid; gap: 10px; }
.mt-30 { margin-top: 30px; }
.hint-center { justify-content: center; text-align: center; }
.center-self { align-self: center; }
.spacer { width: 46px; }
.confirm-msg { font-size: 19px; font-weight: 600; line-height: 1.4; padding: 6px 2px 4px; }
.join-back { position: absolute; top: 18px; left: 18px; z-index: 2; }
body.locked { overflow: hidden; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
fieldset legend { padding: 0; margin-bottom: 10px; }
section[id] { scroll-margin-top: 96px; }
.tpl-carousel { position: relative; }
.saya .w-title { text-align: left; }

.nav-right .btn, .act-cam, .w-foot .btn, .btn-small, .btn-pill, .sel-ctrl .btn { white-space: nowrap; }
.dash-actions .act-cam { padding: 0 16px; min-width: 0; }
@media (min-width: 640px) { section.block { padding: 72px 0; } }
