﻿        *,
        *::before,
        *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0
        }

        :root {
            --max: 680px;
            --white: #FAFAFA;
            --ink-900: #0A0A0F;
            --ink-700: #2D2D3A;
            --ink-500: #4B4B63;
            --ink-400: #6B6B88;
            --ink-300: #9898B0;
            --ink-200: #C4C4D4;
            --ink-100: #E8E8F0;
            --ink-050: #F4F4F8;
            --violet: #5B4EE8;
            --violet-lt: #F0EEFF;
            --amber: #D97A28;
            --amber-lt: #FEF3E8;
            --sage: #2D8A6E;
            --sage-lt: #E8F5F1;
            --r-xl: 20px;
            --r-l: 16px;
            --r-m: 12px;
            --r-s: 8px;
            --s1: 0 1px 4px rgba(10, 10, 15, .06), 0 2px 12px rgba(10, 10, 15, .06);
            --s2: 0 2px 8px rgba(10, 10, 15, .08), 0 8px 24px rgba(10, 10, 15, .10);
        }

        html {
            background: var(--white);
            color: var(--ink-700);
            font-family: 'Inter', sans-serif;
            -webkit-font-smoothing: antialiased
        }

        body {
            min-height: 100vh;
            background: var(--ink-050)
        }

        a {
            text-decoration: none;
            color: inherit
        }

        button {
            background: none;
            border: none;
            font-family: inherit;
            cursor: pointer
        }

        svg {
            overflow: visible
        }

        .ico {
            fill: none;
            stroke: currentColor;
            stroke-width: 1.8;
            stroke-linecap: round;
            stroke-linejoin: round
        }

        .topbar {
            position: sticky;
            top: 0;
            z-index: 50;
            background: rgba(250, 250, 252, .92);
            backdrop-filter: blur(18px);
            border-bottom: 1px solid var(--ink-100)
        }

        .tb {
            max-width: var(--max);
            margin: 0 auto;
            padding: 12px 18px;
            display: flex;
            align-items: center;
            justify-content: space-between
        }

        .brand {
            display: flex;
            align-items: center;
            gap: 9px
        }

        .brand-mark {
            width: 32px;
            height: 32px;
            background: var(--violet);
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center
        }

        .brand-name {
            font-size: 15px;
            font-weight: 700;
            color: var(--ink-900);
            letter-spacing: -.25px
        }

        .brand-name em {
            font-style: normal;
            color: var(--violet)
        }

        .tb-r {
            display: flex;
            align-items: center;
            gap: 8px
        }

        .streak-tag {
            display: flex;
            align-items: center;
            gap: 5px;
            background: var(--amber-lt);
            color: var(--amber);
            border: 1px solid rgba(217, 122, 40, .15);
            border-radius: 20px;
            padding: 4px 11px;
            font-size: 12px;
            font-weight: 600
        }

        .avatar {
            width: 33px;
            height: 33px;
            border-radius: 50%;
            background: var(--ink-700);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
            font-weight: 600
        }

        .page {
            max-width: var(--max);
            margin: 0 auto;
            padding: 20px 18px 100px;
            display: flex;
            flex-direction: column;
            gap: 20px
        }

        .hero-ibadah {
            padding: 4px 0 8px
        }

        .hero-ibadah h1 {
            font-size: 26px;
            font-weight: 700;
            color: var(--ink-900);
            letter-spacing: -.5px;
            margin-bottom: 4px
        }

        .hero-ibadah p {
            font-size: 13px;
            color: var(--ink-400)
        }

        .cat-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 10px
        }

        .cat-item {
            background: var(--white);
            border: 1px solid var(--ink-100);
            border-radius: var(--r-l);
            padding: 16px 12px;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 8px;
            box-shadow: var(--s1);
            cursor: pointer;
            transition: box-shadow .18s, transform .15s
        }

        .cat-item:hover {
            box-shadow: var(--s2);
            transform: translateY(-2px)
        }

        .cat-ico {
            width: 44px;
            height: 44px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center
        }

        .cat-ico.violet {
            background: var(--brand-lt);
            color: var(--brand)
        }

        .cat-ico.amber {
            background: var(--brand-lt);
            color: var(--brand)
        }

        .cat-ico.sage {
            background: var(--brand-lt);
            color: var(--brand)
        }

        .cat-ico.ink {
            background: var(--brand-lt);
            color: var(--brand)
        }

        .cat-lbl {
            font-size: 11px;
            font-weight: 600;
            color: var(--ink-700);
            text-align: center
        }

        .streak-card {
            background: var(--white);
            border: 1px solid var(--ink-100);
            border-radius: var(--r-l);
            padding: 18px;
            box-shadow: var(--s1)
        }

        .streak-top {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 14px
        }

        .streak-info-title {
            font-size: 13px;
            font-weight: 600;
            color: var(--ink-700)
        }

        .streak-info-title span {
            color: var(--amber)
        }

        .streak-info-sub {
            font-size: 11px;
            color: var(--ink-300);
            margin-top: 2px
        }

        .streak-dots {
            display: flex;
            gap: 5px
        }

        .sd {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: var(--ink-100)
        }

        .sd.done {
            background: var(--amber)
        }

        .sc-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 8px
        }

        .sc {
            background: var(--ink-050);
            border: 1.5px solid var(--ink-100);
            border-radius: var(--r-m);
            padding: 10px 6px;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 6px;
            cursor: pointer;
            transition: all .18s;
            position: relative;
            overflow: hidden
        }

        .sc.done {
            background: var(--violet-lt);
            border-color: var(--violet)
        }

        .sc-ico {
            width: 20px;
            height: 20px;
            color: var(--brand)
        }

        .sc.done .sc-ico {
            color: var(--brand)
        }

        .sc-lbl {
            font-size: 10px;
            font-weight: 500;
            color: var(--ink-500)
        }

        .sc.done .sc-lbl {
            color: var(--violet)
        }

        .sc-tick {
            position: absolute;
            top: 4px;
            right: 5px;
            font-size: 9px;
            color: var(--violet)
        }

        .cc {
            background: var(--white);
            border: 1px solid var(--ink-100);
            border-radius: var(--r-l);
            padding: 18px;
            box-shadow: var(--s1)
        }

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

        .cc-eye {
            font-size: 10px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: .8px;
            color: var(--ink-300)
        }

        .cc-sub {
            font-size: 11px;
            color: var(--ink-300);
            margin-top: 2px
        }

        .cc-foot {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-top: 14px;
            padding-top: 12px;
            border-top: 1px solid var(--ink-050)
        }

        .ref {
            font-size: 11px;
            color: var(--ink-300)
        }

        .acts {
            display: flex;
            gap: 6px
        }

        .act-btn {
            width: 30px;
            height: 30px;
            border-radius: 8px;
            border: 1px solid var(--ink-100);
            color: var(--ink-300);
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all .15s
        }

        .act-btn:hover {
            color: var(--violet);
            border-color: var(--violet)
        }

        .shuffle-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 28px;
            height: 28px;
            border-radius: 8px;
            border: 1px solid var(--ink-100);
            background: var(--ink-050);
            color: var(--ink-300);
            transition: all .18s;
            flex-shrink: 0
        }

        .shuffle-btn:hover {
            background: var(--violet-lt);
            border-color: var(--violet);
            color: var(--violet)
        }

        .quran-resume {
            background: linear-gradient(135deg, #1a1535 0%, #2d2060 100%);
            border-radius: var(--r-l);
            padding: 20px;
            color: white;
            position: relative;
            overflow: hidden;
            cursor: pointer
        }

        .quran-resume::after {
            content: '';
            position: absolute;
            right: -20px;
            top: -20px;
            width: 120px;
            height: 120px;
            border-radius: 50%;
            background: rgba(255, 255, 255, .05)
        }

        .qr-label {
            font-size: 10px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: .8px;
            color: rgba(255, 255, 255, .5);
            margin-bottom: 6px
        }

        .qr-surah {
            font-size: 20px;
            font-weight: 700;
            margin-bottom: 2px
        }

        .qr-ayat {
            font-size: 12px;
            color: rgba(255, 255, 255, .6);
            margin-bottom: 16px
        }

        .qr-foot {
            display: flex;
            align-items: center;
            justify-content: space-between
        }

        .qr-prog {
            flex: 1;
            height: 3px;
            background: rgba(255, 255, 255, .15);
            border-radius: 99px;
            margin-right: 12px;
            overflow: hidden
        }

        .qr-fill {
            height: 100%;
            background: var(--violet);
            border-radius: 99px;
            width: 34%
        }

        .qr-btn {
            background: rgba(255, 255, 255, .15);
            color: white;
            border: 1px solid rgba(255, 255, 255, .2);
            border-radius: 8px;
            padding: 7px 14px;
            font-size: 12px;
            font-weight: 600
        }

        .qr-arabic {
            font-size: 24px;
            font-family: 'Amiri', serif;
            color: rgba(255, 255, 255, .75);
            position: absolute;
            right: 20px;
            bottom: 20px
        }

        .doa-cats {
            display: flex;
            gap: 8px;
            overflow-x: auto;
            padding-bottom: 2px
        }

        .doa-cats::-webkit-scrollbar {
            display: none
        }

        .doa-cat {
            flex-shrink: 0;
            padding: 6px 14px;
            border-radius: 99px;
            border: 1px solid var(--ink-100);
            font-size: 12px;
            font-weight: 500;
            color: var(--ink-400);
            background: var(--white);
            cursor: pointer;
            transition: all .15s
        }

        .doa-cat.on {
            background: var(--violet);
            color: white;
            border-color: var(--violet)
        }

        .doa-item {
            padding: 14px 0;
            border-bottom: 1px solid var(--ink-050)
        }

        .doa-item:last-child {
            border-bottom: none;
            padding-bottom: 0
        }

        .doa-title {
            font-size: 12px;
            font-weight: 600;
            color: var(--ink-700);
            margin-bottom: 8px
        }

        .doa-arabic {
            font-family: 'Amiri', serif;
            font-size: 18px;
            line-height: 1.9;
            direction: rtl;
            text-align: right;
            color: var(--ink-900);
            margin-bottom: 6px
        }

        .doa-trans {
            font-size: 12px;
            color: var(--ink-500);
            line-height: 1.6
        }

        .dzk-tabs {
            display: flex;
            gap: 6px;
            margin-bottom: 14px
        }

        .dzk-tab {
            padding: 6px 14px;
            border-radius: 99px;
            border: 1px solid var(--ink-100);
            font-size: 11px;
            font-weight: 500;
            color: var(--ink-300);
            background: var(--white);
            cursor: pointer;
            transition: all .15s
        }

        .dzk-tab.on {
            background: var(--sage);
            color: white;
            border-color: var(--sage)
        }

        .dzk-item {
            background: var(--ink-050);
            border-radius: var(--r-m);
            padding: 14px;
            margin-bottom: 10px
        }

        .dzk-count {
            font-size: 10px;
            font-weight: 600;
            color: var(--sage);
            margin-bottom: 6px;
            text-transform: uppercase;
            letter-spacing: .5px
        }

        .dzk-arabic {
            font-family: 'Amiri', serif;
            font-size: 18px;
            direction: rtl;
            text-align: right;
            line-height: 1.9;
            color: var(--ink-900);
            margin-bottom: 6px
        }

        .dzk-trans {
            font-size: 12px;
            color: var(--ink-500);
            line-height: 1.6
        }

        .dzk-btn-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-top: 10px
        }

        .dzk-counter {
            font-size: 11px;
            font-weight: 600;
            color: var(--ink-400)
        }

        .dzk-tap {
            width: 36px;
            height: 36px;
            border-radius: 99px;
            background: var(--sage);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            font-weight: 700;
            transition: transform .1s
        }

        .dzk-tap:active {
            transform: scale(.9)
        }

        .tasbih-card {
            background: var(--white);
            border: 1px solid var(--ink-100);
            border-radius: var(--r-l);
            padding: 20px;
            box-shadow: var(--s1);
            text-align: center
        }

        .tasbih-label {
            font-size: 10px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: .8px;
            color: var(--ink-300);
            margin-bottom: 16px
        }

        .tasbih-num {
            font-size: 72px;
            font-weight: 700;
            color: var(--ink-900);
            letter-spacing: -2px;
            line-height: 1;
            margin-bottom: 4px;
            transition: transform .1s
        }

        .tasbih-num.tap {
            transform: scale(.95)
        }

        .tasbih-sub {
            font-size: 12px;
            color: var(--ink-300);
            margin-bottom: 20px
        }

        .tasbih-tap {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            background: var(--violet);
            color: white;
            font-size: 32px;
            font-weight: 700;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 16px;
            box-shadow: 0 4px 20px rgba(91, 78, 232, .35);
            transition: transform .1s, box-shadow .1s
        }

        .tasbih-tap:active {
            transform: scale(.93);
            box-shadow: 0 2px 10px rgba(91, 78, 232, .25)
        }

        .tasbih-actions {
            display: flex;
            gap: 10px;
            justify-content: center
        }

        .tasbih-act {
            padding: 8px 18px;
            border-radius: var(--r-s);
            border: 1px solid var(--ink-100);
            font-size: 12px;
            font-weight: 500;
            color: var(--ink-500);
            background: var(--ink-050);
            transition: all .15s
        }

        .tasbih-act:hover {
            border-color: var(--violet);
            color: var(--violet);
            background: var(--violet-lt)
        }

        .tasbih-targets {
            display: flex;
            gap: 8px;
            justify-content: center;
            margin-top: 14px
        }

        .tt {
            padding: 5px 12px;
            border-radius: 99px;
            font-size: 11px;
            font-weight: 600;
            border: 1px solid var(--ink-100);
            color: var(--ink-400);
            cursor: pointer;
            transition: all .15s
        }

        .tt.on {
            background: var(--violet);
            color: white;
            border-color: var(--violet)
        }

        .arabic {
            font-family: 'Amiri', serif
        }

        .arabic.sm {
            font-size: 18px
        }

        .trans {
            font-size: 13px;
            color: var(--ink-600, #3a3a52);
            line-height: 1.6
        }

        .border-v {
            border-left: 3px solid var(--violet);
            padding-left: 14px
        }

        .latin {
            font-size: 12px;
            color: var(--ink-400);
            font-style: italic;
            line-height: 1.7
        }

        .ap {
            opacity: 0;
            transform: translateY(14px);
            transition: opacity .45s ease, transform .45s ease
        }

        .ap.in {
            opacity: 1;
            transform: translateY(0)
        }

        .nav-shell {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            padding: 0 18px 18px;
            z-index: 100;
            pointer-events: none
        }

        .nav-bar {
            max-width: var(--max);
            margin: 0 auto;
            background: rgba(255, 255, 255, .88);
            backdrop-filter: blur(20px) saturate(160%);
            -webkit-backdrop-filter: blur(20px) saturate(160%);
            border: 1px solid rgba(255, 255, 255, .9);
            border-radius: 22px;
            padding: 8px 6px;
            display: flex;
            align-items: center;
            justify-content: space-around;
            box-shadow: 0 2px 0 rgba(255, 255, 255, .8) inset, 0 10px 36px rgba(10, 10, 15, .12), 0 2px 6px rgba(10, 10, 15, .06);
            pointer-events: all
        }

        .nl {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 3px;
            padding: 7px 12px;
            border-radius: 12px;
            color: var(--ink-300);
            cursor: pointer;
            transition: all .18s;
            -webkit-tap-highlight-color: transparent;
            min-width: 52px;
            flex: 1
        }

        .nl:hover {
            background: var(--ink-050);
            color: var(--ink-700)
        }

        .nl.on {
            color: var(--violet)
        }

        .nl-ico {
            width: 21px;
            height: 21px
        }

        .nl-lbl {
            font-size: 9.5px;
            font-weight: 600;
            letter-spacing: .1px
        }

        .nav-dot {
            width: 4px;
            height: 4px;
            border-radius: 99px;
            background: transparent;
            margin-top: 1px;
            transition: background .18s
        }

        .nl.on .nav-dot {
            background: var(--violet)
        }