/* Стили для страниц info, howto и download (загружаются в index и при прямом открытии) */
.info-page,
#ajax-page-container .info-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--bg);
}
.info-page .info-view-header,
#ajax-page-container .info-page .info-view-header {
    flex-shrink: 0;
    padding: 16px 20px;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    display: flex;
    align-items: center;
    gap: 14px;
}
.info-page .news-item-date,
#ajax-page-container .info-page .news-item-date {
    font-size: 0.85rem;
    color: var(--text-muted, #64748b);
    margin: -2px 0 12px;
}
.info-page .news-item-body,
#ajax-page-container .info-page .news-item-body {
    font-size: 0.98rem;
    line-height: 1.65;
    color: var(--text);
}
.info-page .info-view-title,
#ajax-page-container .info-page .info-view-title {
    font-size: 1.22rem;
    font-weight: 700;
    color: var(--text);
    margin: 0;
    letter-spacing: -0.02em;
}
.info-page .info-view-body,
#ajax-page-container .info-page .info-view-body {
    flex: 1;
    padding: 28px 20px 36px;
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
}
.info-page .info-card,
#ajax-page-container .info-page .info-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 24px 22px;
    margin-bottom: 16px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    transition: box-shadow 0.25s ease, transform 0.2s ease;
}
.info-page .info-card:hover,
#ajax-page-container .info-page .info-card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.07);
}
.info-page .info-card:last-of-type,
#ajax-page-container .info-page .info-card:last-of-type {
    margin-bottom: 32px;
}
.info-page .info-card h3,
#ajax-page-container .info-page .info-card h3 {
    font-size: 1.55rem;
    margin: 0 0 14px;
    color: var(--text);
    letter-spacing: -0.03em;
    font-weight: 700;
}
.info-page .info-card h4,
#ajax-page-container .info-page .info-card h4 {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin: 0 0 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-left: 12px;
    border-left: 3px solid var(--primary);
}
.info-page .info-card h4 .card-icon,
#ajax-page-container .info-page .info-card h4 .card-icon {
    opacity: 0.85;
    font-size: 1.05rem;
    color: var(--primary);
}
.info-page .info-card p,
#ajax-page-container .info-page .info-card p {
    margin: 0 0 12px;
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
}
.info-page .info-card p:last-child,
#ajax-page-container .info-page .info-card p:last-child {
    margin-bottom: 0;
}
.info-page .info-card a,
#ajax-page-container .info-page .info-card a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}
.info-page .info-card a:hover,
#ajax-page-container .info-page .info-card a:hover {
    text-decoration: underline;
}
.info-page .info-hero,
#ajax-page-container .info-page .info-hero {
    padding: 24px 22px;
    background: linear-gradient(135deg, rgba(46,222,149,0.12) 0%, rgba(84,160,255,0.10) 50%, rgba(139,92,246,0.08) 100%);
    border-radius: 16px;
    border: 1px solid rgba(46,222,149,0.2);
    box-shadow: 0 4px 20px rgba(46,222,149,0.08), 0 1px 6px rgba(0,0,0,0.03);
    position: relative;
    overflow: hidden;
}
.info-page .info-hero::before,
#ajax-page-container .info-page .info-hero::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(46,222,149,0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.info-page .info-hero::after,
#ajax-page-container .info-page .info-hero::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: -20px;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(84,160,255,0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.info-page .info-hero-top,
#ajax-page-container .info-page .info-hero-top {
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    z-index: 1;
}
.info-page .info-hero .info-hero-logo,
#ajax-page-container .info-page .info-hero .info-hero-logo {
    width: 68px;
    height: 68px;
    border-radius: 18px;
    display: block;
    flex-shrink: 0;
    box-shadow: 0 6px 20px rgba(0,0,0,0.10), 0 2px 6px rgba(46,222,149,0.15);
    border: 2px solid rgba(255,255,255,0.6);
}
.info-page .info-hero-text,
#ajax-page-container .info-page .info-hero-text {
    min-width: 0;
    position: relative;
    z-index: 1;
}
.info-page .info-hero h3,
#ajax-page-container .info-page .info-hero h3 {
    margin: 0 0 4px;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    background: linear-gradient(135deg, #1a7a4e 0%, #2563eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.info-page .info-hero-desc,
#ajax-page-container .info-page .info-hero-desc {
    font-size: 0.8rem;
    margin: 0;
    color: var(--text-muted);
    line-height: 1.55;
    max-width: 36em;
}
.info-page .info-hero-text,
#ajax-page-container .info-page .info-hero-text {
    min-width: 0;
    flex: 1 1 auto;
}
.info-page .info-prose,
#ajax-page-container .info-page .info-prose {
    font-size: 0.86rem;
    color: var(--text-light);
    line-height: 1.65;
    margin: 0 0 12px;
}
.info-page .info-prose:last-child,
#ajax-page-container .info-page .info-prose:last-child {
    margin-bottom: 0;
}
.info-page .info-toc,
#ajax-page-container .info-page .info-toc {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}
.info-page .info-toc a,
#ajax-page-container .info-page .info-toc a {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    background: var(--primary-light);
    border: 1px solid rgba(84, 160, 255, 0.18);
    border-radius: 999px;
    padding: 5px 11px;
    text-decoration: none;
}
.info-page .info-toc a:hover,
#ajax-page-container .info-page .info-toc a:hover {
    background: rgba(84, 160, 255, 0.18);
}
.info-page .info-reciter-names,
#ajax-page-container .info-page .info-reciter-names {
    font-size: 0.84rem;
    line-height: 1.6;
    color: var(--text);
    font-weight: 600;
    margin: 0 0 12px;
    padding: 10px 12px;
    border-radius: 12px;
    background: var(--primary-light);
    border: 1px solid rgba(84, 160, 255, 0.12);
}
.info-page .features-grid,
#ajax-page-container .info-page .features-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    margin-bottom: 18px;
}
.info-page .features-grid .feature-stat,
#ajax-page-container .info-page .features-grid .feature-stat {
    grid-column: span 2;
}
.info-page .feature-stat,
#ajax-page-container .info-page .feature-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 12px 4px;
    border-radius: 12px;
    background: var(--primary-light);
    border: 1px solid rgba(84,160,255,0.1);
}
.info-page .feature-stat-num,
#ajax-page-container .info-page .feature-stat-num {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.02em;
    line-height: 1.2;
}
.info-page .feature-stat-label,
#ajax-page-container .info-page .feature-stat-label {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 600;
}
.info-page .features-list,
#ajax-page-container .info-page .features-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.info-page .feature-item,
#ajax-page-container .info-page .feature-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.info-page .feature-item i,
#ajax-page-container .info-page .feature-item i {
    font-size: 1rem;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
}
.info-page .feature-item span,
#ajax-page-container .info-page .feature-item span {
    font-size: 0.82rem;
    color: var(--text-light);
    line-height: 1.55;
}
.info-page .howto-list,
#ajax-page-container .info-page .howto-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.info-page .howto-item,
#ajax-page-container .info-page .howto-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.info-page .howto-num,
#ajax-page-container .info-page .howto-num {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    font-weight: 700;
    margin-top: 1px;
}
.info-page .howto-content,
#ajax-page-container .info-page .howto-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.info-page .howto-content strong,
#ajax-page-container .info-page .howto-content strong {
    font-size: 0.88rem;
    color: var(--text);
    font-weight: 600;
}
.info-page .howto-content span,
#ajax-page-container .info-page .howto-content span {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.55;
}
.info-page .info-feedback,
#ajax-page-container .info-page .info-feedback {
    margin-top: 14px;
    padding: 10px 14px;
    border-radius: 10px;
    background: var(--primary-light);
    border-left: 3px solid var(--primary);
    font-size: 0.84rem !important;
    color: var(--text-muted) !important;
    line-height: 1.6;
    font-style: italic;
}
.info-page .info-share-wrap,
#ajax-page-container .info-page .info-share-wrap {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px dashed var(--border);
}
.info-page .info-share-caption,
#ajax-page-container .info-page .info-share-caption {
    margin: 14px 0 0;
    font-size: 0.86rem;
    color: var(--text-muted);
    line-height: 1.65;
    font-style: italic;
}
.info-page .info-card-support h4,
#ajax-page-container .info-page .info-card-support h4 {
    border-left-color: #dc3545;
}
.info-page .info-card-support .card-icon,
#ajax-page-container .info-page .info-card-support .card-icon {
    color: #dc3545;
}
.info-page .info-card-support,
#ajax-page-container .info-page .info-card-support {
    background: linear-gradient(165deg, rgba(220, 53, 69, 0.07) 0%, rgba(220, 53, 69, 0.02) 55%);
    border-color: rgba(220, 53, 69, 0.22);
    box-shadow: 0 2px 10px rgba(220, 53, 69, 0.05);
}
.info-page .info-card-support:hover,
#ajax-page-container .info-page .info-card-support:hover {
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.08);
    border-color: rgba(220, 53, 69, 0.3);
}
.info-page .info-card-support h4,
#ajax-page-container .info-page .info-card-support h4 {
    color: #a71d2a;
}
.info-page .info-card-support .info-share-caption,
#ajax-page-container .info-page .info-card-support .info-share-caption {
    color: #721c24;
}
.info-page .info-card-support .info-share-btn,
#ajax-page-container .info-page .info-card-support .info-share-btn {
    background: #dc3545;
    border-color: #dc3545;
    color: #fff;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.25);
}
.info-page .info-card-support .info-share-btn:hover,
#ajax-page-container .info-page .info-card-support .info-share-btn:hover {
    background: #c82333;
    border-color: #bd2130;
    color: #fff;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}
