/* === Fonts ============================================================ */
@font-face {
    font-family: 'kfgqpc_uthmanic_script_hafs';
    src: url('../font/uthmanichafs1_ver18.woff2?v=a_15') format('woff2'),
        url('../font/uthmanichafs1_ver18.woff?v=a_15') format('woff'),
        url('../font/uthmanichafs1_ver18.ttf?v=a_15') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'kfgqpc_uthman_taha_naskh';
    src: url('../font/kfgqpc_uthman_taha_naskh.woff2?v=a_15') format('woff2'),
        url('../font/kfgqpc_uthman_taha_naskh.woff?v=a_15') format('woff'),
        url('../font/kfgqpc_uthman_taha_naskh.ttf?v=a_15') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* === Design Tokens ==================================================== */
:root {
    /* Scale for duaa/hadeth sizes (1 = 100%; default 80% = درجتان أقل) */
    --adhkar-scale: 0.8;

    /* Scale for line-height (1 = 100%) */
    --adhkar-line-scale: 1;

    /* Base font sizes */
    --fs-duaa: 2rem;
    --fs-hadeth-text: 1.6rem;
    --fs-virtue: 1.5rem;
    --fs-hadeth-info: 1.4rem;

    /* Radii & shadow */
    --radius: 12px;
    --radius-sm: 8px;
    --shadow-1: 0 4px 16px rgba(0, 0, 0, .08);
    --shadow-2: 0 20px 60px rgba(0, 0, 0, .18);

    /* Section accents (صباح / مساء) */
    --accent-am: #d97706;
    --accent-am-soft: rgba(217, 119, 6, .12);
    --accent-pm: #4f46e5;
    --accent-pm-soft: rgba(79, 70, 229, .12);

    /* Layout */
    --container: 760px;
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 14px;
    --space-5: 16px;
    --space-6: 20px;
}

/* Color tokens: explicit light/dark + media fallback when no data-theme */
:root[data-theme="light"] {
    --bg: #ffffff;
    --fg: #111111;
    --muted: #666666;
    --card: #f7f7f7;
    --accent: #0d9488;
    --badge: #e9ecef;
    --shadow: rgba(0, 0, 0, .08);
    --border: rgba(0, 0, 0, .08);
    --bg_green: #3a6e3a;
}

:root[data-theme="dark"] {
    --bg: #212a32;
    --fg: #eaeaea;
    --muted: #9aa4b2;
    --card: #181f24;
    --accent: #22d3ee;
    --badge: #27303f;
    --shadow: rgba(0, 0, 0, .4);
    --border: rgba(255, 255, 255, 0.18);
    --bg_green: #5a9a5a;
    --accent-am: #f59e0b;
    --accent-am-soft: rgba(245, 158, 11, .15);
    --accent-pm: #818cf8;
    --accent-pm-soft: rgba(129, 140, 248, .15);
}

:root[data-virtue="hidden"] .virtue {
    display: none;
}


/* Fallback to system preference if no explicit data-theme is set */
@media (prefers-color-scheme: dark) {
    :root:not([data-theme]) {
        --bg: #212a32;
        --fg: #eaeaea;
        --muted: #9aa4b2;
        --card: #181f24;
        --accent: #22d3ee;
        --badge: #27303f;
        --shadow: rgba(0, 0, 0, .4);
        --border: rgba(255, 255, 255, 0.18);
        --bg_green: #5a9a5a;
    }
}

@media (prefers-color-scheme: light) {
    :root:not([data-theme]) {
        --bg: #ffffff;
        --fg: #111111;
        --muted: #666666;
        --card: #f7f7f7;
        --accent: #0d9488;
        --badge: #e9ecef;
        --shadow: rgba(0, 0, 0, .08);
        --border: rgba(0, 0, 0, .08);
        --bg_green: #3a6e3a;
    }
}

/* === Base / Resets ==================================================== */
html {
    background: var(--bg);
    color: var(--fg);
    font-family: "kfgqpc_uthman_taha_naskh", "Noto Naskh Arabic UI", "Tajawal", "Amiri", "Arial", sans-serif;
    line-height: 1.9;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    color-scheme: light dark;
    min-height: 100%;
}

body {
    font-size: 1.3rem;
    margin: 0;
    min-height: 100%;
    padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

img,
svg {
    display: block;
    max-width: 100%;
}

h1,
h2,
h3,
p {
    margin: 0;
}

/* === Layout =========================================================== */
.wrap {
    max-width: var(--container);
    margin: 0 auto;
    padding: calc(12px + env(safe-area-inset-top)) calc(8px + env(safe-area-inset-right)) calc(12px + env(safe-area-inset-bottom)) calc(8px + env(safe-area-inset-left));
}

/* Headers */
header.top,
.top {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 5px 10px 10px 10px;
    backdrop-filter: saturate(180%) blur(10px);
    margin: 0 auto;
}

/* Title */
h1 {
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 400;
}

/* Tabs */
.tabs {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding: 4px;
    margin-top: 4px;
    position: sticky;
    top: 4px;
    z-index: 900;
    background: var(--bg);
    scroll-padding-inline: 50%;
    scroll-behavior: smooth;
}

.tabs::-webkit-scrollbar {
    display: none;
}

.tab {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    scroll-snap-align: start;
    text-align: center;
    padding: 8px 10px;
    border-radius: 6px;
    background: var(--card);
    color: var(--fg);
    border: 1px solid var(--border);
    cursor: pointer;
    user-select: none;
    font-size: 1.2rem;
    font-weight: 400;
    min-inline-size: 42px;
    line-height: 1.6rem;
    scroll-margin-inline: 8px;
}

.tab.active {
    outline: 1px solid var(--accent);
    scroll-snap-align: center;
}

.tab-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    line-height: 0;
}

.tab-icon svg {
    display: block;
    width: 16px;
    height: 16px;
}

html[data-section="am"] .tab.active {
    background: var(--card);
    border-color: var(--accent-am);
    color: var(--accent-am);
    outline-color: var(--accent-am);
}

html[data-section="pm"] .tab.active {
    background: var(--card);
    border-color: var(--accent-pm);
    color: var(--accent-pm);
    outline-color: var(--accent-pm);
}

html[data-section="am"] .top {
    box-shadow: inset 0 -3px 0 var(--accent-am);
}

html[data-section="pm"] .top {
    box-shadow: inset 0 -3px 0 var(--accent-pm);
}

@media (min-width: 768px) {
    .tabs {
        justify-content: center;
    }

    .tab {
        flex: initial;
        padding: 8px 10px;
    }
}

/* Hint text */
.hint {
    font-size: .88rem;
    color: var(--muted);
    margin-top: 8px;
}

/* === Cards ============================================================ */
.card {
    background: var(--card);
    border-radius: var(--radius-sm);
    padding: 14px 14px 12px;
    margin: 14px 0;
    border: 1px solid var(--border);
    /* box-shadow: var(--shadow-1); */
    inline-size: 100%;
    max-inline-size: 100%;
    overflow-x: clip;
}

.head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
}

