.s-top { display: flex; align-items: center; gap: 10px; }
.s-top strong { flex: 1; font-size: 17px; }
.ghost.small { padding: 5px 10px; font-size: 13px; }

.cam { position: relative; aspect-ratio: 1; background: #000; border-radius: 20px; overflow: hidden; }
.cam video { width: 100%; height: 100%; object-fit: cover; display: block; }
.cam-frame { position: absolute; inset: 18%; border: 3px solid rgba(255,255,255,.85); border-radius: 18px; box-shadow: 0 0 0 999px rgba(0,0,0,.35); }
.cam-msg { position: absolute; left: 0; right: 0; bottom: 12px; text-align: center; color: #fff; font-size: 14px; padding: 0 16px; }

.code-row { display: flex; gap: 8px; }
.code-row input { flex: 1; min-width: 0; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }

.result { text-align: center; display: grid; gap: 8px; }
.result h2 { margin: 0; font-size: 26px; }
.r-stamps { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 8px auto 0; max-width: 186px; }
.r-stamps span { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 16px; border: 2px dashed var(--line); }
.r-stamps span.on { border: 2px solid var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); }
.r-count { font-size: 18px; font-weight: 700; margin: 4px 0; }
.warn { background: #fff4e5; color: #8a4b00; border-radius: 10px; padding: 10px; font-weight: 600; margin: 0; }
.info { background: #e8f7ee; color: #0b6b3a; border-radius: 10px; padding: 10px; font-weight: 600; margin: 0; }
.huge { width: 100%; padding: 18px; font-size: 20px; border-radius: 14px; }
.redeem { background: #12b76a; color: #fff; border: 0; font-weight: 700; cursor: pointer; }

.done { position: fixed; inset: 0; background: #12b76a; color: #fff; display: grid; place-content: center; text-align: center; gap: 10px; font-size: 22px; font-weight: 700; z-index: 20; }
.done-check { font-size: 96px; line-height: 1; animation: pop .4s ease; }
.primary.guarded { background: #f5a524; color: #3d2600; }
