/* Guest camera page: the landing page's design language as a layer on app.css.
   Only guest.html loads this. Layout, the camera stage and every control keep
   app.css's geometry, so nothing a guest taps moves; this changes colour, type
   and surfaces. The intro is warm black like the landing page; the sheets that
   pop over the camera (review, notes, out-of-film) are paper. */

/* app.css paints <html> too; only the guest page loads this file. */
html { background: #12100e; }

body.guest {
  --ink: #1d1915;
  --muted: #5f564b;
  --line: #ddd1bf;
  --panel: #fbf7f0;
  --panel2: #ece3d4;
  --cream: #f3ece1;
  --amber: #d4ae72;            /* app.css fill colour for buttons, chips, progress */
  --amber-ink: #8a6530;
  --kicker: #d4ae72;
  --gold: #d4ae72;
  --gold-hi: #e6c58f;
  --shell: #12100e;
  --ivory: #f4ede2;
  --ivory-muted: rgba(244, 237, 226, .66);
  --font-display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  background: var(--shell);
  color: var(--ivory);
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.guest a { color: var(--gold-hi); }

/* ---------------------------------------------------------------- buttons
   Scoped to the intro and the sheets: the camera stage keeps its own controls
   (white shutter, glass buttons) from app.css. */
.guest .guest-intro button, .guest .guest-intro .btn, .guest .overlay button, .guest .overlay .btn {
  background: var(--gold); color: var(--shell); box-shadow: none; font-weight: 700;
}
.guest .guest-intro button:hover, .guest .overlay button:hover, .guest .overlay .btn:hover { filter: none; background: var(--gold-hi); }
.guest .overlay button.ghost, .guest .overlay .btn.ghost {
  background: transparent; color: var(--ink); border: 1px solid var(--line);
}
body.guest :focus-visible { outline-color: var(--gold); }

/* ---------------------------------------------------------------- intro */
.guest .guest-intro { padding-top: 42px; }
.guest .guest-intro .kicker { color: var(--gold); letter-spacing: .26em; font-weight: 600; }
.guest .guest-couple {
  font-family: var(--font-display); font-weight: 600; color: var(--ivory);
  font-size: clamp(40px, 11vw, 56px); line-height: 1.02; letter-spacing: -.01em;
}
.guest .guest-date { color: var(--ivory-muted); }
.guest .guest-date .rule { background: rgba(212, 174, 114, .45); }
.guest .card {
  background: var(--panel); color: var(--ink); border: 0; border-radius: 22px;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7);
}
.guest .card .muted { color: var(--muted); }
.guest .guest-card #welcome { font-family: var(--font-display); font-size: 21px; line-height: 1.35; font-style: italic; }
.guest .film-quota { background: var(--cream); border: 1px dashed #d8c7a8; border-radius: 16px; }
.guest .film-quota-num b { font-family: "Manrope", sans-serif; font-weight: 300; color: var(--ink); font-size: 56px; letter-spacing: -.03em; }
.guest .guest-label { color: var(--ink); font-weight: 600; }
.guest input, .guest textarea { background: #fff; border-color: var(--line); border-radius: 14px; }
.guest input:focus, .guest textarea:focus { outline-color: var(--gold); border-color: var(--gold); }
.guest #startCam { min-height: 56px; font-size: 17px; letter-spacing: .01em; }
.guest .guest-intro > .muted, .guest .guest-foot { color: var(--ivory-muted); }
.guest .guest-intro > .muted a { color: var(--gold-hi); }
.guest .card h2 { font-family: var(--font-display); font-weight: 600; font-size: 26px; }
.guest .err { color: #e9a090; }
.guest .card .err { color: #a8473a; }

/* ---------------------------------------------------------------- camera stage */
.stage .vig { position: absolute; inset: 0; pointer-events: none; z-index: 0; }   /* above the video, under the controls */
.guest .film-progress i { background: var(--gold); }
.guest .filmchip {
  background: rgba(18, 16, 14, .55); color: var(--ivory); border: 1px solid rgba(244, 237, 226, .22);
  font-weight: 600; letter-spacing: .01em;
}
.guest .filmchip.on { background: var(--gold); color: var(--shell); border-color: var(--gold); }
.guest .zoomctl button.on, .guest .stage-btn.tool.on { background: var(--gold); color: var(--shell); border-color: var(--gold); }
.guest .queue.wait { background: rgba(212, 174, 114, .95); color: var(--shell); }
.guest .toast { background: rgba(18, 16, 14, .85); color: var(--ivory); border: 1px solid rgba(212, 174, 114, .4); }
.guest .filmcount b { color: var(--gold-hi); }

/* ---------------------------------------------------------------- sheets over the camera */
.guest .overlay { background: rgba(12, 10, 9, .9); }
.guest .overlay .card { color: var(--ink); }
.guest .done-card .kicker { color: var(--amber-ink); }
.guest .done-card h2 { font-size: 34px; }

.review-frame { position: relative; border-radius: 14px; overflow: hidden; background: #000; }
.review-frame img { display: block; width: 100%; max-height: 52vh; object-fit: contain; }
.review-frame .vig { position: absolute; inset: 0; pointer-events: none; }
.review-tag {
  position: absolute; left: 10px; bottom: 10px; padding: 5px 10px; border-radius: 999px;
  background: rgba(18, 16, 14, .7); color: var(--gold-hi); font-size: 11px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
}
.review-hint { margin: 12px 0 8px; font-size: 12px; color: var(--muted); text-align: center; }
.rfilms { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.rfilms::-webkit-scrollbar { display: none; }
body.guest .rfilms .rfilm {
  flex: 0 0 auto; padding: 8px 13px; font-size: 12px; font-weight: 600; border-radius: 999px;
  background: var(--panel2); color: var(--ink); border: 1px solid transparent;
}
body.guest .rfilms .rfilm.on { background: var(--ink); color: var(--ivory); }
.guest #retakeBtn { color: var(--ink); }
.guest #sendShot { background: var(--ink); color: var(--ivory); }
.guest #sendShot:hover { background: #342d26; }
