/* =====================================================================
   choyichamiz — yangi bo'limlar va o'yinlar
   (asosiy ranglar va o'lchovlar style.css dagi :root ichida)
   ===================================================================== */

.kicker { font-size: var(--t-xs); letter-spacing: .16em; text-transform: uppercase; color: var(--oltin); font-weight: 600; }

/* ---------- Salomlashish ---------- */
.greet { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-self: start; max-width: 100%; padding: 8px 16px 8px 12px; border-radius: 999px; background: rgba(36, 21, 14, .72); border: 1px solid var(--line); font-size: var(--t-sm); color: var(--muted); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: greetIn .8s var(--ease) both; animation-delay: 1.4s; }
.greet b { color: var(--fg); font-weight: 600; }
.greet-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--oltin); box-shadow: 0 0 0 4px rgba(232, 163, 61, .2); flex: none; }
.greet.fest { border-color: var(--oltin); }
.greet.fest .greet-dot { background: var(--anor); box-shadow: 0 0 0 4px rgba(194, 65, 79, .25); }
@keyframes greetIn { from { opacity: 0; transform: translateY(10px); } }

/* ---------- Bayramona bezak ---------- */
.festive { position: absolute; top: 64px; left: 0; right: 0; z-index: 2; pointer-events: none; }
.garland { display: block; width: 100%; height: 60px; overflow: visible; }
.garland .flag { animation: flagSway 3.4s ease-in-out infinite; }
@keyframes flagSway { 0%, 100% { transform: rotate(-5deg); } 50% { transform: rotate(5deg); } }

