/* POLAR · Трейдер — one stylesheet, dark by default, light via [data-theme=light]. */
:root {
  --bg: #090d1c; --bg-2: #0d1328; --surface: #131a31; --surface-2: #1a2342; --line: rgba(255,255,255,.07); --line-2: rgba(255,255,255,.12);
  --text: #eef2ff; --muted: #8b95b4; --faint: #5d6788;
  --accent: #7be4d3; --accent-ink: #04211d; --accent-soft: rgba(123,228,211,.12);
  --blue: #3986ff; --blue-2: #1552ec; --violet: #8a5cff;
  --ok: #4fd69c; --ok-soft: rgba(79,214,156,.14); --warn: #ffc261; --warn-soft: rgba(255,194,97,.14); --bad: #ff6b81; --bad-soft: rgba(255,107,129,.14);
  --shadow: 0 18px 50px rgba(0,0,0,.45); --r: 20px; --r-s: 14px;
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #f2f5fb; --bg-2: #e9eef8; --surface: #fff; --surface-2: #f1f4fa; --line: rgba(11,18,34,.08); --line-2: rgba(11,18,34,.14);
  --text: #0b1222; --muted: #5b6684; --faint: #8d97b3; --accent: #0fb5a4; --accent-ink: #fff; --accent-soft: rgba(15,181,164,.12);
  --shadow: 0 14px 40px rgba(20,32,70,.12); color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.45 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; color: inherit; }
button { border: 0; background: none; padding: 0; cursor: pointer; }
.num { font-variant-numeric: tabular-nums; }
svg.i { width: 20px; height: 20px; flex: none; }

/* ——— Layout ——— */
.shell { display: grid; grid-template-columns: 248px minmax(0, 1fr); min-height: 100vh; }
.side { position: sticky; top: 0; height: 100vh; padding: 22px 14px; display: flex; flex-direction: column; gap: 4px; background: var(--bg-2); border-right: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; padding: 4px 10px 22px; font-weight: 800; letter-spacing: .12em; }
.brand img { width: 34px; height: 34px; border-radius: 11px; }
.brand small { display: block; font-size: 11px; letter-spacing: .04em; color: var(--muted); font-weight: 600; }
.nav-btn { display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 12px; border-radius: 13px; color: var(--muted); font-weight: 600; font-size: 14.5px; text-align: left; transition: background .15s, color .15s; }
.nav-btn:hover { background: var(--surface); color: var(--text); }
.nav-btn[aria-current="page"] { background: var(--accent-soft); color: var(--accent); box-shadow: inset 0 0 0 1px rgba(123,228,211,.22); }
.nav-btn .count { margin-left: auto; min-width: 22px; height: 22px; padding: 0 7px; border-radius: 11px; display: grid; place-items: center; background: var(--warn); color: #2a1a00; font-size: 12px; font-weight: 800; }
.side-foot { margin-top: auto; display: grid; gap: 10px; }
.me { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 14px; background: var(--surface); }
.me .ava { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; background: linear-gradient(145deg, var(--blue), var(--violet)); }
.me strong { display: block; font-size: 14px; } .me small { color: var(--muted); font-size: 12px; }
.main { min-width: 0; padding: 26px 32px 120px; max-width: 1240px; }
.top { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.top h1 { margin: 0; font-size: 28px; letter-spacing: -.02em; flex: 1; }
.top p { margin: 2px 0 0; color: var(--muted); font-size: 14px; }

/* ——— The big «accepting» switch ——— */
.live { display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 16px; border-radius: 18px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.live b { font-size: 14px; } .live small { display: block; color: var(--muted); font-size: 12px; }
.live.on { background: linear-gradient(120deg, rgba(79,214,156,.16), var(--surface) 70%); box-shadow: inset 0 0 0 1px rgba(79,214,156,.35); }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--faint); flex: none; }
.dot.ok { background: var(--ok); box-shadow: 0 0 0 4px var(--ok-soft); animation: pulse 2s infinite; }
.dot.warn { background: var(--warn); box-shadow: 0 0 0 4px var(--warn-soft); }
.dot.bad { background: var(--bad); box-shadow: 0 0 0 4px var(--bad-soft); }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(79,214,156,0); } }
.switch { position: relative; width: 52px; height: 30px; border-radius: 15px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line-2); transition: background .2s; flex: none; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.3); transition: transform .2s cubic-bezier(.2,.9,.25,1); }
.switch[aria-checked="true"] { background: var(--ok); }
.switch[aria-checked="true"]::after { transform: translateX(22px); }
.switch.sm { width: 44px; height: 26px; } .switch.sm::after { width: 20px; height: 20px; } .switch.sm[aria-checked="true"]::after { transform: translateX(18px); }

