.till-bar { background: var(--hero-red); color: var(--cream); padding: 14px 18px; display: flex; align-items: center; gap: 12px; }
.till-bar h1 { font-size: 19px; flex: 1; }
.till-bar select { background: rgba(255, 255, 255, .16); color: var(--cream); border: 0; border-radius: 100px; padding: 8px 12px; font-weight: 700; max-width: 46vw; }
.till-bar select option { color: var(--ink); }
.till-bar .link { color: var(--mustard); }

.till { max-width: 520px; margin: 0 auto; padding: 18px 16px 60px; }
.till .who { margin: 0 0 14px; }
.bill { font-family: 'Bungee', system-ui, sans-serif; font-size: 34px; text-align: center; padding: 16px 12px; }
.till .scan { font-size: 17px; padding: 20px; margin-top: 6px; }
.till details { margin-top: 18px; }
.till summary { cursor: pointer; font-weight: 700; color: var(--teal-deep); padding: 6px 0; }

.result { margin-top: 18px; border-radius: 20px; padding: 20px; text-align: center; }
.result.ok { background: var(--teal); color: var(--cream); box-shadow: 0 5px 0 var(--teal-deep); }
.result.bad { background: var(--cream-2); border: 2px solid var(--cherry); color: var(--cherry-deep); }
.result .headline { font-family: 'Bungee', system-ui, sans-serif; font-size: 13px; letter-spacing: .05em; opacity: .9; }
.result .big { font-family: 'Bungee', system-ui, sans-serif; font-size: 38px; color: var(--mustard); line-height: 1.1; margin: 6px 0 2px; }
.result.bad .big { font-size: 20px; color: var(--cherry-deep); }
.result .then { margin-top: 14px; padding-top: 14px; border-top: 1px dashed rgba(244, 236, 225, .5); font-weight: 700; }
.result .then strong { display: block; font-family: 'Bungee', system-ui, sans-serif; font-size: 24px; font-weight: 400; }
.result .member { margin-top: 12px; font-size: 13px; opacity: .92; }

.recent { margin-top: 26px; }
.recent li { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.recent ul { list-style: none; margin: 8px 0 0; padding: 0; }

.scanner { position: fixed; inset: 0; background: #000; z-index: 10; display: flex; flex-direction: column; }
.scanner video { flex: 1; width: 100%; min-height: 0; object-fit: cover; }
.scanner .frame { position: absolute; left: 50%; top: 42%; width: min(68vw, 300px); aspect-ratio: 1; transform: translate(-50%, -50%); border: 4px solid var(--mustard); border-radius: 24px; box-shadow: 0 0 0 100vmax rgba(0, 0, 0, .35); pointer-events: none; }
.scanner .panel { background: var(--cream); padding: 14px 16px calc(14px + env(safe-area-inset-bottom)); }
.scanner .hint { text-align: center; font-weight: 700; margin-bottom: 10px; }
