/* AB Education — logotip ranglari: indigo #3B2C99, qizil #DD2E1D */
:root {
  --brand: #3b2c99; --brand-2: #5b4bd6; --brand-dark: #221a61; --brand-soft: #efedfc;
  --red: #dd2e1d; --red-soft: #fdeeec;
  --bg: #fafaff; --card: #ffffff; --line: #ebe9f6; --text: #16123a; --muted: #6e6a8f;
  --ok: #16a34a; --ok-soft: #e7f8ee;
  --radius: 20px; --shadow: 0 1px 2px rgba(22,18,58,.04), 0 10px 30px -10px rgba(59,44,153,.18);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, Ubuntu, "Segoe UI", system-ui, sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--brand); text-decoration: none; }
img { max-width: 100%; }
svg.i { width: 20px; height: 20px; flex: none; }
input, button, select, textarea { font: inherit; }

/* ---------- Menyu ---------- */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.78); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid rgba(235,233,246,.8); }
.nav-in { max-width: 1180px; margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; gap: 6px; }
.nav .brand { margin-right: auto; display: flex; align-items: center; }
.nav .brand img { height: 32px; width: auto; display: block; }
.nav .link { color: var(--text); font-weight: 600; font-size: 15px; padding: 8px 14px; border-radius: 10px; transition: background .15s, color .15s; }
.nav .link:hover, .nav .link.active { background: var(--brand-soft); color: var(--brand); }
.nav form { margin: 0; }
.pill-btn { display: inline-flex; align-items: center; gap: 8px; font: inherit; font-weight: 700; font-size: 15px; padding: 9px 18px; border-radius: 999px; border: 0; cursor: pointer; background: var(--brand); color: #fff; transition: transform .15s, box-shadow .15s, background .15s; box-shadow: 0 6px 16px -6px rgba(59,44,153,.6); }
.pill-btn:hover { background: var(--brand-dark); transform: translateY(-1px); }
.pill-btn.ghost { background: transparent; color: var(--red); box-shadow: none; padding: 9px 12px; }
.pill-btn.ghost:hover { background: var(--red-soft); transform: none; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 36px 20px 72px; }
h1 { font-size: 32px; margin: 0 0 6px; letter-spacing: -.03em; line-height: 1.15; }
h2 { font-size: 18px; margin: 0 0 16px; letter-spacing: -.01em; }
.muted { color: var(--muted); }

/* ---------- Umumiy ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.card-head h2 { margin: 0; }
.grid { display: grid; gap: 18px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; font-weight: 700; padding: 15px 28px; border-radius: 14px; border: 0; font-size: 16px; cursor: pointer; box-shadow: 0 12px 24px -10px rgba(59,44,153,.7); transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -10px rgba(59,44,153,.75); text-decoration: none; }
.btn.light { background: #fff; color: var(--brand); box-shadow: 0 1px 2px rgba(0,0,0,.05); border: 1px solid var(--line); }
.btn.white { background: #fff; color: var(--brand); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--brand); box-shadow: var(--shadow); }
.eyebrow b { background: var(--red); color: #fff; font-size: 12px; padding: 2px 9px; border-radius: 999px; }

.badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; }
.badge.live { background: var(--ok-soft); color: var(--ok); }
.badge.live::before, .dot-live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 0 currentColor; animation: pulse 2s infinite; }
.badge.off { background: rgba(255,255,255,.18); color: #fff; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(22,163,74,.5); } 70% { box-shadow: 0 0 0 8px rgba(22,163,74,0); } 100% { box-shadow: 0 0 0 0 rgba(22,163,74,0); } }

/* ---------- Bosh sahifa ---------- */
.hero { position: relative; overflow: hidden; background:
  radial-gradient(700px 380px at 8% -10%, rgba(91,75,214,.16), transparent 70%),
  radial-gradient(600px 340px at 95% 10%, rgba(221,46,29,.10), transparent 70%), var(--bg); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(59,44,153,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(59,44,153,.06) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 75%); }
.hero-in { position: relative; max-width: 1180px; margin: 0 auto; padding: 72px 20px 88px; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(36px, 5.2vw, 60px); margin: 22px 0 18px; font-weight: 800; }
.hero h1 .accent { background: linear-gradient(90deg, var(--red), #f2643f); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 19px; color: var(--muted); max-width: 540px; margin: 0 0 32px; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 960px) { .hero-in { grid-template-columns: 1fr; padding-top: 48px; } }

.mock { background: rgba(255,255,255,.85); border: 1px solid var(--line); border-radius: 26px; padding: 22px; box-shadow: 0 40px 80px -30px rgba(34,26,97,.35); backdrop-filter: blur(10px); transform: perspective(1400px) rotateY(-6deg) rotateX(3deg); }
.mock-top { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; }
.mock-top i { width: 11px; height: 11px; border-radius: 50%; background: #e4e1f3; display: block; }
.mock-top i:nth-child(1) { background: #ff6b5e; } .mock-top i:nth-child(2) { background: #ffbd2e; } .mock-top i:nth-child(3) { background: #28c840; }
.mock-top span { margin-left: auto; font-size: 13px; color: var(--muted); font-weight: 600; }
.mock-pcs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.mock-pc { border-radius: 14px; padding: 12px; background: #f6f5fd; border: 1px solid var(--line); font-weight: 800; color: var(--brand); font-size: 14px; position: relative; }
.mock-pc small { display: block; font-weight: 500; color: var(--muted); font-size: 11px; margin-top: 6px; }
.mock-pc.on { background: linear-gradient(160deg, #eafaf0, #fff); border-color: #c6ecd4; }
.mock-pc.on::after { content: ""; position: absolute; top: 12px; right: 12px; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.mock-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.mock-stats div { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; border-radius: 14px; padding: 12px 14px; font-size: 12px; opacity: .95; }
.mock-stats div:nth-child(2) { background: linear-gradient(135deg, var(--red), #f2643f); }
.mock-stats div:nth-child(3) { background: var(--text); }
.mock-stats b { display: block; font-size: 22px; letter-spacing: -.02em; }

.numbers { max-width: 1180px; margin: -40px auto 0; padding: 0 20px; position: relative; }
.numbers .grid { grid-template-columns: repeat(4, 1fr); }
.numbers .card { text-align: center; padding: 22px 16px; }
.numbers b { display: block; font-size: 34px; font-weight: 800; color: var(--brand); letter-spacing: -.03em; line-height: 1.1; }
.numbers span { color: var(--muted); font-size: 14px; font-weight: 500; }
@media (max-width: 760px) { .numbers .grid { grid-template-columns: repeat(2, 1fr); } }

.section { max-width: 1180px; margin: 0 auto; padding: 88px 20px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section-head .tag { color: var(--red); font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 40px); margin: 10px 0 12px; letter-spacing: -.03em; line-height: 1.15; }
.section-head p { color: var(--muted); font-size: 17px; margin: 0; }

.steps { grid-template-columns: repeat(3, 1fr); counter-reset: step; }
.step { position: relative; padding-top: 30px; }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: -18px; left: 24px; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2)); box-shadow: 0 10px 20px -8px rgba(59,44,153,.7); }
.step h3, .feature h3 { margin: 6px 0 8px; font-size: 18px; letter-spacing: -.01em; }
.step p, .feature p { margin: 0; color: var(--muted); }
@media (max-width: 860px) { .steps, .features { grid-template-columns: 1fr !important; } }

.features { grid-template-columns: repeat(3, 1fr); }
.feature { transition: transform .2s, box-shadow .2s; }
.feature:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -18px rgba(59,44,153,.35); }
.feature .icon { width: 52px; height: 52px; border-radius: 16px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; margin-bottom: 18px; }
.feature .icon svg { width: 26px; height: 26px; }
.feature.red .icon { background: var(--red-soft); color: var(--red); }

.cta { max-width: 1180px; margin: 96px auto 0; padding: 0 20px; }
.cta-in { border-radius: 28px; padding: 56px 40px; text-align: center; color: #fff; position: relative; overflow: hidden;
  background: radial-gradient(500px 240px at 90% 0%, rgba(221,46,29,.55), transparent 70%), linear-gradient(135deg, var(--brand-dark), var(--brand) 60%, var(--brand-2)); }
.cta-in h2 { font-size: clamp(26px, 3.4vw, 38px); margin: 0 0 12px; letter-spacing: -.03em; }
.cta-in p { color: #d9d5fb; margin: 0 0 28px; font-size: 17px; }

.footer { margin-top: 88px; border-top: 1px solid var(--line); background: #fff; }
.footer-in { max-width: 1180px; margin: 0 auto; padding: 28px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
.footer img { height: 26px; width: auto; display: block; }

/* ---------- Kirish ---------- */
.auth { min-height: calc(100vh - 57px); display: grid; grid-template-columns: 1fr 1fr; }
.auth-side { position: relative; overflow: hidden; color: #fff; padding: 56px; display: flex; flex-direction: column; justify-content: space-between;
  background: radial-gradient(520px 300px at 100% 100%, rgba(221,46,29,.5), transparent 70%), linear-gradient(150deg, var(--brand-dark), var(--brand) 55%, var(--brand-2)); }
.auth-side::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px); background-size: 40px 40px; mask-image: linear-gradient(180deg, #000, transparent); -webkit-mask-image: linear-gradient(180deg, #000, transparent); }
.auth-side > * { position: relative; }
.auth-side img { height: 44px; width: auto; align-self: flex-start; }
.auth-side h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.15; letter-spacing: -.03em; margin: 0 0 14px; }
.auth-side p { color: #d9d5fb; font-size: 17px; margin: 0; max-width: 440px; }
.auth-side ul { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.auth-side li { display: flex; gap: 12px; align-items: center; color: #eceafe; }
.auth-side li svg { width: 22px; height: 22px; padding: 4px; border-radius: 8px; background: rgba(255,255,255,.14); box-sizing: content-box; }
.auth-main { display: grid; place-items: center; padding: 40px 20px; }
@media (max-width: 900px) { .auth { grid-template-columns: 1fr; } .auth-side { display: none; } }

.form { width: 100%; max-width: 410px; }
.form .form-logo { display: block; height: 40px; margin: 0 0 30px; }
.form h1 { font-size: 30px; }
.form > p.muted { margin: 0 0 26px; }
.form label { display: block; font-size: 14px; font-weight: 600; margin: 18px 0 8px; }
.form input { width: 100%; padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; color: var(--text); font-size: 16px; transition: border-color .15s, box-shadow .15s; }
.form input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.form .btn { width: 100%; margin-top: 26px; }
.form .hint { margin-top: 22px; font-size: 14px; color: var(--muted); text-align: center; }
.errors { color: var(--red); background: var(--red-soft); font-size: 14px; margin: 0 0 6px; padding: 12px 16px 12px 34px; border-radius: 12px; }
.helptext, .form ul:not(.errors) { color: var(--muted); font-size: 13px; padding-left: 18px; }

/* ---------- Portal ---------- */
.welcome { border-radius: 26px; padding: 30px 32px; color: #fff; display: flex; align-items: center; gap: 28px; flex-wrap: wrap; position: relative; overflow: hidden;
  background: radial-gradient(420px 220px at 100% 0%, rgba(221,46,29,.55), transparent 70%), linear-gradient(135deg, var(--brand-dark), var(--brand) 60%, var(--brand-2)); box-shadow: 0 24px 50px -24px rgba(34,26,97,.7); }
.welcome .who { flex: 1; min-width: 240px; }
.welcome h1 { font-size: 30px; margin: 0 0 6px; }
.welcome .meta { color: #d9d5fb; margin: 0 0 16px; }
.welcome .meta b { color: #fff; }
.goal { display: flex; align-items: center; gap: 18px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); padding: 16px 20px; border-radius: 20px; }
.ring { --p: 0; width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(#fff calc(var(--p) * 1%), rgba(255,255,255,.18) 0); }
.ring::before { content: attr(data-label); width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: center; background: #31248a; font-weight: 800; font-size: 18px; }
.goal small { display: block; color: #d9d5fb; font-size: 13px; }
.goal b { font-size: 18px; }

.stats { grid-template-columns: repeat(4, 1fr); margin: 20px 0; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { display: flex; gap: 14px; align-items: center; padding: 20px; }
.stat .icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); flex: none; }
.stat:nth-child(2) .icon { background: var(--red-soft); color: var(--red); }
.stat:nth-child(3) .icon { background: var(--ok-soft); color: var(--ok); }
.stat:nth-child(4) .icon { background: #fff4e5; color: #d97706; }
.stat .label { color: var(--muted); font-size: 13px; font-weight: 500; }
.stat .value { font-size: 21px; font-weight: 800; letter-spacing: -.02em; line-height: 1.25; }

.two { grid-template-columns: 1.6fr 1fr; }
.two > .card { display: flex; flex-direction: column; }
.two > .card > .chart { flex: 1; height: auto; min-height: 200px; }
@media (max-width: 860px) { .two { grid-template-columns: 1fr; } }
.chart { display: flex; align-items: flex-end; gap: 12px; height: 200px; }
.chart .col { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 8px; }
.chart .val { font-size: 12px; font-weight: 700; color: var(--muted); }
.chart .bar { width: 100%; max-width: 44px; border-radius: 12px 12px 6px 6px; min-height: 6px; background: linear-gradient(180deg, var(--brand-2), var(--brand)); transition: filter .15s; }
.chart .col:hover .bar { filter: brightness(1.15); }
.chart .col.today .bar { background: linear-gradient(180deg, #f2643f, var(--red)); }
.chart .col.today .day { color: var(--red); font-weight: 700; }
.chart .day { font-size: 13px; color: var(--muted); }

.leader { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; margin: 0 -12px; }
.leader + .leader { margin-top: 2px; }
.leader.me { background: var(--red-soft); }
.leader .pos { width: 30px; text-align: center; font-weight: 800; color: var(--muted); font-size: 15px; }
.leader .ava { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); font-weight: 700; font-size: 14px; flex: none; }
.leader .name { flex: 1; font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.leader .time { font-weight: 700; color: var(--brand); font-size: 14px; }
.leader.me .time, .leader.me .name { color: var(--red); }

table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; padding: 13px 10px; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
tr:last-child td { border-bottom: 0; }
tbody tr { transition: background .15s; }
tbody tr:hover { background: #faf9ff; }
.table-wrap { overflow-x: auto; margin: 0 -10px; }
.chip { display: inline-block; background: var(--brand-soft); color: var(--brand); font-weight: 700; font-size: 13px; padding: 3px 10px; border-radius: 8px; }
.empty { text-align: center; color: var(--muted); padding: 34px 10px; }

/* Eski sahifalar (sinf) uchun */
.pcs { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; margin: 20px 0 28px; }
.pc { border-radius: var(--radius); padding: 16px; border: 1px solid var(--line); background: var(--card); }
.pc.busy { border-color: #bfe8cd; background: var(--ok-soft); }
.pc .num { font-size: 20px; font-weight: 800; color: var(--brand); }
.pc .who { margin-top: 8px; min-height: 44px; }

/* Xabarlar va kichik tugmalar */
.messages { margin-bottom: 18px; display: grid; gap: 8px; }
.msg { padding: 13px 18px; border-radius: 14px; background: var(--ok-soft); color: var(--ok); font-weight: 600; }
.msg.error { background: var(--red-soft); color: var(--red); }
form.inline { display: inline; margin: 0 0 0 6px; }
.btnlike { border: 1px solid rgba(255,255,255,.35); cursor: pointer; font: inherit; font-size: 14px; }
.btnlike:hover { background: rgba(255,255,255,.28); }

.quota-light { width: 110px; height: 6px; border-radius: 99px; background: rgba(255,255,255,.2); overflow: hidden; margin-top: 6px; }
.quota-light i { display: block; height: 100%; background: #fff; border-radius: 99px; }

/* ---------- Topshiriqlar va e'lonlar ---------- */
.list { display: grid; gap: 12px; }
.task { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); color: var(--text); transition: border-color .15s, transform .15s, box-shadow .15s; }
a.task:hover { text-decoration: none; border-color: var(--brand); transform: translateY(-1px); box-shadow: var(--shadow); }
.task .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); flex: none; font-size: 18px; }
.task .ic.red { background: var(--red-soft); color: var(--red); }
.task .ic.ok { background: var(--ok-soft); color: var(--ok); }
.task .body { flex: 1; min-width: 0; }
.task .title { font-weight: 700; }
.task .meta { color: var(--muted); font-size: 13px; }
.chip.red { background: var(--red-soft); color: var(--red); }
.chip.ok { background: var(--ok-soft); color: var(--ok); }
.chip.gray { background: #f1f0f7; color: var(--muted); }
.note { white-space: pre-wrap; color: var(--text); line-height: 1.65; }
.ann { padding: 16px 18px; border-radius: 16px; background: var(--brand-soft); border: 1px solid #e0dcf8; }
.ann.pinned { background: linear-gradient(135deg, #fff7ed, #fdeeec); border-color: #f6d1c9; }
.ann h3 { margin: 0 0 4px; font-size: 16px; }
.ann p { margin: 0; color: var(--text); white-space: pre-wrap; }
.ann small { color: var(--muted); }
.grade { display: flex; align-items: center; gap: 16px; padding: 18px; border-radius: 16px; background: var(--ok-soft); }
.grade b { font-size: 28px; color: var(--ok); }
.upload { display: block; border: 2px dashed var(--line); border-radius: 16px; padding: 22px; text-align: center; cursor: pointer; background: #fbfbfe; }
.upload:hover { border-color: var(--brand); }
.form textarea { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); font: inherit; font-size: 15px; }
.section-title { display: flex; align-items: center; justify-content: space-between; margin: 26px 0 12px; }
.section-title h2 { margin: 0; }
.mat-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.mat-actions .pill-btn { padding: 8px 14px; font-size: 13px; }
.badge.lesson { background: rgba(255,255,255,.16); }
.badge.lesson.now { background: #DD2E1D; }
@media (max-width: 640px) { .task { flex-wrap: wrap; } .mat-actions { width: 100%; justify-content: flex-start; } }

/* ---------- Menyu: mobil va profil ---------- */
.nav-links { display: flex; align-items: center; gap: 2px; }
.me-link { margin-left: 6px; border-radius: 50%; }
.me-link .ava { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; font-weight: 700; font-size: 13px; transition: box-shadow .15s; }
.me-link:hover .ava, .me-link.active .ava { box-shadow: 0 0 0 3px var(--brand-soft); }
@media (max-width: 900px) {
  .nav-in { flex-wrap: wrap; row-gap: 8px; }
  .nav-links { order: 3; width: 100%; overflow-x: auto; scrollbar-width: none; margin: 0 -6px; }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav .link { white-space: nowrap; font-size: 14px; padding: 7px 12px; }
}

/* ---------- Sahifa sarlavhasi + progress ---------- */
.page-hero { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.page-hero > div:first-child { max-width: 640px; }
.hero-stats { display: flex; gap: 12px; }
.hero-stats div { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 12px 18px; min-width: 120px; box-shadow: var(--shadow); }
.hero-stats b { display: block; font-size: 26px; letter-spacing: -.02em; line-height: 1.2; }
.hero-stats b small { font-size: 15px; color: var(--muted); font-weight: 600; }
.hero-stats span { font-size: 13px; color: var(--muted); }
.progress-line { height: 8px; border-radius: 99px; background: var(--brand-soft); margin: 22px 0 8px; overflow: hidden; }
.progress-line i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--brand), var(--brand-2), var(--red)); }
.chip.lvl1 { background: var(--ok-soft); color: var(--ok); }
.chip.lvl2 { background: #fff4e5; color: #d97706; }
.chip.lvl3 { background: var(--red-soft); color: var(--red); }

/* ---------- Mashqlar ro'yxati ---------- */
.kata-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.kata-card { display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); color: var(--text); transition: transform .15s, box-shadow .15s, border-color .15s; }
.kata-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--brand); text-decoration: none; }
.kata-card.done { background: linear-gradient(135deg, #f3fbf6, #fff); border-color: #cdeedb; }
.kc-top { display: flex; justify-content: space-between; align-items: center; }
.kc-num { font-size: 13px; font-weight: 700; color: var(--muted); }
.kc-title { font-weight: 700; font-size: 17px; }
.kc-meta { font-size: 13px; color: var(--muted); }

/* ---------- Mashq: muharrir ---------- */
.kata-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.kata-head h1 { margin: 0 6px 0 0; }
.kata { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr); gap: 18px; align-items: start; }
@media (max-width: 960px) { .kata { grid-template-columns: 1fr; } }
.kata-side { display: grid; gap: 18px; }
.tests { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.tests li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; padding: 8px 12px; border-radius: 10px; background: #f7f6fd; font-size: 13.5px; }
.tests code, .editor textarea, .gutter, .sol pre, .result pre { font-family: "JetBrains Mono", "Fira Code", ui-monospace, "Cascadia Code", Menlo, monospace; }
.tests li.ok { background: var(--ok-soft); }
.tests li.ok > span { color: var(--ok); font-weight: 800; }
.tests li.bad { background: var(--red-soft); }
.tests li.bad > span { color: var(--red); font-weight: 800; }
.tests li small { flex-basis: 100%; color: var(--text); padding-left: 20px; }
.editor { border-radius: 18px; overflow: hidden; background: #17142f; box-shadow: 0 24px 50px -24px rgba(34,26,97,.7); }
.editor-top { display: flex; justify-content: space-between; padding: 10px 16px; background: #100d24; color: #a9a4d6; font-size: 13px; font-weight: 600; }
.st::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #f5b83d; margin-right: 6px; }
.st.ok::before { background: #34d399; }
.st.bad::before { background: var(--red); }
.editor-body { display: flex; height: 380px; }
.gutter { margin: 0; padding: 16px 10px 16px 14px; color: #5d5893; text-align: right; font-size: 14px; line-height: 1.6; overflow: hidden; user-select: none; min-width: 44px; }
.editor textarea { flex: 1; resize: none; border: 0; outline: 0; padding: 16px 16px 16px 6px; background: transparent; color: #ece9ff; font-size: 14px; line-height: 1.6; tab-size: 4; white-space: pre; overflow: auto; caret-color: #f2643f; }
.editor-bar { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: #100d24; }
.editor-bar .btn { padding: 10px 20px; font-size: 15px; border-radius: 12px; }
.editor-bar .btn:disabled { opacity: .5; cursor: wait; transform: none; }
.editor-bar .btn.light { background: transparent; color: #cfcaf5; border-color: #2f2a5a; box-shadow: none; }
.result { margin-top: 14px; display: grid; gap: 12px; }
.result .sum { font-weight: 800; color: var(--red); }
.result .sum.ok { color: var(--ok); }
.result .err { background: var(--red-soft); border-radius: 14px; padding: 14px 16px; }
.result .err b { color: var(--red); }
.result pre { margin: 6px 0 0; white-space: pre-wrap; font-size: 13.5px; }
.result .tip { margin: 8px 0 0; font-size: 14px; }
.result .out { background: #f7f6fd; border-radius: 14px; padding: 12px 16px; }
.result .out b { font-size: 13px; color: var(--muted); }
.win { margin-top: 14px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 18px 20px; border-radius: 18px; background: linear-gradient(135deg, var(--ok-soft), #fff); border: 1px solid #cdeedb; animation: pop .4s ease; }
.win b { font-size: 17px; }
.win #win-xp { color: var(--ok); font-weight: 700; }
.win-actions { margin-left: auto; display: flex; gap: 8px; }
@keyframes pop { from { transform: scale(.96); opacity: 0; } to { transform: none; opacity: 1; } }
.sol { border-top: 1px solid var(--line); padding: 10px 0; }
.sol summary { cursor: pointer; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.sol .ava, .rv-head .ava { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); font-weight: 700; font-size: 13px; flex: none; }
.sol pre { background: #17142f; color: #ece9ff; padding: 14px 16px; border-radius: 12px; overflow-x: auto; font-size: 13.5px; margin: 10px 0 0; }

/* ---------- Loyihalar yo'li ---------- */
.legend { display: flex; flex-wrap: wrap; gap: 16px; font-size: 13px; color: var(--muted); margin: 14px 0 22px; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 12px; height: 12px; border-radius: 4px; }
.path { display: grid; gap: 0; }
.stage { display: grid; grid-template-columns: 74px 1fr; gap: 18px; position: relative; padding-bottom: 22px; }
.stage::before { content: ""; position: absolute; left: 36px; top: 64px; bottom: 0; width: 2px; background: repeating-linear-gradient(var(--line) 0 6px, transparent 6px 12px); }
.stage:last-child::before { display: none; }
.stage-num { width: 74px; height: 64px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); display: grid; place-items: center; align-content: center; box-shadow: var(--shadow); position: relative; z-index: 1; }
.stage-num b { font-size: 22px; line-height: 1; }
.stage-num span { font-size: 11px; color: var(--muted); }
.stage-items { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.proj { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 16px; background: var(--card); border: 1.5px solid var(--line); color: var(--text); transition: transform .15s, box-shadow .15s; }
.proj:hover { transform: translateY(-2px); box-shadow: var(--shadow); text-decoration: none; }
.proj-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; flex: none; }
.proj-body { min-width: 0; }
.proj-title { display: block; font-weight: 700; }
.proj-meta { display: block; font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-passed, .proj.st-passed .proj-ic { background: var(--ok-soft); color: var(--ok); }
.proj.st-passed { border-color: #bfe8cf; background: linear-gradient(135deg, #f3fbf6, #fff); }
.st-sent, .proj.st-sent .proj-ic { background: #fff4e5; color: #d97706; }
.st-open, .proj.st-open .proj-ic { background: var(--brand); color: #fff; }
.proj.st-open { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.st-failed, .proj.st-failed .proj-ic { background: var(--red-soft); color: var(--red); }
.proj.st-failed { border-color: #f6c9c2; }
.st-locked, .proj.st-locked .proj-ic { background: #f1f0f7; color: var(--muted); }
.proj.st-locked { opacity: .7; border-style: dashed; }
.locked-card { display: flex; gap: 18px; align-items: center; margin-top: 18px; background: #f7f6fd; }
.locked-card .big { font-size: 40px; }
.grade.bad { background: var(--red-soft); }
.grade.bad b { color: var(--red); }

/* ---------- Peer-review ---------- */
.review-form, .review { border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; margin-bottom: 12px; }
.rv-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.rv-links { margin-left: auto; display: flex; gap: 12px; font-size: 14px; font-weight: 600; }
.stars { display: inline-flex; flex-direction: row-reverse; gap: 2px; margin: 10px 0 6px; }
.stars input { position: absolute; opacity: 0; pointer-events: none; }
.stars label { font-size: 26px; line-height: 1; color: #dcd9ee; cursor: pointer; transition: color .1s, transform .1s; }
.stars label:hover, .stars label:hover ~ label, .stars input:checked ~ label { color: #f5a524; }
.stars label:hover { transform: scale(1.15); }
.review-form textarea { width: 100%; padding: 10px 12px; border-radius: 12px; border: 1.5px solid var(--line); font-size: 14px; margin-bottom: 10px; resize: vertical; }
.review-form textarea:focus { outline: 0; border-color: var(--brand); }
.review-form .pill-btn { padding: 8px 16px; font-size: 14px; }
.review p { margin: 8px 0 4px; white-space: pre-wrap; }
.rv-stars { margin-left: auto; letter-spacing: 1px; }
.rv-stars i { font-style: normal; color: #dcd9ee; }
.rv-stars i.on { color: #f5a524; }

/* ---------- Portal: daraja, bugungi mashq ---------- */
a.goal { color: #fff; text-decoration: none; transition: background .15s; }
a.goal:hover { background: rgba(255,255,255,.2); }
.lvl-badge { width: 84px; height: 84px; border-radius: 24px; display: grid; place-items: center; align-content: center; flex: none; background: linear-gradient(135deg, #f2643f, var(--red)); box-shadow: 0 12px 24px -10px rgba(221,46,29,.8); color: #fff; }
.lvl-badge b { font-size: 34px; line-height: 1; }
.lvl-badge span { font-size: 12px; opacity: .9; }
.lvl-badge.sm { width: 66px; height: 66px; border-radius: 20px; }
.lvl-badge.sm b { font-size: 26px; }
.lvl-bar { width: 150px; max-width: 100%; height: 8px; border-radius: 99px; background: rgba(255,255,255,.2); overflow: hidden; margin: 6px 0; }
.lvl-bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #fff, #ffd9cf); }
.profile-hero .lvl-bar { width: 100%; max-width: 420px; }
.daily { display: flex; align-items: center; gap: 18px; margin-top: 20px; padding: 18px 22px; border-radius: 20px; background: var(--card); border: 1.5px solid var(--brand); box-shadow: 0 0 0 5px var(--brand-soft); color: var(--text); flex-wrap: wrap; transition: transform .15s; }
.daily:hover { transform: translateY(-2px); text-decoration: none; }
.daily-ic { width: 54px; height: 54px; border-radius: 16px; background: var(--brand-soft); display: grid; place-items: center; font-size: 26px; flex: none; }
.daily-body { flex: 1; min-width: 220px; display: grid; }
.daily-body small { color: var(--brand); font-weight: 700; font-size: 13px; }
.daily-body b { font-size: 19px; }
.daily-body span { color: var(--muted); font-size: 14px; }
.leader { color: var(--text); }
a.leader:hover { background: #f7f6fd; text-decoration: none; }
a.leader.me:hover { background: var(--red-soft); }
.leader .sub { font-size: 13px; color: var(--muted); white-space: nowrap; }
@media (max-width: 640px) { .leader .sub { display: none; } }

/* ---------- Profil ---------- */
.stat .icon { font-size: 22px; }
.stat .value small { font-size: 13px; font-weight: 600; }
.heat-wrap { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.heat-days { display: grid; grid-template-rows: repeat(7, 15px); gap: 4px; font-size: 11px; color: var(--muted); line-height: 15px; }
.heat { display: flex; gap: 4px; }
.heat-col { display: grid; grid-template-rows: repeat(7, 15px); gap: 4px; }
.heat i, .heat-legend i { width: 15px; height: 15px; border-radius: 4px; display: block; }
.h0 { background: #efedf8; } .h1 { background: #c9c2f2; } .h2 { background: #9385e3; } .h3 { background: #5b4bd6; } .h4 { background: #3b2c99; }
.heat i.fut { background: transparent; }
.heat-legend { display: flex; align-items: center; gap: 4px; justify-content: flex-end; font-size: 12px; color: var(--muted); margin-top: 10px; }
.badges { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.ach { display: grid; justify-items: center; text-align: center; gap: 4px; padding: 16px 12px; border-radius: 16px; border: 1px dashed var(--line); filter: grayscale(1); opacity: .55; }
.ach.done { filter: none; opacity: 1; border: 1px solid #e0dcf8; background: linear-gradient(180deg, var(--brand-soft), #fff); }
.ach-ic { font-size: 30px; line-height: 1.2; }
.ach b { font-size: 14px; }
.ach small { font-size: 12px; color: var(--muted); line-height: 1.35; }

/* ---------- Bosh sahifa: kod namunasi, yo'l, savollar, ariza ---------- */
.hero-live { margin-top: 26px; display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; }
.hero-live b { color: var(--text); }
.dot-live { display: inline-flex; color: var(--ok); }
.code-mock { background: #17142f; border-radius: 22px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(34,26,97,.65); transform: rotate(1.2deg); }
.cm-top { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: #100d24; }
.cm-top i { width: 11px; height: 11px; border-radius: 50%; background: #3a3463; }
.cm-top i:nth-child(1) { background: #ff5f57; } .cm-top i:nth-child(2) { background: #febc2e; } .cm-top i:nth-child(3) { background: #28c840; }
.cm-top span { margin-left: 8px; color: #8d88bd; font-size: 13px; font-weight: 600; }
.cm-code { margin: 0; padding: 20px 22px; color: #ece9ff; font: 14.5px/1.7 "JetBrains Mono", ui-monospace, Menlo, monospace; overflow-x: auto; }
.cm-code .k { color: #c792ea; } .cm-code .f { color: #82aaff; } .cm-code .n { color: #f78c6c; }
.cm-tests { padding: 0 22px 14px; display: grid; gap: 6px; font: 13px "JetBrains Mono", ui-monospace, monospace; color: #b8b3e6; }
.cm-tests b { color: #34d399; margin-right: 6px; }
.cm-win { margin: 0 14px 14px; padding: 12px 16px; border-radius: 14px; background: rgba(52,211,153,.12); color: #a7f3d0; font-weight: 600; font-size: 14px; }
.cm-win b { color: #fff; }
.roadmap { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; position: relative; }
.roadmap::before { content: ""; position: absolute; top: 24px; left: 10%; right: 10%; height: 3px; background: linear-gradient(90deg, var(--brand), var(--brand-2), var(--red)); border-radius: 3px; }
.roadmap li { counter-increment: step; position: relative; text-align: center; display: grid; justify-items: center; gap: 6px; }
.roadmap li::before { content: counter(step); width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; background: #fff; border: 3px solid var(--brand); color: var(--brand); font-weight: 800; font-size: 19px; position: relative; z-index: 1; box-shadow: var(--shadow); }
.roadmap li:last-child::before { border-color: var(--red); color: var(--red); }
.roadmap b { font-size: 16px; margin-top: 6px; }
.roadmap span { font-size: 14px; color: var(--muted); max-width: 220px; }
@media (max-width: 860px) {
  .roadmap { grid-template-columns: 1fr; gap: 18px; }
  .roadmap::before { left: 24px; right: auto; top: 10px; bottom: 10px; width: 3px; height: auto; }
  .roadmap li { grid-template-columns: 50px 1fr; text-align: left; justify-items: start; column-gap: 16px; row-gap: 0; }
  .roadmap li::before { grid-row: span 2; }
  .roadmap b { margin-top: 2px; }
}
.top-list { max-width: 760px; margin: 0 auto; }
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 0 22px; transition: box-shadow .15s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 700; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--brand); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 0 0 18px; color: var(--muted); }
.apply { padding: 80px 20px; background: radial-gradient(500px 300px at 90% 0%, rgba(221,46,29,.45), transparent 70%), linear-gradient(135deg, var(--brand-dark), var(--brand) 60%, var(--brand-2)); color: #fff; }
.apply-in { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .apply-in { grid-template-columns: 1fr; } }
.tag.light { display: inline-block; padding: 5px 12px; border-radius: 999px; background: rgba(255,255,255,.15); color: #fff; font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.apply-text h2 { font-size: clamp(28px, 3.6vw, 40px); margin: 14px 0 12px; letter-spacing: -.03em; }
.apply-text p { color: #d9d5fb; font-size: 17px; }
.apply-text ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 8px; font-weight: 600; }
.apply-form { background: #fff; color: var(--text); border-radius: 24px; padding: 28px; display: grid; gap: 14px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.5); }
.apply-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .apply-form .row { grid-template-columns: 1fr; } }
.apply-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.apply-form input, .apply-form select, .apply-form textarea { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); font-size: 15px; background: #fff; color: var(--text); font-weight: 400; }
.apply-form input:focus, .apply-form select:focus, .apply-form textarea:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.apply-form em { color: var(--red); font-style: normal; font-size: 13px; font-weight: 500; }
.apply-form .btn { width: 100%; margin-top: 4px; }
.apply-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
/* Yangi o'rganuvchi uchun: "==" va "!=" belgilari birlashib ketmasin */
code, pre, textarea, .cm-code, .cm-tests { font-variant-ligatures: none; font-feature-settings: "liga" 0, "calt" 0; }
.note code { background: var(--brand-soft); color: var(--brand); padding: 1px 6px; border-radius: 6px; font-size: .92em; font-family: "JetBrains Mono", ui-monospace, Menlo, monospace; }

/* ---------- Robo-kod o'yini ---------- */
.worlds { display: grid; gap: 18px; margin-top: 18px; }
.world { border-radius: 24px; padding: 22px; border: 1px solid var(--line); background: var(--card); box-shadow: var(--shadow); }
.world-1 { background: linear-gradient(135deg, #e9f8ff, #fffaf0); }
.world-2 { background: linear-gradient(135deg, #f1efff, #fdf4ff); }
.world-3 { background: linear-gradient(135deg, #2b2160, #4b3aa8); color: #fff; border-color: transparent; }
.world-3 .world-head p, .world-3 .world-stars { color: #d9d4ff; }
.world-head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.world-head h2 { margin: 0; }
.world-head p { margin: 2px 0 0; font-size: 14.5px; color: var(--muted); max-width: 640px; }
.world-ic { font-size: 40px; line-height: 1; }
.world-stars { margin-left: auto; font-weight: 800; color: var(--brand); }
.lvl-path { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-top: 18px; }
.lvl { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: 18px; background: rgba(255,255,255,.85); border: 2px solid var(--line); color: var(--text); transition: transform .15s, box-shadow .15s, border-color .15s; }
a.lvl:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--brand); text-decoration: none; }
.lvl.done { border-color: #cdeedb; }
.lvl.now { border-color: var(--red); box-shadow: 0 0 0 4px rgba(221,46,29,.15); animation: pulse 1.8s infinite; }
.lvl.locked { opacity: .55; cursor: not-allowed; }
.lvl-num { font-weight: 800; color: var(--brand); font-size: 14px; }
.lvl-title { font-weight: 700; }
.lvl-stars i, .stars-best i, .stars-big i { font-style: normal; color: #d8d5ea; }
.lvl-stars i.on, .stars-best i.on, .stars-big i.on { color: #ffb400; }
.stars-best { font-size: 22px; letter-spacing: 2px; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(221,46,29,.06); } }

.robo { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 18px; align-items: start; }
@media (max-width: 1000px) { .robo { grid-template-columns: 1fr; } }
.robo-left, .robo-right { display: grid; gap: 14px; min-width: 0; }
.robo-stage { position: relative; height: 460px; border-radius: 22px; overflow: hidden; background: linear-gradient(180deg, var(--sky1), var(--sky2)); box-shadow: 0 24px 50px -28px rgba(34,26,97,.6); touch-action: none; }
@media (max-width: 600px) { .robo-stage { height: 340px; } }
.robo-stage canvas { display: block; width: 100%; height: 100%; cursor: grab; }
.robo-stage canvas:active { cursor: grabbing; }
.robo-hud { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; gap: 8px; align-items: center; pointer-events: none; }
.hud-pill { background: rgba(255,255,255,.9); border-radius: 999px; padding: 5px 12px; font-weight: 700; font-size: 14px; box-shadow: 0 2px 8px rgba(0,0,0,.08); color: var(--text); }
.hud-speed { margin-left: auto; display: flex; background: rgba(255,255,255,.9); border-radius: 999px; padding: 3px; pointer-events: auto; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.hud-speed button { border: 0; background: transparent; font: inherit; font-weight: 700; font-size: 13px; padding: 3px 10px; border-radius: 999px; cursor: pointer; color: var(--muted); }
.hud-speed button.on { background: var(--brand); color: #fff; }
.robo-hint { position: absolute; bottom: 10px; left: 0; right: 0; text-align: center; font-size: 12px; color: rgba(22,18,58,.45); pointer-events: none; }
.robo-nogl { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 700; color: var(--muted); }
.robo-say { display: flex; gap: 12px; align-items: flex-start; }
.robo-ava { font-size: 34px; line-height: 1; flex: none; margin-top: 6px; }
.bubble { position: relative; flex: 1; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 14px 18px; box-shadow: var(--shadow); font-size: 15px; }
.bubble::before { content: ""; position: absolute; left: -8px; top: 16px; width: 14px; height: 14px; background: var(--card); border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); transform: rotate(45deg); }
.bubble code { background: var(--brand-soft); color: var(--brand); padding: 1px 6px; border-radius: 6px; font-size: 14px; font-family: "JetBrains Mono", ui-monospace, Menlo, monospace; }
.bubble pre { margin: 8px 0; padding: 10px 14px; border-radius: 12px; background: #17142f; color: #ece9ff; font-size: 13.5px; overflow-x: auto; font-family: "JetBrains Mono", ui-monospace, Menlo, monospace; }
.cmds { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 13px; }
.cmds > span { flex-basis: 100%; }
.cmd { border: 1px solid #d9d4fb; background: var(--brand-soft); color: var(--brand); font-family: "JetBrains Mono", ui-monospace, Menlo, monospace; font-weight: 700; font-size: 13px; padding: 5px 10px; border-radius: 10px; cursor: pointer; transition: transform .1s; }
.cmd:hover { transform: translateY(-1px); background: #e3dffb; }
.cmd.sense { background: #fff4e5; border-color: #fbdcb0; color: #b45309; }
.cmd.kw { background: #fdeeec; border-color: #f7cdc8; color: var(--red); }
.robo .editor-body { height: 300px; }
.gutter span.cur { color: #fff; background: #f2643f; border-radius: 4px; padding: 0 4px; margin-right: -4px; }
.lines { margin-left: auto; color: #a9a4d6; font-size: 13px; white-space: nowrap; }
.lines b { color: #ffb400; letter-spacing: 1px; }
.lines b i { color: #3a3566; font-style: normal; }
.lines small { color: #6f6a9f; }
.robo-win { align-items: center; }
.stars-big { font-size: 40px; letter-spacing: 4px; line-height: 1; }
.stars-big i.on { display: inline-block; animation: star-pop .5s both; }
@keyframes star-pop { 0% { transform: scale(0) rotate(-40deg); } 70% { transform: scale(1.3); } 100% { transform: scale(1); } }
.robo [hidden] { display: none !important; }
.robo .editor-bar .btn { white-space: nowrap; }
.robo .editor-top .lines { margin-left: auto; margin-right: 14px; }
.robo-stage.dark .robo-hint { color: rgba(255,255,255,.45); }
.hud-sound { margin-left: auto; }
.hud-sound + .hud-speed { margin-left: 0; }

/* ---------- O'yinlar markazi ---------- */
.game-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 18px; margin-top: 22px; }
.game-card { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 26px; border-radius: 26px; color: #fff; overflow: hidden; min-height: 330px; transition: transform .2s, box-shadow .2s; box-shadow: 0 24px 50px -28px rgba(34,26,97,.8); }
.game-card:hover { transform: translateY(-4px) rotate(-.4deg); text-decoration: none; box-shadow: 0 30px 60px -26px rgba(34,26,97,.9); }
.game-card h2 { margin: 0; font-size: 28px; letter-spacing: -.02em; }
.game-card p { margin: 0; opacity: .9; font-size: 15px; flex: 1; }
.gc-robo { background: radial-gradient(260px 160px at 100% 0%, rgba(91,227,255,.45), transparent 70%), linear-gradient(140deg, #3b2c99, #5b4bd6); }
.gc-quiz { background: radial-gradient(260px 160px at 100% 0%, rgba(255,210,63,.5), transparent 70%), linear-gradient(140deg, #b42318, #dd2e1d 55%, #f2643f); }
.gc-pazl { background: radial-gradient(260px 160px at 100% 0%, rgba(126,217,87,.5), transparent 70%), linear-gradient(140deg, #0f6b45, #16a34a); }
.gc-art { position: absolute; right: 18px; top: 10px; font-size: 76px; filter: drop-shadow(0 10px 18px rgba(0,0,0,.25)); transition: transform .3s; }
.game-card:hover .gc-art { transform: scale(1.12) rotate(8deg); }
.gc-skill { align-self: flex-start; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; background: rgba(255,255,255,.2); padding: 4px 10px; border-radius: 999px; }
.gc-meta { display: flex; justify-content: space-between; font-weight: 700; font-size: 14px; }
.gc-bar { height: 8px; border-radius: 99px; background: rgba(255,255,255,.25); overflow: hidden; }
.gc-bar i { display: block; height: 100%; background: #ffd23f; border-radius: 99px; }
.gc-go { font-weight: 800; }

/* ---------- Kod pazli ---------- */
.pz { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.3fr); gap: 18px; align-items: start; }
@media (max-width: 960px) { .pz { grid-template-columns: 1fr; } }
.pz-side, .pz-main { display: grid; gap: 14px; min-width: 0; }
.pz [hidden], .qz [hidden] { display: none !important; }
.pz-out { margin-top: 14px; background: #100d24; color: #7ef0a8; border-radius: 14px; padding: 12px 16px; }
.pz-out b { color: #a9a4d6; font-size: 12.5px; font-weight: 600; }
.pz-out pre { margin: 6px 0 0; font-family: "JetBrains Mono", ui-monospace, Menlo, monospace; font-size: 14px; white-space: pre-wrap; }
.pz-help ul { margin: 8px 0 0; padding-left: 18px; font-size: 14px; color: var(--muted); }
.pz-sound { margin-left: auto; }
.pz-prog { list-style: none; margin: 0; padding: 12px; min-height: 220px; counter-reset: ln; display: grid; gap: 4px; align-content: start; }
.pz-empty { color: #6f6a9f; text-align: center; padding: 70px 0; font-size: 14px; }
.pz-line { counter-increment: ln; display: flex; align-items: center; gap: 8px; padding: 5px 8px; border-radius: 10px; background: #1f1b40; border: 1px solid transparent; cursor: grab; animation: pop .2s ease; }
.pz-line::before { content: counter(ln); color: #5d5893; font-size: 12px; width: 18px; text-align: right; font-family: ui-monospace, monospace; }
.pz-line.dragging { opacity: .5; border-color: #f2643f; }
.pz-line.good { border-color: rgba(126,240,168,.6); background: rgba(22,163,74,.18); }
.pz-line.bad { border-color: #ff6b5b; background: rgba(221,46,29,.25); animation: shake .4s; }
.pz-prog.solved .pz-line { border-color: rgba(126,240,168,.8); }
.pz-line code { flex: 1; color: #ece9ff; font-family: "JetBrains Mono", ui-monospace, Menlo, monospace; font-size: 14px; white-space: pre; overflow-x: auto; transition: padding .15s; }
.pz-grip { color: #5d5893; font-size: 12px; letter-spacing: -2px; }
.pz-tools { display: flex; gap: 2px; opacity: .55; transition: opacity .15s; }
.pz-line:hover .pz-tools { opacity: 1; }
.pz-tools button { border: 0; background: #2f2a5a; color: #cfcaf5; border-radius: 6px; width: 26px; height: 24px; cursor: pointer; font-size: 12px; }
.pz-tools button:hover { background: var(--brand-2); color: #fff; }
.pz-pool { display: flex; flex-wrap: wrap; gap: 8px; }
.pz-block { border: 1px solid var(--line); background: var(--card); border-radius: 10px; padding: 7px 12px; cursor: pointer; box-shadow: var(--shadow); transition: transform .12s, border-color .12s; text-align: left; }
.pz-block:hover { transform: translateY(-2px); border-color: var(--brand); }
.pz-block code { font-family: "JetBrains Mono", ui-monospace, Menlo, monospace; font-size: 14px; color: var(--text); white-space: pre; }
.pz-block .hl-k { color: #b4236b; } .pz-block .hl-s { color: #0f7b3f; } .pz-block .hl-n { color: #b45309; } .pz-block .hl-f { color: var(--brand-2); }
.hl-k { color: #ff7ab8; font-weight: 600; } .hl-s { color: #7ef0a8; } .hl-n { color: #ffc46b; } .hl-f { color: #8fd3ff; } .hl-c { color: #6f6a9f; font-style: italic; }
@keyframes shake { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }

/* ---------- Natijani top ---------- */
.qz.shake { animation: shake .35s; }
.qz .page-hero .hud-sound { align-self: flex-start; }
.qz-levels { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 18px; }
.qz-level { display: flex; flex-direction: column; gap: 6px; text-align: left; font: inherit; color: var(--text); padding: 22px; border-radius: 22px; border: 2px solid var(--line); background: var(--card); cursor: pointer; box-shadow: var(--shadow); transition: transform .15s, border-color .15s; }
.qz-level:hover { transform: translateY(-3px); border-color: var(--red); }
.qz-level b { font-size: 22px; }
.qz-level .muted { font-size: 14px; }
.qz-lv-ic { font-size: 40px; line-height: 1; }
.qz-level.lv1 { background: linear-gradient(135deg, #f3fbf6, #fff); }
.qz-level.lv2 { background: linear-gradient(135deg, #fff4e5, #fff); }
.qz-level.lv3 { background: linear-gradient(135deg, #fdeeec, #fff); }
.qz-rec { font-size: 14px; color: var(--muted); }
.qz-level .gc-go { color: var(--red); margin-top: 4px; }
.qz-hud { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 4px; }
.qz-lives { font-size: 22px; letter-spacing: 2px; }
.qz-lives .lost { filter: grayscale(1); opacity: .3; }
.qz-q { font-weight: 700; color: var(--muted); }
.qz-combo { font-weight: 800; color: #fff; background: linear-gradient(135deg, #f2643f, #dd2e1d); padding: 4px 12px; border-radius: 999px; animation: pop .3s; }
.qz-score { margin-left: auto; font-size: 15px; color: var(--muted); }
.qz-score b { font-size: 26px; color: var(--text); }
.qz-timer { height: 10px; border-radius: 99px; background: var(--brand-soft); overflow: hidden; margin: 12px 0 16px; }
.qz-timer i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--ok), #7ed957); border-radius: 99px; }
.qz-timer i.hurry { background: linear-gradient(90deg, var(--red), #f2643f); }
.qz-card { position: relative; background: #17142f; border-radius: 22px; padding: 20px 24px; box-shadow: 0 24px 50px -24px rgba(34,26,97,.7); }
.qz-ask { color: #a9a4d6; font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.qz-code { margin: 0; color: #ece9ff; font-family: "JetBrains Mono", ui-monospace, Menlo, monospace; font-size: 18px; line-height: 1.6; white-space: pre; overflow-x: auto; }
.qz-float { position: absolute; right: 24px; top: 14px; font-size: 28px; font-weight: 800; color: #ffd23f; opacity: 0; pointer-events: none; }
.qz-float.go { animation: floatup .9s ease-out; }
@keyframes floatup { 0% { opacity: 0; transform: translateY(10px) scale(.8); } 20% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-36px); } }
.qz-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
@media (max-width: 640px) { .qz-opts { grid-template-columns: 1fr; } .qz-code { font-size: 15px; } }
.qz-opt { display: flex; align-items: center; gap: 12px; text-align: left; font: inherit; padding: 14px 16px; border-radius: 16px; border: 2px solid var(--line); background: var(--card); cursor: pointer; box-shadow: var(--shadow); transition: transform .12s, border-color .12s, background .12s; min-height: 64px; }
.qz-opt:not(:disabled):hover { transform: translateY(-2px); border-color: var(--brand); }
.qz-opt:disabled { cursor: default; }
.qz-opt pre, .qz-why pre, .qz-mist pre:not(.qz-code) { margin: 0; font-family: "JetBrains Mono", ui-monospace, Menlo, monospace; font-size: 16px; white-space: pre-wrap; font-weight: 600; }
.qz-key { flex: none; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); font-weight: 800; font-size: 14px; }
.qz-opt.right { border-color: var(--ok); background: var(--ok-soft); animation: pop .3s; }
.qz-opt.right .qz-key { background: var(--ok); color: #fff; }
.qz-opt.wrong { border-color: var(--red); background: var(--red-soft); }
.qz-opt.wrong .qz-key { background: var(--red); color: #fff; }
.qz-err { color: var(--red); font-weight: 700; }
.qz-why { margin-top: 14px; padding: 16px 18px; border-radius: 16px; background: #fff8e6; border: 1px solid #fbdcb0; animation: pop .3s; }
.qz-why > div { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.qz-why p { margin: 8px 0 12px; }
.qz-why .btn { padding: 10px 20px; font-size: 15px; }
.qz-end-top { text-align: center; padding: 30px 20px; border-radius: 26px; background: linear-gradient(135deg, var(--brand-soft), #fff); border: 1px solid var(--line); }
.qz-end-top h2 { margin: 10px 0 18px; }
.qz-end-stats { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.qz-end-stats div { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 12px 22px; min-width: 120px; }
.qz-end-stats b { display: block; font-size: 30px; }
.qz-end-stats span { font-size: 13px; color: var(--muted); }
.qz-xp { font-weight: 800; color: var(--ok); font-size: 18px; min-height: 1.6em; }
.qz-end-btns { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.qz-end-btns .btn.light { border: 1px solid var(--line); }
#mistakes h3 { margin: 26px 0 12px; }
.qz-mist { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; align-items: start; padding: 14px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); margin-bottom: 10px; }
@media (max-width: 700px) { .qz-mist { grid-template-columns: 1fr; } }
.qz-mist .qz-code { background: #17142f; border-radius: 12px; padding: 12px 14px; font-size: 14px; }
.qz-mist p { margin: 6px 0 0; font-size: 14px; }
.qz-opt:disabled { color: var(--text); }
.qz-hud .hud-sound { margin-left: 0; }
.gc-space { background: radial-gradient(2px 2px at 20% 30%, #fff, transparent), radial-gradient(2px 2px at 70% 60%, #fff, transparent), radial-gradient(1.5px 1.5px at 40% 80%, #fff, transparent), radial-gradient(260px 160px at 100% 0%, rgba(221,46,29,.45), transparent 70%), linear-gradient(150deg, #07051a, #15103d 55%, #3b2c99); }
.gc-new { position: absolute; left: -34px; top: 18px; transform: rotate(-35deg); background: #ffd23f; color: #221a61; font-weight: 800; font-size: 11px; letter-spacing: .1em; padding: 4px 40px; }
.gc-space .gc-skill, .gc-bag .gc-skill { margin-left: 22px; }

/* ---------- Kod kosmosi ---------- */
.sp [hidden] { display: none !important; }
.sp .page-hero .hud-sound { align-self: flex-start; }
.sp-how { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-top: 18px; }
.sp-how div { display: flex; flex-direction: column; gap: 2px; padding: 16px; border-radius: 18px; background: linear-gradient(150deg, #15103d, #3b2c99); color: #fff; }
.sp-how span { font-size: 28px; }
.sp-how small { color: #cfcaf5; font-size: 13.5px; }
.sp-lv:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.sp-stage { position: relative; height: 560px; margin-top: 12px; border-radius: 24px; overflow: hidden; background: #07051a; box-shadow: 0 30px 60px -30px rgba(7,5,26,.9); cursor: text; }
@media (max-width: 700px) { .sp-stage { height: 460px; } }
.sp-stage canvas { display: block; width: 100%; height: 100%; }
.sp-typer { position: absolute; left: 0; bottom: 0; width: 1px; height: 1px; opacity: 0; border: 0; padding: 0; }
.sp-layout { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); background: #ffd23f; color: #221a61; padding: 10px 16px; border-radius: 14px; font-size: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.4); animation: pop .3s; width: max-content; max-width: 92%; }
.sp-focus { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 4px; background: rgba(7,5,26,.55); color: #fff; font-size: 22px; }
.sp-focus span { font-size: 15px; color: #cfcaf5; }
.sp-gold { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(7,5,26,.55); backdrop-filter: blur(2px); padding: 16px; }
.sp-gold-card { width: min(460px, 100%); background: linear-gradient(160deg, #fffaf0, #fff3cf); border: 2px solid #ffd23f; border-radius: 22px; padding: 22px; text-align: center; box-shadow: 0 0 60px rgba(255,210,63,.45); animation: pop .3s; }
.sp-gold-tag { display: inline-block; background: #ffd23f; color: #6b4500; font-weight: 800; font-size: 12px; letter-spacing: .06em; padding: 4px 12px; border-radius: 999px; }
.sp-gold-card p { margin: 10px 0 6px; }
.sp-gold-card pre { margin: 0 0 14px; padding: 12px; border-radius: 14px; background: #17142f; color: #ece9ff; font-family: "JetBrains Mono", ui-monospace, Menlo, monospace; font-size: 20px; white-space: pre-wrap; }
.sp-gold-row { display: flex; gap: 8px; }
.sp-gold-row input { flex: 1; min-width: 0; font: 600 18px "JetBrains Mono", ui-monospace, Menlo, monospace; padding: 10px 14px; border-radius: 12px; border: 2px solid #f0d78a; outline: none; }
.sp-gold-row input:focus { border-color: var(--brand); }
.sp-gold-row .btn, #gold-res .btn { padding: 10px 18px; font-size: 15px; }
.sp-ok { color: var(--ok); font-weight: 700; font-size: 18px; }
.sp-bad { color: var(--red); font-weight: 700; font-size: 18px; }
.sp-dict { margin-top: 18px; }
.sp-dict h3 { margin: 0 0 10px; }
#dict-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px; }
.sp-word { display: flex; flex-direction: column; gap: 2px; padding: 10px 14px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); animation: pop .3s; }
.sp-word code { background: #17142f; color: #ece9ff; padding: 4px 10px; border-radius: 8px; align-self: flex-start; font-family: "JetBrains Mono", ui-monospace, Menlo, monospace; font-size: 14px; }
.sp-word > span { font-size: 13.5px; color: var(--muted); }

/* ---------- Bag ovchisi ---------- */
.gc-bag { background: radial-gradient(260px 160px at 100% 0%, rgba(255,210,63,.4), transparent 70%), linear-gradient(140deg, #7a2e00, #c2410c 55%, #f97316); }
.bg [hidden] { display: none !important; }
.bg.shake { animation: shake .35s; }
.bg .page-hero .hud-sound { align-self: flex-start; }
.bg-how div { background: linear-gradient(150deg, #7a2e00, #c2410c); }
.bg-how small { color: #ffe0c7; }
.bg-step { margin: 14px 0 12px; padding: 12px 16px; border-radius: 14px; background: var(--brand-soft); color: var(--brand-dark); font-size: 15.5px; animation: pop .25s; }
.bg-step.win { background: var(--ok-soft); color: #0f6b45; }
.bg-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 14px; align-items: start; }
@media (max-width: 860px) { .bg-grid { grid-template-columns: 1fr; } }
.bg-code-wrap { position: relative; border-radius: 18px; overflow: hidden; background: #17142f; box-shadow: 0 24px 50px -24px rgba(34,26,97,.7); }
.bg-bugs { display: inline-block; font-size: 18px; transition: transform 1.3s ease-in-out; }
.bg-code { list-style: none; margin: 0; padding: 12px; display: grid; gap: 4px; counter-reset: ln; }
.bg-code li { counter-increment: ln; display: flex; gap: 10px; align-items: center; padding: 7px 10px; border-radius: 10px; cursor: pointer; border: 1px solid transparent; transition: background .12s, border-color .12s; }
.bg-code li::before { content: counter(ln); color: #5d5893; font-size: 13px; width: 18px; text-align: right; font-family: ui-monospace, monospace; }
.bg-code li:hover { background: #241f4d; border-color: #3d3680; }
.bg-code li code, .bg-fix code { color: #ece9ff; font-family: "JetBrains Mono", ui-monospace, Menlo, monospace; font-size: 16px; white-space: pre; }
.bg-ind { color: #4a4580; }
.bg-code li.nope { animation: nope .6s; }
@keyframes nope { 0%, 60% { background: rgba(221,46,29,.35); } 15%, 45% { transform: translateX(-5px); } 30% { transform: translateX(5px); } 100% { background: transparent; } }
.bg-code li.found { background: rgba(255,210,63,.18); border-color: #ffd23f; }
.bg-code li.fixed { background: rgba(22,163,74,.25); border-color: rgba(126,240,168,.7); animation: pop .3s; }
.bg-splat { position: absolute; left: 50%; font-size: 64px; transform: translate(-50%, -50%) scale(0); pointer-events: none; }
.bg-splat.go { animation: splat .7s ease-out forwards; }
@keyframes splat { 0% { transform: translate(-50%, -50%) scale(0) rotate(0); opacity: 1; } 40% { transform: translate(-50%, -50%) scale(1.4) rotate(20deg); opacity: 1; } 100% { transform: translate(-50%, -50%) scale(1.8) rotate(30deg); opacity: 0; } }
.bg-side { display: grid; gap: 12px; }
.bg-out { border-radius: 16px; padding: 12px 16px; background: #100d24; }
.bg-out b { font-size: 13px; }
.bg-out.ok b { color: #7ef0a8; } .bg-out.bad b { color: #ff9b8f; }
.bg-out pre { margin: 6px 0 0; color: #ece9ff; font-family: "JetBrains Mono", ui-monospace, Menlo, monospace; font-size: 15px; white-space: pre-wrap; word-break: break-word; }
.bg-out.ok pre { color: #7ef0a8; }
.bg-err { color: #ff6b5b; font-weight: 700; }
.bg-hint { color: #ffd23f; font-size: 13.5px; }
.bg-fixes { display: grid; gap: 10px; margin-top: 14px; }
.bg-fix { text-align: left; font: inherit; padding: 12px 16px; border-radius: 14px; border: 2px solid #2f2a5a; background: #1f1b40; cursor: pointer; transition: transform .12s, border-color .12s; }
.bg-fix:not(:disabled):hover { transform: translateY(-2px); border-color: #ffd23f; }
.bg-fix:disabled { cursor: default; color: inherit; }
.bg-fix:disabled code { opacity: 1; }
.bg-fix.wrong { border-color: var(--red); opacity: .55; }
.bg-fix.right { border-color: #7ef0a8; background: #14532d; }
.bg-why .btn { margin-top: 2px; }
.bg-lv.lv1 { background: linear-gradient(135deg, #fff4e5, #fff); }
.bg-lv.lv2 { background: linear-gradient(135deg, #fdeeec, #fff); }
.bg-lv.lv3 { background: linear-gradient(135deg, #efedfc, #fff); }
.game-cards > .game-card:last-child:nth-child(odd) { grid-column: 1 / -1; min-height: 260px; }