/* ---------- Loyiha tarixi ---------- */
.case { background: var(--hall-bg); color: var(--ink); }
.case::before { content: ""; position: absolute; inset: 0; background-image: var(--girih-ink); background-size: 96px; opacity: .05; pointer-events: none; }
.case .kicker { color: #9A6716; }
.case-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.case-copy { display: grid; gap: 22px; }
.case-title { font-size: var(--t-2xl); }
.case-steps { display: grid; gap: 18px; }
.cstep { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 16px; padding-top: 18px; border-top: 1px solid var(--ink-line); }
.cstep-n { font-family: var(--display); font-weight: 700; font-size: 1.4rem; color: var(--hall-lapis); }
.cstep h3 { font-family: var(--display); font-weight: 600; font-size: var(--t-md); margin-bottom: 6px; }
.cstep p { color: var(--ink-muted); font-size: var(--t-sm); line-height: 1.65; }
.case-feats { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; }
.case-feats li { display: flex; gap: 8px; align-items: flex-start; font-size: var(--t-sm); }
.case-feats svg { width: 14px; height: 14px; fill: var(--hall-gold); flex: none; margin-top: 5px; }
.case-res { display: flex; flex-wrap: wrap; gap: 14px; }
.case-res div { display: grid; padding: 14px 18px; border-radius: 14px; background: #fff; border: 1px solid var(--ink-line); }
.case-res b { font-family: var(--display); font-size: var(--t-xl); color: var(--hall-lapis); }
.case-res span { font-size: var(--t-xs); color: var(--ink-muted); }
.case .btn-gold { justify-self: start; background: var(--hall-night); color: var(--hall-bg); }
.case .btn-gold:hover { background: var(--hall-lapis); }
.case-shots { position: relative; display: grid; place-items: center; min-height: 420px; }
.case-shots .shot { margin: 0; width: min(300px, 70%); border-radius: 28px; overflow: hidden; box-shadow: 0 40px 70px -30px rgba(12, 21, 51, .55); border: 8px solid #0b0b10; background: #0b0b10; }
.case-shots .shot img { width: 100%; height: auto; }
.case-shots.two .s1 { transform: translateX(-28%) rotate(-5deg); }
.case-shots.two .s2 { position: absolute; transform: translate(30%, 8%) rotate(5deg); }

/* ---------- O'yinxona ---------- */
.games { background: #1E120C; }
.games::before { content: ""; position: absolute; inset: 0; background-image: var(--girih); background-size: 110px; opacity: .05; pointer-events: none; }
.games .wrap { position: relative; }
.game-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); }
.gcard { display: grid; grid-template-rows: auto 1fr; border-radius: 24px; overflow: hidden; background: var(--night-2); border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.gcard:hover { transform: translateY(-4px); box-shadow: 0 40px 70px -40px rgba(0, 0, 0, .8); }
.gcard-art { position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; aspect-ratio: 400 / 240; overflow: hidden; }
.gcard-art svg { width: 100%; height: 100%; display: block; transition: transform .8s var(--ease); }
.gcard:hover .gcard-art svg { transform: scale(1.04); }
.gcard-play { position: absolute; right: 18px; bottom: 18px; width: 58px; height: 58px; border-radius: 50%; background: var(--oltin); display: grid; place-items: center; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .7); transition: transform .3s var(--ease); }
.gcard-play svg { width: 24px; height: 24px; fill: var(--night); margin-left: 3px; }
.gcard-art:hover .gcard-play { transform: scale(1.08); }
.gcard-body { padding: 24px 26px 26px; display: grid; gap: 10px; align-content: start; }
.gcard-meta { font-size: var(--t-xs); color: var(--oltin); letter-spacing: .04em; }
.gcard h3 { font-family: var(--display); font-weight: 600; font-size: var(--t-xl); line-height: 1.1; }
.gcard p { color: var(--muted); font-size: var(--t-sm); line-height: 1.6; }
.gcard-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 8px; }
.gcard-best { font-size: var(--t-xs); color: var(--muted); }
.gcard-best b { color: var(--oltin); }
.gc-flame { transform-box: fill-box; transform-origin: 50% 100%; animation: flick .9s ease-in-out infinite; }
.gc-bub { transform-box: fill-box; transform-origin: center; animation: bub 1.2s ease-out infinite; }
.gc-steam { animation: steam 3s ease-out infinite; }
.learn { margin-top: clamp(32px, 4vw, 48px); display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; padding: 20px 24px; border-radius: 18px; border: 1px dashed var(--line); }
.learn > b { font-family: var(--display); font-weight: 500; font-size: var(--t-md); }
.learn ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.learn li { font-size: var(--t-sm); color: var(--muted); padding: 6px 14px; border-radius: 999px; background: var(--faint); }

/* ---------- Narxlar: menyu ---------- */
.menu-card { position: relative; background: var(--ivory); color: var(--night); border-radius: 26px; padding: clamp(24px, 4vw, 48px); box-shadow: 0 50px 80px -50px rgba(0, 0, 0, .8); }
.menu-card::after { content: ""; position: absolute; inset: 10px; border: 1.5px solid rgba(36, 21, 14, .18); border-radius: 18px; pointer-events: none; }
.menu-top { display: flex; align-items: center; justify-content: center; gap: 14px; font-family: var(--display); font-weight: 700; letter-spacing: .2em; text-transform: uppercase; font-size: var(--t-xs); color: #9A5B16; margin-bottom: 26px; }
.menu-top svg { width: 22px; height: 22px; fill: none; stroke: #9A5B16; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.menu-cols { columns: 2 340px; column-gap: clamp(28px, 5vw, 64px); }
.menu-grp { break-inside: avoid; margin-bottom: 28px; }
.menu-grp summary { list-style: none; }
.menu-grp summary::-webkit-details-marker { display: none; }
@media (min-width: 821px) { .menu-grp summary { pointer-events: none; } }
.menu-grp h3 { font-family: var(--display); font-weight: 700; font-size: var(--t-lg); margin-bottom: 10px; padding-bottom: 8px; border-bottom: 2px solid var(--night); display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.menu-grp h3 em { font-family: var(--body); font-weight: 400; font-size: var(--t-sm); color: #9A5B16; }
.menu-grp ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.mi-row { display: flex; align-items: baseline; gap: 8px; }
.mi-row b { font-weight: 600; font-size: var(--t-md); }
.mi-row i { flex: 1; border-bottom: 2px dotted rgba(36, 21, 14, .3); transform: translateY(-4px); min-width: 20px; }
.mi-row .p { font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.mi-row .p.ask { font-weight: 500; font-style: italic; color: #9A5B16; }
.menu-grp li p { font-size: var(--t-xs); color: rgba(36, 21, 14, .65); margin-top: 2px; }

/* ---------- Narxlar: kalkulyator ---------- */
.calc { margin-top: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(24px, 4vw, 48px); align-items: start; }
.calc-main { display: grid; gap: 24px; }
.calc-title { font-family: var(--display); font-weight: 600; font-size: var(--t-2xl); line-height: 1.05; }
.calc-lead { color: var(--muted); }
.calc-q { display: grid; gap: 12px; }
.calc-q > b, .calc-row b { font-size: var(--t-sm); }
.calc-row { display: flex; justify-content: space-between; align-items: center; }
.calc-row output { font-family: var(--display); font-weight: 700; color: var(--oltin); font-size: var(--t-lg); }
.calc-types { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.ctype, .cextra, .cspeed { font: inherit; cursor: pointer; color: var(--fg); background: rgba(246, 231, 207, .04); border: 1px solid var(--faint); transition: background-color .2s, border-color .2s, color .2s; }
.ctype { text-align: left; border-radius: 16px; padding: 14px; display: grid; gap: 6px; min-height: 84px; align-content: start; }
.ctype b { font-family: var(--display); font-weight: 600; font-size: var(--t-sm); }
.ctype span { font-size: var(--t-xs); opacity: .75; }
.ctype[aria-pressed="true"], .cextra[aria-pressed="true"], .cspeed[aria-pressed="true"] { background: var(--oltin); border-color: var(--oltin); color: var(--night); }
.ctype:hover, .cextra:hover, .cspeed:hover { border-color: var(--oltin); }
.calc-range { display: flex; align-items: center; gap: 14px; font-size: var(--t-xs); color: var(--muted); }
.calc-range input { flex: 1; accent-color: var(--oltin); height: 28px; }
.calc-extras { display: flex; flex-wrap: wrap; gap: 10px; }
.cextra { display: inline-flex; align-items: center; gap: 10px; border-radius: 999px; padding: 10px 16px; font-weight: 600; font-size: var(--t-sm); min-height: 44px; }
.cextra .box { width: 18px; height: 18px; border-radius: 6px; border: 2px solid currentColor; display: grid; place-items: center; }
.cextra[aria-pressed="true"] .box::after { content: ""; width: 8px; height: 4px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg) translate(1px, -1px); }
.calc-speed { display: flex; gap: 10px; flex-wrap: wrap; }
.cspeed { border-radius: 14px; padding: 12px 18px; font-weight: 600; font-size: var(--t-sm); min-height: 44px; }
.calc-sum { position: sticky; top: 96px; background: var(--ivory); color: var(--night); border-radius: 24px; padding: 28px; display: grid; gap: 14px; box-shadow: 0 40px 70px -40px rgba(0, 0, 0, .8); }
.cs-k { font-size: var(--t-xs); letter-spacing: .14em; text-transform: uppercase; color: #9A5B16; font-weight: 700; }
.cs-price { font-family: var(--display); font-weight: 700; font-size: 1.9rem; line-height: 1.1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.cs-price small { font-size: .5em; font-weight: 500; }
.cs-price.ask { font-size: var(--t-lg); }
.cs-days { color: rgba(36, 21, 14, .7); font-size: var(--t-sm); }
.cs-lines { list-style: none; margin: 0; padding: 14px 0 0; border-top: 1px dashed rgba(36, 21, 14, .3); display: grid; gap: 8px; }
.cs-lines li { display: flex; justify-content: space-between; gap: 12px; font-size: var(--t-sm); }
.cs-lines b { font-variant-numeric: tabular-nums; }
.calc-sum .btn-gold { background: var(--night); color: var(--ivory); justify-content: center; white-space: normal; text-align: center; }
.calc-sum .btn-gold:hover { background: var(--night-2); }
.cs-note { font-size: .75rem; color: rgba(36, 21, 14, .58); line-height: 1.5; }

/* ---------- Aloqa: tez ariza ---------- */
.contact-box { display: grid; gap: 18px; min-width: 0; }
.ctabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 999px; border: 1px solid var(--faint); }
.ctabs button { border: 0; background: transparent; color: var(--muted); padding: 10px 12px; border-radius: 999px; cursor: pointer; font-weight: 600; font-size: var(--t-sm); min-height: 44px; }
.ctabs button[aria-selected="true"] { background: var(--ivory); color: var(--night); }
.brief { background: #2A1912; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); border: 1px solid var(--faint); border-radius: 22px; padding: clamp(20px, 3vw, 30px); display: grid; gap: 18px; min-height: 420px; align-content: start; }
.bf-bars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.bf-bars i { height: 5px; border-radius: 3px; background: var(--faint); transition: background-color .3s; }
.bf-bars i.on { background: var(--oltin); }
.bf-step { font-size: var(--t-xs); color: var(--muted); }
.bf-q { font-family: var(--display); font-weight: 600; font-size: var(--t-xl); line-height: 1.15; }
.bf-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.bf-opts button { font: inherit; color: var(--fg); cursor: pointer; text-align: left; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--faint); background: transparent; display: flex; justify-content: space-between; align-items: center; gap: 10px; font-weight: 600; font-size: var(--t-sm); min-height: 52px; }
.bf-opts button i { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--faint); flex: none; }
.bf-opts button[aria-checked="true"] { border-color: var(--oltin); background: rgba(232, 163, 61, .1); }
.bf-opts button[aria-checked="true"] i { border-color: var(--oltin); background: var(--oltin); box-shadow: inset 0 0 0 4px var(--night); }
.bf-fields { display: grid; gap: 14px; }
.bf-fields label { display: grid; gap: 6px; font-size: var(--t-xs); color: var(--muted); }
.bf-fields input, .bf-fields textarea { font: inherit; color: var(--fg); background: transparent; border: 0; border-bottom: 1px solid var(--line); padding: 10px 0; font-size: var(--t-md); resize: vertical; }
.bf-fields input:focus, .bf-fields textarea:focus { outline: none; border-bottom-color: var(--oltin); }
.bf-calc { font-size: var(--t-xs); color: var(--muted); padding: 10px 12px; border-radius: 10px; background: var(--faint); }
.bf-calc b { color: var(--oltin); }
.bf-err { color: #F08B95; font-size: var(--t-sm); min-height: 1.4em; }
.bf-nav { display: flex; justify-content: space-between; align-items: center; margin-top: auto; }
.bf-back { border: 0; background: transparent; color: var(--muted); cursor: pointer; padding: 12px 4px; font-weight: 600; }
.bf-back:hover { color: var(--fg); }
.bf-done { display: grid; gap: 14px; justify-items: start; }
.bf-ok { width: 64px; height: 64px; border-radius: 50%; background: var(--oltin); display: grid; place-items: center; }
.bf-ok svg { width: 30px; height: 30px; fill: none; stroke: var(--night); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.bf-done h3 { font-family: var(--display); font-weight: 600; font-size: var(--t-xl); }
.bf-done p { color: var(--muted); }
.bf-msg { margin: 0; width: 100%; white-space: pre-wrap; font: inherit; font-size: var(--t-xs); line-height: 1.6; padding: 14px 16px; border-radius: 14px; background: #0F1A24; color: #DDE8F2; border: 1px solid rgba(255, 255, 255, .08); }

/* ---------- Blog ---------- */
.blog { background: var(--hall-bg); color: var(--ink); }
.blog .kicker { color: #9A6716; }
.blog .sec-lead { color: var(--ink-muted); }
.posts { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: 20px; }
.post { min-width: 0; }
.post.big { grid-row: span 2; }
.post-btn { width: 100%; height: 100%; text-align: left; font: inherit; color: inherit; cursor: pointer; border: 1px solid var(--ink-line); background: #fff; border-radius: 22px; overflow: hidden; padding: 0; display: grid; grid-template-columns: 150px minmax(0, 1fr); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.post-btn:hover { transform: translateY(-3px); box-shadow: 0 30px 50px -30px rgba(12, 21, 51, .45); }
.post.big .post-btn { grid-template-columns: 1fr; grid-template-rows: 260px auto; background: var(--hall-night); color: var(--hall-bg); border-color: transparent; }
.post-cover { background-color: var(--pc); background-image: repeating-linear-gradient(45deg, rgba(255, 255, 255, .13) 0 6px, transparent 6px 16px); display: grid; place-items: center; min-height: 120px; }
.post.big .post-cover { background-image: radial-gradient(circle, rgba(232, 163, 61, .55) 0 2px, transparent 3px); background-size: 28px 28px; }
.post-cover svg { width: 44px; height: 44px; fill: none; stroke: #fff; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; opacity: .9; }
.post.big .post-cover svg { width: 90px; height: 90px; stroke: var(--hall-gold); }
.post-body { padding: 20px 22px; display: grid; gap: 10px; align-content: start; }
.post-meta { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; color: #9A6716; }
.post.big .post-meta { color: var(--hall-gold); }
.post-title { font-family: var(--display); font-weight: 600; font-size: var(--t-md); line-height: 1.25; }
.post.big .post-title { font-size: var(--t-xl); line-height: 1.12; }
.post-lead { color: rgba(242, 232, 213, .75); font-size: var(--t-sm); line-height: 1.6; }
.post-read { font-size: var(--t-sm); font-weight: 600; color: var(--hall-lapis); }
.post.big .post-read { color: var(--hall-gold); }
.blog-channel { margin-top: 20px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; background: #fff; border: 1px solid var(--ink-line); border-radius: 20px; padding: 20px 24px; }
.blog-channel > div { display: grid; flex: 1; min-width: 200px; }
.blog-channel span { color: var(--ink-muted); font-size: var(--t-sm); }
.bc-ico { width: 52px; height: 52px; border-radius: 50%; background: var(--lapis); display: grid; place-items: center; flex: none; }
.bc-ico svg { width: 24px; height: 24px; fill: var(--ivory); }
.blog-channel .btn-gold { background: var(--hall-night); color: var(--hall-bg); }
.bmodal { position: fixed; inset: 0; z-index: 125; display: grid; place-items: center; padding: 16px; }
.bmodal-bg { position: absolute; inset: 0; background: rgba(20, 11, 6, .8); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: fade .3s; }
.bmodal-box { position: relative; width: min(720px, 100%); max-height: calc(100svh - 32px); overflow: auto; background: var(--hall-bg); color: var(--ink); border-radius: 22px; animation: pop .45s var(--ease); }
.pm-head { position: relative; padding: 36px clamp(22px, 5vw, 48px) 28px; background-color: var(--pc); color: #fff; display: grid; gap: 12px; }
.pm-head .post-meta { color: rgba(255, 255, 255, .8); }
.pm-head h2 { font-family: var(--display); font-weight: 700; font-size: clamp(1.5rem, 3.4vw, 2.2rem); line-height: 1.1; padding-right: 40px; }
.pm-lead { font-size: var(--t-md); opacity: .9; }
.pm-x { position: absolute; right: 16px; top: 16px; border-color: rgba(255, 255, 255, .4); color: #fff; }
.pm-body { padding: 28px clamp(22px, 5vw, 48px) 36px; display: grid; gap: 16px; font-size: var(--t-md); line-height: 1.75; }
.pm-cta { margin-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 16px 18px; border-radius: 16px; background: #fff; border: 1px solid var(--ink-line); }
.pm-cta .btn-gold { background: var(--hall-night); color: var(--hall-bg); }

/* ---------- Mehmonlar daftari ---------- */
.gb-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.gb-grid .sec-head { margin-bottom: 0; }
.gb-form { display: grid; gap: 14px; margin-top: 8px; padding: 22px; border-radius: 20px; background: rgba(36, 21, 14, .6); border: 1px solid var(--faint); }
.gb-form label { display: grid; gap: 6px; font-size: var(--t-xs); color: var(--muted); }
.gb-form input, .gb-form textarea { font: inherit; color: var(--fg); background: transparent; border: 0; border-bottom: 1px solid var(--line); padding: 8px 0; font-size: var(--t-md); resize: vertical; }
.gb-form input:focus, .gb-form textarea:focus { outline: none; border-bottom-color: var(--oltin); }
.gb-form .btn { justify-self: start; }
.gb-note { font-size: var(--t-xs); color: var(--muted); }
.gb-book { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.gb-page { margin: 0; background: var(--ivory); color: var(--night); border-radius: 6px 18px 18px 6px; padding: 22px 22px 18px; box-shadow: 0 30px 50px -35px rgba(0, 0, 0, .8), inset 6px 0 0 rgba(36, 21, 14, .12); transform: rotate(var(--r)); display: grid; gap: 14px; }
.gb-page blockquote { margin: 0; font-size: var(--t-md); line-height: 1.6; }
.gb-page blockquote::before { content: "“"; font-family: var(--display); font-size: 2.4rem; line-height: .6; color: var(--oltin); display: block; margin-bottom: 6px; }
.gb-page figcaption { display: grid; font-size: var(--t-xs); color: rgba(36, 21, 14, .65); }
.gb-page figcaption b { color: var(--night); font-size: var(--t-sm); }
.gb-empty { grid-column: 1 / -1; display: grid; justify-items: center; gap: 14px; text-align: center; padding: 48px 24px; border-radius: 22px; border: 2px dashed var(--line); color: var(--muted); }
.gb-empty svg { width: 56px; height: 56px; fill: none; stroke: var(--oltin); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- "Choy damlanguncha" ---------- */
.tea { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 90; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; transition: opacity .3s, transform .3s var(--ease); animation: teaIn .6s var(--ease) both; }
.tea.away { opacity: 0; transform: translateY(20px); pointer-events: none; }
@keyframes teaIn { from { opacity: 0; transform: translateY(24px) scale(.9); } }
.tea-pot { order: 2; position: relative; width: 64px; height: 64px; border-radius: 50%; border: 0; background: var(--night-2); cursor: pointer; display: grid; place-items: center; box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .8), 0 0 0 1px var(--line); }
.tea-pot:hover { transform: translateY(-2px); }
.tea-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.tea-ring circle { fill: none; stroke-width: 3; stroke: var(--faint); }
.tea-ring #teaArc { stroke: var(--oltin); stroke-linecap: round; transition: stroke-dashoffset 1s linear; }
.tea-ico { width: 32px; height: 28px; fill: none; stroke: var(--oltin); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.tea-steam { animation: steam 2.4s ease-out infinite; }
.tea.ready .tea-pot { background: var(--oltin); animation: teaPulse 1.6s ease-in-out infinite; }
.tea.ready .tea-ico { stroke: var(--night); }
@keyframes teaPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(232, 163, 61, .5); } 50% { box-shadow: 0 0 0 12px rgba(232, 163, 61, 0); } }
.tea-card { order: 1; position: relative; width: min(340px, calc(100vw - 32px)); background: var(--ivory); color: var(--night); border-radius: 20px; padding: 20px 20px 18px; display: grid; gap: 8px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7); animation: pop .4s var(--ease); }
.tea-card h3 { font-family: var(--display); font-weight: 600; font-size: var(--t-md); line-height: 1.2; padding-right: 26px; }
.tea-card p { font-size: var(--t-sm); color: rgba(36, 21, 14, .75); line-height: 1.5; }
.tea-label { font-size: var(--t-xs) !important; color: #9A5B16 !important; font-weight: 600; }
.tea-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.tea-card .btn-ghost { border-color: rgba(36, 21, 14, .3); color: var(--night); }
.tea-card .btn-ghost:hover { border-color: var(--night); color: var(--night); }
.tea-card .btn-gold { background: var(--night); color: var(--ivory); }
.tea-x { position: absolute; right: 10px; top: 10px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: transparent; cursor: pointer; color: var(--night); display: grid; place-items: center; }
.tea-x svg { width: 16px; height: 16px; }
.tea-x:hover { background: rgba(36, 21, 14, .08); }

/* ---------- Bozor ovozi ---------- */
.sound-pill { position: fixed; left: max(16px, env(safe-area-inset-left)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 90; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 6px 16px 6px 8px; border-radius: 999px; border: 1px solid var(--line); background: rgba(36, 21, 14, .86); color: var(--fg); cursor: pointer; font-size: var(--t-xs); font-weight: 600; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: background-color .25s, color .25s; }
.sound-pill .eq { width: 30px; height: 30px; border-radius: 50%; background: var(--night); display: flex; align-items: flex-end; justify-content: center; gap: 2px; padding: 8px 0; }
.sound-pill .eq i { width: 3px; height: 14px; border-radius: 2px; background: var(--oltin); transform-origin: bottom; transform: scaleY(.4); }
.sound-pill .eq i:nth-child(2) { transform: scaleY(.8); } .sound-pill .eq i:nth-child(3) { transform: scaleY(.3); } .sound-pill .eq i:nth-child(4) { transform: scaleY(.6); }
.sound-pill.on { background: var(--oltin); color: var(--night); border-color: var(--oltin); }
.sound-pill.on .eq { background: var(--ivory); }
.sound-pill.on .eq i { background: var(--night); animation: eq .9s ease-in-out infinite; }
.sound-pill.on .eq i:nth-child(2) { animation-delay: .15s; } .sound-pill.on .eq i:nth-child(3) { animation-delay: .3s; } .sound-pill.on .eq i:nth-child(4) { animation-delay: .45s; }
@keyframes eq { 0%, 100% { transform: scaleY(.25); } 50% { transform: scaleY(1); } }
body.loading .tea, body.loading .sound-pill { visibility: hidden; }

/* ---------- Yashirin choynak ---------- */
.foot-row { grid-template-columns: auto 1fr auto auto auto; }
@media (max-width: 820px) { .foot-row { grid-template-columns: 1fr auto auto; } .foot-row .foot-line, .foot-row .foot-copy { grid-column: 1 / -1; } }
.egg-pot { position: relative; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--faint); background: transparent; cursor: pointer; display: grid; place-items: center; color: var(--muted); }
.egg-pot svg { width: 26px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.egg-pot:hover { color: var(--oltin); border-color: var(--oltin); }
.egg-pot.wob { animation: wob .35s ease-out; }
@keyframes wob { 30% { transform: rotate(-12deg); } 60% { transform: rotate(9deg); } }
.egg-dots { position: absolute; left: 50%; bottom: -10px; transform: translateX(-50%); display: flex; gap: 3px; }
.egg-dots i { width: 4px; height: 4px; border-radius: 50%; background: var(--faint); }
.egg-dots i.on { background: var(--oltin); }
.egg { position: fixed; inset: 0; z-index: 130; display: grid; place-items: center; padding: 16px; }
.egg-bg { position: absolute; inset: 0; background: rgba(20, 11, 6, .75); animation: fade .3s; }
.egg-card { position: relative; width: min(420px, 100%); background: var(--ivory); color: var(--night); border-radius: 24px; padding: 26px; display: grid; gap: 10px; justify-items: center; text-align: center; animation: pop .45s var(--ease); }
.egg-scene svg { width: 240px; height: 160px; }
.egg-pour { transform-origin: 97px 85px; animation: pour 2.4s var(--ease) both; }
@keyframes pour { 0% { transform: rotate(0); } 30%, 75% { transform: rotate(26deg); } 100% { transform: rotate(0); } }
.egg-stream { stroke-dasharray: 90; stroke-dashoffset: 90; animation: stream 2.4s linear both; }
@keyframes stream { 0%, 25% { stroke-dashoffset: 90; } 40%, 70% { stroke-dashoffset: 0; } 85%, 100% { stroke-dashoffset: -90; } }
.egg-fill { animation: fillCup 2.4s var(--ease) both; }
@keyframes fillCup { 0%, 35% { transform: translateY(0); } 80%, 100% { transform: translateY(-20px); } }
.egg-card h3 { font-family: var(--display); font-weight: 700; font-size: var(--t-xl); }
.egg-card p { color: rgba(36, 21, 14, .75); }
.egg-code { display: grid; gap: 6px; padding: 12px 16px; border-radius: 14px; background: var(--night); color: var(--ivory) !important; }
.egg-code b { font-family: var(--display); color: var(--oltin); letter-spacing: .08em; font-size: var(--t-lg); }
.egg-card .btn-gold { background: var(--night); color: var(--ivory); margin-top: 6px; }

/* =====================================================================
   O'YIN OYNASI
   ===================================================================== */
.gmodal { position: fixed; inset: 0; z-index: 140; background: #140C08; animation: fade .25s; }
.gmodal-box { position: absolute; inset: 0; display: grid; grid-template-rows: auto minmax(0, 1fr); }
.gmodal-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: calc(10px + env(safe-area-inset-top, 0px)) 16px 10px 22px; background: #24150E; border-bottom: 1px solid var(--line); }
.gmodal-head h3 { font-family: var(--display); font-weight: 600; font-size: var(--t-md); }
.gmodal-stage { overflow: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.gmodal svg.gi { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.gmodal .coin { width: 18px; height: 18px; flex: none; }
.gmodal button { font: inherit; cursor: pointer; }
.b-go, .b-gold, .b-ghost, .b-dark, .b-hint { border-radius: 999px; padding: 13px 22px; font-weight: 700; font-size: var(--t-sm); border: 0; min-height: 46px; }
.b-go, .b-dark { background: var(--night); color: var(--ivory); }
.b-go.big { padding: 16px 28px; font-size: var(--t-md); }
.b-gold { background: var(--oltin); color: var(--night); }
.b-ghost { background: transparent; border: 1.5px solid currentColor; }
.b-hint { background: transparent; border: 2px solid var(--night); color: var(--night); }
.b-go:hover, .b-dark:hover { background: var(--night-2); }

/* ---------- Bozor ---------- */
.bz { position: relative; min-height: 100%; display: flex; flex-direction: column; background: #1E120C; color: var(--ivory); }
.bz-hud { display: flex; align-items: center; gap: 18px 24px; flex-wrap: wrap; padding: 10px 22px; background: #24150E; border-bottom: 1px solid var(--line); }
.bz-brand { display: flex; align-items: center; gap: 10px; }
.bz-brand b { font-family: var(--display); font-size: 1rem; display: block; line-height: 1.1; }
.bz-brandsub { font-size: .75rem; color: var(--muted); }
.bz-logo { width: 36px; height: 36px; border-radius: 10px; background: var(--lapis); display: grid; place-items: center; }
.bz-logo svg { width: 22px; height: 22px; fill: none; stroke: var(--ivory); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bz-clock { flex: 1; display: flex; align-items: center; justify-content: center; gap: 12px; min-width: 260px; }
.bz-clock svg { width: 20px; height: 20px; fill: none; stroke: var(--oltin); stroke-width: 2; stroke-linecap: round; }
.bz-time { font-family: var(--display); font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.bz-day { width: 200px; height: 7px; border-radius: 4px; background: var(--faint); overflow: hidden; }
.bz-day i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--oltin), var(--anor)); transition: width 1s linear; }
.bz-closes { font-size: .75rem; color: var(--muted); }
.bz-stats { display: flex; align-items: center; gap: 18px; font-size: var(--t-xs); }
.bz-stats > span { display: inline-flex; align-items: center; gap: 6px; }
.bz-stats b { font-family: var(--display); font-size: 1.05rem; }
.bz-stats .star { width: 18px; height: 18px; fill: var(--oltin); }
.bz-no { border: 1px solid var(--faint); border-radius: 999px; padding: 6px 12px; }
.bz-main { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 400px); align-items: start; }
.bz-left { min-width: 0; display: flex; flex-direction: column; }
.bz-scene { position: relative; aspect-ratio: 1020 / 560; overflow: hidden; background: #D8B98C; }
.bz-bg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.bz-sky { transition: fill 2s; } .bz-sun, .bz-sunglow { transition: cx 1s linear, cy 1s linear, fill 2s; }
.bz-flag { animation: flagSway 3.6s ease-in-out infinite; }
.bz-walk { animation: walk 38s linear infinite; } .bz-walk.w2 { animation-duration: 52s; animation-delay: -20s; }
@keyframes walk { from { transform: translateX(-40px); } to { transform: translateX(1060px); } }
.bz-lantern { position: absolute; top: 0; width: 2px; background: #3A2418; transform-origin: 50% 0; animation: sway 4s ease-in-out infinite; pointer-events: none; }
.bz-lantern svg { position: absolute; left: -13px; bottom: -36px; width: 28px; height: 40px; }
@keyframes sway { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }
.bz-queue { position: absolute; left: 2%; top: 3.6%; z-index: 2; display: flex; align-items: center; gap: 10px; background: rgba(36, 21, 14, .85); border-radius: 999px; padding: 6px 14px 6px 10px; font-size: .8rem; }
.q-dots { display: flex; padding-left: 6px; } .q-dots i { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #24150E; margin-left: -6px; }
.bz-stalls { position: absolute; inset: 0; }
.bz-stall { position: absolute; width: 29.41%; aspect-ratio: 300 / 172; padding: 0; border: 0; background: transparent; color: var(--ivory); border-radius: 18px; transition: transform .3s var(--ease), filter .2s; }
.bz-stall:hover { filter: brightness(1.08); }
.bz-stall.sel { transform: translateY(-6px) scale(1.03); background: radial-gradient(ellipse at 50% 70%, rgba(255, 226, 160, .75), rgba(255, 226, 160, 0) 70%); }
.bz-stall.pulse { animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(232, 163, 61, 0); } 50% { box-shadow: 0 0 0 10px rgba(232, 163, 61, .45); } }
.st-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.st-goods { position: absolute; left: 11%; right: 11%; top: 40%; display: flex; justify-content: space-around; }
.st-goods > span { width: 13%; aspect-ratio: 1; border-radius: 22%; background: var(--ivory); display: grid; place-items: center; box-shadow: 0 5px 0 -2px rgba(36, 21, 14, .35); color: var(--c); }
.st-goods svg.gi { width: 60%; height: 60%; }
.st-name { position: absolute; left: 6%; right: 6%; bottom: 7%; height: 24%; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.15; text-align: center; }
.st-name b { font-family: var(--display); font-size: clamp(.62rem, 1.05vw, .9rem); font-weight: 600; }
.st-name small { font-size: clamp(.58rem, .85vw, .75rem); opacity: .75; }
.st-cnt { position: absolute; right: 0; top: -4px; min-width: 28px; height: 28px; padding: 0 6px; border-radius: 14px; background: var(--oltin); color: var(--night); font-weight: 800; font-size: .85rem; display: grid; place-items: center; border: 2px solid #24150E; animation: pop .35s var(--ease); }
.bz-counter { flex: 1; background: #36211A; border-top: 4px solid #6B4428; padding: 18px 24px 24px; display: grid; gap: 12px; align-content: start; }
.bz-ch { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.bz-sn { font-family: var(--display); font-weight: 700; font-size: 1.25rem; }
.bz-ss, .bz-tip { font-size: var(--t-xs); color: var(--muted); }
.bz-goods { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.bz-good { text-align: left; color: var(--ivory); border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 8px; border: 2px solid rgba(246, 231, 207, .14); background: rgba(246, 231, 207, .04); min-height: 170px; transition: border-color .2s, background-color .2s, transform .2s; }
.bz-good:hover { border-color: rgba(232, 163, 61, .6); transform: translateY(-2px); }
.bz-good.on { border-color: var(--oltin); background: rgba(232, 163, 61, .16); }
.g-top { display: flex; justify-content: space-between; align-items: flex-start; }
.g-ico { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; color: var(--ivory); }
.g-mark { width: 24px; height: 24px; border-radius: 50%; border: 2px solid rgba(246, 231, 207, .3); display: grid; place-items: center; font-size: .8rem; font-weight: 800; color: var(--night); }
.bz-good.on .g-mark { background: var(--oltin); border-color: var(--oltin); }
.g-n { font-family: var(--display); font-weight: 600; font-size: .9rem; line-height: 1.2; }
.g-d { font-size: .78rem; line-height: 1.45; color: rgba(246, 231, 207, .68); flex: 1; }
.g-p { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-weight: 700; font-size: .85rem; color: var(--oltin); }
.g-p small { flex-basis: 100%; font-weight: 500; font-size: .72rem; color: rgba(246, 231, 207, .55); }
.bz-panel { position: sticky; top: 0; max-height: calc(100svh - 58px); overflow: auto; background: var(--ivory); color: var(--night); padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 14px; }
.pat { display: flex; align-items: center; gap: 10px; font-size: .8rem; font-weight: 600; }
.pat > span:first-child { color: rgba(36, 21, 14, .6); }
.pat-bar { flex: 1; height: 9px; border-radius: 5px; background: rgba(36, 21, 14, .1); overflow: hidden; }
.pat-bar i { display: block; height: 100%; transition: width 1s linear, background-color .5s; }
.pat-s { font-variant-numeric: tabular-nums; min-width: 34px; text-align: right; }
.bz-cust .who { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 14px; align-items: center; }
.bz-cust .who .avatar { width: 84px; height: 84px; animation: bob 3.2s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-4px); } }
.who-n { display: block; font-family: var(--display); font-size: 1.1rem; }
.who-b { display: block; font-size: .85rem; color: rgba(36, 21, 14, .65); }
.who-bud { display: inline-block; margin-top: 6px; font-size: .78rem; font-weight: 700; background: var(--night); color: var(--oltin); border-radius: 999px; padding: 4px 10px; }
.say { position: relative; background: #fff; border-radius: 16px; padding: 14px 16px; font-size: .93rem; line-height: 1.55; border: 1px solid rgba(36, 21, 14, .08); }
.say::before { content: ""; position: absolute; top: -8px; left: 32px; width: 16px; height: 16px; background: #fff; transform: rotate(45deg); border-left: 1px solid rgba(36, 21, 14, .08); border-top: 1px solid rgba(36, 21, 14, .08); }
.say p { position: relative; }
.bz-cart { display: flex; flex-direction: column; gap: 10px; }
.cart-h { display: flex; justify-content: space-between; align-items: baseline; font-size: .9rem; }
.cart-h span { font-weight: 700; } .cart-h span.over { color: var(--anor); }
.cart-bar { height: 7px; border-radius: 4px; background: rgba(36, 21, 14, .1); overflow: hidden; display: block; }
.cart-bar i { display: block; height: 100%; transition: width .3s; }
.cart-list { display: grid; gap: 7px; }
.cart-empty { border: 2px dashed rgba(36, 21, 14, .2); border-radius: 14px; padding: 18px; text-align: center; font-size: .85rem; color: rgba(36, 21, 14, .55); line-height: 1.5; }
.cart-it { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 12px; padding: 6px 6px 6px 8px; border: 1px solid rgba(36, 21, 14, .08); animation: pop .3s var(--ease); }
.ci-ico { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; color: var(--ivory); flex: none; }
.ci-ico svg.gi { width: 18px; height: 18px; }
.ci-n { flex: 1; font-size: .88rem; font-weight: 600; }
.cart-it > b { font-size: .82rem; color: #9A5B16; }
.ci-x { width: 34px; height: 34px; border-radius: 9px; border: 0; background: rgba(36, 21, 14, .07); color: var(--night); display: grid; place-items: center; }
.ci-x svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; }
.cart-warn, .cart-hint { display: flex; gap: 10px; align-items: flex-start; border-radius: 12px; padding: 10px 12px; font-size: .82rem; line-height: 1.45; }
.cart-warn { background: #FBE3B5; color: #5A3410; }
.cart-hint { background: var(--night); color: var(--ivory); animation: pop .35s var(--ease); }
.cart-warn svg, .cart-hint svg { width: 18px; height: 18px; flex: none; fill: none; stroke: #9A5B16; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.cart-hint svg { stroke: var(--oltin); }
.cart-btns { display: grid; grid-template-columns: 1fr 1.35fr; gap: 8px; margin-top: 4px; }
.bz-over { position: fixed; inset: 0; top: 58px; z-index: 6; background: rgba(20, 12, 8, .66); display: grid; place-items: center; padding: 16px; overflow: auto; animation: fade .3s; }
.ov-card { width: min(780px, 100%); border-radius: 28px; padding: clamp(22px, 4vw, 40px); display: grid; gap: 18px; box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .8); animation: pop .45s var(--ease); }
.ov-card.light { background: var(--ivory); color: var(--night); }
.ov-card.dark { background: #24150E; color: var(--ivory); border: 1px solid var(--line); }
.ov-k { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: #9A5B16; }
.ov-card.dark .ov-k { color: var(--oltin); }
.ov-card h2 { font-family: var(--display); font-weight: 800; font-size: clamp(1.8rem, 4.4vw, 3rem); letter-spacing: -.03em; line-height: 1; }
.ov-p { font-size: var(--t-md); line-height: 1.6; opacity: .8; }
.ov-rules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ov-rules > div { background: #fff; border-radius: 16px; padding: 14px; display: grid; gap: 6px; align-content: start; }
.ov-rules .n { font-family: var(--display); font-size: 1.3rem; } .ov-rules .n0 { color: var(--anor); } .ov-rules .n1 { color: var(--lapis); } .ov-rules .n2 { color: #4E8B5A; }
.ov-rules span { font-size: .82rem; line-height: 1.45; color: rgba(36, 21, 14, .65); }
.ov-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.ov-row.between { justify-content: space-between; border-top: 1px dashed rgba(36, 21, 14, .25); padding-top: 16px; }
.ov-note { font-size: .85rem; opacity: .65; flex: 1; min-width: 200px; }
.rv-top { display: flex; align-items: center; gap: 16px; }
.rv-say { flex: 1; display: grid; gap: 4px; } .rv-say span { font-size: .85rem; opacity: .6; }
.rv-say b { font-family: var(--display); font-size: clamp(1.05rem, 2.2vw, 1.4rem); line-height: 1.2; letter-spacing: -.01em; }
.rv-stars { display: flex; gap: 2px; } .rv-stars svg { width: 36px; height: 36px; }
.st1 { animation: starIn .45s .25s both; } .st2 { animation: starIn .45s .45s both; } .st3 { animation: starIn .45s .65s both; }
@keyframes starIn { 0% { transform: scale(0) rotate(-40deg); } 70% { transform: scale(1.25); } 100% { transform: none; } }
.rv-rows { display: grid; gap: 7px; max-height: 44svh; overflow: auto; }
.rv-row { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; background: #fff; border-radius: 12px; padding: 10px 12px; }
.rv-m { width: 26px; height: 26px; border-radius: 50%; color: #fff; display: grid; place-items: center; font-weight: 800; font-size: .85rem; }
.rv-row b { display: block; font-size: .92rem; } .rv-row span { font-size: .82rem; line-height: 1.45; color: rgba(36, 21, 14, .65); }
.rv-earn b { font-family: var(--display); font-size: 1.3rem; color: #9A5B16; }
.end-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.end-stats > div { background: #36211A; border-radius: 16px; padding: 14px 16px; display: grid; gap: 2px; }
.end-stats span { font-size: .8rem; opacity: .65; } .end-stats b { font-family: var(--display); font-size: 1.8rem; } .end-stats b.gold { color: var(--oltin); }
.end-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.end-list > div { display: flex; align-items: center; gap: 8px; background: rgba(246, 231, 207, .05); border-radius: 10px; padding: 7px 10px; font-size: .8rem; }
.end-list i { width: 16px; height: 16px; border-radius: 50%; flex: none; } .end-list span { flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; } .end-list b { color: var(--oltin); letter-spacing: .04em; }
.end-cta { border-top: 1px solid var(--faint); padding-top: 18px; } .end-cta > span { flex: 1; min-width: 200px; }
.ov-card.dark .b-ghost { color: var(--ivory); border-color: rgba(246, 231, 207, .35); }

/* ---------- G'oya qozoni ---------- */
.pot { min-height: 100%; background: #24150E radial-gradient(circle, rgba(232, 163, 61, .1) 0 1.5px, transparent 2.5px) 0 0 / 26px 26px; color: var(--ivory); padding: clamp(18px, 3vw, 36px) clamp(16px, 4vw, 56px) 40px; display: grid; gap: 22px; align-content: start; }
.pot-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 30px; flex-wrap: wrap; }
.pot-k { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--oltin); }
.pot-t { font-family: var(--display); font-weight: 800; font-size: clamp(2rem, 4.6vw, 3.2rem); letter-spacing: -.03em; line-height: 1; margin: 6px 0; }
.pot-l { color: var(--muted); }
.pot-stats { display: flex; gap: 20px; font-size: .85rem; color: var(--muted); }
.pot-stats b { font-family: var(--display); color: var(--ivory); font-size: 1.2rem; } .pot-stats b.gold { color: var(--oltin); }
.pot-grid { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 360px) minmax(0, 1fr); gap: 26px; align-items: start; }
.pot-in { display: grid; gap: 20px; }
.pq { display: grid; gap: 10px; } .pq > b { font-size: .95rem; } .pq > b i { font-style: normal; color: var(--oltin); }
.pq button { color: var(--ivory); border: 1px solid rgba(246, 231, 207, .18); background: rgba(246, 231, 207, .04); transition: background-color .2s, border-color .2s, color .2s, transform .2s; }
.pq button:hover { border-color: var(--oltin); transform: translateY(-1px); }
.pq button[aria-pressed="true"] { background: var(--oltin); border-color: var(--oltin); color: var(--night); }
.pq-soha { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.pq-soha button { text-align: left; border-radius: 12px; padding: 9px 11px; font-size: .82rem; font-weight: 600; line-height: 1.25; min-height: 44px; }
.pq-mu { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.pq-mu button { text-align: left; border-radius: 14px; padding: 10px 12px; display: grid; gap: 2px; }
.pq-mu b { font-size: .88rem; } .pq-mu span { font-size: .76rem; opacity: .72; line-height: 1.35; }
.pq-jas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid rgba(246, 231, 207, .2); border-radius: 14px; padding: 4px; }
.pq-jas button { border: 0 !important; background: transparent; border-radius: 10px; padding: 9px 4px; display: grid; justify-items: center; gap: 1px; }
.pq-jas button[aria-checked="true"] { color: #fff; }
.pq-jas b { font-size: .88rem; } .pq-jas span { font-size: .7rem; opacity: .75; }
.pot-go { border: 0; border-radius: 999px; padding: 16px 22px; background: var(--oltin); color: var(--night); font-weight: 800; font-size: 1rem; display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; }
.pot-go svg { width: 22px; height: 22px; fill: none; stroke: var(--night); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.pot-go:disabled { background: rgba(246, 231, 207, .2); cursor: not-allowed; }
.pot-mid { display: grid; gap: 14px; min-width: 0; }
.pot-stage { position: relative; aspect-ratio: 380 / 420; }
.pot-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.p-glow { opacity: .08; filter: blur(30px); transition: opacity .6s; }
.pot.is-cook .p-glow { opacity: .45; } .pot.is-done .p-glow { opacity: .22; }
.p-steam path { fill: none; stroke: var(--ivory); stroke-width: 5; stroke-linecap: round; animation: steam 3s ease-out infinite; }
.p-steam { opacity: .35; transition: opacity .6s; } .pot.is-cook .p-steam, .pot.is-done .p-steam { opacity: 1; }
.p-fl { transform-box: fill-box; transform-origin: 50% 100%; animation: flick .9s ease-in-out infinite; } .p-fl.f2 { animation-duration: 1.2s; animation-direction: reverse; }
.p-broth { transition: fill .6s; } .pot.is-cook .p-broth { fill: #E8A33D; } .pot.is-done .p-broth { fill: #C98A3A; }
.p-bubs circle { fill: #FFD27A; transform-box: fill-box; transform-origin: center; animation: bub 1.1s ease-out infinite; }
.p-bubs { opacity: 0; transition: opacity .4s; } .pot.is-cook .p-bubs { opacity: 1; } .pot.is-done .p-bubs { opacity: .35; }
@keyframes flick { 0%, 100% { transform: scaleY(1) skewX(0); } 30% { transform: scaleY(1.12) skewX(-3deg); } 60% { transform: scaleY(.92) skewX(3deg); } }
@keyframes bub { 0% { transform: translateY(0) scale(.4); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(-16px) scale(1.1); opacity: 0; } }
@keyframes steam { 0% { opacity: 0; transform: translateY(10px); } 40% { opacity: .7; } 100% { opacity: 0; transform: translateY(-40px); } }
.pot-chips { position: absolute; left: 0; right: 0; top: 4%; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 0 12px; }
.chip { display: inline-flex; align-items: center; gap: 7px; color: var(--night); font-weight: 700; font-size: .8rem; padding: 7px 12px; border-radius: 999px; box-shadow: 0 10px 20px -10px rgba(0, 0, 0, .7); }
.chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--night); opacity: .45; }
.chip.bob { animation: chipBob 3s ease-in-out infinite; }
@keyframes chipBob { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-8px) rotate(2deg); } }
.chip.drop { animation: chipDrop .9s cubic-bezier(.5, 0, .9, .5) both; }
@keyframes chipDrop { 0% { transform: none; opacity: 1; } 75% { opacity: 1; } 100% { transform: translateY(170px) scale(.35); opacity: 0; } }
.pot-ready { position: absolute; left: 50%; top: 10%; transform: translateX(-50%); width: 170px; background: var(--ivory); color: var(--night); border-radius: 16px; padding: 10px 12px; display: grid; justify-items: center; box-shadow: 0 24px 40px -18px rgba(0, 0, 0, .9), 0 0 0 6px rgba(232, 163, 61, .25); animation: potRise .8s cubic-bezier(.2, .8, .2, 1) both; }
.pot-ready span { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: #9A5B16; font-weight: 700; }
.pot-ready b { font-family: var(--display); font-size: 1.4rem; }
@keyframes potRise { 0% { opacity: 0; transform: translate(-50%, 80px) scale(.6); } 60% { opacity: 1; } 100% { opacity: 1; transform: translate(-50%, 0); } }
.pot-chain { display: grid; gap: 10px; }
.pc-t { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(246, 231, 207, .5); }
.pc-list { list-style: none; margin: 0; padding: 0; display: grid; }
.pc-list li { position: relative; display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; padding-bottom: 12px; }
.pc-list li:not(:last-child)::after { content: ""; position: absolute; left: 11px; top: 26px; bottom: 2px; width: 2px; background: rgba(246, 231, 207, .18); }
.pc-list li.dim { opacity: .35; }
.pc-list li.lit { animation: lit .45s ease both; }
@keyframes lit { from { opacity: .3; transform: translateX(-6px); } to { opacity: 1; transform: none; } }
.pc-n { width: 22px; height: 22px; border-radius: 50%; color: var(--night); font-size: .72rem; font-weight: 800; display: grid; place-items: center; }
.pc-list small { display: block; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(246, 231, 207, .5); }
.pc-list b { display: block; font-size: .9rem; line-height: 1.3; } .pc-list span { font-size: .76rem; color: rgba(246, 231, 207, .6); }
.pot-card { background: var(--ivory); color: var(--night); border-radius: 24px; padding: 24px; display: grid; gap: 14px; min-height: 520px; align-content: start; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8); animation: pop .5s var(--ease); }
.pk { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: #9A5B16; font-weight: 700; }
.shim { display: block; border-radius: 8px; background: linear-gradient(90deg, rgba(36, 21, 14, .07) 0, rgba(36, 21, 14, .16) 50%, rgba(36, 21, 14, .07) 100%); background-size: 600px 100%; animation: shim 1.2s linear infinite; }
@keyframes shim { 0% { background-position: -300px 0; } 100% { background-position: 300px 0; } }
.pc-idle { display: grid; justify-items: center; text-align: center; gap: 12px; padding: 60px 16px; }
.pc-idle svg { width: 70px; height: 70px; fill: none; stroke: #9A5B16; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.pc-idle b { font-family: var(--display); font-size: 1.3rem; } .pc-idle span { color: rgba(36, 21, 14, .65); max-width: 300px; }
.pc-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: .82rem; font-weight: 700; color: rgba(36, 21, 14, .55); }
.pc-top em { font-style: normal; color: #fff; border-radius: 999px; padding: 4px 10px; font-size: .75rem; font-weight: 800; flex: none; }
.pot-card h3 { font-family: var(--display); font-weight: 700; font-size: clamp(1.3rem, 2.2vw, 1.65rem); line-height: 1.12; letter-spacing: -.02em; }
.pc-pitch { font-size: .95rem; line-height: 1.55; color: rgba(36, 21, 14, .8); }
.pc-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.pc-steps li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; align-items: center; background: #fff; border-radius: 12px; padding: 8px 12px; font-size: .88rem; }
.pc-steps b { font-family: var(--display); font-size: .8rem; color: #9A5B16; }
.pc-twist { display: flex; gap: 10px; align-items: flex-start; background: var(--night); color: var(--ivory); border-radius: 14px; padding: 10px 12px; font-size: .82rem; line-height: 1.45; }
.pc-twist svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--oltin); stroke-width: 2; stroke-linejoin: round; }
.pc-twist b { color: var(--oltin); }
.pc-need { display: grid; gap: 8px; }
.pn-h { display: flex; justify-content: space-between; align-items: center; font-size: .82rem; }
.pn-h span { display: flex; align-items: center; gap: 4px; color: rgba(36, 21, 14, .55); }
.pn-h i { width: 8px; height: 8px; border-radius: 50%; background: rgba(36, 21, 14, .15); } .pn-h i.on { background: var(--night); }
.pn-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.pn-tags span { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 600; background: #fff; border: 1px solid rgba(36, 21, 14, .12); border-radius: 999px; padding: 5px 11px 5px 7px; }
.pn-tags svg.gi { width: 16px; height: 16px; color: #9A5B16; }
.pc-eff { font-size: .84rem; line-height: 1.45; color: rgba(36, 21, 14, .68); } .pc-eff b { color: var(--night); }
.pc-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 4px; }
.pc-btns .b-ghost { color: var(--night); padding: 11px 10px; }
.pc-btns .b-dark { grid-column: 1 / -1; }

/* ---------- Moslashuvchan ---------- */
@media (max-width: 1240px) {
  .pot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .pot-in { grid-row: span 2; }
  .calc-types { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1080px) {
  .calc { grid-template-columns: minmax(0, 1fr); }
  .calc-sum { position: static; }
  .bz-main { grid-template-columns: minmax(0, 1fr) 340px; }
  .bz-goods { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .case-grid, .gb-grid { grid-template-columns: minmax(0, 1fr); }
  .case-shots { min-height: 360px; }
  .game-cards { grid-template-columns: minmax(0, 1fr); }
  .posts { grid-template-columns: minmax(0, 1fr); }
  .post.big { grid-row: auto; }
  .post-btn { grid-template-columns: 110px minmax(0, 1fr); }
  .festive { top: 70px; }
  /* bozor: telefonda ustma-ust */
  .bz-main { display: flex; flex-direction: column; align-items: stretch; }
  .bz-left, .bz-panel { display: contents; }
  .bz-cust { order: 1; background: var(--ivory); color: var(--night); padding: 14px 16px; display: grid; gap: 12px; }
  .bz-scene { order: 2; aspect-ratio: auto; display: flex; flex-direction: column; }
  .bz-bg { position: relative; height: 120px; }
  .bz-lantern { display: none; }
  .bz-stalls { position: static; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 0 10px 12px; }
  .bz-stall { position: relative; left: auto !important; top: auto !important; width: auto; }
  .bz-stall.sel { transform: translateY(-3px); }
  .st-goods { display: none; }
  .st-name b { font-size: .62rem; } .st-name small { display: none; }
  .bz-queue { top: 8px; left: 8px; font-size: .72rem; }
  .bz-counter { order: 3; padding: 16px; }
  .bz-cart { order: 4; background: var(--ivory); color: var(--night); padding: 16px 16px calc(20px + env(safe-area-inset-bottom, 0px)); }
  .bz-clock { order: 3; flex-basis: 100%; justify-content: flex-start; min-width: 0; }
  .bz-day { flex: 1; width: auto; }
  .bz-hud { padding: 10px 14px; gap: 10px 16px; }
  .bz-stats { margin-left: auto; gap: 12px; }
  .ov-rules, .end-stats { grid-template-columns: minmax(0, 1fr); }
  .end-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bz-over { top: 56px; }
}
@media (max-width: 760px) {
  .pot-grid { grid-template-columns: minmax(0, 1fr); }
  .pot-in { grid-row: auto; }
  .pot-stage { max-width: 320px; width: 100%; justify-self: center; }
  .pot-card { min-height: 0; }
  .calc-types { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case-feats { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .bf-opts { grid-template-columns: minmax(0, 1fr); }
  .bz-goods { gap: 8px; }
  .bz-good { min-height: 0; padding: 12px; }
  .g-d { display: none; }
  .pq-soha { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bz-closes { display: none; }
  .sound-pill .sound-txt { display: none; }
  .sound-pill { padding: 6px; }
  .tea-pot { width: 56px; height: 56px; }
  .menu-cols { columns: 1; }
  .bz-cust .who { grid-template-columns: 64px minmax(0, 1fr); } .bz-cust .who .avatar { width: 64px; height: 64px; }
  .rv-top { flex-wrap: wrap; } .rv-stars svg { width: 30px; height: 30px; }
  .case-shots.two .s1 { transform: translateX(-22%) rotate(-5deg); }
}
@media (prefers-reduced-motion: reduce) {
  .bz-walk, .bz-flag, .garland .flag, .bz-lantern, .chip.bob, .bz-cust .who .avatar { animation: none !important; }
}

.mini-stars { display: inline-flex; gap: 1px; } .mini-stars svg { width: 13px; height: 13px; } .mini-stars path { fill: rgba(246, 231, 207, .18); } .mini-stars path.on { fill: var(--oltin); }
.cart-btns .b-hint, .cart-btns .b-go { font-size: .85rem; padding: 12px 10px; line-height: 1.2; }
.bz-panel { min-height: calc(100svh - 120px); }
@media (max-width: 900px) { .bz-panel { min-height: 0; } }