.head-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.title {
    font-size: 1.2rem;
}

.badge {
    background: var(--badge);
    color: var(--fg);
    border-radius: 999px;
    padding: 2px 16px;
    font-size: 1.6rem;
    white-space: nowrap;
    line-height: 2rem;
}

.duaa {
    text-wrap: balance;
    font-family: "kfgqpc_uthman_taha_naskh", serif;
    font-size: calc(var(--fs-duaa) * var(--adhkar-scale));
    line-height: calc(1.6 * var(--adhkar-line-scale));
    margin: 0;
    text-align: center;
    background-color: transparent;
    inline-size: 100%;
}

.duaa_note {
    font-size: calc(var(--fs-virtue) * var(--adhkar-scale));
    line-height: 2.1rem;
    text-align: center;
    color: var(--accent);
}

/* Uthmani fonts helpers */
.aya {
    font-family: 'kfgqpc_uthmanic_script_hafs', serif;
    max-width: 450px;
    margin: auto;
    text-align: justify;
    text-align-last: center;
}

.othman {
    font-family: 'kfgqpc_uthman_taha_naskh', serif;
}

.meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 8px;
    font-size: 1.2rem;
    justify-content: center;
    align-content: center;
}

.virtue_quote {
    color: var(--accent);
}

/* FIX: remove invalid nested selector, keep font-size on the main class */
.virtue {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 10px;
    background: rgba(99, 102, 241, .10);
    font-size: calc(var(--fs-virtue) * var(--adhkar-scale));
    line-height: calc(1.6 * var(--adhkar-line-scale));
    /*line-height: calc(var(--fs-virtue) * var(--adhkar-scale));*/
    text-align: center;
}

