/* Foydalanuvchi ilovasi: yorug' lavanda qog'oz, binafsha siyoh, malina aksent, serif sarlavhalar.
   base.css dagi qorong'i tokenlar shu yerda qayta aniqlanadi (admin sayt o'zgarmaydi). */
:root {
  --bg: #fbf9fd;
  --surface: #ffffff;
  --surface-2: #f3eef9;
  --line: rgba(42, 22, 64, .07);
  --line-2: rgba(42, 22, 64, .16);
  --ink: #2a1640;
  --text: #2a1640;
  --text2: #62527a;
  --text3: #8f7fa6;
  --gold: #d62a6d;
  --gold-d: #b81f58;
  --gold-bg: rgba(214, 42, 109, .09);
  --gold-glow: rgba(214, 42, 109, .24);
  --on-gold: #ffffff;
  --star: #f0a000;
  --grad: linear-gradient(135deg, #ef4f86 0%, #d62a6d 100%);
  --grad-h: linear-gradient(90deg, #ef4f86, #d62a6d);
  --green: #11906a;
  --red: #d1333f;
  --shadow: 0 0 0 1px rgba(42, 22, 64, .05), 0 6px 18px rgba(42, 22, 64, .05);
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --font: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --r: 22px;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #1b1422;
  --surface: #261c30;
  --surface-2: #34273f;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .15);
  --ink: #f6eefc;
  --text: #f6eefc;
  --text2: #c2b2d3;
  --text3: #8d7ea1;
  --gold: #ff6b9f;
  --gold-d: #e24d84;
  --gold-bg: rgba(255, 107, 159, .12);
  --gold-glow: rgba(255, 107, 159, .26);
  --on-gold: #2a0a1d;
  --star: #ffc24d;
  --grad: linear-gradient(135deg, #ff86b0 0%, #ff5a94 100%);
  --grad-h: linear-gradient(90deg, #ff86b0, #ff5a94);
  --green: #3ddba8;
  --red: #ff7a86;
  --shadow: 0 0 0 1px rgba(255, 255, 255, .05), 0 10px 28px rgba(0, 0, 0, .28);
  color-scheme: dark;
}
html, body { background: var(--bg); }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  transition: background .3s;
}
body::before, #stars { display: none; }
h1, h2 { font-family: var(--serif); font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: 27px; line-height: 1.15; }
h2 { font-size: 20px; margin: 26px 0 12px; }
h3 { font-weight: 700; letter-spacing: 0; }
.muted { color: var(--text2); }
.gold { color: var(--gold); }

/* ----- umumiy komponentlar (base.css ni yorug' rejimga moslash) ----- */
.cta { background: var(--grad); color: var(--on-gold); border-radius: 20px; box-shadow: 0 10px 24px var(--gold-glow); font-weight: 800; letter-spacing: .01em; }
.cta:disabled { background: var(--surface-2); color: var(--text3); box-shadow: none; }
.btn { background: var(--surface); border: 1px solid var(--line-2); border-radius: 14px; color: var(--ink); box-shadow: var(--shadow); }
.btn.gold { background: var(--gold-bg); border-color: transparent; color: var(--gold); box-shadow: none; }
.btn.red { background: rgba(209, 51, 63, .08); color: var(--red); border-color: transparent; box-shadow: none; }
input, select, textarea { background: var(--surface); border: 1.5px solid var(--line-2); color: var(--text); border-radius: 16px; }
input::placeholder, textarea::placeholder { color: var(--text3); }
input:focus, select:focus, textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 4px var(--gold-bg); }
.switch input { background: var(--surface-2); border-color: var(--line-2); }
.switch input::after { background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); }
.switch input:checked { background: var(--gold); border-color: var(--gold); }
.switch input:checked::after { background: #fff; }
.block { background: var(--surface); border: 0; border-radius: var(--r); box-shadow: var(--shadow); }
.badge { background: var(--surface-2); color: var(--text2); }
.badge.ok { background: rgba(17, 144, 106, .12); color: var(--green); }
.badge.bad { background: rgba(209, 51, 63, .1); color: var(--red); }
.badge.gold { background: var(--gold-bg); color: var(--gold); }
.chips button { background: var(--surface); color: var(--text2); border: 0; box-shadow: var(--shadow); border-radius: 999px; }
.chips button[aria-pressed="true"] { background: var(--ink); color: var(--bg); box-shadow: none; }
.skeleton { background: linear-gradient(90deg, var(--surface-2) 25%, var(--surface) 50%, var(--surface-2) 75%); background-size: 200% 100%; border-radius: var(--r); }
.overlay { background: rgba(42, 22, 64, .45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.sheet { background: var(--surface); -webkit-backdrop-filter: none; backdrop-filter: none; border-radius: 30px 30px 0 0; box-shadow: 0 -10px 40px rgba(42, 22, 64, .18); }
.handle { background: var(--line-2); }
.toast { background: var(--ink); color: var(--bg); border: 0; }
.toast .ic { color: inherit; }
.glass { background: var(--surface); border: 0; box-shadow: var(--shadow); -webkit-backdrop-filter: none; backdrop-filter: none; }
@media (hover: hover) { .btn:hover { background: var(--surface-2); } }

/* ----- qobiq ----- */
.app { position: fixed; inset: 0; display: flex; flex-direction: column; z-index: 1; }
.scroll { flex: 1; overflow-y: auto; overflow-x: hidden; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.scroll::-webkit-scrollbar { display: none; }
.wrap { max-width: 480px; margin: 0 auto; padding: calc(14px + env(safe-area-inset-top)) 18px 120px; }
.view { animation: rise .32s cubic-bezier(.32, .72, 0, 1); }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }

.appbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.appbar .who { display: flex; align-items: center; gap: 11px; min-width: 0; }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex: none; font: 800 18px var(--serif); color: var(--on-gold); background: var(--grad); box-shadow: 0 6px 16px var(--gold-glow); }
.appbar small { display: block; color: var(--text2); font-size: 12px; font-weight: 600; }
.appbar b { display: block; font: 800 19px/1.15 var(--serif); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chip-balance { display: flex; align-items: center; gap: 7px; min-height: 42px; padding: 0 15px; border-radius: 999px; font-weight: 800; font-size: 13.5px; flex: none; background: var(--surface); box-shadow: var(--shadow); color: var(--ink); }
.chip-balance .ic { color: var(--gold); }

/* suzuvchi menyu */
.bnav { position: absolute; left: 14px; right: 14px; bottom: calc(12px + env(safe-area-inset-bottom)); max-width: 452px; margin: 0 auto; display: flex; gap: 2px; padding: 6px; border-radius: 28px; background: var(--surface); box-shadow: 0 12px 36px rgba(42, 22, 64, .2), 0 0 0 1px var(--line); z-index: 30; }
.bnav-item { flex: 1; display: grid; justify-items: center; gap: 2px; padding: 8px 2px 6px; border-radius: 22px; font-size: 10.5px; font-weight: 700; color: var(--text3); transition: background .25s, color .25s, flex .3s; }
.bnav-item .ic { font-size: 21px; transition: transform var(--t); }
.bnav-item:active .ic { transform: scale(.85); }
.bnav-item.active { color: var(--on-gold); background: var(--grad); flex: 1.45; box-shadow: 0 6px 16px var(--gold-glow); }
:root[data-theme="dark"] .bnav { box-shadow: 0 12px 36px rgba(0, 0, 0, .45), 0 0 0 1px var(--line); }

/* ----- bosh sahifa ----- */
.week { padding: 16px; border-radius: 26px; background: var(--surface); box-shadow: var(--shadow); }
.week .days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin: 12px 0 4px; }
.week .day { display: grid; justify-items: center; gap: 6px; font-size: 11px; font-weight: 700; color: var(--text3); text-transform: capitalize; }
.week .day i { width: 100%; max-width: 38px; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); box-shadow: inset 0 0 0 1.5px var(--line-2); color: transparent; }
.week .day.on i { background: var(--grad); color: var(--on-gold); box-shadow: 0 6px 14px var(--gold-glow); }
.week .day.today { color: var(--gold); }
.week .day.today:not(.on) i { box-shadow: inset 0 0 0 2px var(--gold); }
.week .head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.week .head b { font: 800 17px var(--serif); }
.stats3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; }
.stats3 button { display: grid; justify-items: start; gap: 2px; padding: 14px 13px; border-radius: 22px; text-align: left; min-width: 0; color: var(--ink); }
.stats3 button:nth-child(1) { background: #ffe0ee; }
.stats3 button:nth-child(2) { background: #ece1ff; }
.stats3 button:nth-child(3) { background: #ffeed4; }
:root[data-theme="dark"] .stats3 button:nth-child(1) { background: #3b2132; }
:root[data-theme="dark"] .stats3 button:nth-child(2) { background: #2e2447; }
:root[data-theme="dark"] .stats3 button:nth-child(3) { background: #3b2e22; }
.stats3 button .ic { color: var(--gold); margin-bottom: 4px; }
.stats3 b { font: 800 19px var(--serif); max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stats3 span { font-size: 11px; color: var(--text2); font-weight: 600; }

/* kupon: yonib ketayotgan bonus */
.burn { position: relative; display: grid; gap: 8px; padding: 16px; border-radius: 24px; background: var(--surface); box-shadow: var(--shadow); text-align: left; width: 100%; overflow: hidden; }
.burn.hot { background: linear-gradient(135deg, #fff1f6, var(--surface) 60%); box-shadow: 0 0 0 1.5px rgba(214, 42, 109, .35), var(--shadow); }
:root[data-theme="dark"] .burn.hot { background: linear-gradient(135deg, #3b2132, var(--surface) 60%); }
.burn.invite { display: flex; align-items: center; gap: 12px; }
.burn-icon { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; flex: none; color: var(--on-gold); background: var(--grad); }
.burn.hot .burn-icon { animation: flame 1.8s ease-in-out infinite; }
@keyframes flame { 50% { transform: scale(1.1) rotate(-6deg); } }
.burn-lot { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; border: 1.5px dashed var(--line-2); font-weight: 800; font-variant-numeric: tabular-nums; }

.minis { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; margin: 0 -18px; padding: 2px 18px 8px; scroll-snap-type: x mandatory; }
.minis::-webkit-scrollbar { display: none; }
.minis button { flex: none; width: 138px; scroll-snap-align: start; text-align: left; border-radius: 20px; overflow: hidden; background: var(--surface); box-shadow: var(--shadow); color: var(--ink); }
.minis .cover { aspect-ratio: 3 / 2; }
.minis .cover .label { font-size: 12px; -webkit-line-clamp: 3; }
.minis b { display: block; padding: 8px 10px 10px; font-size: 12.5px; line-height: 1.25; }
.row-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.row-head h2 { margin: 24px 0 12px; }
.link { color: var(--gold); font-weight: 800; font-size: 13px; padding: 6px 2px; }

.banner { display: flex; align-items: center; gap: 12px; width: 100%; padding: 15px 16px; border-radius: 22px; text-align: left; font-weight: 700; color: var(--ink); background: linear-gradient(120deg, #ffe0ee, #ece1ff); }
:root[data-theme="dark"] .banner { background: linear-gradient(120deg, #3b2132, #2e2447); }
.banner .ic:first-child { color: var(--gold); }
.news { display: grid; gap: 10px; }
.news article { padding: 16px; border-radius: 22px; background: var(--surface); box-shadow: var(--shadow); }
.news article.pin { background: linear-gradient(140deg, #fff0f6, var(--surface)); }
:root[data-theme="dark"] .news article.pin { background: linear-gradient(140deg, #3b2132, var(--surface)); }
.news h3 { margin: 6px 0 4px; font: 800 17px var(--serif); }
.news p { color: var(--text2); font-size: 14px; white-space: pre-wrap; overflow-wrap: anywhere; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; counter-reset: s; }
.steps li { list-style: none; display: grid; gap: 8px; align-content: start; padding: 12px; border-radius: 18px; background: var(--surface); box-shadow: var(--shadow); font-size: 12.5px; font-weight: 600; color: var(--text2); counter-increment: s; }
.steps li::before { content: counter(s); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font: 800 13px var(--serif); color: var(--on-gold); background: var(--grad); }

/* ----- kurslar ----- */
.cards { display: grid; gap: 14px; }
.cards.two { grid-template-columns: 1fr 1fr; gap: 12px; }
.course { display: block; width: 100%; text-align: left; overflow: hidden; border-radius: 24px; background: var(--surface); box-shadow: var(--shadow); color: var(--ink); transition: transform var(--t); }
.course:active { transform: scale(.975); }
.course .body { display: grid; gap: 3px; padding: 11px 13px 14px; }
.course .body h3 { font: 800 14px/1.25 var(--serif); }
.cover { position: relative; aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden; background: linear-gradient(145deg, var(--a), var(--b)); }
.cover::after { content: ""; position: absolute; width: 70%; aspect-ratio: 1; right: -22%; top: -30%; border-radius: 50%; background: rgba(255, 255, 255, .35); }
.cover::before { content: ""; position: absolute; width: 46%; aspect-ratio: 1; left: -14%; bottom: -26%; border-radius: 50%; background: rgba(255, 255, 255, .22); }
.cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.cover.has-image::before, .cover.has-image::after { display: none; }
.cover .label { position: relative; z-index: 2; max-width: 84%; font: 800 14px/1.25 var(--serif); text-align: center; color: #2a1640; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.cover.tall { aspect-ratio: 16 / 10; border-radius: 28px; }
.cover.tall .label { font-size: 22px; }
:root[data-theme="dark"] .cover .label { color: #fff; }
.rate { display: inline-flex; align-items: center; gap: 4px; font-weight: 800; font-size: 12.5px; color: var(--star); }
.rate .ic { font-size: 13px; }
.price { font-weight: 800; font-variant-numeric: tabular-nums; color: var(--gold); font-size: 13.5px; }

/* ----- kurs sahifasi ----- */
.page { position: fixed; inset: 0; z-index: 60; display: flex; flex-direction: column; background: var(--bg); animation: slide .32s cubic-bezier(.32, .72, 0, 1); }
@keyframes slide { from { transform: translateY(24px); opacity: 0; } }
.page .bar { display: flex; align-items: center; padding: calc(10px + env(safe-area-inset-top)) 14px 4px; }
.round { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); box-shadow: var(--shadow); color: var(--ink); flex: none; }
.page .wrap { padding-top: 6px; padding-bottom: 130px; }
.cta-bar { position: absolute; inset: auto 0 0 0; padding: 14px 18px calc(14px + env(safe-area-inset-bottom)); background: linear-gradient(180deg, transparent, var(--bg) 32%); }
.cta-bar > div { max-width: 480px; margin: 0 auto; display: grid; gap: 8px; }
.segment { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 4px; border-radius: 20px; background: var(--surface); box-shadow: var(--shadow); }
.segment button { min-height: 48px; border-radius: 16px; font-weight: 700; color: var(--text2); line-height: 1.2; transition: background .2s, color .2s; }
.segment button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.rich { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.6; color: var(--text); }
.rich blockquote { margin: 8px 0; padding: 8px 14px; border-left: 3px solid var(--gold); background: var(--gold-bg); border-radius: 0 12px 12px 0; }
.spread { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; }
.spread .big { text-align: center; }
.spread .big b { display: block; font: 800 42px/1 var(--serif); color: var(--star); }
.bars { display: grid; gap: 5px; }
.bars div { display: grid; grid-template-columns: 10px 1fr 26px; gap: 8px; align-items: center; font-size: 12px; color: var(--text3); }
.bars i { height: 7px; border-radius: 4px; background: var(--surface-2); overflow: hidden; }
.bars i span { display: block; height: 100%; background: var(--star); border-radius: 4px; }
.review { padding: 12px 0; border-top: 1px solid var(--line); }

/* ----- reyting ----- */
.podium { display: grid; grid-template-columns: 1fr 1.2fr 1fr; align-items: end; gap: 10px; margin: 8px 0 16px; }
.podium .spot { text-align: center; padding: 14px 6px; border-radius: 24px; background: var(--surface); box-shadow: var(--shadow); }
.podium .spot.first { padding: 22px 6px; background: linear-gradient(170deg, #fff0f6, var(--surface)); box-shadow: 0 0 0 1.5px rgba(214, 42, 109, .3), var(--shadow); }
:root[data-theme="dark"] .podium .spot.first { background: linear-gradient(170deg, #3b2132, var(--surface)); }
.podium .medal { width: 38px; height: 38px; border-radius: 50%; margin: 0 auto 8px; display: grid; place-items: center; font: 800 17px var(--serif); color: #fff; background: #a99bbd; }
.podium .first .medal { background: var(--grad); width: 46px; height: 46px; font-size: 20px; box-shadow: 0 8px 18px var(--gold-glow); }
.podium .spot:nth-child(3) .medal { background: #d49a6a; }
.podium b { display: block; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.list { display: grid; gap: 8px; }
.line { display: flex; align-items: center; gap: 12px; padding: 13px 15px; border-radius: 20px; background: var(--surface); box-shadow: var(--shadow); color: var(--ink); }
.line.me { box-shadow: 0 0 0 1.5px var(--gold), var(--shadow); background: var(--gold-bg); }
.line .rank { width: 26px; text-align: center; font: 800 16px var(--serif); color: var(--text3); }

/* ----- profil ----- */
.profile-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.profile-head .avatar { width: 68px; height: 68px; font-size: 28px; }
.level-card { padding: 18px; border-radius: 26px; color: var(--on-gold); background: var(--grad); box-shadow: 0 14px 30px var(--gold-glow); }
.level-card .muted, .level-card .dim, .level-card .need span { color: rgba(255, 255, 255, .88) !important; }
:root[data-theme="dark"] .level-card .muted, :root[data-theme="dark"] .level-card .dim, :root[data-theme="dark"] .level-card .need span { color: rgba(42, 10, 29, .8) !important; }
.level-card b { font: 800 18px var(--serif); }
.progress { height: 9px; border-radius: 5px; background: rgba(255, 255, 255, .3); overflow: hidden; margin: 10px 0 6px; }
.progress i { display: block; height: 100%; border-radius: 5px; background: #fff; transition: width .8s cubic-bezier(.32, .72, 0, 1); }
:root[data-theme="dark"] .progress { background: rgba(42, 10, 29, .2); }
:root[data-theme="dark"] .progress i { background: #2a0a1d; }
.progress.sm { height: 6px; margin: 4px 0 0; }
.need { font-size: 13px; }
.stats { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.stats > div { padding: 14px 8px; border-radius: 20px; text-align: center; background: var(--surface); box-shadow: var(--shadow); }
.stats b { display: block; font: 800 18px var(--serif); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.copyrow { display: flex; gap: 8px; }
.copyrow input { font-size: 13px; }
details.faq { border-radius: 20px; background: var(--surface); box-shadow: var(--shadow); padding: 0 16px; }
details.faq + details.faq { margin-top: 8px; }
details.faq summary { list-style: none; cursor: pointer; padding: 15px 0; font-weight: 700; display: flex; justify-content: space-between; gap: 10px; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq[open] summary .ic { transform: rotate(90deg); }
details.faq summary .ic { transition: transform .2s; color: var(--text3); }
details.faq p { padding-bottom: 15px; color: var(--text2); font-size: 14px; }
.menu-item { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 58px; padding: 0 16px; text-align: left; border-radius: 22px; background: var(--surface); box-shadow: var(--shadow); font-weight: 700; color: var(--ink); }
.menu-item .ic:first-child { color: var(--gold); }

/* ----- to'lov varaqlari ----- */
.amount-box { text-align: center; padding: 20px 12px; border-radius: 24px; background: var(--gold-bg); }
.amount-box b { display: block; font: 800 32px var(--serif); color: var(--gold); font-variant-numeric: tabular-nums; margin: 2px 0 8px; }
.pairs > div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.pairs > div:first-child { border-top: 0; }
.pairs span:last-child { font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; }
.pairs .total span { color: var(--gold); font-size: 16px; }
.pulse { width: 54px; height: 54px; margin: 6px auto; border-radius: 50%; border: 4px solid var(--gold-bg); border-top-color: var(--gold); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.success { text-align: center; padding: 8px 0 4px; }
.success .tick { width: 78px; height: 78px; margin: 0 auto 12px; border-radius: 50%; display: grid; place-items: center; color: var(--on-gold); background: var(--grad); box-shadow: 0 12px 34px var(--gold-glow); animation: pop .5s cubic-bezier(.34, 1.56, .64, 1); }
.success .tick .ic { font-size: 38px; }
@keyframes pop { from { transform: scale(.3); opacity: 0; } }
.promo-row { display: flex; gap: 8px; }
.stars-pick { display: flex; justify-content: center; gap: 6px; }
.stars-pick button { font-size: 36px; color: var(--surface-2); transition: transform var(--t), color .15s; }
.stars-pick button.on { color: var(--star); }
.stars-pick button:active { transform: scale(.85); }
button.line { width: 100%; text-align: left; }
.empty .ic { color: var(--gold); }

.gate { position: fixed; inset: 0; z-index: 500; display: grid; place-items: center; padding: 28px; text-align: center; background: var(--bg); }
.gate .ic { font-size: 54px; color: var(--gold); margin-bottom: 14px; }
.gate p { color: var(--text2); margin: 8px 0 18px; max-width: 320px; }
.splash { position: fixed; inset: 0; z-index: 600; display: grid; place-items: center; background: var(--bg); transition: opacity .4s; }
.splash.out { opacity: 0; pointer-events: none; }
.splash .pulse { width: 44px; height: 44px; }
@media (hover: hover) { .course:hover { transform: translateY(-3px); } }
@media (max-width: 340px) { .cards.two { grid-template-columns: 1fr; } .steps { grid-template-columns: 1fr; } .wrap { padding-left: 12px; padding-right: 12px; } }

/* haftalik faollik: oq fonda ham aniq ajralib turadi */
.week .day.on i { box-shadow: 0 6px 14px var(--gold-glow), inset 0 0 0 2px rgba(255, 255, 255, .35); }
.week .day:not(.on):not(.today) i { background: repeating-linear-gradient(135deg, var(--surface-2) 0 5px, transparent 5px 10px), var(--surface); }
.week .day.today:not(.on) i { background: var(--gold-bg); box-shadow: inset 0 0 0 2px var(--gold); }
.week .day.today { font-weight: 800; }

/* referal sahifasi */
.avatar.sm { width: 36px; height: 36px; font-size: 15px; box-shadow: none; }
.ref .events { display: grid; gap: 0; border-top: 1px solid var(--line); }
.ref .event { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; font-weight: 600; }
.ref .event:last-child { border-bottom: 0; padding-bottom: 0; }
.ref .event .badge { flex: none; white-space: nowrap; }