.info-page .info-footer,
#ajax-page-container .info-page .info-footer,
.list-view .info-footer {
    flex-shrink: 0;
    padding: 28px 20px 36px;
    text-align: center;
    border-top: 1px solid var(--border);
    background: var(--bg-card);
}
.info-page .info-copyright,
#ajax-page-container .info-page .info-copyright,
.list-view .info-copyright {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}
.info-page .info-copyright a,
#ajax-page-container .info-page .info-copyright a,
.list-view .info-copyright a {
    color: var(--primary);
    text-decoration: none;
}
.info-page .info-copyright a:hover,
#ajax-page-container .info-page .info-copyright a:hover,
.list-view .info-copyright a:hover {
    text-decoration: underline;
}
.info-page .back-btn:focus-visible,
#ajax-page-container .info-page .back-btn:focus-visible {
    outline: none;
}
.info-page .info-share-btn:focus-visible,
#ajax-page-container .info-page .info-share-btn:focus-visible {
    outline: none;
}
/* ——— Страница «Скачать» (стиль карточки магазина приложений) ——— */
/* Шапка как на info/howto + отступ снизу до контента */
.info-page.store-page .info-view-header,
#ajax-page-container .info-page.store-page .info-view-header {
    flex-shrink: 0;
    padding: 16px 20px;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}