.src {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 2px 16px;
    border-radius: 999px;
    background: rgba(13, 148, 136, .10);
    color: var(--accent);
    font-weight: 700;
}

/* Copy button & icon buttons */
.icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--badge);
    cursor: pointer;
}

.icon-btn svg {
    width: 22px;
    height: 22px;
    fill: var(--fg);
}

.icon-btn:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* .copy-btn extends .icon-btn */

.icon-btn.copied {
    background: var(--bg_green);
    border-color: var(--bg_green);
    color: var(--fg);
}

.icon-btn.copied svg {
    fill: var(--fg);
}

/* Count/Progress */
.card-bottom {
    display: flex;
    align-items: center;
    margin-top: 8px;
}

.count-row {
    display: flex;
    gap: 10px;
    margin-left: 10px;
    justify-content: center;
    align-items: center;
}

.count-bubble {
    text-align: center;
    font-weight: 900;
    margin-top: 0;
    font-size: 1.4rem;
    color: var(--accent);
    white-space: nowrap;
}

.bar {
    width: 100%;
    height: 10px;
    background: rgba(13, 148, 136, .15);
    border-radius: 999px;
    overflow: hidden;
    margin-top: 6px;
}

.bar .fill {
    height: 100%;
    width: 0%;
    background: var(--accent);
    transition: width .2s ease-in-out;
}

.reset-btn {
    border: 1px solid var(--border);
    background: var(--badge);
    color: var(--fg);
    padding: 0;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.4rem;
    line-height: 1;
    width: 40px;
    height: 40px;
}

.reset-btn:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.reset-btn:active {
    transform: scale(.98);
}

/* Tap-able duaa */
.duaa.tap {
    display: block;
    padding: 18px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-1);
    transition: transform .05s ease, background .2s ease, border-color .2s ease;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    appearance: none;
}

.duaa.tap:active {
    transform: scale(.99);
}

.card.done {
    border-color: #10b981 !important;
}

.card.done .duaa.tap {
    background: rgba(16, 185, 129, .10);
}

.card.done .count-bubble {
    color: #10b981;
}

/* Note */
.note {
    padding: var(--space-1);
    background: rgba(13, 148, 136, .08);
    border: 1px solid rgba(13, 148, 136, .25);
    border-radius: var(--radius-sm);
    font-size: var(--fs-virtue);
    line-height: calc(1.6 * var(--adhkar-line-scale));
    color: var(--fg);
    text-align: center;
}

#am .note {
    background: var(--accent-am-soft);
    border-color: color-mix(in srgb, var(--accent-am) 35%, transparent);
}

#pm .note {
    background: var(--accent-pm-soft);
    border-color: color-mix(in srgb, var(--accent-pm) 35%, transparent);
}

/* Time-specific words (صباح / مساء) */
#am .time-word {
    color: var(--accent-am);
    font-size: inherit;
    font-weight: inherit;
}

#pm .time-word {
    color: var(--accent-pm);
    font-size: inherit;
    font-weight: inherit;
}

#am .bar {
    background: color-mix(in srgb, var(--accent-am) 18%, transparent);
}

#am .count-bubble {
    color: var(--accent-am);
}

#am .bar .fill {
    background: var(--accent-am);
}

#pm .bar {
    background: color-mix(in srgb, var(--accent-pm) 18%, transparent);
}

#pm .count-bubble {
    color: var(--accent-pm);
}

#pm .bar .fill {
    background: var(--accent-pm);
}

#am .card {
    border-inline-start: 3px solid color-mix(in srgb, var(--accent-am) 45%, transparent);
}

#pm .card {
    border-inline-start: 3px solid color-mix(in srgb, var(--accent-pm) 45%, transparent);
}

/* Top icons (fontello legacy) */
.top-icons {
    text-decoration: none;
    font-size: 35px;
    line-height: 30px;
    color: var(--muted);
    border: none;
    padding: 0;
    cursor: pointer;
}

