/* «Qizil ip» — qizil qog'oz yurak va ip mavzusidagi taklifnoma (shablonlar/qizilip.js) */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.qulf { overflow: hidden; }
body { margin: 0; background: #2a0d10; color: #6b1016; -webkit-font-smoothing: antialiased; font: 400 16px/1.5 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif; }
p, h1, h2, figure { margin: 0; }
button, input { font: inherit; color: inherit; }
.yashirin { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.qi-defs { position: absolute; }

.qi {
  --qogoz: #f3efe6; --qizil: #a5161f; --toq: #6b1016; --siyoh: #5e0f15; --krem: #f6efdc;
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --kor: 'Gilda Display', 'Playfair Display', Georgia, serif;
  --imzo: 'Mrs Saint Delafield', 'Great Vibes', cursive;
  --don: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' seed='5'/%3E%3CfeColorMatrix values='0 0 0 0 .35  0 0 0 0 .3  0 0 0 0 .22  0 0 0 .55 -.2'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
  position: relative; width: 100%; max-width: 480px; margin: 0 auto; container-type: inline-size; color: var(--siyoh);
}
.kadr {
  position: sticky; top: 0; height: 100svh; overflow: hidden; isolation: isolate;
  background: var(--don), radial-gradient(120% 80% at 30% 20%, #faf8f2, var(--qogoz) 60%, #e9e3d6);
}
.kadr + .kadr, .qi-qolgan, .qi-qolgan + .kadr { box-shadow: 0 -26px 60px rgb(40 8 10 / .3); }
.kadr::after { content: ''; position: absolute; inset: 0; z-index: 9; pointer-events: none; background: #2a0508; opacity: calc(var(--p, 0) * .5); }
/* --k: sahifa ekranga qanchalik kirgani, --p: ustini keyingisi qanchalik yopgani (qizilip.js surishga qarab qo'yadi) */
.js .kadr:not(.q1) > :is(div, form, p, a) { opacity: calc(min(1, (var(--k, 1) - .4) * 2.4) - var(--p, 0) * .8); translate: 0 calc((1 - var(--k, 1)) * 60px - var(--p, 0) * 36px); }

/* Tugma: burchaklari o'yilgan chipta (krem qog'oz, ichida ingichka hoshiya) */
.qi-tugma {
  position: relative; isolation: isolate; display: flex; align-items: center; justify-content: center; width: 100%; min-height: 56px; padding: 14px 22px; border: 0; background: none;
  font: 400 clamp(17px, 4.8cqw, 21px)/1.2 var(--kor); letter-spacing: .04em; color: var(--siyoh); text-decoration: none; cursor: pointer; filter: drop-shadow(0 3px 5px rgb(60 20 10 / .24));
}
.qi-tugma::before, .qi-tugma::after, .qi-tugma span::before { content: ''; position: absolute; }
.qi-tugma::before { inset: 0; z-index: -3; background: var(--krem); -webkit-mask: radial-gradient(circle 10px at 0 0, transparent 98%, #000) 0 0 / 51% 51% no-repeat, radial-gradient(circle 10px at 100% 0, transparent 98%, #000) 100% 0 / 51% 51% no-repeat, radial-gradient(circle 10px at 0 100%, transparent 98%, #000) 0 100% / 51% 51% no-repeat, radial-gradient(circle 10px at 100% 100%, transparent 98%, #000) 100% 100% / 51% 51% no-repeat, linear-gradient(#000 0 0) center / 100% 30% no-repeat, linear-gradient(#000 0 0) center / 30% 100% no-repeat; mask: radial-gradient(circle 10px at 0 0, transparent 98%, #000) 0 0 / 51% 51% no-repeat, radial-gradient(circle 10px at 100% 0, transparent 98%, #000) 100% 0 / 51% 51% no-repeat, radial-gradient(circle 10px at 0 100%, transparent 98%, #000) 0 100% / 51% 51% no-repeat, radial-gradient(circle 10px at 100% 100%, transparent 98%, #000) 100% 100% / 51% 51% no-repeat, linear-gradient(#000 0 0) center / 100% 30% no-repeat, linear-gradient(#000 0 0) center / 30% 100% no-repeat; }
.qi-tugma::after { inset: 5px; z-index: -2; background: var(--siyoh); -webkit-mask: radial-gradient(circle 8px at 0 0, transparent 98%, #000) 0 0 / 51% 51% no-repeat, radial-gradient(circle 8px at 100% 0, transparent 98%, #000) 100% 0 / 51% 51% no-repeat, radial-gradient(circle 8px at 0 100%, transparent 98%, #000) 0 100% / 51% 51% no-repeat, radial-gradient(circle 8px at 100% 100%, transparent 98%, #000) 100% 100% / 51% 51% no-repeat, linear-gradient(#000 0 0) center / 100% 30% no-repeat, linear-gradient(#000 0 0) center / 30% 100% no-repeat; mask: radial-gradient(circle 8px at 0 0, transparent 98%, #000) 0 0 / 51% 51% no-repeat, radial-gradient(circle 8px at 100% 0, transparent 98%, #000) 100% 0 / 51% 51% no-repeat, radial-gradient(circle 8px at 0 100%, transparent 98%, #000) 0 100% / 51% 51% no-repeat, radial-gradient(circle 8px at 100% 100%, transparent 98%, #000) 100% 100% / 51% 51% no-repeat, linear-gradient(#000 0 0) center / 100% 30% no-repeat, linear-gradient(#000 0 0) center / 30% 100% no-repeat; }
.qi-tugma span::before { inset: 6.2px; z-index: -1; background: var(--krem); -webkit-mask: radial-gradient(circle 8.6px at 0 0, transparent 98%, #000) 0 0 / 51% 51% no-repeat, radial-gradient(circle 8.6px at 100% 0, transparent 98%, #000) 100% 0 / 51% 51% no-repeat, radial-gradient(circle 8.6px at 0 100%, transparent 98%, #000) 0 100% / 51% 51% no-repeat, radial-gradient(circle 8.6px at 100% 100%, transparent 98%, #000) 100% 100% / 51% 51% no-repeat, linear-gradient(#000 0 0) center / 100% 30% no-repeat, linear-gradient(#000 0 0) center / 30% 100% no-repeat; mask: radial-gradient(circle 8.6px at 0 0, transparent 98%, #000) 0 0 / 51% 51% no-repeat, radial-gradient(circle 8.6px at 100% 0, transparent 98%, #000) 100% 0 / 51% 51% no-repeat, radial-gradient(circle 8.6px at 0 100%, transparent 98%, #000) 0 100% / 51% 51% no-repeat, radial-gradient(circle 8.6px at 100% 100%, transparent 98%, #000) 100% 100% / 51% 51% no-repeat, linear-gradient(#000 0 0) center / 100% 30% no-repeat, linear-gradient(#000 0 0) center / 30% 100% no-repeat; }
.qi-tugma:active { transform: translateY(1px); }
.qi-tugma[disabled] { opacity: .6; cursor: progress; }
.qi-tugma.tanlangan span::before { background: var(--qizil); }
.qi-tugma.tanlangan { color: var(--krem); }
.qi-tugma:focus-visible, .qi-yurak:focus-visible, .q5-yoq:focus-visible, .q5-ism input:focus-visible, .q5-sanagich button:focus-visible, .qi-qolgan a:focus-visible { outline: 2px solid var(--qizil); outline-offset: 4px; }

.qi-ajrat { display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 11px; line-height: 1; color: var(--qizil); }
.qi-ajrat i { width: 46px; height: 1px; background: currentColor; opacity: .6; }
.qi-bezak { display: block; width: 104px; height: 26px; margin: 0 auto; color: var(--toq); }
.qi-shox { position: absolute; z-index: -1; display: block; pointer-events: none; }
.qi-shox svg { display: block; width: 100%; height: auto; overflow: visible; }
.qi-shox.soya { opacity: .26; filter: blur(3px); }

/* 1 — Muqova: ipga osilgan yurakcha. --burchak, --tort, --kuch ni qizilip.js fizikasi qo'yadi */
.qi-osma { --w: min(62cqw, 34svh); position: absolute; top: 0; left: 50%; width: 0; display: flex; flex-direction: column; align-items: center; transform-origin: 50% 0; rotate: var(--burchak, 0deg); will-change: rotate; }
.qi-ip { position: relative; z-index: 2; flex: none; width: 3px; height: calc(30svh + var(--tort, 0px)); margin-top: -4svh; padding-top: 4svh; box-sizing: content-box; background: repeating-linear-gradient(170deg, #a5161f 0 3px, #7a0e16 3px 4.5px); border-radius: 0 0 2px 2px; filter: drop-shadow(3px 4px 2px rgb(60 20 10 / .28)); }
.qi-ip::after { content: ''; position: absolute; left: 50%; bottom: -5px; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #c8363c, #7a0e16); }
/* yurak teshigi SVG balandligining 27% ida — ip aynan o'sha yerga tushadi */
.qi-yurak { flex: none; width: var(--w); margin-top: calc(var(--w) * -.25); padding: 0; border: 0; background: none; cursor: grab; touch-action: none; -webkit-tap-highlight-color: transparent; scale: calc(1 + var(--kuch, 0) * .07); transform-origin: 50% 27%; }
.qi-yurak:active { cursor: grabbing; }
.qi-yurak-svg { display: block; width: 100%; height: auto; overflow: visible; pointer-events: none; }
.q1.tayyor .qi-yurak-svg { animation: qi-urish .7s ease-in-out infinite; }
.q1-matn { opacity: calc(1 - var(--kuch, 0) * 1.4); translate: 0 calc(var(--kuch, 0) * 26px); }
.q1::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 40% at 50% 46%, rgb(165 22 31 / .16), transparent 70%); opacity: var(--kuch, 0); }
.qi-uchqun { position: fixed; inset: 0; z-index: 30; pointer-events: none; overflow: hidden; }
.qi-uchqun i { position: absolute; font-style: normal; line-height: 1; color: #b3202a; opacity: 0; animation: qi-uch 2s cubic-bezier(.2, .7, .3, 1) forwards; }
@keyframes qi-uch { 0% { opacity: 0; translate: 0 0; scale: .4; } 12% { opacity: .95; } 100% { opacity: 0; translate: var(--x) var(--y); rotate: var(--b); scale: 1.25; } }
.q1-matn { position: absolute; left: 0; right: 0; bottom: 0; display: grid; justify-items: center; gap: clamp(20px, 5svh, 54px); padding: 0 6cqw calc(clamp(26px, 6svh, 60px) + env(safe-area-inset-bottom)); text-align: center; }
.q1-torting { font: 500 clamp(28px, 8.6cqw, 40px)/1.1 var(--serif); }
.q1 .qi-bezak { width: 170px; height: 20px; }
.q1-juft { font: 500 18px/1.3 var(--serif); font-size: min(clamp(16px, 4.7cqw, 21px), calc(170cqw / var(--u))); white-space: nowrap; margin-top: calc(clamp(20px, 5svh, 54px) * -.55); }

/* 2 — Murojaat: ochilgan yurak ichidagi maktub */
.q2-sahna { position: absolute; inset: 0 0 7svh; display: grid; place-items: center; --och: clamp(0, calc((var(--k, 1) - .55) * 2.6), 1); }
.q2-karta {
  position: relative; z-index: 1; width: 60cqw; min-height: 60svh; max-height: 78svh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(8px, 1.8svh, 18px);
  padding: 22px 5cqw; text-align: center; background: var(--krem); box-shadow: 0 14px 30px -10px rgb(60 20 10 / .45), inset 0 0 0 1px rgb(107 16 22 / .0);
  -webkit-mask: radial-gradient(circle 12px at 0 0, transparent 98%, #000) 0 0 / 51% 51% no-repeat, radial-gradient(circle 12px at 100% 0, transparent 98%, #000) 100% 0 / 51% 51% no-repeat, radial-gradient(circle 12px at 0 100%, transparent 98%, #000) 0 100% / 51% 51% no-repeat, radial-gradient(circle 12px at 100% 100%, transparent 98%, #000) 100% 100% / 51% 51% no-repeat, linear-gradient(#000 0 0) center / 100% 30% no-repeat, linear-gradient(#000 0 0) center / 30% 100% no-repeat;
          mask: radial-gradient(circle 12px at 0 0, transparent 98%, #000) 0 0 / 51% 51% no-repeat, radial-gradient(circle 12px at 100% 0, transparent 98%, #000) 100% 0 / 51% 51% no-repeat, radial-gradient(circle 12px at 0 100%, transparent 98%, #000) 0 100% / 51% 51% no-repeat, radial-gradient(circle 12px at 100% 100%, transparent 98%, #000) 100% 100% / 51% 51% no-repeat, linear-gradient(#000 0 0) center / 100% 30% no-repeat, linear-gradient(#000 0 0) center / 30% 100% no-repeat;
}
.q2-karta::before { content: ''; position: absolute; inset: 8px; border: 1px solid rgb(107 16 22 / .55); border-radius: 10px; pointer-events: none; }
.q2-karta .qi-bezak:last-child { rotate: 180deg; }
.q2-kim { font: 500 30px/1.14 'Playfair Display', Georgia, serif; font-size: min(clamp(22px, 6.6cqw, 32px), calc(56cqw / var(--m) * 1.7)); color: var(--toq); text-wrap: balance; overflow-wrap: anywhere; }
.q2-kim span, .q2-kim b { display: block; font-weight: 500; }
.q2-soz { font: 500 19px/1.34 'Playfair Display', Georgia, serif; font-size: clamp(13px, calc(4.5cqw - var(--u) * .0085cqw), 20px); text-wrap: balance; overflow-wrap: anywhere; }
.q2-imzo { font: 400 44px/1 var(--imzo); font-size: min(clamp(30px, 10.5cqw, 50px), calc(165cqw / var(--i))); white-space: nowrap; color: var(--toq); padding-top: .12em; }
.q2-qanot { position: absolute; z-index: calc(2 - round(var(--och)) * 2); top: 50%; width: 54cqw; height: min(124cqw, 68svh); margin-top: calc(min(124cqw, 68svh) * -.54); overflow: visible; }
.q2-qanot.chap { right: 50%; transform-origin: 0 50%; transform: translateX(calc(var(--och) * -31cqw)) rotate(calc(var(--och) * -4deg)); }
.q2-qanot.ong { left: 50%; transform-origin: 100% 50%; transform: translateX(calc(var(--och) * 31cqw)) rotate(calc(var(--och) * 4deg)); }
.qi-tugun { position: absolute; z-index: 3; left: 4cqw; bottom: -6svh; width: 46cqw; overflow: visible; opacity: var(--och); }
.q2-ip { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; overflow: visible; opacity: var(--och); }
.q2 .s1 { top: -3%; left: -12%; width: 46cqw; rotate: 142deg; }
.q2 .s2 { right: -10%; bottom: -2%; width: 50cqw; rotate: -24deg; }
.q2 .s1.soya { top: 4%; left: 22%; width: 60cqw; rotate: 118deg; }
.q2 .s2.soya { right: 24%; bottom: 0; width: 56cqw; rotate: -52deg; }

/* 3 — Suratlar: burchakli romlar */
.q3 { display: grid; place-items: center; padding: 9svh 5cqw; }
.q3-ip { position: absolute; z-index: 2; width: 46cqw; overflow: visible; pointer-events: none; }
.q3-ip.i1 { top: -3cqw; left: -8cqw; }
.q3-ip.i2 { right: -9cqw; bottom: -6cqw; }
.q3-atlas { position: absolute; top: 2.5svh; right: 7cqw; width: 30cqw; opacity: .92; }
.q3-atlas svg { display: block; width: 100%; }
.q3-tor { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6cqw; width: 100%; max-height: 100%; margin-top: 6svh; }
.q3-tor.n1 { grid-template-columns: 1fr; width: 70%; }
.q3-tor.n3 .qi-rom:first-child { grid-column: 1 / -1; justify-self: center; width: 50%; }
.qi-rom { position: relative; padding: 3.4cqw; background: linear-gradient(145deg, #f4efe2, #e6dfcf); box-shadow: 0 6px 16px -6px rgb(60 20 10 / .5), 0 1px 0 #fff inset; }
.qi-rasm { display: block; aspect-ratio: 4 / 5; max-height: 30svh; width: 100%; overflow: hidden; background: #d8d0bf; box-shadow: 0 0 0 1px rgb(60 20 10 / .12), inset 0 2px 6px rgb(0 0 0 / .3); }
.qi-rasm img { display: block; width: 100%; height: 100%; object-fit: cover; }
.qi-rom i { position: absolute; width: 17%; aspect-ratio: 1; background: linear-gradient(135deg, #f6f1e5 0 48%, #8e1219 48% 52%, transparent 52%); filter: drop-shadow(1px 1px 1.5px rgb(60 20 10 / .4)); }
.qi-rom i:nth-of-type(1) { top: 2cqw; left: 2cqw; }
.qi-rom i:nth-of-type(2) { top: 2cqw; right: 2cqw; rotate: 90deg; }
.qi-rom i:nth-of-type(3) { bottom: 2cqw; right: 2cqw; rotate: 180deg; }
.qi-rom i:nth-of-type(4) { bottom: 2cqw; left: 2cqw; rotate: 270deg; }

/* 4 — Sana, vaqt, manzil */
.q4 { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(10px, 2.4svh, 26px); padding: 6svh 0 calc(4svh + env(safe-area-inset-bottom)); }
.q4-lenta { position: absolute; z-index: -1; top: 0; right: 0; width: 30cqw; height: 100%; overflow: visible; }
.q4-muhr { position: absolute; z-index: 1; right: 1cqw; top: 54%; width: 26cqw; }
.qi-muhr { display: block; width: 100%; overflow: visible; }
.q4-matn { display: grid; justify-items: center; gap: clamp(8px, 2svh, 22px); width: 72cqw; margin-right: 12cqw; text-align: center; color: var(--toq); }
.q4-sana { font: 400 clamp(32px, 10.5cqw, 52px)/1.05 var(--kor); }
.q4-vaqt { font: 400 clamp(64px, 23cqw, 112px)/.9 var(--kor); font-variant-numeric: lining-nums; letter-spacing: -.01em; }
.q4-joy { font: 400 44px/1.08 var(--kor); font-size: min(clamp(28px, 10.5cqw, 52px), calc(120cqw / var(--u))); overflow-wrap: anywhere; text-wrap: balance; }
.q4-manzil { max-width: 62cqw; font: 500 clamp(15px, 4.2cqw, 18px)/1.35 var(--serif); text-wrap: balance; }
.qi-registon { flex: 0 1 auto; width: 84cqw; min-height: 0; max-height: 24svh; margin-right: 12cqw; color: #7d2a2a; }
.q4-tugma { width: 56cqw; margin-right: 12cqw; flex: none; }

/* 5 — Necha kishi bo'lib kelasiz? */
.q5-konvert { position: absolute; z-index: -1; top: 0; right: 0; width: 72cqw; overflow: visible; }
.q5-ip { position: absolute; z-index: -1; top: 0; right: 0; width: 46cqw; height: 100%; overflow: visible; }
.q5-muhr { position: absolute; top: 15cqw; right: 3cqw; width: 28cqw; }
.q5-shox { left: -14cqw; top: 40svh; width: 38cqw; }
.q5-shox.soya { left: -6cqw; top: 44svh; }
.q5-yirtiq { position: absolute; z-index: -1; left: 0; bottom: 0; width: 62cqw; height: 24svh; overflow: visible; }
.q5-matn, .q5-rahmat { position: absolute; left: 21cqw; right: 21cqw; top: 54%; translate: 0 -46%; display: grid; justify-items: center; gap: clamp(12px, 2.4svh, 22px); text-align: center; color: var(--toq); }
.js .kadr.q5 > .q5-matn, .js .kadr.q5 > .q5-rahmat { translate: 0 calc(-46% + (1 - var(--k, 1)) * 60px - var(--p, 0) * 36px); }
.q5-matn[hidden], .q5-rahmat[hidden], .q5-son[hidden], .q5-tanlov[hidden] { display: none; }
.q5-savol { font: 400 clamp(30px, 9.4cqw, 46px)/1.02 var(--kor); text-wrap: balance; margin-bottom: clamp(6px, 1.6svh, 18px); }
.q5-tanlov, .q5-son { display: grid; gap: 12px; width: 100%; }
.q5-ism { width: 100%; }
.q5-ism input { width: 100%; min-height: 50px; padding: 10px 14px; border: 0; border-bottom: 1.5px solid var(--toq); border-radius: 0; background: rgb(246 239 220 / .7); font: 500 19px/1.2 var(--serif); text-align: center; color: var(--siyoh); }
.q5-ism input::placeholder { color: #8d5a55; }
.q5-sanagich { display: flex; align-items: center; justify-content: center; gap: 22px; }
.q5-sanagich button { width: 48px; height: 48px; padding: 0; border: 1.5px solid var(--toq); border-radius: 50%; background: var(--krem); font: 400 26px/1 var(--kor); cursor: pointer; }
.q5-sanagich output { min-width: 1.4em; font: 400 54px/1 var(--kor); font-variant-numeric: lining-nums; }
.q5-yoq { min-height: 44px; padding: 8px 12px; border: 0; background: none; font: 500 17px/1.2 var(--serif); text-decoration: underline; text-underline-offset: 5px; cursor: pointer; }
.q5-xato { font: 600 14px/1.4 'Manrope', sans-serif; color: #a5161f; }
.q5-rahmat { font: 400 clamp(26px, 8cqw, 36px)/1.15 var(--kor); text-wrap: balance; }
.q5-rahmat span { font-size: 30px; color: var(--qizil); animation: qi-urish 1.6s ease-in-out infinite; }
@keyframes qi-urish { 0%, 100% { scale: 1; } 30% { scale: 1.22; } 50% { scale: 1; } 70% { scale: 1.12; } }

/* Qo'shimcha bo'limlar */
.qi-qolgan { position: relative; background: var(--don), var(--qogoz); }
.qi-bolim { padding: 64px 8cqw; text-align: center; }
.qi-bolim + .qi-bolim { border-top: 1px solid rgb(107 16 22 / .16); }
.qi-sar { margin-bottom: 14px; font: 400 clamp(30px, 9cqw, 40px)/1.1 var(--kor); color: var(--toq); }
.qi-bolim > .qi-ajrat { margin-bottom: 26px; }
.b-katta { font: 400 clamp(26px, 7.6cqw, 34px)/1.15 var(--kor); text-wrap: balance; }
.b-orta { font: 500 clamp(20px, 5.8cqw, 25px)/1.4 var(--serif); text-wrap: pretty; }
.b-mayda { margin-top: 8px; font: 500 clamp(16px, 4.6cqw, 19px)/1.4 var(--serif); text-wrap: balance; }
.b-xarita { margin-top: 24px; aspect-ratio: 4 / 3; overflow: hidden; border: 6px solid var(--krem); background: #e4dccb; box-shadow: 0 8px 20px -8px rgb(60 20 10 / .5); }
.b-xarita iframe { display: block; width: 100%; height: 100%; border: 0; }
.b-amal { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.b-amal .qi-tugma { flex: 1 1 150px; white-space: nowrap; font-size: 17px; }
.qi-tugma.tor { max-width: 240px; margin: 0 auto; }
.b-havola { display: inline-block; margin-top: 20px; padding: 10px 4px; font: 500 18px/1.3 var(--serif); color: var(--toq); text-underline-offset: 5px; }
.b-royxat { list-style: none; margin: 0 auto; padding: 0; max-width: 340px; text-align: left; }
.b-royxat li { display: grid; grid-template-columns: 82px 1fr; gap: 18px; align-items: baseline; padding: 15px 0; border-bottom: 1px solid rgb(107 16 22 / .16); }
.b-royxat li:last-child { border-bottom: 0; }
.b-royxat b { font: 400 28px/1 var(--kor); font-variant-numeric: lining-nums tabular-nums; color: var(--toq); }
.b-royxat span { font: 500 20px/1.3 var(--serif); }
.b-rang { display: flex; justify-content: center; gap: 12px; margin-top: 22px; }
.b-rang i { width: 46px; aspect-ratio: 1; border-radius: 50%; border: 3px solid var(--krem); box-shadow: 0 3px 8px -3px rgb(60 20 10 / .5); }
.b-tor { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.b-tor span { display: block; aspect-ratio: 4 / 5; padding: 6px; background: var(--krem); box-shadow: 0 6px 16px -6px rgb(60 20 10 / .5); }
.b-tor span:first-child:nth-last-child(odd) { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
.b-tor img { display: block; width: 100%; height: 100%; object-fit: cover; }
.b-karta { display: grid; gap: 10px; max-width: 340px; margin: 22px auto 22px; padding: 30px 20px 24px; border-radius: 14px; background: linear-gradient(135deg, #b3202a, #7c0e17); color: var(--krem); text-align: left; box-shadow: 0 14px 26px -14px rgb(60 10 10 / .7); }
.b-karta b { font: 500 clamp(19px, 5.6cqw, 23px)/1.2 'Manrope', sans-serif; letter-spacing: .08em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.b-karta span { font: 600 12px/1.4 'Manrope', sans-serif; letter-spacing: .16em; text-transform: uppercase; opacity: .85; }
.b-aloqa { display: grid; gap: 10px; max-width: 360px; margin: 0 auto; }
.b-aloqa a { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; min-height: 54px; padding: 14px 18px; background: var(--krem); color: inherit; text-decoration: none; box-shadow: 0 3px 8px -3px rgb(60 20 10 / .4); }
.b-aloqa span { font: 500 19px/1.3 var(--serif); }
.b-aloqa b { font: 600 15px/1.3 'Manrope', sans-serif; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--toq); }

/* 6 — Xotima */
.q6-osma { --w: min(34cqw, 20svh); position: absolute; top: 0; left: 50%; width: 0; display: flex; flex-direction: column; align-items: center; transform-origin: 50% 0; animation: qi-tebran 5.2s ease-in-out infinite; }
@keyframes qi-tebran { 0%, 100% { rotate: -3.2deg; } 50% { rotate: 3.2deg; } }
.q6-osma .qi-ip { height: 16svh; }
.q6-osma .qi-yurak-svg { flex: none; width: var(--w); margin-top: calc(var(--w) * -.25); }
.q6-matn { position: absolute; left: 0; right: 0; top: 46%; bottom: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(12px, 2.6svh, 26px); padding: 0 8cqw calc(30px + env(safe-area-inset-bottom)); text-align: center; color: var(--toq); }
.q6-soz { font: 400 clamp(32px, 10cqw, 48px)/1.05 var(--kor); text-wrap: balance; }
.q6-imzo { font: 400 50px/1 var(--imzo); font-size: min(clamp(40px, 14cqw, 64px), calc(250cqw / var(--i))); white-space: nowrap; }
.q6-sana { font: 500 clamp(17px, 4.8cqw, 21px)/1.3 var(--serif); letter-spacing: .06em; }
.q6-mezbon { font: italic 500 18px/1.4 var(--serif); }

@media (prefers-reduced-motion: reduce) {
  .q6-osma, .q5-rahmat span, .q1.tayyor .qi-yurak-svg { animation: none; }
  .js .kadr:not(.q1) > :is(div, form, p, a) { opacity: 1; translate: none; }
  .js .kadr.q5 > .q5-matn, .js .kadr.q5 > .q5-rahmat { translate: 0 -46%; }
  .q2-sahna { --och: 1; }
}
