/* Mobile-first HOP counter flow. The gift, not promotional content, leads. */
:root { --teal:#073c46; --lagoon:#007f89; --gold:#ffc24d; --mist:#edf6f5; --ink:#163e45; }
body { background:var(--mist); color:var(--ink); }
.preview { padding:8px 16px; font-size:12px; gap:8px; align-items:center; }
.preview span { text-align:right; max-width:240px; }
header { max-width:600px; min-height:82px; padding:14px 20px; gap:20px; border:0; }
.brand { width:88px; flex:0 0 88px; }
.event-name { font-size:14px; padding-left:20px; line-height:1.5; }
.event-name span { font-size:12px; }
main { width:100%; max-width:600px; padding:0 16px; }
.customer-shell { padding-bottom:12px; }
.hop-banner { display:flex; align-items:center; justify-content:space-between; gap:16px; background:var(--teal); color:white; border-radius:18px; padding:22px; overflow:hidden; }
.hop-banner h1 { font:28px/1.1 Erstoria,Georgia,serif; letter-spacing:-.025em; }
.hop-banner p { margin-top:12px; color:var(--gold); font-size:15px; font-weight:650; }
.hop-banner img { flex:0 0 86px; width:86px; height:98px; border-radius:9px; object-fit:cover; object-position:center 60%; }
.join-panel { background:white; border:1px solid #c8dddd; border-radius:18px; padding:24px 20px; margin:16px 0; }
.auth-heading h2 { font:700 27px/1.15 system-ui,sans-serif; letter-spacing:-.04em; }
.auth-heading p { margin-top:8px; color:#46686d; }
.switch-auth { text-align:left; font-size:15px; margin:16px 0 24px; }
.inline-link { min-height:44px; }
.join-panel form { display:grid; gap:18px; }
label { font-size:14px; font-weight:650; }
input { font-size:16px; min-height:52px; padding:14px 12px; border-radius:9px; background:#fff; }
input::placeholder { font-size:15px; }
.address-fields { min-width:0; margin:5px 0 0; padding:18px 0 0; border:0; border-top:1px solid #c8dddd; display:grid; gap:18px; }
.address-fields legend { padding:0 10px 0 0; font-weight:700; font-size:17px; }
.address-fields>p { font-size:14px; color:#46686d; line-height:1.5; }
.address-row { display:grid; grid-template-columns:minmax(0,1fr) 110px; gap:12px; }
.check { font-size:14px; gap:12px; line-height:1.55; align-items:flex-start; }
.check input { width:20px; height:20px; min-height:20px; }
.notice-link { justify-self:start; padding:0; min-height:40px; font-size:14px; }
.primary,.secondary { min-height:50px; border-radius:10px; padding:13px 18px; font-size:16px; font-weight:650; }
.primary { background:var(--lagoon); }
.primary:active,.secondary:active { transform:scale(.985); }
.text-button { font-size:14px; min-height:44px; }
.full { width:100%; }
.form-footnote { margin-top:16px; font-size:13px; line-height:1.6; color:#46686d; }
.saved-qr { margin:0 0 20px; padding:12px; border-left:3px solid var(--lagoon); background:var(--mist); font-size:14px; }
.ticket-dashboard { padding:24px 0 0; }
.customer-greeting { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:0 4px; }
.customer-greeting h2 { font:700 25px/1.2 system-ui,sans-serif; letter-spacing:-.035em; overflow-wrap:anywhere; }
.customer-greeting p { font-size:15px; margin-top:5px; color:#46686d; }
.customer-greeting .text-button { white-space:nowrap; }
.gift-totals { display:flex; gap:24px; border-top:1px solid #bed6d6; border-bottom:1px solid #bed6d6; padding:16px 4px; margin:20px 0 26px; }
.gift-totals span { font-size:14px; display:flex; align-items:baseline; gap:7px; }
.gift-totals strong { font-size:24px; color:var(--teal); }
.section-heading.compact { align-items:baseline; padding:0 4px; margin-bottom:14px; gap:8px; }
.section-heading.compact h2 { font:700 22px/1.2 system-ui,sans-serif; letter-spacing:-.03em; }
.section-heading.compact>span { font-size:13px; }
.reward-grid { display:grid; grid-template-columns:1fr; gap:18px; }
.reward-card { border-radius:15px; border:1px solid #bfd7d7; box-shadow:none; }
.card-top { font-size:13px; padding:14px 16px; color:#46686d; }
.scratch-preview { min-height:220px; width:calc(100% - 32px); margin:0 16px; border-radius:10px; background-color:#c4dddc; }
.scratch-preview strong { font:28px/1.2 Erstoria,Georgia,serif; margin:8px 0 16px; }
.scratch-preview>span:last-child { font-size:14px; }
.scratch-preview .spark { color:var(--teal); }
.card-bottom { padding:18px 16px; }
.card-bottom h3 { margin-bottom:14px; font-size:20px; }
.revealed-art { height:230px; width:calc(100% - 32px); margin:0 16px; border-radius:10px; }
.reward-card.collected .card-top { color:var(--lagoon); }
.reward-card.collected .revealed-art { height:160px; }
.reward-card.collected .card-bottom { padding-top:14px; }
.reward-card.revealed,.reward-card.collected { display:grid; grid-template-columns:100px minmax(0,1fr); column-gap:12px; padding:0 14px 16px; }
.reward-card.revealed .card-top,.reward-card.collected .card-top { grid-column:1 / -1; padding:14px 0; }
.reward-card.revealed .revealed-art,.reward-card.collected .revealed-art { width:100%; height:110px; margin:0; }
.reward-card.revealed .card-bottom,.reward-card.collected .card-bottom { padding:0; align-self:center; min-width:0; }
.reward-card.revealed .card-bottom h3,.reward-card.collected .card-bottom h3 { margin-bottom:10px; }
.reward-card.revealed .card-bottom .primary,.reward-card.collected .card-bottom .secondary { padding:11px 10px; font-size:14px; }
.empty-gifts { text-align:left; background:white; border:1px dashed #aac8c8; border-radius:14px; padding:24px 20px; margin:0; }
.empty-gifts h3 { font-size:20px; }
.empty-gifts p { margin:10px 0 0; font-size:16px; color:#46686d; }
.escapades-status { margin-top:24px; padding:22px 20px; border:1px solid #bfd7d7; border-radius:15px; background:white; }
.escapades-status h2,.next-gift h2 { font:700 21px/1.2 system-ui,sans-serif; letter-spacing:-.025em; }
.escapades-status.qualified { border-top:4px solid var(--gold); }
.escapades-status p { font-size:15px; line-height:1.6; }
.escapades-status .micro { font-size:13px; margin-top:10px; }
.qr-progress { display:flex; align-items:center; gap:8px; margin:18px 0; }
.qr-progress span { width:34px; height:34px; border-radius:50%; border:1px solid #8dafb1; display:grid; place-items:center; font-size:14px; }
.qr-progress .done { background:var(--teal); color:white; border-color:var(--teal); }
.qr-progress strong { font-size:14px; margin-left:6px; }
.escapades-status details { margin-top:18px; border-top:1px solid #d0e0e0; padding-top:8px; }
.escapades-status ul { list-style:none; padding:0; margin:10px 0 0; }
.escapades-status li { display:grid; gap:4px; padding:10px 0; }
.escapades-status li span { font-size:13px; color:#46686d; }
summary { min-height:44px; cursor:pointer; padding:10px 0; font-size:15px; }
.next-gift { margin-top:26px; padding:0 4px; }
.next-gift p { font-size:15px; margin:10px 0 16px; }
.next-gift .micro { font-size:13px; margin:12px 0 0; }
.saved-details { border-top:1px solid #bed6d6; margin-top:24px; padding:8px 4px; }
.saved-details p { margin:8px 0 16px; overflow-wrap:anywhere; font-size:15px; }
.saved-details .micro { font-size:13px; }
.pending-card { margin-top:18px; background:white; padding:20px; border:2px solid var(--lagoon); border-radius:14px; }
.pending-card p { margin:8px 0 16px; font-size:15px; }
.pending-card form { display:grid; gap:14px; }
footer { max-width:600px; margin:16px auto 0; padding:16px 24px calc(24px + env(safe-area-inset-bottom)); border-top:1px solid #bed6d6; display:flex; justify-content:space-between; align-items:center; gap:20px; font-size:13px; }
footer a { padding:10px 0; }
dialog { width:100%; max-width:560px; max-height:92dvh; border-radius:22px 22px 0 0; margin:auto auto 0; padding-bottom:env(safe-area-inset-bottom); }
.modal-copy,.scratch-modal,.gift-confirm { padding:50px 22px 26px; }
.modal-copy h2,.scratch-modal h2,.gift-confirm h2 { font-size:32px; margin:6px 0 14px; }
.modal-copy p,.gift-confirm>p,.scratch-modal>p { font-size:16px; line-height:1.55; }
.close { width:40px; height:40px; right:14px; top:12px; }
.scratch-stage { height:auto; aspect-ratio:1; margin:20px 0; }
.gift-confirm>img { width:210px; height:210px; }
.collection-code { margin:18px 0; padding:16px 8px; }
.collection-code span { font-size:14px; }
.collection-code strong { font-size:28px; letter-spacing:2px; }
.entry-note p,.micro { font-size:13px; line-height:1.55; }
.badge { font-size:13px; }
.form-error { font-size:14px; }
.preview-code p { font-size:14px; }
.pagination { gap:10px; font-size:14px; }
.pagination .secondary { padding:10px 15px; }
body[data-view="staff"] main,body[data-view="staff"] header { max-width:1180px; }
body[data-view="staff"] .staff-dashboard { padding:20px 0; }
body[data-view="staff"] .staff-dashboard h1 { font-size:36px; }
body[data-view="staff"] .staff-stats { grid-template-columns:repeat(2,minmax(0,1fr)); }
body[data-view="staff"] .staff-stats>div { border:0; border-bottom:1px solid #c8dddd; }
body[data-view="staff"] .staff-stats span { font-size:13px; }
.exports p { max-width:42ch; margin-bottom:12px; }
@media(min-width:650px) {
  header { min-height:94px; }
  main { padding:0 20px; }
  .hop-banner { padding:24px 28px; }
  .join-panel { padding:28px; }
  dialog { border-radius:20px; margin:auto; max-height:90dvh; width:calc(100% - 40px); }
  body[data-view="staff"] .staff-stats { grid-template-columns:repeat(5,minmax(0,1fr)); }
}
@media(prefers-reduced-motion:no-preference) {
  .primary,.secondary { transition:background-color .15s,transform .15s; }
  dialog[open] { animation:sheet-open .18s ease-out; }
  @keyframes sheet-open { from { opacity:.4; transform:translateY(8px); } to { opacity:1; transform:none; } }
}
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { animation:none!important; transition:none!important; scroll-behavior:auto!important; } }

/* Client revision: Woodnote teal surfaces and white type. */
:root { --mist:#073c46; --ink:#fff; --surface:#0d505a; --muted:#c5e2e5; --line:#377783; }
body { background:#073c46; color:#fff; color-scheme:dark; }
.preview { background:#0b4852; color:#d6eef0; border-bottom:1px solid var(--line); }
header { color:#fff; }
.event-name { border-color:var(--line); }
.event-name span { color:var(--muted); }
.hop-banner { background:#0b4852; border:1px solid var(--line); }
.hop-banner p { color:#fff; }
.join-panel,.reward-card,.pending-card,dialog,.staff-login,.staff-stats>div,.qr-tile,.table-wrap { background:var(--surface); color:#fff; border-color:var(--line); }
.auth-heading p,.address-fields>p,.customer-greeting p,.form-footnote,.card-top,.section-heading.compact>span,.micro,.form-kicker,.modal-copy>p,.gift-confirm>p,.scratch-modal>p,.staff-stats span,.exports p,.event-name span { color:var(--muted); }
.inline-link,.text-button,a,.secondary { color:#fff; }
.secondary { border-color:#70a8b1; }
.secondary:hover { background:#216472; }
.primary { background:#007d88; color:#fff; border:1px solid #4eb5bd; }
.primary:hover { background:#006b75; }
input,select,textarea { background:#083f49; color:#fff; border:1px solid #65939b; }
input::placeholder { color:#b5d1d6; }
input:focus,select:focus,textarea:focus { border-color:#fff; outline:2px solid #82d9e0; outline-offset:2px; }
input[type=checkbox] { accent-color:#007d88; }
.address-fields,.gift-totals,.saved-details,footer { border-color:var(--line); }
.gift-totals { align-items:center; justify-content:space-between; gap:12px; margin-bottom:22px; }
.gift-totals strong { color:#fff; font-size:32px; }
.gift-totals span { gap:9px; }
.scan-button { display:flex; align-items:center; gap:8px; white-space:nowrap; padding:12px 15px; }
.scan-button svg { width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:1.8; }
.event-poster { margin:24px 0 0; border-radius:16px; overflow:hidden; background:#073c46; }
.event-poster img { display:block; width:100%; height:auto; }
.next-gift { padding:8px 4px; margin-top:24px; }
.next-gift p { color:var(--muted); line-height:1.7; }
.note,.preview-code,.saved-qr,.entry-note,.collection-code { background:#073c46; color:#fff; border-color:var(--line); }
.preview-code span,.collection-code strong { color:#fff; }
.preview-code p,.entry-note p,.collection-code span { color:var(--muted); }
.close { background:#1c616c; color:white; }
.form-error { color:#ffd1c6; background:#582f35; padding:10px; border-radius:6px; }
.badge,.badge.collected { background:#206773; color:#fff; }
.reward-card.collected .card-top { color:var(--muted); }
.scratch-preview { color:#073c46; }
thead { background:#073c46; color:white; }
td,th { border-color:var(--line); }
tr:hover { background:#155c67; }
.staff-stats strong { color:white; }
.qr-tile strong,.qr-tile small { color:var(--muted); }
.camera-frame { position:relative; aspect-ratio:1; max-height:42dvh; overflow:hidden; border-radius:14px; background:#03262e; margin:18px 0 12px; }
.camera-frame video { display:block; width:100%; height:100%; object-fit:cover; }
.scan-guide { position:absolute; inset:15%; border:2px solid #fff; border-radius:15px; box-shadow:0 0 0 100px #001e2440; pointer-events:none; }
.scanner-status { min-height:48px; font-size:14px!important; color:var(--muted); margin:8px 0 14px; }
.upload-qr { position:relative; display:flex; align-items:center; justify-content:center; border:1px solid #70a8b1; cursor:pointer; margin:12px 0; overflow:hidden; }
.upload-qr input { position:absolute; inset:0; width:100%; height:100%; opacity:0; cursor:pointer; }
.upload-qr:focus-within { outline:2px solid white; outline-offset:3px; }
.qr-paste { border-top:1px solid var(--line); margin-top:16px; padding-top:8px; }
.qr-paste form { display:grid; gap:16px; padding-top:10px; }
.scanner-copy h2 { font-size:28px; }
:focus-visible { outline:2px solid #a6f4fa; outline-offset:4px; }
@media(max-width:350px) { .gift-totals span { font-size:12px; gap:5px; } .scan-button { padding:12px; font-size:14px; } .gift-totals strong { font-size:28px; } }
.empty,.entries li,.qr-generator,.booth-toolbar,.staff-stats { background:var(--surface); color:#fff; border-color:var(--line); }
.empty p,.entries li div>span,.staff-intro p,.booth-toolbar p { color:var(--muted); }
.qr-generator h2 { font-size:26px; }
.landing-scan { margin-top:16px; }

/* PPT review: white desktop surround, teal mobile canvas. */
body { background:#fff; }
.site-frame { max-width:430px; min-height:100dvh; margin:0 auto; background:var(--teal); display:flex; flex-direction:column; }
.site-frame main { flex:1; padding:0 16px; }
.site-frame header,.site-frame footer { width:100%; }
body[data-view="staff"] .site-frame { max-width:1240px; }
body[data-view="customer"] .hop-banner { aspect-ratio:1080 / 338; min-height:0; padding:14px 16px; gap:10px; }
body[data-view="customer"] .hop-banner h1 { font-size:clamp(20px,5.5vw,25px); }
body[data-view="customer"] .hop-banner p { font-size:13px; margin-top:8px; }
body[data-view="customer"] .hop-banner img { width:68px; flex-basis:68px; height:78px; }
body[data-view="customer"] dialog { max-width:430px; }
.gift-unlocked { font-weight:700; font-size:21px!important; }
.batch-library { margin-top:20px; border-top:1px solid var(--line); padding-top:12px; grid-column:1 / -1; }
.batch-list { max-height:340px; overflow:auto; }
.batch-list>div { display:flex; gap:16px; justify-content:space-between; align-items:center; padding:12px 0; border-top:1px solid var(--line); }
.batch-list small { display:block; font-size:13px; color:var(--muted); margin-top:6px; }
.batch-download { margin-top:20px; }
.zip-link { display:block; text-align:center; text-decoration:none; }
@media(min-width:650px) { body[data-view="customer"] header { min-height:82px; } }

/* Supplied client artwork and simple revealed gift cards, 27 November 2026. */
body[data-view="customer"] .hop-banner.artwork-banner { display:block; aspect-ratio:auto; padding:0; border:0; }
body[data-view="customer"] .hop-banner.artwork-banner img { display:block; width:100%; height:auto; border-radius:0; }
.reward-card.revealed .card-bottom h3,.reward-card.collected .card-bottom h3 { margin-bottom:0; }