.demo-icon {
    font-family: "fontello";
    font-style: normal;
    font-weight: normal;
    fill: var(--fg);
    display: inline-block;
    text-decoration: inherit;
    width: 1em;
    line-height: 1em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Site header/footer */
.site-header {
    display: flex;
    /*gap: 12px;*/
    padding: var(--space-3);
    border-bottom: 1px solid var(--border);
    /*justify-content: center;*/
}

/* ✅ السلايدر التفاعلي */
.slider {
    overflow: hidden;
    position: relative;
    touch-action: pan-y;
    /* نخلي اللمس العمودي طبيعي، والأفقي علينا */
    transition: height .3s ease;
    /* ✅ ارتفاع سلس حسب التبويب الحالي */
}

.brand {
    font-weight: 700;
    text-decoration: none;
    color: inherit;
}

.nav a {
    margin-inline: 6px;
    text-decoration: none;
    color: var(--fg);
    font-size: 1.2rem;
}

.btn-ghost {
    background: var(--muted);
    border-radius: 50%;
    cursor: pointer;
    border: none;
    color: var(--bg);
    line-height: 1;
    font-size: 23px;
    padding: 6px;
}

.btn-ghost .sun {
    display: inline-block;
}

.btn-ghost .moon {
    display: none;
}

html[data-theme="dark"] .btn-ghost .sun {
    display: none;
}

html[data-theme="dark"] .btn-ghost .moon {
    display: inline-block;
}

.site-footer {
    padding: 12px;
    border-top: 1px solid var(--border);
    margin-top: 12px;
    text-align: center;
    color: var(--muted);
}

.site-footer ul {
    display: flex;
    align-items: center;
    justify-content: space-around;
    font-size: 1.3rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer a,
.site-footer-2 a {
    text-decoration: none;
    color: var(--accent);
}

.site-footer-2 a {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
    margin: 16px auto;

}

/* .site-footer-2 */


/* Screen-reader only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* === Keen Slider helpers ============================================= */
.keen-slider {
    align-items: flex-start !important;
}

.keen-slider__slide {
    height: auto !important;
    align-self: flex-start !important;
}

/* === Hadeth Modal ===================================================== */
body.modal-open {
    overflow: hidden;
}

.modal-backdrop[hidden] {
    display: none !important;
}

.modal-backdrop {
    overscroll-behavior: contain;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    overflow: hidden;
}

.modal-box {
    background: var(--bg);
    color: var(--fg);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: var(--shadow-2);
    width: min(92vw, var(--container));
    padding: 18px 18px 14px;
    position: relative;
    direction: rtl;
    display: flex;
    flex-direction: column;
    max-height: 85vh;
    overflow: auto;
    overscroll-behavior: contain;
    margin: 5px;
}

.modal-title {
    font-size: 1.2rem;
    font-weight: 700;
    text-align: center;
    margin: 0 0 8px;
}

.modal-body {
    font-size: calc(var(--fs-hadeth-text) * var(--adhkar-scale));
    line-height: calc(1.6 * var(--adhkar-line-scale));
    text-align: center;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

@supports (padding: max(0px)) {
    .modal-body {
        padding-bottom: max(8px, env(safe-area-inset-bottom));
    }
}

.modal-body .hadeth-text,
.hadeth-text {
    font-size: calc(var(--fs-hadeth-text) * var(--adhkar-scale));
    line-height: calc(1.6 * var(--adhkar-line-scale));
    border-bottom: 1px solid var(--muted);
    padding: 4px 0 10px;
    margin: 0;
    text-align: justify;
}

.modal-body .hadeth-info,
.hadeth-info {
    color: var(--accent);
    font-size: calc(var(--fs-hadeth-info) * var(--adhkar-scale));
    line-height: calc(1.6 * var(--adhkar-line-scale));
    text-align: center;
    margin-top: var(--space-3)
}

.modal-close {
    border: 1px solid var(--border);
    background: var(--badge);
    color: var(--fg);
    border-radius: 999px;
    cursor: pointer;
    font-size: 1rem;
    margin: auto;
    padding: 0 15px;
}

/* === Floating reset button =========================================== */
.reset-fab {
    position: fixed;
    right: max(12px, calc((100vw - var(--container)) / 2 + 12px));
    bottom: max(40px, env(safe-area-inset-bottom));
    z-index: 2140;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    direction: rtl;
    color: var(--accent);
    border: 1px solid var(--accent);
    background: var(--bg);
    box-shadow: 0 10px 30px var(--shadow);
    border-radius: 999px;
    padding: 7px;
    width: auto;
    min-width: 40px;
    max-width: 40px;
    height: 40px;
    overflow: hidden;
    transition: max-width .22s ease, background .2s ease, box-shadow .2s ease;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.reset-fab .icon {
    font-size: 20px;
    line-height: 1;
    display: inline-flex;
    flex-shrink: 0;
}

.theme-btn {
    border: 1px solid rgba(0, 0, 0, .1);
    background: var(--card);
    color: var(--fg);
    padding: 8px 12px;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 2px 10px var(--shadow);
}

.url_icon {
    display: inline-block;
}

.reset-fab .label {
    font-size: 1.2rem;
    padding-inline-start: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transform: translateX(8px);
    transition: opacity .2s ease, transform .2s ease;
}

.reset-fab[aria-expanded="true"] {
    max-width: 300px;
    /* Large enough for the text */
}

.reset-fab[aria-expanded="true"] .label {
    opacity: 1;
    pointer-events: auto;
    transform: none;
}

.reset-fab:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* === PDF links ======================================================== */
/* Legacy styles removed. Modern styling resides in pdf_books.php */

/* === Settings page ==================================================== */
header .page_title {
    color: var(--accent);
    font-size: 1.8rem;
    line-height: 1.2;
}

.settings-card .title {
    font-size: 1.4rem;
}

.settings-list {
    display: grid;
    gap: 10px;
}

/* unified .settings-row (deduped) */
.settings-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    inline-size: 100%;
    max-inline-size: 100%;
    box-sizing: border-box;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--card);
}

.settings-row> :first-child {
    flex: 0 0 auto;
    min-inline-size: 0;
}

.range-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1 1 220px;
    min-inline-size: 0;
}

.range-wrap input[type="range"] {
    inline-size: 100%;
    min-inline-size: 120px;
}

.range-wrap output {
    flex: 0 0 auto;
    min-inline-size: 54px;
    text-align: center;
}

/* Radios: better visibility */
.settings-row input[type="radio"] {
    inline-size: 1.2rem;
    block-size: 1.2rem;
    accent-color: var(--accent);
}

.hr {
    height: 1px;
    background: var(--border);
    margin: 6px 0;
}

.sample.card {
    padding: 12px;
    margin-block-start: 8px;
    overflow-wrap: anywhere;
    inline-size: 100%;
    max-inline-size: 100%;
}

.sample p {
    margin: 6px 0;
}

.sample .duaa {
    background: transparent;
}

@media (max-width: 400px) {
    .settings-row {
        align-items: stretch;
    }

    .range-wrap output {
        align-self: flex-end;
    }
}

/* === Refactored Utilities & Page Styles === */
.text-center {
    text-align: center;
}

.mb-15 {
    margin-bottom: 15px;
}

/* About Page */
.title-lg {
    font-size: 2rem;
    justify-content: center;
    text-align: center;
}

.logo-large {
    height: 80px;
    margin: 0 auto;
}

.text-accent-lg {
    font-size: 110%;
    color: var(--accent);
}

.text-accent-bold {
    font-size: 110%;
    font-weight: 500;
    color: var(--accent);
}

/* PDF Books Page */
.book-card {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    padding: 1.25rem;
    margin: 1rem 0;
    border: 1px solid var(--border);
    gap: 1rem;
    text-align: right;
}

.book-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-2);
    border-color: var(--accent);
}

