﻿        *,
        *::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-100: #E8E8F0;
            --ink-050: #F4F4F8;
            --violet: #5B4EE8;
            --violet-lt: #F0EEFF;
            --sage: #2D8A6E;
            --sage-lt: #E8F5F1;
            --sage-d: #1f6450;
            --amber: #D97A28;
            --amber-lt: #FEF3E8;
            --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(--ink-050);
            color: var(--ink-700);
            font-family: 'Inter', sans-serif;
            -webkit-font-smoothing: antialiased
        }

        body {
            min-height: 100vh
        }

        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 */
        .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;
            gap: 12px
        }

        .back-btn {
            width: 34px;
            height: 34px;
            border-radius: 10px;
            border: 1px solid var(--ink-100);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--ink-500);
            flex-shrink: 0;
            transition: all .15s
        }

        .back-btn:hover {
            background: var(--ink-050);
            color: var(--ink-900)
        }

        .tb-title {
            font-size: 16px;
            font-weight: 700;
            color: var(--ink-900);
            flex: 1
        }

        .tb-act {
            width: 34px;
            height: 34px;
            border-radius: 10px;
            border: 1px solid var(--ink-100);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--ink-400);
            transition: all .15s
        }

        .tb-act:hover,
        .tb-act.on {
            color: var(--sage);
            border-color: var(--sage)
        }

        /* WAKTU TABS */
        .tab-wrap {
            max-width: var(--max);
            margin: 0 auto;
            padding: 16px 18px 0;
            display: flex;
            gap: 8px
        }

        .tab-btn {
            flex: 1;
            padding: 10px 6px;
            border-radius: var(--r-m);
            border: 1.5px solid var(--ink-100);
            font-size: 12px;
            font-weight: 600;
            color: var(--ink-400);
            background: var(--white);
            cursor: pointer;
            transition: all .2s;
            text-align: center
        }

        .tab-btn.on {
            background: var(--sage);
            color: white;
            border-color: var(--sage);
            box-shadow: 0 2px 10px rgba(45, 138, 110, .25)
        }

        /* SUMMARY CARD */
        .summ {
            max-width: var(--max);
            margin: 14px auto 0;
            padding: 0 18px
        }

        .summ-card {
            background: linear-gradient(135deg, var(--sage) 0%, #1f6a52 100%);
            border-radius: var(--r-l);
            padding: 16px 20px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            color: white
        }

        .summ-left {
            display: flex;
            flex-direction: column;
            gap: 2px
        }

        .summ-label {
            font-size: 10px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: .8px;
            color: rgba(255, 255, 255, .65)
        }

        .summ-val {
            font-size: 28px;
            font-weight: 700;
            line-height: 1
        }

        .summ-sub {
            font-size: 11px;
            color: rgba(255, 255, 255, .7);
            margin-top: 2px
        }

        .summ-ring {
            position: relative;
            width: 58px;
            height: 58px
        }

        .ring-bg {
            fill: none;
            stroke: rgba(255, 255, 255, .2);
            stroke-width: 5
        }

        .ring-fill {
            fill: none;
            stroke: white;
            stroke-width: 5;
            stroke-linecap: round;
            transform-origin: center;
            transform: rotate(-90deg);
            transition: stroke-dashoffset .6s ease
        }

        .ring-num {
            position: absolute;
            inset: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 11px;
            font-weight: 700;
            color: white
        }

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

        /* DZIKIR CARD */
        .dz-card {
            background: var(--white);
            border: 1px solid var(--ink-100);
            border-radius: var(--r-l);
            overflow: hidden;
            box-shadow: var(--s1);
            transition: box-shadow .18s
        }

        .dz-card:hover {
            box-shadow: var(--s2)
        }

        .dz-top {
            padding: 18px 18px 14px
        }

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

        .dz-badge {
            display: flex;
            align-items: center;
            gap: 6px
        }

        .dz-num {
            width: 26px;
            height: 26px;
            border-radius: 7px;
            background: var(--sage-lt);
            color: var(--sage);
            font-size: 11px;
            font-weight: 700;
            display: flex;
            align-items: center;
            justify-content: center
        }

        .dz-times {
            font-size: 11px;
            font-weight: 600;
            color: var(--sage);
            background: var(--sage-lt);
            padding: 3px 8px;
            border-radius: 99px
        }

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

        .dz-bm:hover,
        .dz-bm.saved {
            color: var(--amber);
            border-color: var(--amber)
        }

        .dz-arabic {
            font-family: 'Amiri', serif;
            font-size: 20px;
            line-height: 2;
            direction: rtl;
            text-align: right;
            color: var(--ink-900);
            margin-bottom: 8px
        }

        .dz-latin {
            font-size: 11px;
            color: var(--ink-400);
            font-style: italic;
            line-height: 1.7;
            margin-bottom: 6px
        }

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

        .dz-ref {
            font-size: 10px;
            color: var(--ink-300);
            margin-top: 8px
        }

        /* PROGRESS + COUNTER */
        .dz-bottom {
            padding: 0 18px 18px
        }

        .dz-prog-bar {
            height: 4px;
            background: var(--ink-100);
            border-radius: 99px;
            overflow: hidden;
            margin-bottom: 12px
        }

        .dz-prog-fill {
            height: 100%;
            background: var(--sage);
            border-radius: 99px;
            transition: width .3s ease
        }

        .dz-counter-row {
            display: flex;
            align-items: center;
            justify-content: space-between
        }

        .dz-counter-info {
            display: flex;
            flex-direction: column;
            gap: 2px
        }

        .dz-count-big {
            font-size: 22px;
            font-weight: 700;
            color: var(--ink-900);
            line-height: 1
        }

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

        .dz-btns {
            display: flex;
            align-items: center;
            gap: 8px
        }

        .dz-undo {
            width: 36px;
            height: 36px;
            border-radius: 10px;
            border: 1px solid var(--ink-100);
            color: var(--ink-400);
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all .15s
        }

        .dz-undo:hover {
            border-color: var(--ink-300);
            color: var(--ink-700)
        }

        .dz-tap {
            width: 52px;
            height: 52px;
            border-radius: 50%;
            background: var(--sage);
            color: white;
            font-size: 24px;
            font-weight: 700;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 3px 14px rgba(45, 138, 110, .30);
            transition: transform .1s, box-shadow .1s
        }

        .dz-tap:active {
            transform: scale(.92);
            box-shadow: 0 1px 6px rgba(45, 138, 110, .20)
        }

        .dz-done-badge {
            background: var(--sage-lt);
            color: var(--sage);
            border-radius: var(--r-m);
            padding: 8px 16px;
            font-size: 12px;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 6px
        }

        /* SELESAI STATE */
        .dz-card.selesai .dz-prog-fill {
            background: var(--sage)
        }

        .dz-card.selesai .dz-tap {
            background: var(--sage-d);
            opacity: .5;
            pointer-events: none
        }

        /* FADE-IN */
        .ap {
            opacity: 0;
            transform: translateY(12px);
            transition: opacity .4s ease, transform .4s ease
        }

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

        /* NAV */
        .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);
            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;
            flex: 1
        }

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

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

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

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

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