/* lr - shared look. Dark, gold, built for a phone in a dark room by someone who has had a few.
   Deliberately oversized: 19px text minimum, 64px controls minimum. No small targets anywhere. */
:root {
  --bg: #0a0a0c; --panel: #15151b; --panel2: #20202a; --line: #33333f;
  --gold: #f0bc4f; --text: #f4f2ef; --dim: #a09dab;
  --green: #45e07f; --red: #ff6b6b; --pink: #ff5fae;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text);
  font: 19px/1.45 "Segoe UI", system-ui, -apple-system, sans-serif; }
a { color: var(--gold); }
.wrap { max-width: 620px; margin: 0 auto; padding: 16px 16px 48px; }

header { display: flex; align-items: center; gap: 12px; padding: 12px 0 18px; }
header img { height: 52px; width: auto; border-radius: 10px; }
header .t { font-weight: 800; letter-spacing: .5px; font-size: 20px; }
header .t small { display: block; font-weight: 600; color: var(--dim); letter-spacing: 1.5px; font-size: 15px; }

h1 { font-size: 28px; line-height: 1.25; margin: 8px 0 14px; }
h2 { font-size: 15px; color: var(--dim); text-transform: uppercase; letter-spacing: 1.5px; margin: 26px 0 10px; }
p { margin: 10px 0; }
.note { color: var(--dim); font-size: 17px; }

/* --- the one big field and the one big button --------------------------------------------- */
input[type=text], input[type=search] {
  width: 100%; padding: 20px 18px; font: inherit; font-size: 21px; color: var(--text);
  background: #0d0d12; border: 2px solid var(--line); border-radius: 14px; min-height: 66px;
}
input::placeholder { color: #6d6a78; }
input:focus { outline: none; border-color: var(--gold); }
button {
  font: inherit; font-size: 20px; font-weight: 700; padding: 18px 20px; min-height: 66px;
  border-radius: 14px; border: 2px solid var(--line); background: var(--panel2); color: var(--text);
}
button:active { transform: translateY(2px); }
button[disabled] { opacity: .55; }
button.go { background: var(--gold); border-color: var(--gold); color: #17110a; }
button.big-wide { width: 100%; }
.field { margin: 14px 0; }
.field label { display: block; font-size: 16px; color: var(--dim); margin: 0 0 7px 3px; }
.stack > * + * { margin-top: 14px; }

/* --- results: the whole row is the tap target --------------------------------------------- */
ul.res { list-style: none; margin: 0; padding: 0; }
ul.res li { margin: 0 0 12px; }
ul.res button {
  width: 100%; text-align: left; background: var(--panel); border: 2px solid var(--line);
  padding: 16px 18px; min-height: 84px; display: block;
}
ul.res button:active { border-color: var(--gold); }
ul.res .ti { display: block; font-size: 19px; font-weight: 700; line-height: 1.3; }
ul.res .ch { display: block; font-size: 15px; color: var(--dim); margin-top: 4px; }

/* --- the result panel: unmissable, and never a dead end ----------------------------------- */
.screen { display: none; }
.screen.on { display: block; }
.banner { border-radius: 16px; padding: 24px 20px; margin: 14px 0; border: 3px solid var(--line); background: var(--panel); }
.banner.ok { border-color: var(--green); }
.banner.bad { border-color: var(--red); }
.banner .head { font-size: 27px; font-weight: 800; line-height: 1.2; margin-bottom: 8px; }
.banner.ok .head { color: var(--green); }
.banner.bad .head { color: var(--red); }
.banner .body { font-size: 19px; }
.code { font-size: 22px; font-weight: 800; color: var(--gold); letter-spacing: 1px; }

.tag { display: inline-block; font-size: 15px; font-weight: 700; padding: 4px 10px; border-radius: 99px;
  border: 2px solid currentColor; white-space: nowrap; }
.tag.ok { color: var(--green); } .tag.wait { color: var(--gold); } .tag.bad { color: var(--red); }
.tag.dj { color: var(--pink); } .tag.kar { color: var(--gold); }

.row { display: flex; gap: 12px; align-items: center; }
.row > * { min-width: 0; }
.meta { flex: 1; }
.meta .ti { font-weight: 700; }
.meta .ch { color: var(--dim); font-size: 15px; }

.spin { display: inline-block; width: 18px; height: 18px; border: 3px solid var(--line);
  border-top-color: var(--gold); border-radius: 50%; animation: sp .7s linear infinite; vertical-align: -3px; }
@keyframes sp { to { transform: rotate(360deg); } }
.hide { display: none; }
footer { margin-top: 30px; font-size: 17px; color: var(--dim); }
footer a { display: inline-block; padding: 12px 4px; margin-right: 14px; }