.info-page.store-page .info-view-body,
#ajax-page-container .info-page.store-page .info-view-body {
    max-width: 560px;
    padding-top: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.03) 0%, var(--bg) 120px);
}
[data-theme="dark"] .info-page.store-page .info-view-body,
[data-theme="dark"] #ajax-page-container .info-page.store-page .info-view-body {
    background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, var(--bg) 120px);
}

/* Фон и декор как у .info-card.info-hero на странице «О проекте» */
.info-page.store-page .store-hero-play,
#ajax-page-container .info-page.store-page .store-hero-play {
    padding: 24px 22px;
    background: linear-gradient(135deg, rgba(46,222,149,0.12) 0%, rgba(84,160,255,0.10) 50%, rgba(139,92,246,0.08) 100%);
    border-radius: 16px;
    border: 1px solid rgba(46,222,149,0.2);
    box-shadow: 0 4px 20px rgba(46,222,149,0.08), 0 1px 6px rgba(0,0,0,0.03);
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
}
.info-page.store-page .store-hero-play::before,
#ajax-page-container .info-page.store-page .store-hero-play::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(46,222,149,0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.info-page.store-page .store-hero-play::after,
#ajax-page-container .info-page.store-page .store-hero-play::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: -20px;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(84,160,255,0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.store-hero-play-inner {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 18px;
    position: relative;
    z-index: 1;
}
.store-app-icon {
    width: 96px;
    height: 96px;
    border-radius: 22%;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
.store-hero-text {
    min-width: 0;
    flex: 1;
    align-self: stretch;
    display: flex;
    flex-direction: column;
}
.store-hero-title-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
}
.store-app-name {
    margin: 0;
    font-size: 1.55rem;
    font-weight: 600;
    color: var(--text);
    letter-spacing: -0.03em;
    line-height: 1.2;
    min-width: 0;
}
.store-hero-text .info-hero-desc {
    margin-top: 10px;
}
.store-setup-guide {
    width: 100%;
    margin: 0 0 18px;
    padding: 18px 16px 16px;
    background: var(--bg-card, #fff);
    border: 1px solid var(--border, #eee);
    border-radius: 14px;
    box-shadow: var(--shadow, 0 1px 6px rgba(0,0,0,0.06));
}
.store-setup-heading {
    margin: 0 0 14px;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.02em;
}
.store-setup-tabs,
.info-page .store-setup-tabs,
#ajax-page-container .store-setup-tabs {
    display: flex;
    width: 100%;
    gap: 6px;
    padding: 4px;
    margin-bottom: 14px;
    background: var(--bg, #f3f4f6);
    border: 1px solid var(--border, #e5e7eb);
    border-radius: 12px;
    box-sizing: border-box;
}
.store-setup-tab,
.info-page .store-setup-tab,
#ajax-page-container .store-setup-tab {
    flex: 1 1 0;
    min-width: 0;
    min-height: 40px;
    padding: 0 8px;
    border: 1px solid transparent;
    border-radius: 9px;
    background: rgba(0, 0, 0, 0.04);
    color: var(--text, #222);
    font-size: 0.88rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.store-setup-tab.is-active,
.store-setup-tab[aria-selected="true"],
.info-page .store-setup-tab.is-active,
.info-page .store-setup-tab[aria-selected="true"],
#ajax-page-container .store-setup-tab.is-active,
#ajax-page-container .store-setup-tab[aria-selected="true"] {
    background: var(--primary, #54a0ff);
    border-color: var(--primary, #54a0ff);
    color: #fff;
}
.store-setup-tab:hover:not(.is-active):not([aria-selected="true"]),
.info-page .store-setup-tab:hover:not(.is-active):not([aria-selected="true"]),
#ajax-page-container .store-setup-tab:hover:not(.is-active):not([aria-selected="true"]) {
    background: var(--primary-light, rgba(84, 160, 255, 0.15));
    color: var(--text, #222);
}
.store-setup-pane[hidden] {
    display: none !important;
}
.store-setup-pane:not(.is-active) {
    display: none !important;
}
.store-setup-pane.is-active:not([hidden]) {
    display: block !important;
}
.store-setup-pane .store-hero-actions {
    margin-top: 0;
}
.store-setup-list {
    margin: 14px 0 0;
    padding-left: 1.25rem;
    color: var(--text);
    font-size: 0.92rem;
    line-height: 1.55;
}
.store-setup-list li + li {
    margin-top: 8px;
}
.store-setup-note {
    margin: 12px 0 0;
    font-size: 0.85rem;
    line-height: 1.45;
    color: var(--text-light);
}
.store-setup-btn--ios {
    background: #111;
    box-shadow: 0 2px 6px rgba(0,0,0,0.28);
}
.store-setup-btn--ios:hover {
    background: #000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.35);
}
.store-setup-btn--ios .bi-apple {
    font-size: 1.2rem;
    line-height: 1;
}
[data-theme="dark"] .store-setup-btn--ios {
    background: #f3f4f6;
    color: #111 !important;
}
[data-theme="dark"] .store-setup-btn--ios:hover {
    background: #fff;
}
.store-hero-actions {
    width: 100%;
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.store-hero-actions .store-setup-btn {
    width: 100%;
    box-sizing: border-box;
    border: none;
    cursor: pointer;
}
.store-setup-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 8px;
    background: #01875f;
    color: #fff !important;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.02em;
    box-shadow: 0 2px 6px rgba(1,135,95,0.35);
    transition: background 0.2s ease, box-shadow 0.2s ease;
}
.store-setup-btn--android .bi-android2 {
    font-size: 1.5rem;
    line-height: 1;
}
.store-setup-btn:hover {
    background: #016b4c;
    box-shadow: 0 4px 12px rgba(1,135,95,0.4);
    text-decoration: none;
}
.store-setup-btn--lite {
    background: #2563eb;
    box-shadow: 0 2px 6px rgba(37,99,235,0.35);
}
.store-setup-btn--lite:hover {
    background: #1e4fc5;
    box-shadow: 0 4px 12px rgba(37,99,235,0.42);
}
.store-setup-btn--lite .bi-browser-chrome {
    font-size: 1.2rem;
    line-height: 1;
}
.store-setup-btn--edge {
    background: #0f6cbd;
    box-shadow: 0 2px 6px rgba(15,108,189,0.35);
}
.store-setup-btn--edge:hover {
    background: #0b5aa0;
    box-shadow: 0 4px 12px rgba(15,108,189,0.42);
}
.store-setup-btn--edge .bi-microsoft {
    font-size: 1rem;
    line-height: 1;
}
.store-meta-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}
.store-hero-text .store-meta-row--hero {
    margin-top: 8px;
    margin-bottom: 0;
    padding-top: 8px;
    border-top: 1px solid var(--border);
    justify-content: flex-start;
    width: 100%;
    gap: 4px 8px;
}
.store-hero-text .store-meta-row--hero .store-meta-item {
    font-size: 0.68rem;
    line-height: 1.2;
}
.store-hero-text .store-meta-row--hero .store-meta-label {
    font-weight: 500;
}
.store-hero-text .store-meta-row--hero .store-meta-divider {
    height: 10px;
    align-self: center;
}
.store-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--text-muted);
}
.store-meta-label {
    font-weight: 500;
}
.store-meta-divider {
    width: 1px;
    height: 14px;
    background: var(--border);
    flex-shrink: 0;
}

.store-shots-wrap {
    margin-bottom: 20px;
}
.store-shots-title {
    margin: 0 0 12px 4px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}
.store-shots {
    display: flex;
    flex-direction: row;
    gap: 12px;
    overflow-x: auto;
    padding: 0 0 8px;
    margin: 0;
    list-style: none;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.store-shots::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}
.store-shot-li {
    flex: 0 0 42%;
    min-width: 140px;
    max-width: 200px;
    scroll-snap-align: start;
}
.store-shot-thumb {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    background: var(--border);
    box-shadow: 0 4px 14px rgba(0,0,0,0.1);
    border: 1px solid var(--border);
    aspect-ratio: 9 / 16;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.store-shot-thumb:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}
.store-shot-thumb:focus-visible {
    outline: none;
}
.store-shot-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Модальное окно просмотра скриншотов */
.store-shots-modal {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    pointer-events: none;
}
.store-shots-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.store-shots-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    cursor: pointer;
}
.store-shots-modal-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: min(420px, 96vw);
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 44px 40px 52px;
    box-sizing: border-box;
}
.store-shots-modal-img-wrap {
    max-height: 78vh;
    overflow: auto;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.35);
    scrollbar-width: thin;
}
.store-shots-modal-img {
    display: block;
    max-width: 100%;
    width: auto;
    height: auto;
}
.store-shots-modal-close {
    position: absolute;
    top: 4px;
    right: 4px;
    z-index: 2;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.95);
    color: var(--text);
    cursor: pointer;
    font-size: 1.1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    transition: background 0.2s ease, color 0.2s ease;
}
.store-shots-modal-close:hover {
    background: var(--primary-light);
    color: var(--primary);
}
.store-shots-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.92);
    color: var(--text);
    cursor: pointer;
    font-size: 1.25rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    transition: background 0.2s ease;
}
.store-shots-modal-nav:hover {
    background: #fff;
}
.store-shots-modal-prev {
    left: 4px;
}
.store-shots-modal-next {
    right: 4px;
}
.store-shots-modal-counter {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
    text-shadow: 0 1px 4px rgba(0,0,0,0.8);
    pointer-events: none;
}

