/* Promoter scanner: phone frame and screens */
.pstage { background: #000; min-height: 100vh; }
.pstage__in { display: grid; grid-template-columns: 1fr auto; gap: clamp(28px, 6vw, 110px); align-items: center; padding: clamp(28px, 4vw, 56px) var(--pad) clamp(40px, 5vw, 72px); min-height: calc(100vh - 84px); }
.pstage__info { display: grid; gap: 22px; max-width: 580px; justify-self: end; }
.pstage__info .lead { color: #d9d8d2; }
.pstage__info .h1 { font-size: clamp(40px, 5.4vw, 80px); }
.pstage__list { display: grid; gap: 18px; margin-top: 8px; border-top: 1px solid #2a2a2a; padding-top: 22px; }
.pstage__list li { display: flex; gap: 16px; align-items: flex-start; }
.pstage__list strong { display: block; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 15px; }
.pstage__list span { color: #a9a8a3; font-size: 15.5px; }
.dot { width: 16px; height: 16px; border-radius: 50%; margin-top: 3px; flex: none; }
.dot--lime { background: var(--lime); } .dot--sun { background: var(--sun); } .dot--red { background: var(--red); } .dot--sky { background: var(--sky); }

.phone { position: relative; width: 392px; height: clamp(680px, calc(100vh - 150px), 800px); background: #050505; border-radius: 58px; padding: 12px; border: 2px solid #2e2e2e; box-shadow: 0 50px 120px rgba(0,0,0,.7), 0 0 0 10px #101010, 0 0 80px rgba(173,221,49,.07); z-index: 1; }
.phone__island { position: absolute; top: 22px; left: 50%; transform: translateX(-50%); width: 104px; height: 30px; background: #000; border-radius: 20px; z-index: 6; }
.phone__screen { position: relative; height: 100%; border-radius: 46px; overflow: hidden; background: #0c0c0c; display: flex; flex-direction: column; color: #fff; --focus: var(--lime); }
.sbar { height: 54px; flex: none; display: flex; justify-content: space-between; align-items: flex-end; padding: 0 30px 8px 34px; font-weight: 700; font-size: 15px; background: #0c0c0c; }
.sbar__r { display: flex; gap: 5px; align-items: center; }
.sbar__r i { width: 4px; background: #fff; border-radius: 1px; }
.sbar__r i:nth-child(1) { height: 6px; } .sbar__r i:nth-child(2) { height: 9px; } .sbar__r i:nth-child(3) { height: 12px; }
.sbar__r b { width: 24px; height: 12px; border: 2px solid #fff; border-radius: 4px; margin-left: 6px; position: relative; }
.sbar__r b::after { content: ''; position: absolute; inset: 1px; right: 5px; background: #fff; border-radius: 1px; }
.pscreen { flex: 1; overflow: auto; display: flex; flex-direction: column; min-height: 0; }
.abar { display: flex; justify-content: space-between; align-items: center; padding: 10px 20px 14px; border-bottom: 1px solid #222; flex: none; }
.abar .wlogo b, .abar .wlogo span { font-size: 15.5px; }
.abar .wlogo i { height: 15px; }
.abar .wlogo { gap: 9px; }
.abar .chip { font-size: 10.5px; padding: 4px 9px; }
.pbody { padding: 26px 20px 24px; display: grid; gap: 22px; align-content: start; }
.pbody .h2 { font-size: 40px; }
.pform { display: grid; gap: 18px; }
.pform .field > label { color: #cfcdc6; }
.input--dk, .select--dk { background: #161616; color: #fff; border-color: #3a3a3a; height: 54px; }
.select--dk { background-repeat: no-repeat; background-position: right 16px center; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); }
.input--dk:focus, .select--dk:focus { border-color: var(--lime); box-shadow: 0 0 0 3px rgba(173,221,49,.35); }
.phint { display: flex; gap: 10px; align-items: flex-start; color: #a9a8a3; font-size: 14px; line-height: 1.35; }
.phint .ico { width: 18px; height: 18px; margin-top: 1px; color: var(--lime); }

.pstats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: #222; margin: 14px 18px 14px; border: 1px solid #222; flex: none; }
.pstats > div { background: #121212; padding: 12px 14px; display: grid; gap: 2px; }
.pstats span { font-size: 11px; text-transform: uppercase; letter-spacing: .13em; color: #a9a8a3; font-weight: 700; }
.pstats strong { font-size: 28px; font-weight: 800; line-height: 1.1; color: var(--lime); }
.vf { position: relative; margin: 0 18px; aspect-ratio: 1.42; background: linear-gradient(160deg, #20241b 0%, #0b0d09 70%); overflow: hidden; border-radius: 14px; flex: none; }
.vf__qr { position: absolute; inset: 17%; transform: rotate(-6deg); opacity: .78; filter: blur(.35px) contrast(.9); }
.vf__qr .qr { width: 100%; height: 100%; }
.vf__c { position: absolute; width: 44px; height: 44px; border: 0 solid var(--lime); }
.vf__c--tl { top: 14px; left: 14px; border-width: 5px 0 0 5px; border-top-left-radius: 10px; }
.vf__c--tr { top: 14px; right: 14px; border-width: 5px 5px 0 0; border-top-right-radius: 10px; }
.vf__c--bl { bottom: 14px; left: 14px; border-width: 0 0 5px 5px; border-bottom-left-radius: 10px; }
.vf__c--br { bottom: 14px; right: 14px; border-width: 0 5px 5px 0; border-bottom-right-radius: 10px; }
.vf__line { position: absolute; left: 9%; right: 9%; height: 3px; background: var(--lime); box-shadow: 0 0 18px 2px var(--lime); border-radius: 2px; animation: scanline 2.6s ease-in-out infinite; }
@keyframes scanline { 0%, 100% { top: 14%; } 50% { top: 84%; } }
.vf__cap { text-align: center; color: #a9a8a3; font-size: 14px; padding: 12px 18px 6px; }
.sim { margin: 8px 18px 18px; border-top: 1px dashed #3a3a3a; padding-top: 14px; display: grid; gap: 8px; }
.sim .label { font-size: 11px; color: var(--lime); letter-spacing: .15em; }
.sim__b { display: flex; align-items: center; gap: 12px; background: #151515; border: 1px solid #2c2c2c; padding: 13px 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: 14px; transition: background .15s, border-color .15s; }
.sim__b:hover { background: #202020; border-color: #4a4a4a; }
.sim__b i { width: 14px; height: 14px; border-radius: 50%; flex: none; }
.sim__b--ok i { background: var(--lime); } .sim__b--warn i { background: var(--sun); } .sim__b--bad i { background: var(--red); }
.sim__b span { margin-left: auto; color: #77756c; }
.sim__b .ico { width: 18px; height: 18px; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid #222; background: #0c0c0c; flex: none; padding-bottom: 14px; }
.tabs a { display: grid; justify-items: center; gap: 4px; padding: 12px 0 8px; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: #8c8b86; position: relative; }
.tabs a.is-on { color: var(--lime); }
.tabs a.is-on::before { content: ''; position: absolute; top: -1px; left: 28%; right: 28%; height: 3px; background: var(--lime); }
.rec li { display: grid; grid-template-columns: 50px 1fr auto; gap: 12px; align-items: center; padding: 13px 0; border-bottom: 1px solid #222; }
.rec time { font-weight: 700; font-variant-numeric: tabular-nums; color: #a9a8a3; font-size: 15px; }
.rec strong { display: block; font-weight: 600; font-size: 16px; line-height: 1.2; }
.rec span { color: #8c8b86; font-size: 13px; line-height: 1.3; display: block; }
.pbody--list { padding-bottom: 12px; }
.pbody--list .chip { font-size: 10px; padding: 4px 8px; }

/* results */
.res { color: #000; background: var(--lime); }
.res--warn { background: var(--sun); }
.res--bad { background: var(--red); color: #fff; }
.res--done { background: #000; color: #fff; }
.res__top { padding: 18px 22px 16px; display: grid; gap: 6px; justify-items: start; flex: none; }
.res__ic { width: 50px; height: 50px; border-radius: 50%; background: #000; color: var(--lime); display: grid; place-items: center; }
.res--warn .res__ic { color: var(--sun); }
.res--bad .res__ic { background: #fff; color: var(--red); }
.res--done .res__ic { background: var(--lime); color: #000; }
.res__ic .ico { width: 26px; height: 26px; stroke-width: 3; }
.res__top .label { font-size: 11.5px; opacity: .75; margin-top: 6px; }
.res__top h2 { font-size: 38px; font-weight: 800; text-transform: uppercase; line-height: .95; letter-spacing: -.01em; }
.res__card { background: #fff; color: #000; margin: 0 16px; padding: 16px; display: grid; gap: 12px; }
.res__card--dk { background: #141414; color: #fff; }
.res__who { display: flex; gap: 14px; align-items: center; }
.res__who strong { display: block; font-size: 22px; font-weight: 800; text-transform: uppercase; line-height: 1.1; }
.res__who span:not(.num) { color: #55544f; font-size: 14.5px; }
.res--done .res__who span:not(.num) { color: #a9a8a3; }
.res__rows { display: grid; }
.res__rows li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 0; border-top: 1px solid #e1ded7; font-size: 15px; }
.res__rows li > span:first-child { color: #55544f; }
.res__rows strong { font-weight: 700; text-align: right; font-size: 14.5px; }
.res__rows code { font: 600 13.5px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .06em; }
.res__note { color: #55544f; font-size: 14.5px; line-height: 1.4; }
.res--done .res__note { color: #cfcdc6; }
.res__act { margin: auto 16px 0; padding: 14px 0 18px; display: grid; gap: 8px; }
.res__act .btn { padding: 17px 18px; font-size: 14px; }
.res--bad .btn--white { color: #000; }
.res__skip { text-align: center; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: 12.5px; padding: 8px; opacity: .75; }
.pill--bk { justify-content: center; color: #000; }
.pill--wh { justify-content: center; color: inherit; }
.res--warn .pill--bk:hover, .res--ok .pill--bk:hover { background: #000; color: #fff; }
.res--bad .pill--wh:hover { background: #fff; color: var(--red); border-color: #fff; }
.res--done .pill--wh:hover { background: #fff; color: #000; border-color: #fff; }

@media (max-width: 1000px) {
  .pstage__in { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .pstage__info { justify-self: start; max-width: 640px; order: 2; }
  .phone { order: 1; }
}
@media (max-width: 700px) {
  .pstage .hdr { display: none; }
  .pstage__in { padding: 0; min-height: 100dvh; align-items: stretch; background: #0c0c0c; }
  .pstage__info, .pstage .ghost { display: none; }
  .phone { width: 100%; min-width: 0; max-width: 100%; height: 100dvh; border-radius: 0; padding: 0; border: 0; box-shadow: none; }
  .phone__island { display: none; }
  .phone__screen { border-radius: 0; }
  .sbar { display: none; }
  .abar { padding-top: calc(14px + env(safe-area-inset-top)); padding-right: 16px; }
  body.is-phone .pmenu-btn { top: calc(8px + env(safe-area-inset-top)); bottom: auto; right: 10px; left: auto; padding: 7px 12px 7px 10px; font-size: 10.5px; }
  body.is-phone .pmenu { top: 52px; bottom: auto; left: 8px; }
  .abar__r { display: none; }
}
