/* =====================================================================
   Koscom Tech Summit 2026 스탬프·포인트몰
   참가자 화면: 검정 + 주황 (써밋 KV) / 운영·관리자 화면: 밝은 배경
   ===================================================================== */
:root {
  --or: #F37021; --or-hi: #FF8A45; --or-deep: #B4470C; --or-soft: #2A1A10;
  --ok: #3C9A5B; --ok-soft: #E7F1EA; --ok-ink: #25653A;
  --font: 'IBM Plex Sans KR', 'Apple SD Gothic Neo', 'Malgun Gothic', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
  --r: 14px;
}
body.dark {
  --bg: #0E0E10; --sf: #1A1A1D; --sf2: #16161A; --sf3: #26262B; --line: #2C2C30; --line2: #34343A;
  --tx: #F4F4F2; --tx2: #C9C9CD; --mu: #A3A3A8; --mu2: #6E6E76; --acc-tx: #F37021;
  --tab: #121214;
}
body.light {
  --bg: #F6F5F2; --sf: #FFFFFF; --sf2: #FAF9F6; --sf3: #F1EFEA; --line: #E4E2DC; --line2: #D9D6CE;
  --tx: #18181B; --tx2: #3A3A40; --mu: #5E5E66; --mu2: #8E8E94; --acc-tx: #B4470C;
  --tab: #FFFFFF;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--tx); font-family: var(--font); font-size: 15px; line-height: 1.5; min-height: 100vh; }
a { color: var(--acc-tx); }
button, input, select, textarea { font: inherit; color: inherit; }
.mono { font-family: var(--mono); }
.mu { color: var(--mu); }
.hidden { display: none !important; }
.boot { padding: 40vh 0; text-align: center; color: #888; }
h1, h2, h3 { margin: 0; line-height: 1.35; }

/* ---------- 레이아웃 ---------- */
.phone { max-width: 480px; margin: 0 auto; min-height: 100vh; display: flex; flex-direction: column; }
.phone > .body { flex: 1; padding: 4px 20px 28px; display: flex; flex-direction: column; gap: 20px; }
.phone.has-tabs > .body { padding-bottom: 100px; }
.wide { max-width: 1280px; margin: 0 auto; padding: 0 24px 40px; }
.topbar { display: flex; align-items: center; justify-content: space-between; height: 60px; padding: 0 20px; gap: 12px; }
.brand { font-size: 14px; font-weight: 700; letter-spacing: .04em; color: var(--tx); text-decoration: none; white-space: nowrap; }
.brand b { color: var(--or); }
.who { font-size: 12px; color: var(--mu); text-align: right; display: flex; gap: 10px; align-items: center; }
.who a { color: var(--mu); }
.back { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; color: var(--tx); margin-left: -12px; border: 0; background: none; cursor: pointer; }
.page-title { font-size: 20px; font-weight: 700; }

/* 운영 상단바 */
.opsbar { background: #0E0E10; color: #F4F4F2; }
.opsbar .in { max-width: 1280px; margin: 0 auto; display: flex; align-items: center; gap: 24px; height: 60px; padding: 0 24px; overflow-x: auto; }
.opsbar .brand { color: #F4F4F2; }
.opsbar nav { display: flex; gap: 20px; font-size: 14px; white-space: nowrap; }
.opsbar nav a { color: #A3A3A8; text-decoration: none; padding: 4px 0; }
.opsbar nav a.on { color: #F4F4F2; font-weight: 600; border-bottom: 2px solid var(--or); }
.opsbar .right { margin-left: auto; display: flex; align-items: center; gap: 12px; font-size: 12px; color: #A3A3A8; white-space: nowrap; }
.opsbar .right a { color: #A3A3A8; }
.live { display: inline-flex; align-items: center; gap: 8px; }
.live i { width: 8px; height: 8px; border-radius: 50%; background: #3DD46B; box-shadow: 0 0 0 3px #3DD46B33; }
.live.off i { background: #E5A33A; box-shadow: 0 0 0 3px #E5A33A33; }

/* ---------- 탭바 ---------- */
.tabs { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: var(--tab); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
.tabs .in { max-width: 480px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); height: 72px; }
.tabs a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: #8E8E94; font-size: 11px; text-decoration: none; }
.tabs a.on { color: var(--or); }

/* ---------- 공통 요소 ---------- */
.card { background: var(--sf); border: 1px solid var(--line); border-radius: 18px; padding: 20px; }
.card.tight { padding: 14px 16px; border-radius: var(--r); }
.note { background: var(--sf2); border-radius: var(--r); padding: 14px 16px; font-size: 13px; line-height: 1.6; color: var(--tx2); }
body.light .note { border: 1px solid var(--line); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 54px; padding: 0 20px; border-radius: 12px; border: 0; background: var(--or); color: #0E0E10; font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer; width: 100%; text-align: center; }
.btn:hover { background: var(--or-hi); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn.sub { background: transparent; border: 1px solid #4A4A52; color: var(--tx); font-weight: 600; font-size: 15px; height: 50px; }
body.light .btn.sub { border-color: var(--line2); background: var(--sf); }
.btn.sub:hover { border-color: var(--mu); }
.btn.two { flex-direction: column; gap: 0; height: 62px; }
.btn.two small { font-size: 12px; font-weight: 500; opacity: .85; }
.btn.sm { height: 38px; font-size: 13px; padding: 0 14px; width: auto; border-radius: 10px; }
.btn.danger { background: transparent; border: 1px solid var(--or-deep); color: var(--or-deep); }
body.dark .btn.danger { color: var(--or); border-color: var(--or); }
.btn.ghost { background: transparent; color: var(--mu); height: 44px; font-weight: 500; font-size: 14px; }
.btn-col { display: flex; flex-direction: column; gap: 10px; }
.linkbtn { background: none; border: 0; color: var(--mu); text-decoration: underline; cursor: pointer; padding: 10px 0; font-size: 13px; }

.fld { display: flex; flex-direction: column; gap: 8px; }
.fld > label, .lbl { font-size: 13px; color: var(--mu); font-weight: 500; }
.inp { height: 52px; border-radius: 12px; border: 1px solid var(--line2); background: var(--sf); color: var(--tx); padding: 0 16px; font-size: 16px; width: 100%; }
body.dark .inp { background: #18181B; }
.inp:focus { outline: none; border-color: var(--or); box-shadow: 0 0 0 3px #F3702133; }
.inp.sm { height: 40px; font-size: 14px; border-radius: 10px; padding: 0 12px; }
textarea.inp { height: auto; padding: 12px 14px; min-height: 120px; line-height: 1.5; }
.mailbox { display: flex; align-items: center; border: 1px solid var(--line2); border-radius: 12px; background: #18181B; overflow: hidden; }
.mailbox:focus-within { border-color: var(--or); box-shadow: 0 0 0 3px #F3702133; }
.mailbox input { flex: 1; min-width: 0; height: 52px; border: 0; background: transparent; padding: 0 0 0 16px; font-size: 16px; outline: none; }
.mailbox span { padding: 0 16px 0 4px; color: var(--mu); font-size: 15px; white-space: nowrap; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; line-height: 1.5; color: var(--mu); }
.check input { width: 20px; height: 20px; margin: 0; accent-color: var(--or); flex: none; }
.err { color: #FF7A6B; font-size: 13px; }
body.light .err { color: #C0392B; }

.chip { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 14px; border-radius: 16px; border: 1px solid var(--line2); background: var(--sf); font-size: 13px; color: var(--tx2); cursor: pointer; white-space: nowrap; }
.chip.on { background: #18181B; border-color: #18181B; color: #F4F4F2; }
.chip .n { font-family: var(--mono); font-size: 12px; opacity: .75; }
.badge { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 11px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.b-wait { background: #FFF0E3; color: var(--or-deep); }
.b-done { background: var(--ok-soft); color: var(--ok-ink); }
.b-cancel { background: #EEEDEA; color: #6B6B72; }
.b-near { background: var(--or); color: #0E0E10; }
.b-sold { background: #3A3A40; color: #C9C9CD; }
.b-open { background: #E3F5E9; color: #1F7A3F; }

/* ---------- 로그인 ---------- */
.hero { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
.kicker { font-family: var(--mono); font-size: 12px; color: var(--or); letter-spacing: .08em; }
.hero h1 { font-size: 28px; font-weight: 700; }
.hero p { margin: 0; font-size: 14px; color: var(--mu); line-height: 1.6; }
.hero p b { color: var(--tx); font-weight: 500; }
.icon-box { width: 56px; height: 56px; border-radius: 16px; background: var(--or-soft); display: flex; align-items: center; justify-content: center; }
.steps { display: flex; flex-direction: column; gap: 18px; margin-top: 8px; }
.step { display: flex; gap: 14px; align-items: flex-start; font-size: 14px; color: var(--tx2); }
.step b { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--sf3); color: var(--tx); font-family: var(--mono); font-size: 13px; display: flex; align-items: center; justify-content: center; font-weight: 500; }
.step.on b { background: var(--or); color: #0E0E10; }
.step.on span { color: var(--tx); font-weight: 600; }
.step small { display: block; color: var(--mu); font-weight: 400; font-size: 12px; }
.otp { display: flex; gap: 8px; justify-content: space-between; }
.otp input { width: 100%; max-width: 52px; height: 58px; border-radius: 12px; border: 1px solid var(--line2); background: #18181B; text-align: center; font-family: var(--mono); font-size: 24px; font-weight: 600; padding: 0; }
.otp input:focus { outline: none; border-color: var(--or); box-shadow: 0 0 0 2px #F3702133; }
.codehint { background: #F6F5F2; border-radius: 10px; padding: 10px 12px; color: #18181B; display: flex; flex-direction: column; gap: 4px; }
.codehint span { font-size: 11.5px; color: #5E5E66; }
.codehint b { font-family: var(--mono); font-size: 18px; letter-spacing: .2em; }
.spacer { flex: 1; }

/* ---------- 홈 ---------- */
.pts .row1 { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; color: var(--mu); }
.pts .big { display: flex; align-items: baseline; gap: 6px; margin: 12px 0 14px; }
.pts .big b { font-family: var(--mono); font-size: 44px; font-weight: 600; line-height: 1; }
.pts .big span { font-family: var(--mono); font-size: 16px; color: var(--mu); }
.bar { height: 8px; border-radius: 4px; background: var(--line); overflow: hidden; }
.bar i { display: block; height: 8px; background: var(--or); border-radius: 4px; transition: width .4s; }
.pts .goal { font-size: 12px; color: var(--mu); margin: 10px 0 14px; }
.sec-h { display: flex; justify-content: space-between; align-items: baseline; }
.sec-h h2 { font-size: 16px; font-weight: 700; }
.sec-h span { font-family: var(--mono); font-size: 12px; color: var(--mu); }
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.grid5 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px 4px; margin-top: 14px; }
.st { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 11.5px; text-align: center; line-height: 1.35; color: var(--tx2); }
.st .c { width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.grid5 .st .c { width: 52px; height: 52px; }
.st .c.on { background: var(--or); animation: pop .35s ease-out; }
.st .c.off { border: 1.5px dashed #4A4A52; color: var(--mu2); font-family: var(--mono); font-size: 12px; }
@keyframes pop { 0% { transform: scale(.6); } 70% { transform: scale(1.1); } 100% { transform: scale(1); } }
.sched .row { display: flex; gap: 12px; align-items: baseline; font-size: 13px; padding: 10px 0; border-top: 1px solid var(--sf3); }
.sched .row .t { font-family: var(--mono); color: var(--mu); width: 44px; flex: none; font-size: 12px; }
.sched .row.now, .sched .row.now .t { color: var(--or); }
.pill { font-size: 11px; border: 1px solid var(--or); border-radius: 10px; padding: 1px 8px; margin-left: 6px; }

/* ---------- 스캔 ---------- */
.scanbox { position: relative; width: 100%; aspect-ratio: 1; border-radius: 20px; overflow: hidden; background: #000; }
.scanbox video, .scanbox canvas { width: 100%; height: 100%; object-fit: cover; display: block; }
.scanbox .frame { position: absolute; inset: 14%; border: 3px solid var(--or); border-radius: 18px; box-shadow: 0 0 0 999px #0009; }
.scanbox .msg { position: absolute; left: 0; right: 0; bottom: 14px; text-align: center; font-size: 13px; color: #fff; }
.result { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; padding-top: 24px; }
.result .ring { width: 120px; height: 120px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.result .ring.ok { background: var(--or); animation: pop .4s ease-out; }
.result .ring.dup { border: 3px dashed #6E6E76; }
.result h1 { font-size: 24px; }
.result .plus { font-family: var(--mono); font-size: 40px; font-weight: 600; color: var(--or); }
.result .plus.zero { color: var(--mu); }

/* ---------- 경품몰 ---------- */
.prize-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.prize { background: var(--sf); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.prize .img { aspect-ratio: 1; background: var(--sf3); display: flex; align-items: center; justify-content: center; color: var(--mu2); font-size: 12px; position: relative; }
.prize .img img { width: 100%; height: 100%; object-fit: cover; }
.prize .img .badge { position: absolute; top: 10px; left: 10px; }
.prize .bd { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.prize .nm { font-size: 14px; font-weight: 600; }
.prize .pt { font-family: var(--mono); font-size: 15px; color: var(--or); font-weight: 600; }
.prize .btn { margin-top: auto; height: 40px; font-size: 14px; }
.prize.sold { opacity: .55; }

/* ---------- 교환권 ---------- */
.voucher { background: #F4F4F2; color: #0E0E10; border-radius: 18px; padding: 22px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.voucher .top { align-self: stretch; display: flex; justify-content: space-between; font-size: 13px; }
.voucher .top b { color: #C2500F; }
.voucher .qr { width: 196px; height: 196px; }
.voucher .qr svg, .voucher .qr img { width: 100%; height: 100%; }
.voucher h3 { font-size: 18px; }
.voucher p { margin: 0; font-size: 13px; color: #55555C; text-align: center; }
.voucher .linkbtn { color: #55555C; }
.got { position: relative; background: var(--sf); border: 1px solid var(--line); border-radius: 16px; padding: 16px; display: flex; gap: 14px; align-items: center; overflow: hidden; }
.got .ic { width: 56px; height: 56px; border-radius: 10px; background: var(--sf3); display: flex; align-items: center; justify-content: center; font-size: 11px; color: var(--mu); flex: none; text-align: center; }
.got .mono { white-space: nowrap; }
.got .stamp { margin-left: auto; width: 72px; height: 72px; border-radius: 50%; border: 3px solid var(--or); color: var(--or); display: flex; align-items: center; justify-content: center; text-align: center; font-size: 13px; font-weight: 700; line-height: 1.2; transform: rotate(-14deg); flex: none; animation: pop .4s; }
.got.cancel { opacity: .6; }

/* ---------- 내역 ---------- */
.ledger .row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--sf3); font-size: 14px; }
.ledger .row .t { font-family: var(--mono); font-size: 12px; color: var(--mu); width: 44px; flex: none; }
.ledger .row .d { flex: 1; min-width: 0; }
.ledger .row .d small { display: block; color: var(--mu); font-size: 12px; }
.ledger .row .v { font-family: var(--mono); font-weight: 600; }
.ledger .row .v.plus { color: var(--or); }
.ledger .row .v.minus { color: var(--mu); }

/* ---------- 토스트·모달 ---------- */
#toast { position: fixed; left: 50%; top: 12px; transform: translate(-50%, -140%); transition: transform .3s; z-index: 60; width: min(440px, calc(100% - 24px)); background: #F4F4F2; color: #0E0E10; border-radius: 14px; padding: 14px 16px; display: flex; gap: 12px; align-items: center; box-shadow: 0 10px 30px #0006; }
#toast.show { transform: translate(-50%, 0); }
#toast .ck { width: 32px; height: 32px; border-radius: 50%; background: var(--or); display: flex; align-items: center; justify-content: center; flex: none; }
#toast.warn .ck { background: #E5A33A; }
#toast b { display: block; font-size: 15px; }
#toast span { font-size: 13px; color: #45454C; }
.modal { position: fixed; inset: 0; z-index: 50; background: #000A; display: flex; align-items: flex-end; justify-content: center; padding: 16px; }
@media (min-width: 700px) { .modal { align-items: center; } }
.modal .box { background: var(--sf); color: var(--tx); border-radius: 20px; padding: 22px; width: 100%; max-width: 440px; display: flex; flex-direction: column; gap: 14px; max-height: 90vh; overflow: auto; }
.modal h2 { font-size: 18px; }
.kv { display: flex; justify-content: space-between; font-size: 14px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.kv b { font-family: var(--mono); }

/* ---------- 운영 화면 (밝은 배경) ---------- */
.ops-h { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 22px 0 14px; }
.ops-h h1 { font-size: 20px; font-weight: 700; }
.ops-h .mu { font-size: 13px; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; }
.kp { background: var(--sf); border: 1px solid var(--line); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 6px; }
.kp .l { font-size: 12px; color: var(--mu); }
.kp .v { font-family: var(--mono); font-size: 26px; font-weight: 600; white-space: nowrap; }
.kp .v small { font-size: 14px; color: var(--mu); }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cols.set-cols { grid-template-columns: minmax(300px, 380px) minmax(0, 1fr); }
@media (max-width: 860px) { .cols, .cols.set-cols { grid-template-columns: 1fr; } }
.panel { background: var(--sf); border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.panel h2 { font-size: 15px; font-weight: 700; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.panel h2 small { font-weight: 400; font-size: 12px; color: var(--mu); }
.br { display: grid; grid-template-columns: 110px 1fr 40px; align-items: center; gap: 10px; font-size: 13px; padding: 4px 0; }
.br .bar { height: 10px; background: var(--sf3); }
.br .bar i { height: 10px; }
.br .n { font-family: var(--mono); font-size: 12px; text-align: right; }
.tb-wrap { background: var(--sf); border: 1px solid var(--line); border-radius: 14px; overflow: auto; }
.tb { width: 100%; border-collapse: collapse; font-size: 13px; }
.tb th { text-align: left; font-weight: 600; color: var(--mu); font-size: 12px; padding: 10px 12px; border-bottom: 1px solid var(--line); background: var(--sf2); white-space: nowrap; position: sticky; top: 0; }
.tb td { padding: 10px 12px; border-bottom: 1px solid var(--sf3); white-space: nowrap; }
.tb tr.click { cursor: pointer; }
.tb tr.click:hover td { background: #FFF8EF; }
.tb tr.sel td { background: #FFF4EC; }
.tb tr.sel td:first-child { box-shadow: inset 3px 0 0 var(--or); }
.tb tr.fresh td { animation: fresh 3s ease-out; }
@keyframes fresh { 0% { background: #FFE2C8; } 100% { background: transparent; } }
.tb .m { font-family: var(--mono); }
.tb input.inp.sm, .tb select.inp.sm { min-width: 70px; }
.tools { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.search { height: 36px; width: 240px; border-radius: 10px; border: 1px solid var(--line2); background: var(--sf); padding: 0 12px; font-size: 13px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 0; background: var(--sf); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; min-height: 560px; }
.split .main { padding: 16px; min-width: 0; overflow: auto; }
.split aside { border-left: 1px solid var(--line); padding: 20px; display: flex; flex-direction: column; gap: 14px; }
@media (max-width: 980px) { .split { grid-template-columns: 1fr; } .split aside { border-left: 0; border-top: 1px solid var(--line); } }
.ev { display: grid; grid-template-columns: 46px 14px 1fr; gap: 10px; font-size: 13px; line-height: 1.5; }
.ev .t { font-family: var(--mono); font-size: 12px; color: var(--mu); padding-top: 1px; }
.ev .d { width: 10px; height: 10px; border-radius: 50%; background: #C9C6BE; margin-top: 5px; }
.ev .d.or { background: var(--or); } .ev .d.ok { background: var(--ok); }
.mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mini div { background: var(--sf3); border-radius: 10px; padding: 10px; }
.mini small { display: block; font-size: 11px; color: var(--mu); }
.mini b { font-family: var(--mono); font-size: 18px; }
.qrcard { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.qrcard .qr { width: 160px; height: 160px; background: #fff; padding: 8px; border-radius: 12px; border: 1px solid var(--line); flex: none; }
.qrcard .qr svg { width: 100%; height: 100%; }
.big-result { border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.big-result.ok { background: var(--ok-soft); color: var(--ok-ink); }
.big-result.warn { background: #FFF0E3; color: var(--or-deep); }
.big-result.bad { background: #EEEDEA; color: #45454C; }
.big-result h2 { font-size: 22px; }
.big-result .who { font-size: 18px; color: inherit; justify-content: flex-start; }
.row-gap { display: flex; flex-direction: column; gap: 12px; }
.inline { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.switch { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--sf3); font-size: 14px; }
.switch small { display: block; color: var(--mu); font-size: 12px; }
.switch input[type=checkbox] { width: 22px; height: 22px; accent-color: var(--or); }

/* 세션 스크린용 QR */
.screen { position: fixed; inset: 0; background: #0E0E10; color: #F4F4F2; z-index: 40; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; padding: 24px; text-align: center; }
.screen .qr { background: #fff; padding: 18px; border-radius: 24px; width: min(70vh, 80vw); height: min(70vh, 80vw); }
.screen .qr svg { width: 100%; height: 100%; }
.screen h1 { font-size: clamp(22px, 4vw, 44px); }
.screen .cd { font-family: var(--mono); font-size: clamp(18px, 3vw, 32px); color: var(--or); }
.screen .x { position: absolute; top: 16px; right: 16px; }

/* 인쇄용 부스 QR */
.print-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.poster { border: 1px solid var(--line); border-radius: 16px; padding: 24px; text-align: center; background: #fff; color: #0E0E10; break-inside: avoid; }
.poster .qr { width: 70%; margin: 16px auto; }
.poster .qr svg { width: 100%; height: auto; }
.poster h2 { font-size: 26px; }
@media print {
  .opsbar, .demo-bar, .no-print { display: none !important; }
  body.light { background: #fff; }
  .print-grid { grid-template-columns: 1fr; }
  .poster { page-break-after: always; border: 0; }
}

/* ---------- 데모 띠 ---------- */
.demo-bar { background: #FFD84D; color: #222; font-size: 12px; padding: 6px 12px; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; position: sticky; top: 0; z-index: 30; }
.demo-bar b { margin-right: 4px; }
.demo-bar button { border: 1px solid #0003; background: #fff8; border-radius: 12px; padding: 2px 10px; cursor: pointer; font-size: 12px; }
.demo-bar button.on { background: #222; color: #fff; }

@media (max-width: 380px) {
  .phone > .body { padding-left: 16px; padding-right: 16px; }
  .st .c { width: 54px; height: 54px; }
  .grid5 .st .c { width: 46px; height: 46px; }
}