/* Подсказка: установка приложения (PWA) */
.store-chrome-hint-modal {
    position: fixed;
    inset: 0;
    z-index: 10060;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    pointer-events: none;
}
.store-chrome-hint-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.store-chrome-hint-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    cursor: pointer;
}
.store-chrome-hint-panel {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: min(400px, 96vw);
    padding: 24px 20px 20px;
    border-radius: 12px;
    background: var(--card-bg, #fff);
    color: var(--text);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
    box-sizing: border-box;
}
[data-theme="dark"] .store-chrome-hint-panel {
    background: var(--card-bg);
}
.store-chrome-hint-close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.2s ease, color 0.2s ease;
}
.store-chrome-hint-close:hover {
    background: var(--primary-light);
    color: var(--primary);
}
.store-chrome-hint-title {
    margin: 0 32px 12px 0;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.3;
}
.store-chrome-hint-text {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-muted);
}
.store-chrome-hint-text strong {
    color: var(--text);
    font-weight: 600;
}
.store-chrome-hint-ok {
    margin-top: 20px;
    width: 100%;
    min-height: 44px;
    padding: 0 20px;
    border: none;
    border-radius: 8px;
    background: var(--primary);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, opacity 0.2s ease;
}
.store-chrome-hint-ok:hover {
    background: var(--primary-dark, #2e86de);
}

.store-card-plain .store-section-heading {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin: 0 0 12px;
    padding: 0;
    border: none;
}
.store-about-text,
.store-whatsnew {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--text-light);
}
.store-extra-grid {
    padding-top: 18px;
    padding-bottom: 18px;
}
.store-extra-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
}
.store-extra-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.store-extra-k {
    color: var(--text-muted);
    flex-shrink: 0;
}
.store-extra-v {
    text-align: right;
    color: var(--text);
    font-weight: 500;
}
.store-extra-v a {
    color: var(--primary);
}

