/* Maxfiylik siyosati / Foydalanish shartlari oynasi (landing va ilova uchun umumiy) */
.lg-wrap { position: fixed; inset: 0; z-index: 3000; display: grid; place-items: center; padding: 20px; background: rgba(3, 5, 10, .74); backdrop-filter: blur(8px); animation: lg-fade .2s ease; }
.lg-modal { display: flex; flex-direction: column; width: min(780px, 100%); max-height: min(86vh, 900px); border: 1px solid rgba(140, 122, 255, .28); border-radius: 18px;
  background: linear-gradient(180deg, rgba(20, 17, 42, .98), rgba(10, 9, 21, .98)); box-shadow: 0 40px 120px -20px #000, 0 0 0 1px rgba(140, 122, 255, .06); color: #e4e6ee;
  font-family: "Manrope", system-ui, sans-serif; animation: lg-pop .3s cubic-bezier(.2, .8, .2, 1); }
.lg-head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 18px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.lg-tabs { display: flex; gap: 6px; flex-wrap: wrap; flex: 1; }
.lg-tabs button { height: 36px; padding: 0 14px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 10px; background: transparent; color: #a7acbb; font: 600 13px "Manrope", system-ui, sans-serif; cursor: pointer; transition: .2s; }
.lg-tabs button:hover { color: #fff; border-color: rgba(140, 122, 255, .45); }
.lg-tabs button.on { color: #fff; background: #1b1258; border-color: rgba(140, 122, 255, .6); }
.lg-x { flex: none; width: 38px; height: 38px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 10px; background: transparent; color: #a7acbb; font-size: 22px; line-height: 1; cursor: pointer; transition: .2s; }
.lg-x:hover { color: #fff; border-color: rgba(140, 122, 255, .5); background: rgba(140, 122, 255, .1); }
.lg-body { overflow-y: auto; padding: 22px 26px 28px; font-size: 14px; line-height: 1.7; }
.lg-body .lg-updated { margin: 0 0 12px; color: #8c7aff; font: 500 11.5px "DM Mono", ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase; }
.lg-body .lg-intro { margin: 0 0 18px; color: #c7cad6; }
.lg-body section { padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .06); margin-top: 14px; }
.lg-body h3 { margin: 0 0 8px; color: #fff; font-size: 15px; font-weight: 700; }
.lg-body p { margin: 0 0 8px; color: #b5b9c7; }
.lg-body ul { margin: 0; padding-left: 20px; color: #b5b9c7; }
.lg-body li { margin: 0 0 6px; }
.lg-body li::marker { color: #8c7aff; }
.lg-body b { color: #e4e6ee; }
.lg-body a { color: #c9c0ff; text-decoration: underline; text-underline-offset: 3px; }
@keyframes lg-fade { from { opacity: 0; } }
@keyframes lg-pop { from { opacity: 0; transform: translateY(10px) scale(.98); } }

/* ilovaning kunduzgi rejimi */
html[data-theme="light"] .lg-wrap { background: rgba(30, 28, 60, .35); }
html[data-theme="light"] .lg-modal { background: #fff; color: #1c1d29; border-color: rgba(90, 70, 220, .25); box-shadow: 0 40px 120px -30px rgba(30, 28, 90, .35); }
html[data-theme="light"] .lg-head, html[data-theme="light"] .lg-body section { border-color: rgba(20, 20, 40, .08); }
html[data-theme="light"] .lg-tabs button, html[data-theme="light"] .lg-x { color: #5a5f73; border-color: rgba(20, 20, 40, .12); }
html[data-theme="light"] .lg-tabs button.on { color: #fff; }
html[data-theme="light"] .lg-body .lg-intro, html[data-theme="light"] .lg-body p, html[data-theme="light"] .lg-body ul { color: #3d4152; }
html[data-theme="light"] .lg-body h3, html[data-theme="light"] .lg-body b { color: #14151f; }
html[data-theme="light"] .lg-body a { color: #4b38c9; }
html[data-theme="light"] .lg-body .lg-updated { color: #5a46dc; }
@media (max-width: 560px) { .lg-body { padding: 18px 18px 24px; } .lg-tabs button { padding: 0 10px; font-size: 12px; } }
