/* ==========================================================
   Tabungan Umroh — mobile-first, banking-app look
   ========================================================== */

:root {
    --indigo: #4F46E5;
    --indigo-600: #4338CA;
    --violet: #8B5CF6;
    --pink: #EC4899;
    --sky: #38BDF8;
    --ink: #1F1B3A;
    --muted: #635F82;
    --muted-2: #8B87A6;
    --bg: #F3F0FF;
    --green: #0EA45C;
    --green-soft: #E4F8EE;
    --red: #E11D48;
    --red-soft: #FFEBF0;
    --amber: #F59E0B;
    --line: rgba(31, 27, 58, .08);
    --card: rgba(255, 255, 255, .72);
    --radius: 22px;
    --shadow-card: 0 18px 40px -26px rgba(31, 27, 58, .38);
    --grad: linear-gradient(135deg, #4F46E5 0%, #6D5AE6 48%, #8B5CF6 100%);
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    min-height: 100dvh;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
svg { display: block; flex: none; }
.flip { transform: rotate(180deg); }

/* ---------- latar dekoratif ---------- */
.bg-orbs { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; }
.orb-1 { width: 320px; height: 320px; background: #B9AAFF; top: -110px; left: -90px; }
.orb-2 { width: 280px; height: 280px; background: #FFC7E4; top: 32%; right: -120px; opacity: .45; }
.orb-3 { width: 340px; height: 340px; background: #A8E5FF; bottom: -140px; left: -60px; opacity: .35; }

/* ---------- shell ---------- */
.app {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    padding: 8px 18px calc(112px + env(safe-area-inset-bottom));
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.app.no-tabbar { padding-bottom: calc(24px + env(safe-area-inset-bottom)); }

@media (min-width: 620px) {
    .app { max-width: 460px; }
    body { background: radial-gradient(120% 80% at 50% 0%, #F7F4FF 0%, #EDE9FE 60%, #E9E5FF 100%); }
}

/* ---------- topbar ---------- */
.topbar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 2px 2px;
}
.topbar-titles { flex: 1; min-width: 0; }
.topbar-sub {
    font-size: 12px;
    font-weight: 500;
    color: var(--muted);
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.topbar-title {
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.22;
    /* sapaan memakai nama lengkap: izinkan 2 baris, jangan dipotong ellipsis */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    overflow-wrap: anywhere;
}
.avatar {
    flex: none;
    width: 44px; height: 44px;
    border-radius: 15px;
    background: var(--grad);
    color: #fff;
    display: grid; place-items: center;
    font-size: 14px; font-weight: 700;
    letter-spacing: .02em;
    box-shadow: 0 10px 22px -10px rgba(79, 70, 229, .8);
    border: 1.5px solid rgba(255, 255, 255, .55);
}
.icon-btn {
    flex: none;
    width: 42px; height: 42px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .75);
    border: 1px solid rgba(255, 255, 255, .9);
    display: grid; place-items: center;
    color: var(--ink);
    box-shadow: 0 8px 18px -14px rgba(31, 27, 58, .5);
    transition: transform .15s ease, background .15s ease;
}
.icon-btn:active { transform: scale(.94); }
.icon-btn.ghost { background: transparent; border-color: transparent; box-shadow: none; }

/* ---------- kartu hero ---------- */
.hero {
    position: relative;
    overflow: hidden;
    border-radius: 26px;
    padding: 22px 20px 18px;
    color: #fff;
    background: var(--grad);
    box-shadow: 0 26px 50px -24px rgba(79, 70, 229, .72);
}
.hero::before {
    content: "";
    position: absolute;
    width: 230px; height: 230px;
    border-radius: 50%;
    top: -120px; right: -80px;
    background: radial-gradient(circle at 40% 40%, rgba(255, 255, 255, .38), rgba(255, 255, 255, 0) 68%);
}
.hero::after {
    content: "";
    position: absolute;
    width: 190px; height: 190px;
    border-radius: 50%;
    bottom: -130px; left: -40px;
    border: 22px solid rgba(255, 255, 255, .09);
}
.hero > * { position: relative; z-index: 1; }
.hero-top {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    margin-bottom: 10px;
}
.hero-label {
    font-size: 11.5px; font-weight: 600;
    letter-spacing: .09em; text-transform: uppercase;
    color: rgba(255, 255, 255, .82);
}
.hero-chip {
    font-size: 11px; font-weight: 700;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .2);
    border: 1px solid rgba(255, 255, 255, .3);
    backdrop-filter: blur(6px);
    white-space: nowrap;
}
.hero-amount {
    font-size: clamp(29px, 8.4vw, 34px);
    font-weight: 800;
    letter-spacing: -.03em;
    font-variant-numeric: tabular-nums;
    line-height: 1.15;
}
.hero-target {
    margin-top: 4px;
    font-size: 12.5px;
    font-weight: 500;
    color: rgba(255, 255, 255, .82);
}
.progress {
    margin: 16px 0 4px;
    height: 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .26);
    overflow: hidden;
}
.progress-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #fff, #E9E4FF);
    box-shadow: 0 0 12px rgba(255, 255, 255, .7);
    transition: width .7s cubic-bezier(.22, 1, .36, 1);
}
.progress-meta {
    display: flex; justify-content: space-between;
    font-size: 11px; font-weight: 600; color: rgba(255, 255, 255, .8);
}
.hero-foot {
    display: flex;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, .18);
    gap: 12px;
}
.hero-foot > div { flex: 1; min-width: 0; }
.hero-foot small {
    display: block;
    font-size: 10.5px; font-weight: 600;
    letter-spacing: .06em; text-transform: uppercase;
    color: rgba(255, 255, 255, .74);
    margin-bottom: 3px;
}
.hero-foot strong {
    font-size: 13.5px; font-weight: 700;
    font-variant-numeric: tabular-nums;
    letter-spacing: -.01em;
    display: block;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hero-foot > div + div { border-left: 1px solid rgba(255, 255, 255, .18); padding-left: 12px; }

/* ---------- aksi cepat ---------- */
.quick {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}
.quick-item {
    background: rgba(255, 255, 255, .68);
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: 18px;
    padding: 12px 6px 10px;
    display: flex; flex-direction: column; align-items: center; gap: 7px;
    box-shadow: 0 12px 26px -22px rgba(31, 27, 58, .7);
    transition: transform .15s ease;
}
.quick-item:active { transform: scale(.96); }
.quick-ico {
    width: 38px; height: 38px;
    border-radius: 13px;
    display: grid; place-items: center;
    background: linear-gradient(135deg, rgba(79, 70, 229, .12), rgba(139, 92, 246, .16));
    color: var(--indigo);
}
.quick-item span.quick-label {
    font-size: 10.7px; font-weight: 600; color: var(--ink);
    text-align: center; line-height: 1.2;
}

/* ---------- kartu umum ---------- */
.card {
    background: var(--card);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, .85);
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: var(--shadow-card);
}
.card.tight { padding: 14px; }
.card.flat { box-shadow: none; }

.card-head {
    display: flex; align-items: center; justify-content: space-between;
    gap: 10px; margin-bottom: 12px;
}
.card-head h2 {
    font-size: 14.5px; font-weight: 700; letter-spacing: -.01em;
}
.card-head p { font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.link-more {
    display: inline-flex; align-items: center; gap: 3px;
    font-size: 12px; font-weight: 600; color: var(--indigo);
    white-space: nowrap;
}
.link-more svg { width: 14px; height: 14px; }

.section-title {
    font-size: 15px; font-weight: 700; letter-spacing: -.01em;
    padding: 0 2px;
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.section-title small { font-size: 11.5px; font-weight: 500; color: var(--muted); }

.stack { display: flex; flex-direction: column; gap: 14px; }
.stack-lg { display: flex; flex-direction: column; gap: 20px; }
.row { display: flex; align-items: center; gap: 12px; }

/* ---------- ringkasan kecil (2 kolom) ---------- */
.mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mini {
    background: rgba(255, 255, 255, .62);
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: 18px;
    padding: 14px;
    display: flex; flex-direction: column; gap: 8px;
    box-shadow: 0 12px 26px -24px rgba(31, 27, 58, .8);
}
.mini-ico {
    width: 32px; height: 32px; border-radius: 11px;
    display: grid; place-items: center;
    background: rgba(79, 70, 229, .1); color: var(--indigo);
}
.mini-label { font-size: 11px; font-weight: 600; color: var(--muted); }
.mini-value {
    font-size: 14px; font-weight: 700; letter-spacing: -.02em;
    font-variant-numeric: tabular-nums;
}
.mini-value.sm { font-size: 12.5px; }

/* ---------- daftar transaksi ---------- */
.tx-list { display: flex; flex-direction: column; }
.tx {
    display: flex; align-items: center; gap: 12px;
    padding: 11px 0;
    border-bottom: 1px solid var(--line);
}
.tx:last-child { border-bottom: 0; padding-bottom: 2px; }
.tx:first-child { padding-top: 4px; }
.tx-ico {
    width: 40px; height: 40px; border-radius: 14px;
    display: grid; place-items: center;
    background: linear-gradient(135deg, rgba(79, 70, 229, .1), rgba(139, 92, 246, .16));
    color: var(--indigo);
    flex: none;
}
.tx-body { flex: 1; min-width: 0; }
.tx-title {
    font-size: 13.2px; font-weight: 600;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.tx-meta { font-size: 11px; color: var(--muted); margin-top: 2px; }
.tx-amt {
    font-size: 13.2px; font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: var(--green);
    white-space: nowrap;
}
.tx-amt small { display: block; font-size: 10px; font-weight: 500; color: var(--muted-2); text-align: right; margin-top: 2px; }

.tx-day {
    font-size: 11px; font-weight: 700; color: var(--muted-2);
    letter-spacing: .06em; text-transform: uppercase;
    margin: 16px 0 2px;
}
.tx-day:first-child { margin-top: 0; }

/* ---------- pill / badge ---------- */
.pill {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 10.5px; font-weight: 700;
    padding: 4px 9px; border-radius: 999px;
    background: rgba(79, 70, 229, .1); color: var(--indigo);
    white-space: nowrap;
}
.pill.green { background: var(--green-soft); color: var(--green); }
.pill.amber { background: #FFF6E5; color: #B45309; }
.pill.red { background: var(--red-soft); color: var(--red); }
.pill.gray { background: rgba(31, 27, 58, .06); color: var(--muted); }

/* ---------- tombol ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 50px; padding: 0 20px;
    border: 0; border-radius: 16px;
    font-size: 14.5px; font-weight: 700; letter-spacing: -.01em;
    cursor: pointer;
    background: var(--grad);
    color: #fff;
    box-shadow: 0 16px 30px -16px rgba(79, 70, 229, .85);
    transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}
.btn:active { transform: scale(.985); }
.btn[disabled] { opacity: .55; pointer-events: none; }
.btn-block { width: 100%; }
.btn-sm { height: 42px; padding: 0 16px; font-size: 13px; border-radius: 13px; }
.btn-ghost {
    background: rgba(255, 255, 255, .8);
    color: var(--ink);
    border: 1px solid rgba(31, 27, 58, .1);
    box-shadow: none;
}
.btn-soft {
    background: rgba(79, 70, 229, .1);
    color: var(--indigo);
    box-shadow: none;
}
.btn-danger {
    background: var(--red-soft);
    color: var(--red);
    box-shadow: none;
}
.btn-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* ---------- form ---------- */
.field { display: flex; flex-direction: column; gap: 7px; }
.field > label {
    font-size: 12px; font-weight: 600; color: var(--muted);
    padding-left: 2px;
}
.input, .select, textarea.input {
    width: 100%;
    height: 50px;
    padding: 0 14px;
    border-radius: 14px;
    border: 1px solid rgba(31, 27, 58, .1);
    background: rgba(255, 255, 255, .88);
    font-size: 14px; font-weight: 500;
    outline: none;
    transition: border-color .15s ease, box-shadow .15s ease;
    -webkit-appearance: none;
    appearance: none;
}
textarea.input { height: auto; min-height: 84px; padding: 13px 14px; resize: vertical; line-height: 1.5; }
.input::placeholder, textarea.input::placeholder { color: var(--muted-2); font-weight: 400; }
.input:focus, .select:focus, textarea.input:focus {
    border-color: var(--indigo);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, .14);
    background: #fff;
}
.select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23635F82' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}
.input-affix { position: relative; }
.input-affix .affix {
    position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
    font-size: 13px; font-weight: 700; color: var(--muted);
    pointer-events: none;
}
.input-affix .input { padding-left: 42px; }
.amount-input {
    height: 60px;
    font-size: 21px; font-weight: 800; letter-spacing: -.02em;
    font-variant-numeric: tabular-nums;
    padding-left: 46px !important;
}
.input-affix.lg .affix { font-size: 15px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
    border: 1px solid rgba(31, 27, 58, .1);
    background: rgba(255, 255, 255, .85);
    border-radius: 999px;
    padding: 8px 13px;
    font-size: 12px; font-weight: 600;
    color: var(--muted);
    cursor: pointer;
    transition: all .15s ease;
}
.chip:active { transform: scale(.96); }
.chip.on {
    background: rgba(79, 70, 229, .1);
    border-color: rgba(79, 70, 229, .45);
    color: var(--indigo);
}
.field-hint { font-size: 11px; color: var(--muted-2); padding-left: 2px; }
.form-error {
    font-size: 12.5px; font-weight: 600;
    color: var(--red);
    background: var(--red-soft);
    padding: 10px 12px;
    border-radius: 12px;
}

/* ---------- flash toast ---------- */
.flash-stack {
    position: fixed;
    left: 50%; transform: translateX(-50%);
    top: calc(12px + env(safe-area-inset-top));
    width: min(444px, calc(100% - 36px));
    display: flex; flex-direction: column; gap: 8px;
    z-index: 90;
}
.flash {
    display: flex; align-items: center; gap: 9px;
    padding: 12px 14px;
    border-radius: 15px;
    font-size: 12.8px; font-weight: 600;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, .9);
    box-shadow: 0 18px 36px -20px rgba(31, 27, 58, .55);
    animation: toastIn .35s cubic-bezier(.22, 1, .36, 1);
}
.flash-success { color: #06663B; }
.flash-success .flash-ico { color: var(--green); }
.flash-error { color: #9F1239; }
.flash-error .flash-ico { color: var(--red); }
.flash-info { color: var(--ink); }
.flash-info .flash-ico { color: var(--indigo); }
@keyframes toastIn {
    from { opacity: 0; transform: translateY(-12px) scale(.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ---------- tabbar ---------- */
.tabbar {
    position: fixed;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: min(480px, 100%);
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2px;
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .88);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-top: 1px solid rgba(31, 27, 58, .07);
    box-shadow: 0 -14px 30px -24px rgba(31, 27, 58, .5);
    z-index: 60;
}
.tab {
    display: flex; flex-direction: column; align-items: center; gap: 3px;
    padding: 6px 2px 4px;
    border-radius: 14px;
    color: var(--muted-2);
    transition: color .18s ease, background .18s ease;
}
.tab-ico {
    width: 38px; height: 26px;
    display: grid; place-items: center;
    border-radius: 10px;
    transition: background .18s ease, color .18s ease;
}
.tab-label { font-size: 9.6px; font-weight: 600; letter-spacing: -.01em; }
.tab.is-active { color: var(--indigo); }
.tab.is-active .tab-ico { background: rgba(79, 70, 229, .12); }
.tab.is-active .tab-label { font-weight: 700; }
.tab:active { background: rgba(79, 70, 229, .06); }

/* ---------- checklist ---------- */
.check-group { padding: 16px 16px 6px; }
.check-group-head {
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 4px;
}
.check-group-head .tx-ico { width: 36px; height: 36px; border-radius: 12px; }
.check-group-head h3 { font-size: 13.5px; font-weight: 700; flex: 1; }
.check-group-head .pill { font-size: 10px; }

.check-item {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 2px;
    border-bottom: 1px solid var(--line);
    cursor: pointer;
    margin: 0;
}
.check-item:last-of-type { border-bottom: 0; }
.check-item > label {
    display: flex; align-items: center; gap: 12px;
    width: 100%; cursor: pointer;
}
.check-item.is-busy { opacity: .6; }
.check-box {
    position: relative;
    width: 23px; height: 23px; flex: none;
    border-radius: 8px;
    border: 1.8px solid rgba(31, 27, 58, .18);
    background: rgba(255, 255, 255, .9);
    display: grid; place-items: center;
    transition: all .18s ease;
}
.check-box svg { width: 14px; height: 14px; color: #fff; opacity: 0; transform: scale(.6); transition: all .18s ease; }
.check-item input { position: absolute; opacity: 0; pointer-events: none; }
.check-item input:checked + .check-box {
    background: var(--grad);
    border-color: transparent;
    box-shadow: 0 8px 16px -8px rgba(79, 70, 229, .9);
}
.check-item input:checked + .check-box svg { opacity: 1; transform: scale(1); }
.check-item.is-done .check-text { color: var(--muted-2); text-decoration: line-through; text-decoration-color: rgba(31, 27, 58, .25); }
.check-text { font-size: 13px; font-weight: 500; line-height: 1.35; transition: color .18s ease; }

.progress-line {
    height: 7px; border-radius: 999px;
    background: rgba(31, 27, 58, .07);
    overflow: hidden;
}
.progress-line > span {
    display: block; height: 100%; border-radius: 999px;
    background: var(--grad);
    transition: width .6s cubic-bezier(.22, 1, .36, 1);
}
.progress-line.green > span { background: linear-gradient(90deg, #10B981, #34D399); }

/* ---------- simulasi ---------- */
.result-card {
    background: linear-gradient(150deg, rgba(79, 70, 229, .97), rgba(139, 92, 246, .97));
    color: #fff;
    border-radius: 22px;
    padding: 20px;
    box-shadow: 0 24px 46px -24px rgba(79, 70, 229, .8);
    position: relative; overflow: hidden;
}
.result-card::after {
    content: ""; position: absolute;
    width: 180px; height: 180px; border-radius: 50%;
    top: -100px; right: -60px;
    background: radial-gradient(circle, rgba(255, 255, 255, .3), transparent 70%);
}
.result-card .rc-label { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .78); }
.result-card .rc-value { font-size: 28px; font-weight: 800; letter-spacing: -.03em; margin-top: 4px; font-variant-numeric: tabular-nums; }
.result-card .rc-sub { font-size: 12px; color: rgba(255, 255, 255, .82); margin-top: 4px; }
.rc-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 12px; margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, .2);
}
.rc-grid small { display: block; font-size: 10.5px; text-transform: uppercase; letter-spacing: .05em; color: rgba(255, 255, 255, .74); margin-bottom: 3px; }
.rc-grid strong { font-size: 13.5px; font-weight: 700; font-variant-numeric: tabular-nums; }

.timeline { display: flex; flex-direction: column; gap: 0; }
.tl-row {
    display: flex; align-items: center; gap: 12px;
    padding: 9px 0;
    font-size: 12.5px;
}
.tl-row + .tl-row { border-top: 1px dashed rgba(31, 27, 58, .1); }
.tl-dot {
    width: 9px; height: 9px; border-radius: 50%;
    background: rgba(79, 70, 229, .35); flex: none;
}
.tl-row.now .tl-dot { background: var(--indigo); box-shadow: 0 0 0 4px rgba(79, 70, 229, .15); }
.tl-row.done .tl-dot { background: var(--green); }
.tl-month { font-weight: 700; width: 74px; flex: none; font-variant-numeric: tabular-nums; }
.tl-amt { margin-left: auto; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.tl-row.now .tl-amt { color: var(--ink); font-weight: 700; }

/* ---------- auth ---------- */
.auth {
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
    padding: 26px 20px calc(30px + env(safe-area-inset-bottom));
    min-height: 100dvh;
    display: flex; flex-direction: column; justify-content: flex-start;
    gap: 22px;
}
/* tetap terasa di tengah di layar tinggi, tapi tidak terpotong di layar pendek */
.auth > :first-child { margin-top: auto; }
.auth > :last-child { margin-bottom: auto; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand-mark {
    width: 46px; height: 46px; border-radius: 15px;
    background: var(--grad); color: #fff;
    display: grid; place-items: center;
    box-shadow: 0 14px 26px -14px rgba(79, 70, 229, .9);
    border: 1.5px solid rgba(255, 255, 255, .5);
}
.brand-name { font-size: 16px; font-weight: 800; letter-spacing: -.02em; }
.brand-sub { font-size: 11.5px; color: var(--muted); }
.auth-title { font-size: 26px; font-weight: 800; letter-spacing: -.035em; line-height: 1.15; }
.auth-desc { font-size: 13px; color: var(--muted); line-height: 1.55; margin-top: 8px; }
.auth-foot { text-align: center; font-size: 13px; color: var(--muted); }
.auth-foot a { color: var(--indigo); font-weight: 700; }
.divider { display: flex; align-items: center; gap: 12px; color: var(--muted-2); font-size: 11px; font-weight: 600; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: rgba(31, 27, 58, .1); }

.auth-hero-card {
    position: relative;
    overflow: hidden;
    border-radius: 26px;
    padding: 24px 22px;
    color: #fff;
    background: var(--grad);
    box-shadow: 0 26px 50px -24px rgba(79, 70, 229, .7);
}
.auth-hero-card::before {
    content: ""; position: absolute;
    width: 220px; height: 220px; border-radius: 50%;
    top: -110px; right: -70px;
    background: radial-gradient(circle at 40% 40%, rgba(255, 255, 255, .35), transparent 68%);
}
.auth-hero-card > * { position: relative; z-index: 1; }
.auth-hero-card .ah-label { font-size: 11px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: rgba(255, 255, 255, .8); }
.auth-hero-card .ah-amount { font-size: 30px; font-weight: 800; letter-spacing: -.03em; margin-top: 6px; font-variant-numeric: tabular-nums; }
.auth-hero-card .ah-sub { font-size: 12.5px; color: rgba(255, 255, 255, .85); margin-top: 6px; line-height: 1.5; }

/* ---------- profil ---------- */
.profile-head {
    display: flex; flex-direction: column; align-items: center;
    gap: 10px; padding: 6px 0 2px; text-align: center;
}
.profile-avatar {
    width: 76px; height: 76px; border-radius: 26px;
    background: var(--grad); color: #fff;
    display: grid; place-items: center;
    font-size: 25px; font-weight: 800; letter-spacing: -.02em;
    box-shadow: 0 20px 36px -18px rgba(79, 70, 229, .9);
    border: 2px solid rgba(255, 255, 255, .6);
}
.profile-name { font-size: 17px; font-weight: 700; letter-spacing: -.02em; }
.profile-email { font-size: 12.5px; color: var(--muted); }

.menu-list { display: flex; flex-direction: column; }
.menu-item {
    display: flex; align-items: center; gap: 12px;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
}
.menu-item:last-child { border-bottom: 0; }
.menu-item .tx-ico { width: 36px; height: 36px; border-radius: 12px; }
.menu-item strong { font-size: 13px; font-weight: 600; display: block; }
.menu-item span.menu-sub { font-size: 11.5px; color: var(--muted); }
.menu-item .chev { margin-left: auto; color: var(--muted-2); }

/* ---------- empty state ---------- */
.empty {
    text-align: center;
    padding: 26px 18px 22px;
    display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.empty-ico {
    width: 58px; height: 58px; border-radius: 20px;
    display: grid; place-items: center;
    background: linear-gradient(135deg, rgba(79, 70, 229, .12), rgba(139, 92, 246, .18));
    color: var(--indigo);
    margin-bottom: 4px;
}
.empty h3 { font-size: 14px; font-weight: 700; }
.empty p { font-size: 12.3px; color: var(--muted); line-height: 1.55; max-width: 260px; }

/* ---------- util ---------- */
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 14px; }
.mt-4 { margin-top: 20px; }
.text-muted { color: var(--muted); }
.tnum { font-variant-numeric: tabular-nums; }
.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;
}

/* ---------- animasi masuk ---------- */
.reveal { opacity: 0; animation: revealUp .5s cubic-bezier(.22, 1, .36, 1) forwards; }
.reveal:nth-child(1) { animation-delay: .02s; }
.reveal:nth-child(2) { animation-delay: .07s; }
.reveal:nth-child(3) { animation-delay: .12s; }
.reveal:nth-child(4) { animation-delay: .17s; }
.reveal:nth-child(5) { animation-delay: .22s; }
.reveal:nth-child(6) { animation-delay: .27s; }
.reveal:nth-child(7) { animation-delay: .32s; }
@keyframes revealUp {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
    .reveal, .flash { animation: none; opacity: 1; }
    .progress-fill, .progress-line > span { transition: none; }
}

/* ==========================================================
   Komponen multi-role
   ========================================================== */

.topbar-brand { flex: none; display: flex; align-items: center; }
.travel-logo {
    object-fit: cover;
    border-radius: 13px;
    background: #fff;
    border: 1.5px solid rgba(255, 255, 255, .9);
    box-shadow: 0 8px 18px -12px rgba(31, 27, 58, .55);
}
.brand-mark.sm {
    border-radius: 13px;
    font-weight: 800;
    letter-spacing: -.02em;
    display: grid; place-items: center;
    background: var(--grad); color: #fff;
    box-shadow: 0 8px 18px -12px rgba(79, 70, 229, .8);
    border: 1.5px solid rgba(255, 255, 255, .5);
    flex: none;
}

/* ---- daftar orang / entitas ---- */
.list-card { padding: 8px 16px 10px; }
.list-row {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}
.list-row:last-child { border-bottom: 0; }
a.list-row { transition: background .15s ease; }
a.list-row:active { background: rgba(79, 70, 229, .05); }
.avatarsm {
    flex: none;
    width: 42px; height: 42px; border-radius: 14px;
    display: grid; place-items: center;
    background: linear-gradient(135deg, rgba(79, 70, 229, .14), rgba(139, 92, 246, .2));
    color: var(--indigo);
    font-size: 13px; font-weight: 800;
    letter-spacing: -.01em;
}
.list-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.list-title {
    font-size: 13.4px; font-weight: 700; letter-spacing: -.01em;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.list-sub {
    font-size: 11px; color: var(--muted);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.list-right { flex: none; text-align: right; display: flex; flex-direction: column; gap: 2px; }
.list-right strong { font-size: 13px; font-weight: 700; }
.list-right small { font-size: 10.5px; color: var(--muted); font-weight: 600; }
.bar {
    display: block;
    height: 5px; border-radius: 999px;
    background: rgba(31, 27, 58, .08);
    overflow: hidden;
    margin-top: 4px;
}
.bar > i {
    display: block; height: 100%; border-radius: 999px;
    background: var(--grad);
    transition: width .6s cubic-bezier(.22, 1, .36, 1);
}
.bar.green > i { background: linear-gradient(90deg, #10B981, #34D399); }

/* ---- pencarian ---- */
.search {
    display: flex; align-items: center; gap: 9px;
    min-width: 0;
    height: 46px;
    padding: 0 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .82);
    border: 1px solid rgba(255, 255, 255, .95);
    box-shadow: 0 10px 22px -20px rgba(31, 27, 58, .8);
    color: var(--muted);
}
.search input {
    flex: 1; min-width: 0;
    border: 0; outline: none; background: transparent;
    font-size: 13.5px; font-weight: 500; color: var(--ink);
}
.search input::placeholder { color: var(--muted-2); font-weight: 400; }
.search button {
    border: 0; background: transparent; padding: 0; color: var(--indigo); display: grid; place-items: center;
}

/* ---- statistik ringkas ---- */
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.stat-grid.three { grid-template-columns: repeat(3, 1fr); }
.stat {
    background: rgba(255, 255, 255, .68);
    border: 1px solid rgba(255, 255, 255, .92);
    border-radius: 18px;
    padding: 13px 14px;
    display: flex; flex-direction: column; gap: 5px;
    box-shadow: 0 12px 26px -24px rgba(31, 27, 58, .8);
}
.stat .stat-ico {
    width: 30px; height: 30px; border-radius: 10px;
    display: grid; place-items: center;
    background: rgba(79, 70, 229, .1); color: var(--indigo);
    margin-bottom: 1px;
}
.stat .stat-label { font-size: 10.8px; font-weight: 600; color: var(--muted); line-height: 1.2; }
.stat .stat-value {
    font-size: 15px; font-weight: 800; letter-spacing: -.02em;
    font-variant-numeric: tabular-nums; line-height: 1.15;
}
.stat .stat-value.sm { font-size: 13px; }

/* ---- kartu paket ---- */
.pkg {
    position: relative;
    border-radius: 20px;
    padding: 16px;
    background: rgba(255, 255, 255, .72);
    border: 1px solid rgba(255, 255, 255, .9);
    box-shadow: var(--shadow-card);
    display: flex; flex-direction: column; gap: 10px;
}
.pkg.highlight {
    background: linear-gradient(150deg, rgba(79, 70, 229, .97), rgba(139, 92, 246, .97));
    color: #fff;
    box-shadow: 0 24px 46px -24px rgba(79, 70, 229, .8);
    overflow: hidden;
}
.pkg.highlight::after {
    content: ""; position: absolute;
    width: 170px; height: 170px; border-radius: 50%;
    top: -90px; right: -50px;
    background: radial-gradient(circle, rgba(255, 255, 255, .28), transparent 70%);
}
.pkg.highlight > * { position: relative; z-index: 1; }
.pkg-top { display: flex; align-items: flex-start; gap: 10px; }
.pkg-name { font-size: 15px; font-weight: 800; letter-spacing: -.02em; line-height: 1.25; flex: 1; }
.pkg.highlight .pkg-name { color: #fff; }
.pkg-price { font-size: 19px; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.pkg.highlight .pkg-price { color: #fff; }
.pkg-meta { font-size: 11.5px; color: var(--muted); }
.pkg.highlight .pkg-meta { color: rgba(255, 255, 255, .82); }
.pkg-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px;
    padding-top: 10px; border-top: 1px solid rgba(31, 27, 58, .08);
}
.pkg.highlight .pkg-grid { border-top-color: rgba(255, 255, 255, .2); }
.pkg-grid small {
    display: block; font-size: 10px; font-weight: 600;
    letter-spacing: .05em; text-transform: uppercase;
    color: var(--muted-2); margin-bottom: 2px;
}
.pkg.highlight .pkg-grid small { color: rgba(255, 255, 255, .7); }
.pkg-grid strong { font-size: 12.3px; font-weight: 700; line-height: 1.3; }
.pkg.highlight .pkg-grid strong { color: #fff; }

/* ---- baris detail label/nilai ---- */
.detail-grid { display: flex; flex-direction: column; }
.detail-row {
    display: flex; align-items: flex-start; gap: 14px;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
    font-size: 12.8px;
}
.detail-row:last-child { border-bottom: 0; }
.detail-row > span:first-child { color: var(--muted); flex: none; width: 40%; font-weight: 500; }
.detail-row > span:last-child { flex: 1; font-weight: 700; text-align: right; word-break: break-word; }

/* ---- lencana role ---- */
.role-badge {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 10px; font-weight: 700;
    padding: 3px 8px; border-radius: 999px;
    background: rgba(79, 70, 229, .1); color: var(--indigo);
    letter-spacing: .01em;
}
.role-badge.kepala { background: rgba(139, 92, 246, .14); color: #6D28D9; }
.role-badge.petugas { background: rgba(56, 189, 248, .16); color: #0369A1; }
.role-badge.admin { background: rgba(245, 158, 11, .16); color: #B45309; }
.role-badge.jamaah { background: rgba(14, 164, 92, .13); color: #047857; }

/* ---- form: 2 kolom ---- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .span-2 { grid-column: 1 / -1; }
@media (max-width: 400px) {
    .form-grid { grid-template-columns: 1fr; }
    .form-grid .span-2 { grid-column: auto; }
}

/* ---- upload logo ---- */
.logo-row { display: flex; align-items: center; gap: 14px; }
.logo-preview {
    width: 72px; height: 72px; flex: none;
    border-radius: 20px; object-fit: cover;
    background: rgba(79, 70, 229, .08);
    border: 1px dashed rgba(79, 70, 229, .35);
    display: grid; place-items: center;
    color: var(--indigo);
    overflow: hidden;
}
.logo-preview img { width: 100%; height: 100%; object-fit: cover; }
.file-input {
    display: block;
    width: 100%;
    font-size: 11.5px;
    font-weight: 500;
    color: var(--muted);
    padding: 11px 12px;
    border-radius: 12px;
    border: 1px dashed rgba(79, 70, 229, .3);
    background: rgba(255, 255, 255, .7);
    cursor: pointer;
}
.file-input::file-selector-button {
    border: 0; margin-right: 10px;
    padding: 7px 12px; border-radius: 9px;
    background: rgba(79, 70, 229, .12); color: var(--indigo);
    font-weight: 700; font-size: 11.5px; cursor: pointer;
}

/* ---- catatan / info ---- */
.notice {
    display: flex; align-items: flex-start; gap: 10px;
    padding: 12px 14px;
    border-radius: 15px;
    background: rgba(79, 70, 229, .07);
    border: 1px solid rgba(79, 70, 229, .12);
    font-size: 11.8px; line-height: 1.55;
    color: var(--ink);
}
.notice.warn { background: #FFF8E9; border-color: rgba(245, 158, 11, .28); }
.notice svg { color: var(--indigo); margin-top: 1px; }
.notice.warn svg { color: #B45309; }
.notice strong { font-weight: 700; }

/* ---- tombol tambah mengapung di daftar ---- */
.btn-inline {
    display: inline-flex; align-items: center; gap: 6px;
    height: 40px; padding: 0 14px;
    border-radius: 12px;
    background: var(--grad); color: #fff;
    font-size: 12.5px; font-weight: 700;
    box-shadow: 0 12px 24px -14px rgba(79, 70, 229, .9);
    border: 0;
    white-space: nowrap;
}
.btn-inline.ghost {
    background: rgba(255, 255, 255, .8);
    color: var(--ink);
    border: 1px solid rgba(31, 27, 58, .1);
    box-shadow: none;
}
.btn-inline:active { transform: scale(.97); }

.section-head {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 0 2px;
}
.section-head h2 { font-size: 15px; font-weight: 700; letter-spacing: -.01em; }
.section-head p { font-size: 11.5px; color: var(--muted); margin-top: 2px; }

/* ---- kode akses / kredensial ---- */
.cred {
    display: flex; align-items: center; gap: 10px;
    background: rgba(31, 27, 58, .04);
    border: 1px dashed rgba(31, 27, 58, .16);
    border-radius: 12px;
    padding: 10px 12px;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 12.5px; font-weight: 700;
    letter-spacing: .02em;
    word-break: break-all;
}
.cred span { flex: 1; }

/* ---- ringkasan travel (admin) ---- */
.travel-card {
    display: flex; flex-direction: column; gap: 12px;
    padding: 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, .72);
    border: 1px solid rgba(255, 255, 255, .92);
    box-shadow: var(--shadow-card);
}
.travel-head { display: flex; align-items: center; gap: 12px; }
.travel-head .travel-logo, .travel-head .brand-mark.sm { width: 48px; height: 48px; border-radius: 15px; }
.travel-name { font-size: 14.5px; font-weight: 800; letter-spacing: -.02em; }
.travel-sub { font-size: 11px; color: var(--muted); margin-top: 2px; }
.travel-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.travel-stats div {
    background: rgba(31, 27, 58, .035);
    border-radius: 12px;
    padding: 8px 10px;
}
.travel-stats small { display: block; font-size: 9.6px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.travel-stats strong { font-size: 12.5px; font-weight: 800; font-variant-numeric: tabular-nums; }

@media print {
    .tabbar, .bg-orbs, .quick { display: none; }
    .app { max-width: none; padding: 0; gap: 12px; }
    .card, .hero, .pkg, .stat, .travel-card { box-shadow: none; break-inside: avoid; }
    .topbar .avatar, .icon-btn, .btn, .btn-inline { display: none !important; }
}

/* ==========================================================
   Foto profil & login
   ========================================================== */

.avatar.has-photo, .avatarsm.has-photo, .profile-avatar.has-photo {
    padding: 0; overflow: hidden; background: rgba(79, 70, 229, .1);
}
.avatar.has-photo img, .avatarsm.has-photo img, .profile-avatar.has-photo img {
    width: 100%; height: 100%; object-fit: cover; display: block; border-radius: inherit;
}

/* ---- login ringkas ---- */
body.login-body {
    display: flex;
    min-height: 100dvh;
}
.login-wrap {
    width: 100%;
    max-width: 400px;
    margin: auto;
    padding: 28px 20px calc(24px + env(safe-area-inset-bottom));
    display: flex; flex-direction: column; gap: 18px;
}
.login-card {
    background: rgba(255, 255, 255, .78);
    backdrop-filter: blur(22px) saturate(180%);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, .92);
    border-radius: 24px;
    padding: 26px 22px 24px;
    box-shadow: 0 30px 60px -34px rgba(31, 27, 58, .5);
}
.login-head {
    display: flex; flex-direction: column; align-items: center;
    gap: 4px; text-align: center;
    margin-bottom: 22px;
}
.login-logo {
    width: 60px; height: 60px;
    border-radius: 20px;
    display: grid; place-items: center;
    background: var(--grad);
    color: #fff;
    box-shadow: 0 18px 32px -16px rgba(79, 70, 229, .9);
    border: 1.5px solid rgba(255, 255, 255, .5);
    margin-bottom: 12px;
}
.login-app {
    font-size: 20px; font-weight: 800; letter-spacing: -.035em;
}
.login-dev {
    font-size: 11.5px; font-weight: 600; color: var(--muted);
    letter-spacing: .01em;
    display: inline-flex; align-items: center; gap: 5px;
}
.login-dev svg { color: var(--indigo); }
.login-foot {
    text-align: center;
    font-size: 10.5px; font-weight: 500; color: var(--muted-2);
    letter-spacing: .02em;
}

/* password + ikon mata */
.pw-wrap { position: relative; }
.pw-wrap .input { padding-right: 50px; letter-spacing: .02em; }
.pw-toggle {
    position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
    width: 38px; height: 38px;
    border: 0; border-radius: 11px;
    background: transparent;
    display: grid; place-items: center;
    color: var(--muted-2);
    cursor: pointer;
    transition: color .15s ease, background .15s ease;
}
.pw-toggle:active { background: rgba(31, 27, 58, .06); color: var(--indigo); }

/* checkbox gaya checklist (ingat sandi / aktif) */
.check-inline {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 12.5px; font-weight: 600; color: var(--muted);
    cursor: pointer; user-select: none;
    padding: 2px 0;
}
.check-inline input { position: absolute; opacity: 0; pointer-events: none; }
.check-inline .check-box {
    position: relative;
    width: 21px; height: 21px; flex: none;
    border-radius: 7px;
    border: 1.8px solid rgba(31, 27, 58, .2);
    background: rgba(255, 255, 255, .95);
    display: grid; place-items: center;
    transition: all .18s ease;
}
.check-inline .check-box svg { width: 13px; height: 13px; color: #fff; opacity: 0; transform: scale(.6); transition: all .18s ease; }
.check-inline input:checked + .check-box {
    background: var(--grad); border-color: transparent;
    box-shadow: 0 8px 16px -9px rgba(79, 70, 229, .9);
}
.check-inline input:checked + .check-box svg { opacity: 1; transform: scale(1); }

/* upload foto profil */
.photo-row { display: flex; align-items: center; gap: 14px; }
.photo-preview {
    width: 78px; height: 78px; flex: none;
    border-radius: 26px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(79, 70, 229, .14), rgba(139, 92, 246, .2));
    color: var(--indigo);
    display: grid; place-items: center;
    font-size: 24px; font-weight: 800; letter-spacing: -.02em;
    border: 1.5px solid rgba(255, 255, 255, .9);
    box-shadow: 0 16px 30px -22px rgba(31, 27, 58, .7);
}
.photo-preview img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-note { font-size: 11px; font-weight: 600; color: var(--muted-2); }
.photo-pick {
    position: relative;
    display: inline-flex; align-items: center; gap: 7px;
    height: 40px; padding: 0 14px;
    border-radius: 12px;
    background: rgba(79, 70, 229, .1);
    color: var(--indigo);
    font-size: 12.5px; font-weight: 700;
    cursor: pointer;
    overflow: hidden;
    white-space: nowrap;
}
.photo-pick input {
    position: absolute; inset: 0; opacity: 0; cursor: pointer;
}

/* ==========================================================
   Brand & splash screen
   ========================================================== */

.brand-svg { display: block; overflow: visible; }
.brand-mark-img { display: block; object-fit: contain; }

/* tile tempat logo (login) */
.login-logo.brand-tile {
    background: #FFFFFF;
    border: 1px solid rgba(31, 27, 58, .09);
    box-shadow: 0 18px 34px -20px rgba(18, 33, 56, .5), inset 0 0 0 1px rgba(255, 255, 255, .9);
    color: inherit;
    padding: 0;
}

/* teks brand di splash */
.brand-text { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.brand-text-name {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 19px; font-weight: 700;
    letter-spacing: -.01em;
    color: #14243D;
}
.brand-text-dev {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: 11px; font-weight: 600;
    letter-spacing: .04em;
    color: #5A6B66;
    text-transform: uppercase;
}
.brand-text-dev svg { color: #A97610; }

/* ---------- splash ---------- */
.splash {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: grid;
    place-items: center;
    background:
        radial-gradient(80% 60% at 50% 0%, #FFFFFF 0%, #FBF7EC 45%, #F4EFE1 100%);
    transition: opacity .55s ease, transform .55s ease;
}
.splash[hidden] { display: none; }
.splash.is-done {
    opacity: 0;
    transform: scale(1.03);
    pointer-events: none;
}
html.splash-lock, html.splash-lock body { overflow: hidden; }

.splash-inner {
    display: flex; flex-direction: column; align-items: center;
    gap: 18px;
    padding: 0 28px;
    text-align: center;
}
.splash-mark {
    position: relative;
    display: grid; place-items: center;
    width: 168px; height: 168px;
}
.splash-mark .brand-svg,
.splash-mark .brand-mark-img {
    animation: brandPulse 1.5s ease-in-out infinite;
    position: relative; z-index: 2;
    filter: drop-shadow(0 10px 18px rgba(18, 33, 56, .18));
}
.splash-ring {
    position: absolute;
    width: 118px; height: 118px;
    border-radius: 50%;
    border: 1.5px solid rgba(169, 118, 16, .5);
    animation: splashRing 1.8s ease-out infinite;
    z-index: 1;
}
.splash-ring.delay { animation-delay: .9s; }

.splash-text .brand-text-name { font-size: 21px; }
.splash-text { animation: splashFade .7s ease-out both; }

.splash-bar {
    width: 84px; height: 3px;
    border-radius: 999px;
    background: rgba(18, 33, 56, .1);
    overflow: hidden;
    margin-top: 4px;
}
.splash-bar > i {
    display: block; height: 100%; width: 40%;
    border-radius: 999px;
    background: linear-gradient(90deg, #E0B95F, #A97610, #E0B95F);
    animation: splashBar 1.15s ease-in-out infinite;
}

@keyframes brandPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50%      { transform: scale(1.075); opacity: .84; }
}
@keyframes splashRing {
    0%   { transform: scale(.72); opacity: .65; }
    70%  { opacity: .12; }
    100% { transform: scale(1.42); opacity: 0; }
}
@keyframes splashBar {
    0%   { transform: translateX(-110%); }
    100% { transform: translateX(260%); }
}
@keyframes splashFade {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .splash-mark .brand-svg,
    .splash-mark .brand-mark-img { animation: none; }
    .splash-ring { animation: none; opacity: .25; }
    .splash-bar > i { animation: none; width: 100%; }
    .splash-text { animation: none; }
    .splash { transition: opacity .2s ease; }
}

/* ---------- print ---------- */
@media print {
    .tabbar, .bg-orbs, .quick { display: none; }
    .app { max-width: none; padding: 0; }
    .card, .hero { box-shadow: none; }
}