@media (max-width: 480px) {
    .info-page .info-view-body,
    #ajax-page-container .info-page .info-view-body {
        padding: 22px 16px 28px;
    }
    .info-page.store-page .info-view-body,
    #ajax-page-container .info-page.store-page .info-view-body {
        padding-left: 12px;
        padding-right: 12px;
    }
    .info-page.store-page .store-hero-play,
    #ajax-page-container .info-page.store-page .store-hero-play {
        padding: 20px 18px;
    }
    .store-app-icon {
        width: 80px;
        height: 80px;
    }
    .store-app-name {
        font-size: 1.35rem;
    }
    .store-setup-tab {
        font-size: 0.8rem;
        min-height: 36px;
    }
    .store-hero-actions .store-setup-btn {
        min-height: 44px;
        padding: 0 16px;
        font-size: 0.85rem;
    }
    .store-setup-btn--android .bi-android2 {
        font-size: 1.35rem;
    }
    .store-shot-li {
        min-width: 120px;
    }
    .info-page .info-card,
    #ajax-page-container .info-page .info-card {
        padding: 20px 18px;
        border-radius: 12px;
        margin-bottom: 14px;
    }
    .info-page .info-card h4,
    #ajax-page-container .info-page .info-card h4 {
        padding-left: 10px;
        border-left-width: 2px;
    }
    .info-page .info-hero,
    #ajax-page-container .info-page .info-hero {
        padding: 20px 18px;
    }
    .info-page .info-hero .info-hero-logo,
    #ajax-page-container .info-page .info-hero .info-hero-logo {
        width: 60px;
        height: 60px;
        border-radius: 16px;
    }
}

/* Контейнер для подгружаемых страниц: главная скрыта */
#ajax-page-container {
    display: none;
    min-height: 100vh;
}
#ajax-page-container.is-visible {
    display: block;
}
body.ajax-page-open .app-container {
    display: none !important;
}

/* ——— 100 имён Аллаха ——— */
.names99-page-body {
    max-width: 980px !important;
}

.names99-dev-note {
    margin-bottom: 12px;
    padding: 12px 14px !important;
    border-radius: 12px;
    background: rgba(255, 193, 7, 0.14) !important;
    border: 1px solid rgba(255, 193, 7, 0.34) !important;
    color: var(--text);
    font-size: 0.86rem;
    line-height: 1.45;
    font-weight: 600;
}

.info-page .info-alert,
#ajax-page-container .info-page .info-alert {
    padding: 12px 14px !important;
    margin-bottom: 12px;
    box-shadow: none !important;
}

.info-page .info-alert p,
#ajax-page-container .info-page .info-alert p {
    margin: 0;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.86rem;
    line-height: 1.5;
    font-weight: 600;
    color: var(--text);
}

.info-page .info-alert p i,
#ajax-page-container .info-page .info-alert p i {
    flex-shrink: 0;
    margin-top: 2px;
    font-size: 1rem;
}

.info-page .info-alert-dev,
#ajax-page-container .info-page .info-alert-dev {
    background: rgba(255, 193, 7, 0.14) !important;
    border: 1px solid rgba(255, 193, 7, 0.34) !important;
}

[data-theme="dark"] .info-page .info-alert-dev p,
[data-theme="dark"] #ajax-page-container .info-page .info-alert-dev p {
    color: #fff3cd;
}

/* Фон hero = фон .names99-card (перебиваем общий .info-page .info-hero) */
.info-page .info-card.names99-hero,
#ajax-page-container .info-page .info-card.names99-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%) !important;
    color: #fff;
    border: 1px solid rgba(var(--primary-rgb, 84, 160, 255), 0.22) !important;
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.18) !important;
    position: relative;
    overflow: hidden;
}

