/* Vitrine V9: страница после ввода ника — сборка в реальном времени и «сайт готов». */
.bpage { background: var(--soft); }
.bgrid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 4vw, 56px); align-items: start; padding-top: clamp(28px, 5vh, 56px); padding-bottom: 100px; }
.bcol { padding: clamp(22px, 2.6vw, 34px); border-radius: 28px; background: #fff; box-shadow: 0 0 0 1px var(--sep), 0 30px 60px -40px rgba(0, 0, 0, .3); }
.bstate[hidden] { display: none; }
.bstate { animation: bin .5s var(--out); }
@keyframes bin { from { opacity: 0; transform: translateY(10px); } }
.bhead { display: flex; align-items: center; gap: 18px; }
.ring--xl { width: 84px; height: 84px; padding: 4px; }
.ring--xl b { border-width: 4px; font-size: 30px; background: #f2f2f2; }
.ring--ok { background: var(--ok); }
.ring--ok b { background: #fff; }
.bh1 { font-family: var(--display); font-size: clamp(24px, 2.6vw, 34px); line-height: 1.1; letter-spacing: -.035em; font-weight: 700; word-break: break-word; }
.bsub { margin-top: 6px; font-size: 15.5px; color: #3a3a3a; }
.bprog { margin-top: 24px; }
.bar--lg { height: 8px; margin-top: 0; }
.bar--lg i { transition: width .4s linear; }
.bprog__row { display: flex; justify-content: space-between; margin-top: 8px; font-size: 14px; color: var(--muted); }
.bprog__row b { color: var(--ink); font-variant-numeric: tabular-nums; }

.bsteps { margin-top: 22px; display: grid; gap: 2px; }
.bsteps li { display: grid; grid-template-columns: 24px 1fr auto; gap: 12px; align-items: center; min-height: 44px; padding: 6px 10px; border-radius: 12px; font-size: 15.5px; color: #a3a3a3; transition: background-color .3s, color .3s; }
.bsteps li span { font-weight: 500; }
.bsteps li em { font-style: normal; font-size: 13px; font-variant-numeric: tabular-nums; color: var(--muted); }
.bsteps li::before { content: ""; width: 20px; height: 20px; border-radius: 50%; border: 2px solid #dbdbdb; }
.bsteps li.run { color: var(--ink); background: var(--soft); }
.bsteps li.run::before { border-color: #e5e5e5; border-top-color: #d62976; border-right-color: #962fbf; animation: spin .8s linear infinite; }
.bsteps li.ok { color: var(--ink); }
.bsteps li.ok::before { border: 0; background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.4l2.9 2.9 6-6.6' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; animation: popin .35s var(--spring); }
@keyframes popin { from { transform: scale(.4); } }

.bnotify { margin-top: 22px; padding: 16px; border-radius: 16px; background: var(--soft); font-size: 14.5px; }
.bnotify div { display: flex; gap: 8px; margin-top: 10px; }
.bnotify input, .bdom input { flex: 1; min-width: 0; height: 44px; padding: 0 14px; border: 0; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font: inherit; font-size: 15px; }
.bnotify input:focus, .bdom input:focus { outline: 0; box-shadow: inset 0 0 0 1.5px #000; }

.burl { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 22px; padding: 8px 8px 8px 16px; border-radius: 14px; background: var(--soft); box-shadow: inset 0 0 0 1px var(--sep); }
.burl span { display: inline-flex; align-items: center; gap: 8px; min-width: 0; font-size: 16px; }
.burl b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.burl svg { width: 15px; height: 15px; color: var(--ok); flex: none; }
.bactions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.bnext { display: grid; gap: 14px; margin-top: 26px; }
.bcard { position: relative; padding: 20px 20px 20px 58px; border-radius: 18px; box-shadow: inset 0 0 0 1px var(--sep); }
.bcard__n { position: absolute; left: 18px; top: 20px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #000; color: #fff; font-size: 13px; font-weight: 700; }
.bcard h2 { font-size: 18px; letter-spacing: -.02em; }
.bcard p { margin-top: 4px; font-size: 14.5px; color: #3a3a3a; }
.pcard--mini { margin-top: 12px; padding: 12px 14px; box-shadow: 0 0 0 1px var(--sep); }
.pcard--mini .ring { width: 44px; height: 44px; }
.pcard--mini .ring b { font-size: 16px; border-width: 2px; }
.bdom { display: flex; gap: 8px; margin-top: 12px; }
.bdom__res { margin-top: 10px; font-size: 14.5px; }
.bdom__res b { color: var(--ok); }
#dom-pro { margin-top: 10px; }

/* сайт собирается */
.bview { position: sticky; top: 90px; }
.bview__site .bw { box-shadow: 0 0 0 1px var(--sep), 0 50px 80px -40px rgba(0, 0, 0, .4); }
.bview__site .bw { position: relative; }
#bv-real { position: absolute; left: 0; right: 0; bottom: 0; top: 4.6cqw; opacity: 0; transition: opacity .9s var(--out); }
#bv-real .bw { box-shadow: none; border-radius: 0; }
#bv-real .bw__bar { display: none; }
.bview.is-real #bv-real { opacity: 1; }
.bview__cap { margin-top: 14px; text-align: center; font-size: 14px; font-weight: 600; color: var(--muted); }

.gsite { position: relative; container-type: inline-size; aspect-ratio: 16 / 10; overflow: hidden; background: #fff; }
.gsite > * { transition: opacity .6s var(--out), transform .7s var(--spring), filter .6s var(--out); }
.gsite__nav { display: flex; align-items: center; gap: 3cqw; padding: 2.6cqw 4cqw; font-size: 1.6cqw; opacity: .25; filter: blur(2px); }
.gsite__nav b { margin-right: auto; font-size: 2.6cqw; letter-spacing: -.03em; }
.gsite__nav i { width: 7cqw; height: 1cqw; border-radius: 1cqw; background: #e5e5e5; }
.gsite__nav em { font-style: normal; padding: 1cqw 2cqw; border-radius: 99cqw; background: #eee; color: transparent; font-weight: 600; }
.gsite__hero { position: relative; margin: 0 4cqw; height: 34cqw; border-radius: 2.4cqw; overflow: hidden; background: #f3f3f3; opacity: .3; filter: blur(3px); }
.gsite__ph { position: absolute; inset: 0; background: var(--ig-soft); opacity: 0; transition: opacity .9s; }
.gsite__txt { position: absolute; left: 4cqw; bottom: 4cqw; width: 52%; }
.gsite__txt span { font-size: 1.4cqw; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.gsite__txt h3 { margin-top: 1.2cqw; font-size: 4.6cqw; line-height: 1.02; letter-spacing: -.04em; color: transparent; background: linear-gradient(90deg, #e3e3e3, #ececec); -webkit-background-clip: text; background-clip: text; }
.gsite__txt em { display: inline-block; margin-top: 2cqw; font-style: normal; font-size: 1.6cqw; font-weight: 600; padding: 1.2cqw 2.6cqw; border-radius: 99cqw; background: #e8e8e8; color: transparent; }
.gsite__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6cqw; margin: 2cqw 4cqw; }
.gsite__row i { height: 12cqw; border-radius: 1.6cqw; background: #f1f1f1; opacity: .3; transform: translateY(10px); transition: opacity .6s, transform .7s var(--spring), background-color .6s; }
.gsite__scan { position: absolute; left: 0; right: 0; top: 0; height: 12cqw; background: linear-gradient(180deg, transparent, rgba(150, 47, 191, .12) 80%, rgba(214, 41, 118, .5)); border-bottom: 1px solid rgba(214, 41, 118, .6); opacity: 0; pointer-events: none; }
.gsite.s1 .gsite__nav { opacity: 1; filter: none; }
.gsite.s2 .gsite__hero { opacity: 1; filter: none; }
.gsite.s2 .gsite__ph { opacity: 1; }
.gsite.s3 .gsite__txt h3 { color: #000; background: none; }
.gsite.s3 .gsite__txt span { color: #d62976; }
.gsite.s4 .gsite__row i { opacity: 1; transform: none; background: var(--ig-soft); }
.gsite.s4 .gsite__row i:nth-child(2) { transition-delay: .12s; }
.gsite.s4 .gsite__row i:nth-child(3) { transition-delay: .24s; }
.gsite.s5 .gsite__nav em, .gsite.s5 .gsite__txt em { background: #000; color: #fff; }
.gsite.s6 .gsite__scan { animation: gscan 1.6s var(--out) both; }
@keyframes gscan { 0% { opacity: 0; transform: translateY(-12cqw); } 15% { opacity: 1; } 85% { opacity: 1; } 100% { opacity: 0; transform: translateY(62cqw); } }

@media (max-width: 1000px) {
  .bgrid { grid-template-columns: 1fr; }
  .bview { position: relative; top: 0; order: -1; }
}
@media (max-width: 560px) {
  .bhead { align-items: flex-start; }
  .ring--xl { width: 64px; height: 64px; }
  .ring--xl b { font-size: 22px; border-width: 3px; }
  .bnotify div, .bdom { flex-direction: column; }
  .burl { flex-direction: column; align-items: stretch; }
}
