:root { color-scheme: dark; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background: #10120f; color: #f5f4ec; }
* { box-sizing: border-box; }
body { margin: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; touch-action: manipulation; }
button:focus-visible, a:focus-visible { outline: 3px solid #e3efab; outline-offset: 5px; }
button:disabled { opacity: .65; cursor: progress; }
[hidden] { display: none !important; }
#viewer { position: relative; width: 100%; height: 100svh; height: 100dvh; min-height: 380px; overflow: hidden; background: #10120f; isolation: isolate; }
#camera { position: absolute; left: 50%; top: 50%; visibility: hidden; max-width: none; transform-origin: center; background: #000; }
body[data-state="live"] #viewer { background: #000; }
body[data-state="live"] #camera { visibility: visible; }
header { position: absolute; z-index: 2; inset: 0 0 auto; padding: max(24px, env(safe-area-inset-top)) 24px 32px; display: flex; align-items: center; gap: 14px; background: linear-gradient(#10120f9e, transparent); }
.wordmark { color: #f5f4ec; font-size: 21px; font-weight: 650; letter-spacing: -.9px; text-decoration: none; }
.wordmark span { display: inline-block; color: #d9ed9f; margin-left: 4px; font-size: 25px; }
.live { font-size: 10px; font-weight: 700; letter-spacing: 1.5px; display: inline-flex; align-items: center; gap: 6px; }
.live span { height: 5px; width: 5px; border-radius: 50%; background: #d9ed9f; }
.quiet { margin-left: auto; padding: 12px; min-height: 44px; background: #1e211ddb; border: 1px solid #ffffff24; border-radius: 24px; font-size: 12px; }
.welcome { min-height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 100px 24px 48px; }
.shelf-mark { width: 98px; height: 94px; position: relative; display: flex; align-items: flex-end; gap: 7px; padding: 16px; margin-bottom: 36px; }
.shelf-mark i { display: block; width: 13px; height: 50px; border: 1px solid #d9ed9f88; border-radius: 2px; }
.shelf-mark i:nth-child(2) { height: 62px; background: #d9ed9f18; }
.shelf-mark i:nth-child(3) { transform: rotate(-14deg); transform-origin: bottom; height: 45px; }
.shelf-mark b { position: absolute; right: -10px; top: -8px; color: #d9ed9f; font-size: 40px; font-weight: 300; }
.eyebrow { color: #b4bba8; font-size: 9px; letter-spacing: 2.5px; font-weight: 600; margin: 0 0 16px; }
h1 { font-size: clamp(34px, 8.5vw, 48px); font-weight: 500; letter-spacing: -1.7px; line-height: 1.12; margin: 0; }
.message { font-size: 15px; color: #b1b5ab; line-height: 1.65; max-width: 360px; margin: 20px 0 28px; }
.primary { display: flex; align-items: center; justify-content: space-between; width: min(100%, 290px); min-height: 58px; background: #d9ed9f; color: #17200b; border-radius: 16px; padding: 16px 22px; font-size: 16px; font-weight: 600; }
.primary span { font-size: 23px; font-weight: 400; }
.privacy { font-size: 11px; color: #8e9586; line-height: 1.7; margin: 20px 0 0; }
footer { position: absolute; z-index: 2; inset: auto 0 0; padding: 42px 20px max(24px, env(safe-area-inset-bottom)); background: linear-gradient(transparent, #10120fbf); display: flex; flex-direction: column; align-items: center; gap: 14px; }
.hint { margin: 0; font-size: 12px; color: #f5f4ecd9; text-shadow: 0 1px 8px #000; }
.toolbar { display: flex; gap: 12px; align-items: center; }
.directions { display: flex; padding: 5px; gap: 4px; border: 1px solid #ffffff24; border-radius: 24px; background: #171b15ec; }
.directions button { padding: 11px 18px; min-height: 46px; border-radius: 18px; background: transparent; font-size: 14px; font-weight: 600; color: #b5bcae; }
.directions button[aria-pressed="true"] { background: #d9ed9f; color: #17200b; }
.directions span { margin-right: 7px; font-size: 20px; }
.framing { background: #171b15ec; border: 1px solid #ffffff24; padding: 16px; border-radius: 24px; min-height: 58px; font-size: 14px; }
.framing span { margin-left: 6px; }
@media (orientation: landscape) and (max-height: 600px) {
  #viewer { min-height: 300px; }
  .welcome { padding: 68px 24px 22px; }
  .shelf-mark, .eyebrow { display: none; }
  h1 { font-size: 28px; }
  h1 br { display: none; }
  .message { margin: 10px 0 14px; font-size: 13px; }
  .message br, .privacy br { display: none; }
  .primary { min-height: 46px; padding: 10px 20px; }
  .privacy { margin: 10px 0 0; }
  footer { align-items: flex-end; padding-top: 20px; }
  .hint { display: none; }
}
@media (max-width: 360px) { header { padding-left: 16px; padding-right: 16px; gap: 8px; } .directions button { padding: 11px 14px; } }
