/* qline — paperless queue. Matches the qprint.app marketing site:
   light theme, lime #d3e34b accent, Thermal Sans Mono for the ticket number. */
@font-face {
  font-family: 'Thermal Sans Mono';
  src: url('fonts/thermal-sans-mono.woff2') format('woff2');
  font-weight: 400 700; font-display: swap;
}
:root {
  --lime: #d3e34b; --lime-hover: #c4d63f;
  --bg: #f5f5f5; --ink: #111; --muted: #6b7280; --faint: #9ca3af;
  --card: #ffffff; --line: #e5e7eb;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg); color: var(--ink); min-height: 100vh;
  font-family: 'Noto Sans', 'Noto Sans TC', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  display: flex; flex-direction: column; align-items: center;
  padding: 24px 18px 40px;
}
.wrap { width: 100%; max-width: 440px; }
.brand { display: flex; align-items: center; gap: 8px; justify-content: center; margin-bottom: 22px; }
.brand img { height: 26px; }
.brand .tag { font-size: 12px; color: var(--faint); letter-spacing: .12em; text-transform: uppercase; }

.card {
  background: var(--card); border-radius: 18px; padding: 26px 22px;
  box-shadow: 0 1px 3px rgba(0,0,0,.06), 0 8px 28px rgba(0,0,0,.05);
}
.venue-name { font-size: 20px; font-weight: 700; text-align: center; }
.venue-sub { font-size: 13px; color: var(--muted); text-align: center; margin-top: 4px; }

.label { font-size: 12px; color: var(--faint); text-transform: uppercase; letter-spacing: .1em; text-align: center; }
.bignum {
  font-family: 'Thermal Sans Mono', 'SF Mono', Menlo, monospace;
  font-size: 92px; line-height: 1; font-weight: 700; text-align: center; margin: 6px 0 2px;
}
.serving { text-align: center; font-size: 15px; color: var(--muted); margin-top: 10px; }
.serving b { color: var(--ink); }
.ahead { text-align: center; font-size: 14px; color: var(--muted); margin-top: 2px; }

.status-turn {
  margin-top: 16px; background: var(--lime); color: #111; border-radius: 14px;
  padding: 16px; text-align: center; font-weight: 700; font-size: 18px;
  animation: pulse 1.2s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{transform:scale(1);} 50%{transform:scale(1.03);} }
.status-done { margin-top: 16px; text-align:center; color: var(--muted); }

input[type=text], input[type=tel], input[type=password] {
  width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 12px;
  font-size: 16px; font-family: inherit; margin-top: 10px; background: #fff;
}
.btn {
  width: 100%; margin-top: 14px; padding: 15px; border: 0; border-radius: 13px;
  background: var(--lime); color: #111; font-weight: 700; font-size: 16px;
  font-family: inherit; cursor: pointer; transition: background .15s ease;
}
.btn:active { background: var(--lime-hover); }
.btn[disabled] { opacity: .5; cursor: default; }
.btn-ghost { background: #f0f0f0; }
.btn-ghost:active { background: #e7e7e7; }
.btn-row { display: flex; gap: 8px; }
.btn-row .btn { margin-top: 0; }

.hint { font-size: 12px; color: var(--faint); text-align: center; margin-top: 14px; line-height: 1.5; }
.err { color: #b91c1c; font-size: 13px; text-align: center; margin-top: 10px; min-height: 16px; }
.footer { margin-top: 26px; font-size: 11px; color: var(--faint); text-align: center; }
.footer a { color: var(--faint); }

/* venue console list */
.qhead { display:flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.qhead .now { font-family:'Thermal Sans Mono',monospace; font-size: 34px; font-weight: 700; }
.entry {
  display:flex; align-items:center; gap: 10px; padding: 12px 0; border-top: 1px solid var(--line);
}
.entry:first-child { border-top: 0; }
.entry .n { font-family:'Thermal Sans Mono',monospace; font-size: 22px; font-weight: 700; width: 56px; }
.entry .who { flex: 1; font-size: 14px; color: var(--muted); }
.entry .mini { padding: 7px 11px; border-radius: 9px; border:0; font-size: 12px; font-weight: 600; font-family:inherit; cursor:pointer; background:#f0f0f0; }
.entry .mini.no { color:#b91c1c; }
.tag-called { font-size: 11px; color:#111; background: var(--lime); padding: 2px 7px; border-radius: 6px; }
.empty { text-align:center; color: var(--faint); padding: 24px 0; font-size: 14px; }