/* ——— Cards & grids ——— */
.grid { display: grid; gap: 14px; }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-main { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: start; }
.card { background: var(--surface); border-radius: var(--r); padding: 18px; box-shadow: inset 0 0 0 1px var(--line); min-width: 0; }
.card h2 { margin: 0 0 14px; font-size: 16px; display: flex; align-items: center; gap: 8px; }
.card h2 .link { margin-left: auto; }
.link { color: var(--accent); font-weight: 600; font-size: 13.5px; }
.stat small { display: block; color: var(--muted); font-size: 13px; margin-bottom: 6px; }
.stat .v { font-size: 26px; font-weight: 750; letter-spacing: -.02em; }
.stat .v small { display: inline; font-size: 14px; color: var(--muted); font-weight: 600; margin-left: 4px; }
.stat .d { font-size: 12.5px; margin-top: 6px; color: var(--muted); }
.up { color: var(--ok); } .down { color: var(--bad); }
.hero { position: relative; overflow: hidden; padding: 22px; color: #fff; background: radial-gradient(120% 120% at 100% 0%, rgba(123,228,211,.45), transparent 50%), linear-gradient(140deg, #1552ec, #2a1d8f 70%, #12115e); box-shadow: 0 20px 50px -24px #1552ec; }
.hero small { color: rgba(255,255,255,.75); }
.hero .v { font-size: 38px; }
.hero .v small { color: rgba(255,255,255,.7); }
.hero-row { display: flex; gap: 22px; margin-top: 16px; flex-wrap: wrap; }
.hero-row div small { display: block; font-size: 12px; } .hero-row div b { font-size: 16px; }
.hero-actions { display: flex; gap: 10px; margin-top: 18px; }
.hero .btn.ghost { background: rgba(255,255,255,.14); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
.hero::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 0c4 30 16 42 50 50-34 8-46 20-50 50-4-30-16-42-50-50 34-8 46-20 50-50Z' fill='white' opacity='.12'/%3E%3C/svg%3E") center/contain no-repeat; }
.rate { display: flex; align-items: baseline; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.rate:last-child { border: 0; } .rate span { color: var(--muted); } .rate b { font-size: 15px; }

/* ——— Buttons, pills, inputs ——— */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 13px; background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: 14.5px; transition: transform .12s, filter .15s; white-space: nowrap; }
.btn:hover { filter: brightness(1.06); } .btn:active { transform: scale(.97); }
.btn.ghost { background: var(--surface-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn.danger { background: var(--bad-soft); color: var(--bad); }
.btn.sm { height: 34px; padding: 0 12px; font-size: 13px; border-radius: 11px; }
.btn.wide { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.pill { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 12px; font-size: 12px; font-weight: 700; background: var(--surface-2); color: var(--muted); white-space: nowrap; }
.pill.ok { background: var(--ok-soft); color: var(--ok); } .pill.warn { background: var(--warn-soft); color: var(--warn); } .pill.bad { background: var(--bad-soft); color: var(--bad); } .pill.info { background: var(--accent-soft); color: var(--accent); }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field > span { font-size: 13px; color: var(--muted); font-weight: 600; }
.input, select.input { height: 44px; width: 100%; padding: 0 14px; border-radius: 12px; border: 0; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line-2); outline: none; }
.input:focus { box-shadow: inset 0 0 0 2px var(--accent); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hint { color: var(--muted); font-size: 12.5px; margin: -6px 0 14px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { height: 34px; padding: 0 14px; border-radius: 17px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line-2); font-size: 13.5px; font-weight: 600; color: var(--muted); }
.chip[aria-pressed="true"] { background: var(--accent-soft); color: var(--accent); box-shadow: inset 0 0 0 1px rgba(123,228,211,.4); }

/* ——— Tables ——— */
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--faint); font-weight: 700; padding: 0 12px 10px; }
.table td { padding: 12px; border-top: 1px solid var(--line); vertical-align: middle; }
.table tr.click { cursor: pointer; } .table tr.click:hover td { background: rgba(255,255,255,.02); }
.table .r { text-align: right; }
.merchant { display: flex; align-items: center; gap: 10px; }
.merchant .mi { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; font-weight: 800; font-size: 13px; color: #fff; flex: none; }
.merchant small { display: block; color: var(--muted); font-size: 12px; }
.scroll-x { overflow-x: auto; margin: 0 -18px; padding: 0 18px; }

/* ——— Live feed ——— */
.feed { display: grid; gap: 8px; }
.feed-item { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; background: var(--surface-2); animation: slide .35s cubic-bezier(.2,.9,.25,1); }
@keyframes slide { from { opacity: 0; transform: translateY(-8px); } }
.feed-item .body { flex: 1; min-width: 0; } .feed-item small { display: block; color: var(--muted); font-size: 12px; }
.feed-item .end { text-align: right; } .feed-item .end b { display: block; }
.progress { height: 6px; border-radius: 3px; background: var(--surface-2); overflow: hidden; }
.progress i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--accent), var(--blue)); }
.progress.warn i { background: linear-gradient(90deg, var(--warn), #ff8a3c); }

/* ——— Chart ——— */
.bars { display: flex; align-items: flex-end; gap: 10px; height: 170px; padding-top: 10px; }
.bars div { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; justify-content: flex-end; font-size: 11.5px; color: var(--muted); }
.bars i { width: 100%; max-width: 46px; border-radius: 9px 9px 4px 4px; background: linear-gradient(180deg, var(--accent), var(--blue-2)); min-height: 4px; position: relative; }
.bars i:hover::after { content: attr(data-v); position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); padding: 3px 8px; border-radius: 8px; background: var(--text); color: var(--bg); font-size: 12px; font-weight: 700; white-space: nowrap; }
.bars .today i { background: linear-gradient(180deg, #fff, var(--accent)); }

/* ——— Devices & banks ——— */
.device { display: grid; gap: 14px; }
.device-head { display: flex; align-items: center; gap: 12px; }
.phone { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(145deg, var(--blue), var(--violet)); color: #fff; flex: none; }
.device-head strong { display: block; } .device-head small { color: var(--muted); font-size: 12.5px; }
.device-head .pill { margin-left: auto; }
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.metric { padding: 10px; border-radius: 12px; background: var(--surface-2); }
.metric small { display: block; font-size: 11.5px; color: var(--muted); } .metric b { font-size: 14px; }
.checks { display: flex; gap: 6px; flex-wrap: wrap; }
.bank { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; background: var(--surface-2); }
.bank-logo { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-weight: 900; font-size: 13px; color: #fff; flex: none; }
.bank .body { flex: 1; min-width: 0; } .bank .body small { display: block; color: var(--muted); font-size: 12.5px; }
.bank-card { display: grid; gap: 14px; }
.bank-card .top-line { display: flex; align-items: center; gap: 12px; }
.bank-card .top-line strong { display: block; font-size: 16px; } .bank-card .top-line small { color: var(--muted); font-size: 12.5px; }
.bank-card .top-line .switch { margin-left: auto; }
.bal { font-size: 24px; font-weight: 750; letter-spacing: -.01em; }
.bal small { font-size: 12.5px; color: var(--muted); font-weight: 600; margin-left: 6px; }
.lim { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.card.off { opacity: .6; }

/* ——— Empty, steps, modal, toast ——— */
.empty { text-align: center; padding: 30px 10px; color: var(--muted); }
.steps { counter-reset: s; display: grid; gap: 14px; margin: 6px 0 18px; }
.step { display: flex; gap: 12px; } .step::before { counter-increment: s; content: counter(s); width: 28px; height: 28px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-weight: 800; font-size: 13px; }
.step b { display: block; } .step small { color: var(--muted); font-size: 13px; }
.code { display: flex; justify-content: center; gap: 8px; margin: 8px 0 16px; }
.code span { width: 42px; height: 52px; border-radius: 12px; display: grid; place-items: center; font-size: 24px; font-weight: 800; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line-2); font-family: ui-monospace, Menlo, monospace; }
.waiting { display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--muted); font-size: 14px; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid var(--line-2); border-top-color: var(--accent); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.scrim { position: fixed; inset: 0; z-index: 30; background: rgba(3,6,15,.62); display: grid; place-items: center; padding: 16px; animation: fade .2s; }
@keyframes fade { from { opacity: 0; } }
.modal { width: min(520px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: var(--bg-2); border-radius: 24px; padding: 22px; box-shadow: var(--shadow), inset 0 0 0 1px var(--line-2); animation: pop .25s cubic-bezier(.2,.9,.25,1); }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.modal-head { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.modal-head h3 { margin: 0; font-size: 19px; flex: 1; }
.x { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); }
.kv { display: grid; gap: 0; margin: 0 0 16px; }
.kv div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.kv dt { color: var(--muted); } .kv dd { margin: 0; font-weight: 600; text-align: right; }
.proof { border-radius: 14px; padding: 14px; background: var(--surface-2); font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.proof b { color: var(--text); }
#toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); opacity: 0; z-index: 40; padding: 12px 18px; border-radius: 14px; background: var(--text); color: var(--bg); font-weight: 650; font-size: 14px; transition: opacity .2s, transform .2s; pointer-events: none; }
#toast.show { opacity: 1; transform: translate(-50%, 0); }
.callout { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; background: var(--warn-soft); color: var(--text); font-size: 14px; margin-bottom: 14px; }
.callout svg { color: var(--warn); margin-top: 1px; }
.callout.info { background: var(--accent-soft); } .callout.info svg { color: var(--accent); }
.qr-box { display: grid; place-items: center; padding: 16px; border-radius: 18px; background: #fff; margin: 0 auto 16px; width: 220px; }
.timer { font-size: 32px; font-weight: 800; text-align: center; letter-spacing: .02em; margin-bottom: 4px; }

/* ——— Login ——— */
.login { min-height: 100vh; display: grid; grid-template-columns: 1.1fr 1fr; }
.login-art { position: relative; overflow: hidden; padding: 48px; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; background: radial-gradient(80% 60% at 80% 10%, rgba(123,228,211,.45), transparent 60%), radial-gradient(70% 60% at 10% 90%, rgba(138,92,255,.5), transparent 60%), linear-gradient(150deg, #1552ec, #12115e); }
.login-art h1 { font-size: 46px; line-height: 1.05; letter-spacing: -.03em; margin: 0 0 14px; max-width: 520px; }
.login-art p { font-size: 17px; opacity: .85; max-width: 460px; margin: 0; }
.login-art ul { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.login-art li { display: flex; gap: 10px; align-items: center; font-weight: 600; }
.login-art li span { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; background: rgba(255,255,255,.16); }
.login-form { display: grid; place-items: center; padding: 32px; }
.login-box { width: min(380px, 100%); }
.login-box h2 { font-size: 26px; margin: 0 0 6px; } .login-box p { color: var(--muted); margin: 0 0 22px; }
.tg-btn { background: #2aabee; color: #fff; }
.sep { display: flex; align-items: center; gap: 12px; color: var(--faint); font-size: 12px; margin: 18px 0; }
.sep::before, .sep::after { content: ""; flex: 1; height: 1px; background: var(--line-2); }

/* ——— Mobile ——— */
.tabbar, .m-only { display: none; }
@media (max-width: 1100px) { .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g-main { grid-template-columns: 1fr; } }
@media (max-width: 820px) {
  .shell { grid-template-columns: 1fr; } .side { display: none; }
  .main { padding: 18px 16px 110px; }
  .top h1 { font-size: 24px; }
  .g3, .g2 { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .lim { grid-template-columns: 1fr 1fr; }
  .login { grid-template-columns: 1fr; } .login-art { padding: 32px 24px; min-height: 340px; } .login-art h1 { font-size: 32px; }
  .table .hide-m { display: none; }
  .tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 20; padding: 6px; border-radius: 22px; background: color-mix(in srgb, var(--bg-2) 88%, transparent); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: var(--shadow), inset 0 0 0 1px var(--line-2); }
  .tabbar button { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 7px 0; border-radius: 15px; font-size: 10.5px; font-weight: 650; color: var(--muted); }
  .tabbar button[aria-current="page"] { color: var(--accent); background: var(--accent-soft); }
  .live small { display: none; }
  #toast { bottom: 96px; max-width: calc(100% - 32px); text-align: center; }
  .m-only { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; font-weight: 800; letter-spacing: .12em; }
  .m-only img { width: 30px; height: 30px; border-radius: 10px; }
  .m-only b { flex: 1; }
  .m-btn { position: relative; width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
  .m-btn .count { position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; border-radius: 9px; display: grid; place-items: center; background: var(--warn); color: #2a1a00; font-size: 11px; font-weight: 800; letter-spacing: 0; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ——— Live cabinet additions ——— */
.boot { min-height: 100vh; display: grid; place-items: center; }
.err { color: var(--bad); font-size: 13.5px; margin: 0 0 12px; }
.checklist { display: grid; gap: 6px; }
.checklist div { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; }
.checklist .blocking { color: var(--bad); } .checklist .warning { color: var(--warn); }
.checklist svg { width: 16px; height: 16px; margin-top: 1px; }
.switcher { width: 100%; height: 40px; border-radius: 12px; border: 0; padding: 0 10px; background: var(--surface); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.calc { display: flex; gap: 10px; align-items: center; margin-top: 12px; }
.calc .input { flex: 1; }
.calc b { white-space: nowrap; }
.shot { display: block; max-width: 100%; max-height: 70vh; margin: 0 auto; border-radius: 16px; box-shadow: var(--shadow); }
.more { display: flex; justify-content: center; margin-top: 14px; }
.admin-bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: var(--accent-soft); box-shadow: inset 0 0 0 1px rgba(123,228,211,.25); margin-bottom: 16px; font-size: 13.5px; flex-wrap: wrap; }
.admin-bar select { max-width: 260px; }
.kv-inline { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.kv-inline b { color: var(--text); }

/* Connecting a phone by QR */
.pair-qr{display:grid;grid-template-columns:220px 1fr;gap:18px;align-items:center}
.qr-box{width:220px;height:220px;border-radius:18px;background:#fff;display:grid;place-items:center;padding:10px;box-shadow:0 10px 30px rgba(0,0,0,.25)}
.qr-box svg{width:100%;height:100%;display:block}
.qr-box .hint{color:#5b6478}
@media (max-width:560px){.pair-qr{grid-template-columns:1fr;justify-items:center;text-align:center}}
