/* OTDEL · Розыгрыши — скромно и аккуратно: ровный фон, тонкие рамки, один синий акцент */
:root {
  --bg: #f2f1ee; --card: #fff; --soft: #f6f5f2; --ink: #131315; --muted: #85837d; --faint: #b4b1aa;
  --line: rgba(19, 19, 21, .08); --blue: #2b5cf3; --blue-soft: rgba(43, 92, 243, .09); --ok: #198a4d; --ok-soft: rgba(25, 138, 77, .1); --bad: #d0392f;
  --shadow: 0 1px 2px rgba(19, 19, 21, .04), 0 8px 24px -16px rgba(19, 19, 21, .18);
  --sans: "Manrope", -apple-system, "Segoe UI", Roboto, sans-serif; --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
}
:root[data-theme="dark"] {
  --bg: #0d0d0f; --card: #17171a; --soft: #1e1e22; --ink: #f2f1ed; --muted: #8c8a85; --faint: #5c5b57;
  --line: rgba(255, 255, 255, .07); --blue: #4072ff; --blue-soft: rgba(64, 114, 255, .13); --ok: #3cc777; --ok-soft: rgba(60, 199, 119, .12); --bad: #ff5d52;
  --shadow: none;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { background: var(--bg); }
body { margin: 0; min-height: 100vh; padding: 0 16px calc(28px + env(safe-area-inset-bottom)); color: var(--ink); font: 500 15px/1.45 var(--sans); -webkit-font-smoothing: antialiased; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; padding: 0; text-align: inherit; }
a { color: inherit; }
.lbl { font: 600 11px/1 var(--sans); letter-spacing: .02em; color: var(--muted); }

/* шапка */
.top { display: flex; align-items: center; justify-content: space-between; padding: 16px 0 4px; }
.brand { display: flex; align-items: center; gap: 10px; }
.logo { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; color: #fff; background: var(--blue); }
.logo svg { width: 17px; height: 17px; }
.brand b { display: block; font: 700 16px/1 "Unbounded", var(--sans); letter-spacing: .1em; }
.brand div span { display: block; margin-top: 4px; font-size: 11.5px; line-height: 1; color: var(--muted); }
.docno { font: 600 12px var(--mono); color: var(--muted); }

/* карточки */
.card { margin-top: 12px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.pad { padding: 16px; }
.sec { display: flex; align-items: baseline; justify-content: space-between; margin: 24px 2px 0; }
.sec b { font-size: 16px; font-weight: 800; }
.sec span { font-size: 13px; color: var(--muted); }
.head { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 16px 4px; }
.head b { font-size: 16px; font-weight: 800; }

/* обложка с таймером */
.cover { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #15204a; }
.cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.18), transparent 30%, transparent 62%, rgba(0,0,0,.45)); pointer-events: none; }
.gen { position: absolute; inset: 0; background: radial-gradient(90% 120% at 85% 10%, #4d78ff 0%, transparent 60%), linear-gradient(160deg, #2449d8, #13277a); }
.gen i { position: absolute; left: 16px; top: 50%; transform: translateY(-62%); font: 700 40px/1 "Unbounded", var(--sans); letter-spacing: .12em; font-style: normal; color: rgba(255,255,255,.92); }
.gen svg { position: absolute; right: 20px; top: 50%; width: 54px; height: 54px; transform: translateY(-62%); stroke: rgba(255,255,255,.85); fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.pills { position: absolute; z-index: 2; left: 12px; right: 12px; top: 12px; display: flex; justify-content: space-between; }
.pill { height: 26px; padding: 0 10px; display: inline-flex; align-items: center; gap: 6px; border-radius: 13px; color: #fff; font-size: 12px; font-weight: 700;
  background: rgba(12, 14, 20, .42); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.pill .dot { width: 6px; height: 6px; border-radius: 50%; background: #4be08e; }
.pill.end .dot { background: #ffcf4a; }
.timer { position: absolute; z-index: 2; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px; border-radius: 17px; color: #fff;
  background: rgba(12, 14, 20, .5); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.timer svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; }
.timer span { font-size: 12px; font-weight: 600; opacity: .8; }
.timer b { font: 700 15px/1 var(--sans); font-variant-numeric: tabular-nums; letter-spacing: .02em; }

h1 { margin: 0; font-size: 20px; line-height: 1.25; font-weight: 800; letter-spacing: -.01em; }
.chan { display: flex; align-items: center; gap: 7px; margin-bottom: 8px; font-size: 13px; font-weight: 600; color: var(--muted); }
.chan i { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font: 800 9.5px var(--sans); font-style: normal; color: #fff; background: var(--blue); }
.txt { margin-top: 8px; color: var(--muted); font-size: 14px; line-height: 1.5; white-space: pre-line; max-height: 4.5em; overflow: hidden; }
.txt.open { max-height: none; }
.more { margin-top: 4px; font-size: 13px; font-weight: 700; color: var(--blue); }

/* цифры под названием */
.facts { display: grid; grid-template-columns: 1fr 1fr 1.25fr; border-top: 1px solid var(--line); }
.facts div { padding: 12px 16px 14px; min-width: 0; }
.facts div + div { border-left: 1px solid var(--line); }
.facts b { display: block; margin-top: 5px; font-size: 16px; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* условия */
.cond { display: flex; align-items: center; gap: 12px; padding: 12px 16px; }
.cond + .cond { border-top: 1px solid var(--line); }
.ci { width: 34px; height: 34px; flex: none; border-radius: 10px; display: grid; place-items: center; background: var(--soft); }
.ci svg { width: 18px; height: 18px; stroke: var(--ink); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cond.ok .ci { background: var(--ok-soft); } .cond.ok .ci svg { stroke: var(--ok); stroke-width: 2.6; }
.cond .b { flex: 1; min-width: 0; }
.cond .t { font-weight: 700; font-size: 14.5px; line-height: 1.3; }
.cond .s { font-size: 12.5px; color: var(--muted); }
.cond.ok .t { color: var(--muted); }
.cond:last-child { padding-bottom: 14px; }

/* кнопки */
.btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 52px; border-radius: 14px; color: #fff; background: var(--blue);
  font-size: 16px; font-weight: 800; transition: transform .12s, opacity .2s; }
.btn:active { transform: scale(.985); }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
.btn.done { opacity: 1; background: var(--card); color: var(--ok); border: 1px solid var(--line); }
.btn.done svg { stroke-width: 2.6; }
.chip { flex: none; height: 32px; padding: 0 13px; border-radius: 10px; font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; background: var(--blue); color: #fff; }
.chip.ghost { background: var(--soft); color: var(--ink); }
.chip.okk { background: var(--ok-soft); color: var(--ok); pointer-events: none; }
.spin { width: 17px; height: 17px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: rot .7s linear infinite; }
@keyframes rot { to { transform: rotate(1turn) } }
body.hasbar { padding-bottom: calc(92px + env(safe-area-inset-bottom)); }
.bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 5; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--bg); border-top: 1px solid var(--line); }
.bar:empty { display: none; }

/* участник */
.me { display: flex; align-items: center; gap: 12px; }
.me .ok { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--ok-soft); }
.me .ok svg { width: 20px; height: 20px; stroke: var(--ok); fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.me .ok.in { animation: pop .45s cubic-bezier(.2,1.6,.4,1) both; }
@keyframes pop { from { transform: scale(.3); opacity: 0 } }
.me .b { flex: 1; }
.me .t { font-weight: 800; font-size: 16px; }
.me .s { font-size: 13px; color: var(--muted); }
.me .pct { text-align: right; }
.me .pct b { display: block; font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; }
.me .pct span { font-size: 11.5px; color: var(--muted); }
.meter { height: 6px; margin-top: 14px; background: var(--soft); border-radius: 3px; overflow: hidden; }
.meter i { display: block; height: 100%; border-radius: 3px; background: var(--blue); transition: width .8s cubic-bezier(.2,.8,.2,1); }
.note { margin-top: 10px; font-size: 13px; color: var(--muted); }

.bon { display: flex; align-items: center; gap: 12px; padding: 12px 16px; }
.bon + .bon { border-top: 1px solid var(--line); }
.bon:last-child { padding-bottom: 14px; }
.bon .ico { width: 34px; height: 34px; flex: none; border-radius: 10px; display: grid; place-items: center; background: var(--blue-soft); }
.bon .ico svg { width: 18px; height: 18px; stroke: var(--blue); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bon.got .ico { background: var(--ok-soft); } .bon.got .ico svg { stroke: var(--ok); stroke-width: 2.6; }
.bon .b { flex: 1; min-width: 0; }
.bon .t { font-weight: 700; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bon .s { font-size: 12.5px; color: var(--muted); }
.bon .s em { font-style: normal; font-weight: 800; color: var(--blue); }
.bon .acts { display: flex; gap: 6px; flex: none; }
.tag { font: 700 12px var(--mono); color: var(--ink); cursor: pointer; border-bottom: 1px dashed var(--faint); }

/* итоги */
.wl { margin-top: 8px; }
.w { display: flex; align-items: center; gap: 12px; padding: 10px 0; }
.w + .w { border-top: 1px solid var(--line); }
.ava { width: 36px; height: 36px; flex: none; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 14px; background: var(--c, #555); }
.w .nm { flex: 1; min-width: 0; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.w .nm small { display: block; font-size: 12px; font-weight: 600; color: var(--muted); }
.w.me .nm { color: var(--blue); }
.medal { font-size: 12px; font-weight: 700; color: var(--muted); }
.win h1 { margin-top: 4px; }

/* главная */
.hello { margin: 18px 2px 0; }
.hello h1 { font-size: 24px; }
.hello p { margin: 6px 0 0; font-size: 14px; color: var(--muted); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 14px; }
.stats div { padding: 12px 14px; }
.stats div + div { border-left: 1px solid var(--line); }
.stats b { display: block; font-size: 20px; font-weight: 800; }
.stats span { font-size: 12px; color: var(--muted); }
.gcard { display: block; width: 100%; }
.gcard .info { padding: 13px 16px 15px; }
.gcard h3 { margin: 0; font-size: 16px; line-height: 1.3; font-weight: 800; }
.gcard .meta { display: flex; gap: 12px; margin-top: 6px; font-size: 12.5px; color: var(--muted); }
.gcard .meta b { color: var(--ink); font-weight: 700; }
.mrow { display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 14px; }
.mrow + .mrow { border-top: 1px solid var(--line); }
.th { width: 46px; height: 46px; border-radius: 12px; overflow: hidden; position: relative; flex: none; background: #1a2c86; }
.th img { width: 100%; height: 100%; object-fit: cover; }
.th .gen i { display: none; } .th .gen svg { width: 22px; height: 22px; right: auto; left: 50%; transform: translate(-50%, -50%); }
.mrow .nm { flex: 1; min-width: 0; }
.mrow .nm b { display: block; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mrow .nm small { font-size: 12px; color: var(--muted); }
.st { flex: none; font-size: 11.5px; font-weight: 700; padding: 4px 9px; border-radius: 9px; background: var(--soft); color: var(--muted); }
.st.live { background: var(--blue-soft); color: var(--blue); }
.st.win { background: var(--ok-soft); color: var(--ok); }
.empty { padding: 24px 16px; text-align: center; color: var(--muted); font-size: 14px; }
.foot { margin-top: 20px; text-align: center; font: 700 10px "Unbounded", var(--sans); letter-spacing: .2em; color: var(--faint); }

/* окно капчи */
.modal { position: fixed; inset: 0; z-index: 20; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(8, 9, 12, .5);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity .22s; }
.modal.on { opacity: 1; pointer-events: auto; }
.mbox { width: 100%; max-width: 360px; padding: 18px; border-radius: 22px; background: var(--card); transform: translateY(12px); transition: transform .28s cubic-bezier(.2,.9,.2,1); }
.modal.on .mbox { transform: none; }
.mbox.bad { animation: shake .3s; }
@keyframes shake { 25% { transform: translateX(-4px) } 75% { transform: translateX(4px) } }
.mhead { display: flex; align-items: center; gap: 12px; }
.mic { width: 38px; height: 38px; flex: none; border-radius: 11px; display: grid; place-items: center; background: var(--blue-soft); }
.mic svg { width: 19px; height: 19px; stroke: var(--blue); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mhead div { flex: 1; }
.mhead b { display: block; font-size: 17px; font-weight: 800; }
.mhead div span { display: block; font-size: 12.5px; color: var(--muted); }
.x { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; color: var(--muted); font-size: 15px; background: var(--soft); }
.mask { margin: 16px 0 10px; font-size: 15px; }
.mask b { font-weight: 800; color: var(--blue); }
.grid9 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.grid9 button { position: relative; aspect-ratio: 1; border-radius: 14px; background: var(--soft); border: 1.5px solid transparent; display: grid; place-items: center; overflow: hidden; transition: transform .12s, border-color .12s, background .12s; }
.grid9 button:active { transform: scale(.95); }
.grid9 svg { width: 38px; height: 38px; stroke: var(--ink); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.grid9 i { position: absolute; right: 6px; top: 6px; width: 18px; height: 18px; border-radius: 50%; background: var(--blue); display: grid; place-items: center; transform: scale(0); transition: transform .16s cubic-bezier(.2,1.6,.4,1); }
.grid9 i svg { width: 11px; height: 11px; stroke: #fff; stroke-width: 3; }
.grid9 button.sel { border-color: var(--blue); background: var(--blue-soft); }
.grid9 button.sel i { transform: scale(1); }
.mbox .btn { margin-top: 14px; }
.mre { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; margin-top: 10px; font-size: 13px; font-weight: 600; color: var(--muted); }
.mre svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* служебное */
.load { display: flex; gap: 6px; justify-content: center; padding: 90px 0; }
.load i { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); animation: blink 1s infinite; }
.load i:nth-child(2) { animation-delay: .15s } .load i:nth-child(3) { animation-delay: .3s }
@keyframes blink { 50% { opacity: .2 } }
.toast { position: fixed; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); padding: 13px 16px; border-radius: 14px; background: var(--ink); color: var(--bg);
  font-weight: 700; font-size: 14px; transform: translateY(150%); transition: transform .3s cubic-bezier(.2,.9,.2,1); z-index: 30; }
.toast.on { transform: none; }
.fade { animation: fade .35s ease both; }
@keyframes fade { from { opacity: 0; transform: translateY(6px) } }

/* баннер OTDEL: обложка без фото и шапка главной */
.gen { background: #000; display: grid; place-items: center; }
.gen img { position: static !important; width: 76% !important; height: auto !important; object-fit: contain !important; }
.th .gen img { width: 88% !important; }
.hero { background: #000; border-color: rgba(255,255,255,.06); color: #f2f1ed; }
.hero .hb { padding: 22px 22px 6px; }
.hero .hb img { display: block; width: 100%; height: auto; }
.hero .hp { padding: 10px 18px 14px; text-align: center; }
.hero .hp b { display: block; font-size: 16px; font-weight: 800; }
.hero .hp span { display: block; margin-top: 3px; font-size: 13px; color: #8f8d87; }
.hero .stats { margin: 0; border-top: 1px solid rgba(255,255,255,.07); text-align: center; }
.hero .stats div + div { border-left-color: rgba(255,255,255,.07); }
.hero .stats span { color: #8f8d87; }

/* капча: шаги, помехи, появление, успех */
.steps { display: flex; gap: 5px; margin-top: 14px; }
.steps i { flex: 1; height: 4px; border-radius: 2px; background: var(--soft); }
.steps i.on { background: var(--blue); }
.mask { margin: 14px 0 10px; padding: 11px 13px; border-radius: 12px; background: var(--soft); font-size: 14.5px; }
.grid9 button { animation: tile .3s cubic-bezier(.2,.9,.2,1) both; }
@keyframes tile { from { opacity: 0; transform: scale(.9) } }
.grid9 .nz { stroke: var(--muted); stroke-width: .9; opacity: .55; }
.grid9 button.sel > svg { stroke: var(--blue); }
.grid9 button.sel .nz { stroke: var(--blue); opacity: .35; }
.mbox.pass { display: flex; flex-direction: column; align-items: center; padding: 34px 18px 30px; text-align: center; }
.mbox.pass .big { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--ok-soft); animation: pop .45s cubic-bezier(.2,1.6,.4,1) both; }
.mbox.pass .big svg { width: 30px; height: 30px; stroke: var(--ok); fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.mbox.pass b { margin-top: 14px; font-size: 18px; font-weight: 800; }
.mbox.pass span { margin-top: 4px; font-size: 13.5px; color: var(--muted); }
body.home .top { display: none; }
body.home .hero { margin-top: 16px; }

/* ─── страница проверки ─── */
.stage { text-align: center; padding: 4px 6px 0; }
.art { position: relative; width: 230px; margin: 6px auto 0; }
.art::before { content: ""; position: absolute; inset: 14% 10% 0; border-radius: 50%; background: radial-gradient(closest-side, var(--blue-soft), transparent); }
.art img { position: relative; display: block; width: 100%; height: auto; animation: think 4s ease-in-out infinite; }
@keyframes think { 50% { transform: translateY(-4px) rotate(-1deg) } }
.stage h2 { margin: 6px 0 0; font-size: 22px; line-height: 1.2; font-weight: 800; letter-spacing: -.01em; }
.stage p { margin: 6px auto 0; max-width: 300px; font-size: 14px; color: var(--muted); }
.chk { margin-top: 18px; }
.ck { display: flex; align-items: center; gap: 12px; padding: 13px 16px; transition: background .3s; }
.ck + .ck { border-top: 1px solid var(--line); }
.ck .st { width: 28px; height: 28px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--soft); transition: background .25s; }
.ck .st .spin { width: 13px; height: 13px; border-width: 2px; color: var(--faint); }
.ck .st svg { width: 15px; height: 15px; fill: none; stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; animation: pop .35s cubic-bezier(.2,1.6,.4,1) both; }
.ck.ok .st { background: var(--ok-soft); } .ck.ok .st svg { stroke: var(--ok); }
.ck.bad .st { background: rgba(208, 57, 47, .1); } .ck.bad .st svg { stroke: var(--bad); }
.ck .b { flex: 1; min-width: 0; text-align: left; }
.ck b { display: block; font-size: 14.5px; font-weight: 700; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ck small { display: block; font-size: 12.5px; color: var(--muted); }
.ck.wait b { color: var(--muted); }
.ck .act:empty { display: none; }
.minfo { margin-top: 14px; text-align: center; font-size: 13px; color: var(--muted); }
.minfo b { color: var(--ink); font-weight: 700; font-variant-numeric: tabular-nums; }
.btn .spin { width: 16px; height: 16px; }
.btn.ghost { background: var(--card); color: var(--ink); border: 1px solid var(--line); }
.btn.pop { animation: up .35s cubic-bezier(.2,.9,.2,1) both; }
@keyframes up { from { opacity: 0; transform: translateY(8px) } }

/* ─── страница «ты участвуешь» ─── */
.okring { position: relative; width: 92px; height: 92px; margin: 26px auto 4px; border-radius: 50%; display: grid; place-items: center; background: var(--ok-soft); }
.okring::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 1.5px solid var(--ok-soft); }
.okring span { width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; background: var(--ok); }
.okring svg { width: 30px; height: 30px; stroke: #fff; fill: none; stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }
.okring.in { animation: pop .5s cubic-bezier(.2,1.5,.4,1) both; }
.okring.in svg { stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .4s .25s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0 } }
.stage.done h2 { margin-top: 14px; }
.kv { display: grid; grid-template-columns: 1fr 1fr; margin-top: 20px; }
.kv div { padding: 14px 16px; }
.kv div:nth-child(even) { border-left: 1px solid var(--line); }
.kv div:nth-child(n+3) { border-top: 1px solid var(--line); }
.kv span { display: block; font-size: 12px; color: var(--muted); }
.kv b { display: block; margin-top: 4px; font-size: 18px; font-weight: 800; font-variant-numeric: tabular-nums; }

/* окно «готовим проверку» */
.mload { display: flex; flex-direction: column; align-items: center; padding: 40px 18px 36px; text-align: center; }
.mload .ring { width: 44px; height: 44px; border-radius: 50%; border: 3px solid var(--soft); border-top-color: var(--blue); animation: rot .8s linear infinite; }
.mload b { margin-top: 16px; font-size: 17px; font-weight: 800; }
.mload span:last-child { margin-top: 4px; font-size: 13px; color: var(--muted); }

/* стартовая страница: большая картинка, крупный текст, без подложек и шапки */
body.bare .top { display: none; }
.stage.check { padding-top: 18px; }
.check .art { width: min(88vw, 360px); }
.check .art::before { inset: 18% 6% 0; }
.check h2 { margin-top: 10px; font-size: 27px; }
.chk.plain { margin: 18px auto 0; max-width: 360px; padding: 0 6px; background: none; border: 0; box-shadow: none; }
.chk.plain .ck { padding: 10px 2px; border: 0; }
.chk.plain .ck .st { width: 32px; height: 32px; }
.chk.plain .ck .st svg { width: 16px; height: 16px; }
.chk.plain .ck b { font-size: 16.5px; }
.chk.plain .ck small { font-size: 13.5px; }
.chk.plain .ck.wait { opacity: .55; }
.stage.done { padding-top: 10px; }
.chk.plain .ck b { white-space: normal; }
body.bare .bar { border-top: 0; }

.check .art { width: min(94vw, 400px); margin-top: 0; }
.check h2 { margin-top: 8px; font-size: 30px; }
.chk.plain .ck b { font-size: 17px; }
.chk.plain .ck small { font-size: 13.5px; }
.chk.plain .ck .st { width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; line-height: 0; }
.chk.plain .ck .st svg { display: block; width: 17px; height: 17px; margin: 0; flex: none; }
.ck .st .spin { display: block; flex: none; }
.ck.ok .st svg, .ck.bad .st svg { animation: none; }
.ck.ok .st, .ck.bad .st { animation: pop .35s cubic-bezier(.2,1.6,.4,1) both; }
body.bare .bar { padding-bottom: calc(30px + env(safe-area-inset-bottom)); }
body.bare.hasbar { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
.toast { transform: translateY(calc(100% + 40px)); visibility: hidden; transition: transform .3s cubic-bezier(.2,.9,.2,1), visibility 0s .3s; }
.toast.on { visibility: visible; transition: transform .3s cubic-bezier(.2,.9,.2,1); }