.book-content {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    flex: 1;
}

.book-number {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    background: var(--accent);
    color: var(--bg);
    border-radius: 50%;
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 4px;
}

.book-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.book-title {
    font-size: 1.25rem;
    line-height: 1.4;
}

.book-author {
    font-size: 1rem;
    color: var(--muted);
}

.book-card .url_icon {
    color: var(--accent);
    opacity: 0.7;
    flex-shrink: 0;
}

.book-card:hover .url_icon {
    opacity: 1;
}

@media (max-width: 480px) {
    .book-title {
        font-size: 1.1rem;
    }
}

/* Help Page */
.container-sm {
    max-width: 900px;
    margin-inline: auto;
    padding: 1rem;
}

.page-heading {
    font-size: 1.6rem;
    margin: .5rem 0;
}

.install-note {
    display: block;
    background: var(--card);
    color: var(--fg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1rem;
    position: relative;
    box-shadow: var(--shadow-1);
    margin-bottom: 2rem;
}

.install-instructions {
    line-height: 1.8;
}

.btn-install {
    padding: .6rem 1rem;
    border-radius: 999px;
    border: 1px solid var(--accent);
    background: var(--accent);
    color: #fff;
    cursor: pointer;
    box-shadow: var(--shadow-1);
    font-size: 1.2rem;
    margin-top: 1rem;
}

.help-details {
    margin-top: 1rem;
    opacity: .9;
    font-size: 1.4rem;
}