/* Проект: ZVUMO — стиль экранов лояльности поверх общего bookings.css (тёмный, свечения, без лишнего движения). */

.pill.wip { color: #07071A; background: #FFD66B; height: 22px; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 90; max-width: min(92vw, 520px);
  padding: 12px 18px; border-radius: 16px; background: #1A1C46; border: 1px solid var(--line-2); box-shadow: 0 20px 50px -20px #000; font-size: 14.5px; }
.toast.err { border-color: rgba(255,77,126,.5); color: #FFD0DC; }
.toast.ok { border-color: rgba(94,242,199,.5); }
.beta { max-width: 520px; margin: 12vh auto; padding: 32px; display: grid; gap: 14px; justify-items: start; }
.beta h2 { font: 600 24px/1.2 var(--display); }
.beta p { color: var(--soft); }

/* ── шапка ─────────────────────────────────────────────────────────── */
.lhead { display: flex; align-items: center; gap: 14px; padding: 18px 28px; border-bottom: 1px solid var(--line); }
.lhead .wordmark { margin-right: 4px; }
.lhead .sep { width: 1px; height: 22px; background: var(--line-2); }
.lhead .venue { font-weight: 600; }
.lhead .who { margin-left: auto; color: var(--muted); font-size: 14px; display: flex; gap: 12px; align-items: center; }
.lhead .who a { color: var(--muted); text-decoration: none; }
.lhead .who a:hover { color: var(--text); }

/* ── планшет ───────────────────────────────────────────────────────── */
.tablet { display: grid; grid-template-columns: minmax(440px, 1.05fr) 1fr; gap: 24px; padding: 24px 28px 28px; min-height: calc(100vh - 71px); }
.qrcard { position: relative; padding: 34px 34px 28px; display: flex; flex-direction: column; align-items: center; text-align: center; overflow: hidden; }
.qrcard::before { content: ''; position: absolute; inset: -40% -20% auto; height: 70%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(124,92,255,.35), transparent); }
.qrcard h1 { font: 600 30px/1.15 var(--display); letter-spacing: -.01em; max-width: 15ch; position: relative; }
.qrcard h1 em { font-style: normal; background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.qrcard .lead { color: var(--soft); margin-top: 10px; max-width: 40ch; position: relative; }
.qrframe { position: relative; margin: 26px 0 18px; padding: 16px; border-radius: 30px; background: #fff;
  box-shadow: 0 0 0 1px rgba(255,255,255,.4), 0 0 60px -6px rgba(124,92,255,.75), 0 0 120px -20px rgba(34,211,238,.6); }
.qrframe .qr { width: min(38vh, 340px); height: min(38vh, 340px); display: block; }
.qrframe .qr svg { width: 100%; height: 100%; display: block; }
.qrframe.used .qr { opacity: .15; }
.qrframe .stamp { position: absolute; inset: 0; display: grid; place-items: center; font: 600 20px/1.2 var(--display); color: #07071A; }
.timer { width: min(38vh, 340px); position: relative; }
.timer .bar { height: 6px; border-radius: 6px; background: rgba(255,255,255,.08); overflow: hidden; }
.timer .bar i { display: block; height: 100%; background: var(--brand); box-shadow: 0 0 12px rgba(124,92,255,.8); }
.timer small { display: flex; justify-content: space-between; margin-top: 8px; color: var(--muted); font-size: 13px; }
.steps { display: flex; gap: 10px; margin-top: auto; padding-top: 22px; position: relative; flex-wrap: wrap; justify-content: center; }
.steps span { display: inline-flex; align-items: center; gap: 8px; color: var(--soft); font-size: 13.5px; }
.steps b { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(124,92,255,.3); font-size: 12px; }

.side { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.scanbtn { display: flex; align-items: center; gap: 18px; padding: 22px 24px; text-align: left; width: 100%; border: 1px solid rgba(34,211,238,.35);
  background: linear-gradient(110deg, rgba(34,211,238,.14), rgba(59,107,255,.10) 60%, rgba(255,255,255,.02)); border-radius: var(--r); }
.scanbtn:hover { border-color: rgba(34,211,238,.7); box-shadow: 0 0 30px -8px rgba(34,211,238,.7); }
.scanbtn .ic { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; flex: none; background: rgba(34,211,238,.18);
  box-shadow: 0 0 24px -4px rgba(34,211,238,.8); color: #A8F1FF; }
.scanbtn .ic svg { width: 30px; height: 30px; }
.scanbtn b { font: 600 19px/1.2 var(--display); display: block; }
.scanbtn small { color: var(--soft); font-size: 14px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stat { padding: 16px 18px; }
.stat .n { font: 600 30px/1 var(--display); }
.stat small { color: var(--muted); font-size: 13px; display: block; margin-top: 6px; }
.feed { padding: 18px 18px 8px; flex: 1; min-height: 0; overflow: auto; }
.feed h3, .h3 { font: 600 12px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); margin: 0 0 12px 4px; }
.visit { display: grid; grid-template-columns: 44px 1fr auto; gap: 14px; align-items: center; padding: 12px; border-radius: 16px;
  border: 1px solid var(--line); background: rgba(255,255,255,.025); margin-bottom: 8px; }
.visit .ava { width: 44px; height: 44px; font-size: 16px; }
.visit p { font-weight: 600; }
.visit small { color: var(--muted); font-size: 13px; }
.visit .pc { font: 600 18px/1 var(--display); color: var(--mint); text-shadow: 0 0 14px rgba(94,242,199,.6); text-align: right; }
.visit .pc small { display: block; font: 500 12px/1.3 var(--body); color: var(--muted); text-shadow: none; margin-top: 4px; }
.visit.off { opacity: .6; }
.visit.off .pc { color: var(--muted); text-shadow: none; font-size: 13px; }
.tag { display: inline-flex; height: 20px; padding: 0 8px; border-radius: 99px; font-size: 11.5px; font-weight: 600; align-items: center; margin-left: 6px; vertical-align: 2px; }
.tag.new { background: rgba(224,64,251,.22); color: #F6D2FF; }
.tag.a { background: rgba(34,211,238,.16); color: #A8F1FF; }
.tag.b { background: rgba(124,92,255,.22); color: #D9CCFF; }

/* «Гость пришёл» — крупно поверх планшета */
.arrive { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; background: rgba(5,5,20,.72); backdrop-filter: blur(6px); }
.arrive .card { width: min(560px, 92vw); padding: 40px 36px 32px; text-align: center; border-radius: 32px; position: relative;
  background: radial-gradient(120% 80% at 50% 0%, rgba(124,92,255,.35), transparent 60%), #10123A; border: 1px solid rgba(170,178,255,.25);
  box-shadow: 0 0 80px -10px rgba(124,92,255,.7); }
.arrive .ava { width: 84px; height: 84px; font-size: 32px; margin-bottom: 16px; }
.arrive h2 { font: 600 34px/1.1 var(--display); }
.arrive .tel { color: var(--muted); margin-top: 6px; }
.arrive .big { display: flex; justify-content: center; gap: 14px; margin: 26px 0 18px; }
.arrive .big div { flex: 1; padding: 16px 10px; border-radius: 20px; background: rgba(255,255,255,.05); border: 1px solid var(--line); }
.arrive .big b { font: 600 44px/1 var(--display); display: block; }
.arrive .big .disc b { color: var(--mint); text-shadow: 0 0 24px rgba(94,242,199,.6); }
.arrive .big small { color: var(--muted); font-size: 13.5px; }
.arrive .note { color: var(--soft); font-size: 14.5px; }
.arrive.warn .card { box-shadow: 0 0 80px -10px rgba(255,214,107,.5); border-color: rgba(255,214,107,.4); }
.arrive .close { margin-top: 22px; }

/* Сканер карты гостя */
.sheet-bg { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; background: rgba(5,5,20,.7); backdrop-filter: blur(6px); }
.scanner { width: min(560px, 94vw); padding: 26px; display: grid; gap: 16px; }
.scanner h2 { font: 600 22px/1.2 var(--display); }
.scanner video { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; background: #000; border: 1px solid var(--line-2); }
.scanner .nocam { padding: 22px; border-radius: 18px; border: 1px dashed var(--line-2); color: var(--soft); font-size: 14.5px; }
.scanner .row { display: flex; gap: 10px; }
.field-in { flex: 1; height: 44px; padding: 0 14px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(255,255,255,.04);
  color: var(--text); font: inherit; }
.field-in:focus { outline: none; border-color: rgba(124,92,255,.7); box-shadow: 0 0 0 3px rgba(124,92,255,.25); }
.devbtn { border-style: dashed !important; }
.devnote { font-size: 12.5px; color: var(--dim); }

@media (max-width: 900px) {
  .tablet { grid-template-columns: 1fr; padding: 16px; }
  .lhead { padding: 14px 16px; flex-wrap: wrap; }
  .qrcard h1 { font-size: 24px; }
}

/* ── телефон гостя (имитация Telegram) ──────────────────────────────── */
.phone-page { display: flex; gap: 28px; justify-content: center; align-items: flex-start; padding: 24px 16px; }
.phone-page aside { width: 300px; padding-top: 10px; display: grid; gap: 14px; }
.phone-page aside h1 { font: 600 22px/1.2 var(--display); }
.phone-page aside p { color: var(--soft); font-size: 14px; }
.personas { display: grid; gap: 8px; }
.persona { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255,255,255,.03); text-align: left; width: 100%; }
.persona.on { border-color: rgba(124,92,255,.7); background: rgba(124,92,255,.18); box-shadow: 0 0 16px -4px rgba(124,92,255,.8); }
.persona small { display: block; color: var(--muted); font-size: 12.5px; }
.phone { width: 390px; height: 800px; border-radius: 44px; padding: 12px; background: #050512; border: 1px solid rgba(170,178,255,.25);
  box-shadow: 0 30px 80px -30px #000, 0 0 60px -20px rgba(124,92,255,.6); position: relative; flex: none; }
.screen { height: 100%; border-radius: 34px; overflow: hidden; display: flex; flex-direction: column; background: #0E1024; position: relative; }
.tg-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: #171A3A; border-bottom: 1px solid var(--line); }
.tg-head b { font-size: 15px; display: block; }
.tg-head small { color: var(--muted); font-size: 12px; }
.tg-msgs { flex: 1; overflow: auto; padding: 14px 12px; display: flex; flex-direction: column; gap: 8px;
  background: radial-gradient(80% 50% at 50% 0%, rgba(59,107,255,.12), transparent), #0E1024; }
.bub { max-width: 84%; padding: 9px 12px 7px; border-radius: 16px; font-size: 14px; line-height: 1.4; white-space: pre-line; position: relative; }
.bub.out { align-self: flex-start; background: #1E2150; border-bottom-left-radius: 6px; }
.bub.in { align-self: flex-end; background: linear-gradient(120deg, #3B6BFF, #6D4CFF); border-bottom-right-radius: 6px; }
.bub .at { display: block; text-align: right; font-size: 11px; color: rgba(255,255,255,.5); margin-top: 2px; }
.ikb { display: flex; gap: 6px; margin-top: 4px; align-self: flex-start; max-width: 84%; width: 84%; }
.ikb button { flex: 1; height: 36px; border-radius: 12px; border: 0; background: rgba(124,92,255,.25); color: #fff; font-size: 13.5px; font-weight: 600; }
.ikb button:hover { background: rgba(124,92,255,.4); }
.tg-cam { margin: 0 10px 8px; display: flex; gap: 6px; }
.tg-cam button { flex: 1; min-width: 0; height: 40px; border-radius: 14px; border: 1px dashed rgba(34,211,238,.55); background: rgba(34,211,238,.08); color: #A8F1FF; font-weight: 600; font-size: 13.5px; }
.rkb { display: grid; gap: 6px; padding: 8px 10px; background: #171A3A; border-top: 1px solid var(--line); }
.rkb .line { display: flex; gap: 6px; }
.rkb button { flex: 1; height: 42px; border-radius: 12px; border: 0; background: #262A5E; color: #fff; font-size: 14.5px; font-weight: 600; }
.rkb button.contact { background: var(--btn); }
.rkb button.webapp { background: linear-gradient(100deg, #1A8BB0, #3B6BFF); }
.tg-input { display: flex; gap: 8px; padding: 8px 10px 14px; background: #171A3A; }
.tg-input input { flex: 1; height: 40px; border-radius: 20px; border: 1px solid var(--line-2); background: #0E1024; color: var(--text); padding: 0 14px; font: inherit; font-size: 14px; }
.tg-input button { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--btn); color: #fff; }
.miniapp { position: absolute; inset: 0; z-index: 5; display: flex; flex-direction: column; background: #0E1024; }
.miniapp .mhead2 { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; background: #171A3A; font-size: 14px; }
.miniapp iframe { flex: 1; border: 0; width: 100%; }
@media (max-width: 760px) { .phone-page aside { display: none; } .phone { width: 100%; max-width: 390px; height: calc(100vh - 32px); } }

/* ── мини-приложение «Моя карта» ───────────────────────────────────── */
.card-app { max-width: 420px; margin: 0 auto; padding: 18px 18px 28px; display: grid; gap: 16px; text-align: center; }
.card-app .venue { color: var(--muted); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.card-app h1 { font: 600 24px/1.2 var(--display); }
.card-app .qrframe { margin: 4px auto 0; padding: 12px; border-radius: 24px; }
.card-app .qrframe .qr { width: 230px; height: 230px; }
.card-app .timer { width: 230px; margin: 0 auto; }
.progress { padding: 16px; text-align: left; display: grid; gap: 10px; }
.progress .top { display: flex; justify-content: space-between; align-items: baseline; }
.progress .top b { font: 600 26px/1 var(--display); }
.progress .top .pc { color: var(--mint); text-shadow: 0 0 16px rgba(94,242,199,.6); }
.dots { display: flex; gap: 5px; flex-wrap: wrap; }
.dots i { width: 14px; height: 14px; border-radius: 50%; background: rgba(255,255,255,.08); border: 1px solid var(--line-2); }
.dots i.on { background: var(--btn); border-color: transparent; box-shadow: 0 0 8px rgba(124,92,255,.8); }
.progress small { color: var(--soft); font-size: 13.5px; }

/* ── кабинет владельца ─────────────────────────────────────────────── */
.owner { max-width: 1180px; margin: 0 auto; padding: 22px 28px 60px; }
.otabs { display: flex; gap: 6px; margin-bottom: 22px; }
.otabs button { height: 40px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,.03); color: var(--muted); font-weight: 600; }
.otabs button.on { background: rgba(124,92,255,.25); color: #fff; border-color: rgba(124,92,255,.6); box-shadow: 0 0 16px -4px rgba(124,92,255,.8); }
.otabs .devtab { margin-left: auto; border-style: dashed; }
.tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-bottom: 18px; }
.gtable { width: 100%; border-collapse: collapse; font-size: 14px; }
.gtable th { text-align: left; font-weight: 600; color: var(--dim); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.gtable td { padding: 12px 14px; border-bottom: 1px solid var(--line); }
.gtable tr:last-child td { border-bottom: 0; }
.gtable .pc { color: var(--mint); font-weight: 600; }
.gtable .yes { color: var(--mint); } .gtable .no { color: var(--dim); }
.tablebox { padding: 6px; overflow-x: auto; }
.toolbar { display: flex; gap: 10px; align-items: center; margin-bottom: 12px; }
.form { padding: 22px; display: grid; gap: 18px; max-width: 760px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; }
.form label small { font-weight: 400; color: var(--muted); }
.form textarea { min-height: 110px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(255,255,255,.04); color: var(--text); font: inherit; resize: vertical; }
.form select { height: 44px; border-radius: 14px; border: 1px solid var(--line-2); background: #14163A; color: var(--text); padding: 0 12px; font: inherit; }
.tier { display: flex; gap: 10px; align-items: center; }
.tier input { width: 90px; flex: none; }
.notice { padding: 12px 16px; border-radius: 14px; background: rgba(255,214,107,.08); border: 1px solid rgba(255,214,107,.3); color: #FFE6A8; font-size: 14px; }
.hist { display: grid; gap: 8px; margin-top: 20px; max-width: 760px; }
.hist div { padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,.025); font-size: 14px; }
.hist small { color: var(--muted); display: block; }
.users { display: grid; gap: 8px; max-width: 640px; }
.users label { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,.025); }
.users small { color: var(--muted); }
@media (max-width: 900px) { .tiles { grid-template-columns: repeat(2, 1fr); } .owner { padding: 16px; } }
.notice.wide { max-width: 640px; margin-bottom: 14px; }
.phone-page aside .pill { justify-self: start; }
.form label.check { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.form label.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: #7C5CFF; flex: none; }
.form label.check small { display: block; }
.arrive .who-label { display: block; color: var(--muted); font-size: 12.5px; letter-spacing: .04em; margin-bottom: 4px; }
.arrive h2 { overflow-wrap: anywhere; }

/* ── «Моя скидка» для кассы ─────────────────────────────────────────── */
.disc-app { max-width: 420px; margin: 0 auto; padding: 22px 18px 28px; display: grid; gap: 16px; text-align: center; }
.disc-app .venue { color: var(--muted); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.disc-app h1 { font: 600 24px/1.2 var(--display); overflow-wrap: anywhere; }
.disc-card { padding: 22px 18px 20px; border-color: rgba(94,242,199,.35); box-shadow: 0 0 50px -18px rgba(94,242,199,.6); }
.disc-card small { color: var(--soft); font-size: 13.5px; }
.disc-big { font: 700 88px/1 var(--display); color: var(--mint); text-shadow: 0 0 34px rgba(94,242,199,.55); margin: 10px 0 8px; }
.disc-big.none { color: var(--dim); text-shadow: none; }
.disc-visits { color: var(--muted); font-size: 14px; }
.live-clock { display: inline-flex; align-items: baseline; justify-content: center; gap: 10px; padding: 12px 18px; border-radius: 18px;
  background: rgba(255,255,255,.04); border: 1px solid var(--line-2); justify-self: center; }
.live-clock b { font: 600 30px/1 var(--display); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.live-clock small { color: var(--muted); font-size: 13px; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 10px var(--mint); align-self: center; }
.disc-note { color: var(--soft); font-size: 14px; }

/* ── лист для печати ───────────────────────────────────────────────── */
.print-page { background: #E9EAF2; color: #07071A; }
.print-page::before, .print-page::after { display: none; }
.print-bar { display: flex; gap: 10px; justify-content: center; padding: 16px; }
.print-bar .btn.line { color: #07071A; border-color: rgba(7,7,26,.25); }
.print-sheet { width: 210mm; min-height: 280mm; margin: 0 auto 24px; padding: 18mm 16mm; background: #fff; color: #07071A;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6mm; box-shadow: 0 10px 40px rgba(0,0,0,.15); }
.ps-venue { font: 600 16pt/1.2 var(--body); color: #4B4F7A; letter-spacing: .04em; text-transform: uppercase; }
.print-sheet h1 { font: 700 30pt/1.1 var(--display); max-width: 16ch; }
.ps-lead { font-size: 14pt; color: #33365A; max-width: 30ch; }
.ps-qr { width: 120mm; height: 120mm; }
.ps-qr svg { width: 100%; height: 100%; display: block; }
.ps-steps { display: flex; gap: 8mm; padding: 0; margin: 0; list-style: none; counter-reset: s; font-size: 12pt; color: #33365A; }
.ps-steps li::before { counter-increment: s; content: counter(s); display: inline-grid; place-items: center; width: 7mm; height: 7mm;
  border-radius: 50%; background: #07071A; color: #fff; font-weight: 700; margin-right: 2mm; font-size: 10pt; }
.ps-safe { font-size: 11pt; color: #4B4F7A; max-width: 40ch; }
.ps-foot { margin-top: auto; display: flex; align-items: center; gap: 3mm; font: 600 12pt/1 var(--display); letter-spacing: .08em; }
.ps-foot small { font: 400 9pt var(--body); color: #8A8DB0; letter-spacing: 0; }
@media print {
  @page { size: A4; margin: 0; }
  .print-bar { display: none; }
  .print-page { background: #fff; }
  .print-sheet { box-shadow: none; margin: 0; }
}

/* ── вкладка «QR для печати» ───────────────────────────────────────── */
.qrtab { display: grid; grid-template-columns: 300px 1fr; gap: 24px; align-items: start; }
.qrtab .qrprev { background: #fff; border-radius: 22px; padding: 14px; box-shadow: 0 0 40px -10px rgba(124,92,255,.6); }
.qrtab .qrprev svg { width: 100%; display: block; }
.modes { display: grid; gap: 10px; }
.modes label { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255,255,255,.025); cursor: pointer; }
.modes label.on { border-color: rgba(124,92,255,.7); background: rgba(124,92,255,.14); }
.modes input { margin-top: 3px; accent-color: #7C5CFF; }
.modes small { display: block; color: var(--muted); font-weight: 400; }
.qrtab .row { display: flex; gap: 10px; flex-wrap: wrap; }
.tag.p { background: rgba(94,242,199,.14); color: #B5FBE5; }
.tag.k { background: rgba(255,214,107,.16); color: #FFE6A8; }
.qrframe.static .qr { opacity: 1; }
@media (max-width: 900px) { .qrtab { grid-template-columns: 1fr; } }
.real-link { justify-self: start; margin-top: 8px; }
.real { max-width: 980px; margin: 0 auto; padding: 28px 20px 60px; display: grid; gap: 22px; }
.real h1 { font: 600 24px/1.2 var(--display); }
.real .lead { color: var(--soft); max-width: 60ch; font-size: 14px; }
.real .box > b { font: 600 16px/1.3 var(--display); }
.real ol { font-size: 14px; line-height: 1.45; }
.real ol b { font: inherit; font-weight: 600; }
.real .devnote { font-size: 12.5px; }
.real-grid { display: grid; grid-template-columns: 340px 1fr; gap: 24px; align-items: start; }
.real-grid .qrprev { background: #fff; border-radius: 24px; padding: 16px; box-shadow: 0 0 50px -12px rgba(124,92,255,.7); }
.real-grid .qrprev svg { width: 100%; display: block; }
.real ol { margin: 0; padding-left: 22px; display: grid; gap: 10px; color: var(--soft); }
.real ol b { color: var(--text); }
.real .box { padding: 20px; display: grid; gap: 12px; }
.real .row { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 860px) { .real-grid { grid-template-columns: 1fr; } }

/* ── страница после скана QR: Telegram или МАКС ───────────────────── */
.qpick { max-width: 420px; margin: 0 auto; min-height: 100vh; padding: 48px 22px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center; gap: 16px; }
.qpick h1 { font: 600 24px/1.2 var(--display); }
.qpick .lead { color: var(--soft); font-size: 15px; }
.qpick-btns { display: grid; gap: 12px; width: 100%; margin-top: 8px; }
.qpick-btns .btn { height: 54px; font-size: 16px; }
.qp-tg.primary { background: linear-gradient(100deg, #1A8BD6, #2AABEE); }
.qp-max.primary { background: linear-gradient(100deg, #6D4CFF, #3B6BFF); }
.qpick-btns .btn.line { height: 48px; font-size: 15px; }
.qpick-remember { display: flex; gap: 8px; align-items: center; color: var(--muted); font-size: 13.5px; }
.qpick-remember input { accent-color: #7C5CFF; }

/* ── имитация: переключатель Telegram / МАКС ─────────────────────── */
.msgr { display: inline-flex; gap: 4px; padding: 4px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid var(--line); justify-self: start; }
.msgr button { height: 32px; padding: 0 14px; border-radius: 10px; border: 0; background: none; color: var(--muted); font-weight: 600; font-size: 13.5px; }
.msgr button.on { background: rgba(124,92,255,.28); color: #fff; }
.msgr-max .tg-head { background: linear-gradient(90deg, #2A1C5C, #1B2470); }
.msgr-max .bub.in { background: linear-gradient(120deg, #7C3CFF, #4F46E5); }
.gtable small.ch { display: block; color: var(--muted); font-size: 12px; font-weight: 400; }

/* ── отзывы в кабинете ───────────────────────────────────────────── */
.rdist { display: grid; gap: 4px; grid-column: span 2; }
.rdist div { display: grid; grid-template-columns: 28px 1fr 28px; gap: 8px; align-items: center; font-size: 12.5px; color: var(--muted); }
.rdist i { display: block; height: 6px; border-radius: 6px; background: var(--brand); min-width: 2px; }
.rdist b { text-align: right; color: var(--soft); font-weight: 600; }
.rlist { display: grid; gap: 10px; max-width: 820px; }
.rv { padding: 14px 16px; display: grid; gap: 8px; }
.rv.low { border-color: rgba(255,77,126,.35); }
.rv-top { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; }
.rv-stars { color: #FFD66B; letter-spacing: 2px; }
.rv p { font-size: 14.5px; overflow-wrap: anywhere; white-space: pre-line; }
.rv-reply { padding: 10px 12px; border-radius: 12px; background: rgba(94,242,199,.07); border: 1px solid rgba(94,242,199,.2); font-size: 14px; overflow-wrap: anywhere; }
.rv-reply small { display: block; color: var(--muted); font-size: 12px; }
.rv .row { display: flex; gap: 8px; }
.ikb .ikb-link { flex: 1; height: 36px; border-radius: 12px; background: rgba(34,211,238,.16); color: #A8F1FF; font-size: 13.5px; font-weight: 600; display: grid; place-items: center; text-decoration: none; }
.users.tm { margin-top: 16px; }
.users.tm label { justify-content: space-between; }
#tmLink .notice { margin-top: 10px; display: grid; gap: 8px; overflow-wrap: anywhere; }
.otabs { flex-wrap: wrap; } .otabs button { white-space: nowrap; }
.modes label.off { opacity: .5; cursor: not-allowed; }
.modes label .pill.wip { margin-left: 6px; vertical-align: 2px; }

/* вкладка «Баллы и промокоды» */
.boxed { padding: 14px; margin-top: 16px; }