.info-page .info-card.names99-hero::before,
#ajax-page-container .info-page .info-card.names99-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: auto;
    height: auto;
    border-radius: 0;
    background: radial-gradient(120px 70px at 92% 6%, rgba(255, 255, 255, 0.2), transparent 72%) !important;
    pointer-events: none;
}

.info-page .info-card.names99-hero::after,
#ajax-page-container .info-page .info-card.names99-hero::after {
    display: none;
}

.info-page .info-card.names99-hero h3,
#ajax-page-container .info-page .info-card.names99-hero h3 {
    background: none !important;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: #fff;
    background-clip: unset;
    color: #fff !important;
}

.info-page .info-card.names99-hero .info-hero-desc,
.info-page .info-card.names99-hero .feature-stat-label,
.info-page .info-card.names99-hero .feature-stat-num,
#ajax-page-container .info-page .info-card.names99-hero .info-hero-desc,
#ajax-page-container .info-page .info-card.names99-hero .feature-stat-label,
#ajax-page-container .info-page .info-card.names99-hero .feature-stat-num {
    color: #fff !important;
}

.info-page .info-card.names99-hero .feature-stat,
#ajax-page-container .info-page .info-card.names99-hero .feature-stat {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.24);
}

.names99-hero-top {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    position: relative;
    z-index: 1;
}

.names99-hero-text {
    width: 100%;
    text-align: center;
}

.names99-hero-text h3 {
    margin: 0 0 4px;
    font-size: 1.15rem;
    text-align: center;
}

.names99-hero-stats {
    margin-top: 14px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.names99-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 10px;
    margin-bottom: 16px;
}

.names99-item {
    position: relative;
}

.names99-modal-toggle {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.names99-card {
    min-height: 132px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 6px;
    border-radius: 14px;
    padding: 14px 10px;
    border: 1px solid rgba(var(--primary-rgb, 84, 160, 255), 0.22);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.18);
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition);
    position: relative;
    overflow: hidden;
}

.names99-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(120px 70px at 92% 6%, rgba(255, 255, 255, 0.2), transparent 72%);
    pointer-events: none;
}

.names99-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 9px 20px rgba(0, 0, 0, 0.22);
}

.names99-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 1;
}

.names99-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 26px;
    padding: 0 8px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.34);
    font-size: 0.76rem;
    font-weight: 700;
}

.names99-open-hint {
    font-size: 0.72rem;
    font-weight: 600;
    opacity: 0.95;
}

.names99-ar {
    font-size: 1.55rem;
    line-height: 1.35;
    font-weight: 700;
    direction: rtl;
    text-align: center;
    position: relative;
    z-index: 1;
}

.names99-tr {
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.25;
    position: relative;
    z-index: 1;
}

.names99-meaning {
    font-size: 0.78rem;
    line-height: 1.35;
    opacity: 0.92;
    position: relative;
    z-index: 1;
}

.info-page .info-card.names99-hero .names99-hero-ayah,
#ajax-page-container .info-page .info-card.names99-hero .names99-hero-ayah {
    color: #fff !important;
    -webkit-text-fill-color: #fff;
}

.names99-hero-ayah {
    margin: 8px 0 6px;
    font-size: 1.35rem;
    line-height: 1.6;
    direction: rtl;
    text-align: center;
    color: #fff;
    font-weight: 700;
}

.names99-modal {
    position: fixed;
    inset: 0;
    z-index: 11000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.names99-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 12, 20, 0.72);
    cursor: pointer;
}

.names99-modal-panel {
    position: relative;
    z-index: 1;
    width: min(620px, 100%);
    max-height: 88vh;
    overflow: auto;
    border-radius: 14px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.32);
    padding: 16px 16px 18px;
}

.names99-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    color: var(--text);
    cursor: pointer;
}

.names99-modal-head-centered {
    display: block;
    text-align: center;
    margin-bottom: 14px;
    padding-right: 40px;
}

.names99-modal-head-centered h3 {
    margin: 0 0 6px;
    font-size: 1.15rem;
    color: var(--text);
}

.names99-modal-meaning {
    margin: 0 0 8px;
    color: var(--text-light);
    font-size: 0.92rem;
}

.names99-modal-head-centered .names99-modal-ar {
    margin: 0;
    font-size: 1.45rem;
    direction: rtl;
    text-align: center;
    font-weight: 700;
    color: var(--primary);
}

.names99-ref-list {
    margin: 0 0 14px;
    padding-left: 18px;
    color: var(--text-light);
    line-height: 1.55;
    font-size: 0.9rem;
}

.names99-related {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 4px;
}

.names99-related-chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(var(--primary-rgb, 84, 160, 255), 0.12);
    border: 1px solid rgba(var(--primary-rgb, 84, 160, 255), 0.22);
    color: var(--text);
    font-size: 0.82rem;
    font-weight: 600;
}

.names99-modal-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    padding-right: 40px;
}

.names99-modal-num {
    width: 44px;
    min-width: 44px;
    height: 44px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
}

.names99-modal-head h3 {
    margin: 0 0 4px;
    font-size: 1.06rem;
    color: var(--text);
}

.names99-modal-ar {
    margin: 0;
    font-size: 1.1rem;
    direction: rtl;
    text-align: right;
    color: var(--text-muted);
}

.names99-modal-body h5 {
    margin: 0 0 7px;
    font-size: 0.77rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--primary);
}

.names99-modal-body p {
    margin: 0 0 12px;
    color: var(--text-light);
    line-height: 1.65;
    font-size: 0.93rem;
}

.names99-modal-body p:last-child {
    margin-bottom: 0;
}

.names99-modal-toggle:checked + .names99-card + .names99-modal {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

@media (max-width: 760px) {
    .names99-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }
    .names99-card {
        min-height: 120px;
    }
}

/* ——— Аяты саджда ——— */
.sajda-page-body {
    max-width: 640px !important;
}

.info-page .info-card.sajda-hero,
#ajax-page-container .info-page .info-card.sajda-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%) !important;
    color: #fff;
    border: 1px solid rgba(var(--primary-rgb, 84, 160, 255), 0.22) !important;
    text-align: center;
}

.info-page .info-card.sajda-hero h3,
#ajax-page-container .info-page .info-card.sajda-hero h3 {
    margin: 0 0 8px;
    color: #fff !important;
    -webkit-text-fill-color: #fff;
    background: none;
}

.info-page .info-card.sajda-hero .info-hero-desc,
#ajax-page-container .info-page .info-card.sajda-hero .info-hero-desc {
    color: #fff !important;
    margin: 0;
}

.sajda-hero-stat {
    margin-top: 12px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 8px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.24);
}

.sajda-hero-stat .feature-stat-num,
.sajda-hero-stat .feature-stat-label {
    color: #fff !important;
}

.sajda-list-card {
    padding: 0 !important;
    overflow: hidden;
}

.sajda-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sajda-list li {
    margin: 0;
    padding: 0;
}

.sajda-item {
    display: block;
    width: 100%;
    padding: 14px 16px;
    border: none;
    border-bottom: 1px solid var(--border);
    background: transparent;
    text-align: left;
    cursor: pointer;
    transition: background var(--transition);
    color: var(--text);
}

.sajda-item:last-child {
    border-bottom: none;
}

.sajda-item:hover {
    background: var(--primary-light);
}

.sajda-item-title {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--text);
}

.sajda-item-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 12px;
    margin-top: 5px;
    font-size: 0.84rem;
    color: var(--text-muted);
}

.sajda-item-juz {
    font-weight: 600;
    color: var(--primary);
}

/* ——— Коранические дуа (rabbana) ——— */
.rabbana-page-body {
    max-width: 720px !important;
}

.info-page .info-card.rabbana-hero,
#ajax-page-container .info-page .info-card.rabbana-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%) !important;
    color: #fff;
    border: 1px solid rgba(var(--primary-rgb, 84, 160, 255), 0.22) !important;
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.18) !important;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.info-page .info-card.rabbana-hero::before,
#ajax-page-container .info-page .info-card.rabbana-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(120px 70px at 92% 6%, rgba(255, 255, 255, 0.2), transparent 72%);
    pointer-events: none;
}

.info-page .info-card.rabbana-hero h3,
#ajax-page-container .info-page .info-card.rabbana-hero h3 {
    margin: 0 0 8px;
    color: #fff !important;
    -webkit-text-fill-color: #fff;
    background: none;
}

.info-page .info-card.rabbana-hero .rabbana-hero-ayah,
.info-page .info-card.rabbana-hero .rabbana-hero-desc,
.info-page .info-card.rabbana-hero .feature-stat-num,
.info-page .info-card.rabbana-hero .feature-stat-label,
#ajax-page-container .info-page .info-card.rabbana-hero .rabbana-hero-ayah,
#ajax-page-container .info-page .info-card.rabbana-hero .rabbana-hero-desc,
#ajax-page-container .info-page .info-card.rabbana-hero .feature-stat-num,
#ajax-page-container .info-page .info-card.rabbana-hero .feature-stat-label {
    color: #fff !important;
}

.rabbana-hero-ayah {
    margin: 6px 0 8px;
    font-size: 1.35rem;
    line-height: 1.65;
    direction: rtl;
    font-weight: 700;
}

.rabbana-hero-desc {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.45;
    opacity: 0.95;
}

.rabbana-hero-stat {
    margin-top: 14px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 8px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.24);
    position: relative;
    z-index: 1;
}

.rabbana-list-card {
    padding: 0 !important;
    overflow: hidden;
}

.rabbana-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.rabbana-dua-item {
    padding: 14px 16px 10px;
    border-bottom: 1px solid var(--border);
}

.rabbana-dua-item:last-child {
    border-bottom: none;
}

.rabbana-dua-head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 10px;
}

.rabbana-dua-num {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 28px;
    padding: 0 8px;
    border-radius: 99px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 800;
}

.rabbana-dua-meta {
    min-width: 0;
    flex: 1;
}

.rabbana-dua-title {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text);
}

.rabbana-dua-ref {
    color: var(--primary);
    font-weight: 800;
    margin-right: 6px;
}

.rabbana-dua-subtitle {
    display: block;
    margin-top: 4px;
    font-style: normal;
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.rabbana-dua-surah {
    margin: 6px 0 0;
    font-size: 0.84rem;
    color: var(--text-muted);
}

.rabbana-dua-surah strong {
    color: var(--text);
}

.rabbana-dua-ayahs {
    margin: 0 -16px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg-card);
}

.rabbana-dua-ayahs .ayah-card {
    margin: 0;
    cursor: pointer;
}

.rabbana-dua-ayahs .ayah-card:hover {
    background: var(--primary-light);
}

.rabbana-dua-ayahs .ayah-header {
    margin-bottom: 4px;
}

.rabbana-dua-ayahs .ayah-actions {
    display: none;
}

.rabbana-ayahs-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 72px;
    padding: 16px;
}

.rabbana-spinner {
    display: inline-block;
    width: 22px;
    height: 22px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    border-top-color: transparent;
    animation: rabbana-spin 0.8s linear infinite;
}

@keyframes rabbana-spin {
    to { transform: rotate(360deg); }
}

.rabbana-ayahs-error {
    margin: 0;
    padding: 14px 16px;
    text-align: center;
    font-size: 0.88rem;
    color: var(--text-muted);
}

/* ——— Пророки в Коране ——— */
.prophets-list-card {
    padding: 0 !important;
    overflow: hidden;
}

.prophets-list {
    display: flex;
    flex-direction: column;
}

.prophets-item {
    border-bottom: 1px solid var(--border);
}

.prophets-item:last-child {
    border-bottom: none;
}

.prophets-item-summary {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    cursor: pointer;
    list-style: none;
    transition: background var(--transition);
}

.prophets-item-summary::-webkit-details-marker {
    display: none;
}

.prophets-item-summary:hover {
    background: var(--primary-light);
}

.prophets-item-num {
    flex-shrink: 0;
    min-width: 28px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-muted);
}

.prophets-item-name {
    flex: 1;
    min-width: 0;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
}

.prophets-item-count {
    flex-shrink: 0;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--primary);
    margin-right: 4px;
}

.prophets-item-chevron {
    flex-shrink: 0;
    font-size: 1rem;
    color: var(--text-muted);
    transition: transform var(--transition);
}

.prophets-item[open] .prophets-item-chevron {
    transform: rotate(180deg);
}

.prophets-item-body {
    padding: 0 12px 12px;
}

.prophets-fragment {
    margin-bottom: 12px;
}

.prophets-fragment:last-child {
    margin-bottom: 0;
}

.prophets-fragment-ref {
    margin: 0 0 6px 4px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--primary);
}

/* ——— Модальное окно «Перейти к аяту» ——— */
.goto-ayah-modal {
    position: fixed;
    inset: 0;
    z-index: 12000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.goto-ayah-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.goto-ayah-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 12, 20, 0.72);
    cursor: pointer;
}

.goto-ayah-modal-panel {
    position: relative;
    z-index: 1;
    width: min(360px, 100%);
    border-radius: 14px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.32);
    padding: 20px 18px 16px;
    text-align: center;
}

.goto-ayah-modal-title {
    margin: 0 0 8px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
}

.goto-ayah-modal-ref {
    margin: 0 0 18px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
}

.goto-ayah-modal-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.goto-ayah-modal-btn {
    flex: 1;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 10px;
    font-family: var(--ui-font);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--transition), border-color var(--transition), color var(--transition);
}

.goto-ayah-modal-cancel {
    border: 1px solid var(--border);
    background: var(--bg-muted);
    color: var(--text);
}

.goto-ayah-modal-cancel:hover {
    background: var(--primary-light);
    border-color: var(--primary);
}

.goto-ayah-modal-confirm {
    border: 1px solid var(--primary);
    background: var(--primary);
    color: #fff;
}

.goto-ayah-modal-confirm:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

body.goto-ayah-modal-open {
    overflow: hidden;
}

.prophets-item-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.topics-item-desc {
    display: block;
    font-size: 0.78rem;
    font-weight: 500;
    line-height: 1.35;
    color: var(--text-light);
}

.muawwidhat-item-ar {
    flex-shrink: 0;
    font-family: var(--arabic-font);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    margin-right: 2px;
}

.muawwidhat-item .prophets-item-summary {
    align-items: flex-start;
}

.muawwidhat-item .prophets-item-num {
    margin-top: 2px;
}

.info-page .sections-hub-card h4,
#ajax-page-container .info-page .sections-hub-card h4 {
    margin-bottom: 12px;
}
.info-page .sections-hub-list,
#ajax-page-container .info-page .sections-hub-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.info-page .sections-hub-link,
#ajax-page-container .info-page .sections-hub-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    background: var(--primary-light);
    border: 1px solid rgba(84,160,255,0.12);
    color: var(--text);
    text-decoration: none !important;
    font-size: 0.92rem;
    font-weight: 600;
}
.info-page .sections-hub-link:hover,
#ajax-page-container .info-page .sections-hub-link:hover {
    border-color: var(--primary);
}
.info-page .sections-hub-link > i:first-child,
#ajax-page-container .info-page .sections-hub-link > i:first-child {
    color: var(--primary);
    font-size: 1.05rem;
    flex-shrink: 0;
}
.info-page .sections-hub-link span,
#ajax-page-container .info-page .sections-hub-link span {
    min-width: 0;
    flex: 1;
    line-height: 1.35;
}
.info-page .sections-hub-link > .bi-chevron-right,
#ajax-page-container .info-page .sections-hub-link > .bi-chevron-right {
    margin-left: auto;
    color: var(--text-muted);
    font-size: 0.85rem;
    flex-shrink: 0;
}

