/* Tema global UNIK1: terang dan gelap */
:root{
    color-scheme:light;
    --unik1-theme-bg:#f4f0e4;
    --unik1-theme-surface:#fffdf6;
    --unik1-theme-surface-2:#f8f2e5;
    --unik1-theme-text:#173a2d;
    --unik1-theme-muted:#69746e;
    --unik1-theme-border:#d9c89b;
    --unik1-theme-gold:#c5912d;
}

html[data-unik1-theme="dark"]{
    color-scheme:light;
    --unik1-theme-bg:#a79f94;
    --unik1-theme-surface:#d4cec3;
    --unik1-theme-surface-2:#c7c0b4;
    --unik1-theme-text:#2f2b26;
    --unik1-theme-muted:#625d55;
    --unik1-theme-border:#8b8173;
    --unik1-theme-gold:#7d5f3a;
}

html,
body,
main,
.container,
.menu-card,
.active-assignment,
.account-panel,
.weather-compact-card,
.sheet-content,
.modal-content,
.login-box,
.auth-card,
input,
select,
textarea,
button{
    transition:background-color .28s ease,color .28s ease,border-color .28s ease,box-shadow .28s ease;
}

.unik1-tools-heading-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
}

.unik1-tools-heading-row > h1,
.unik1-tools-heading-row > h2,
.unik1-tools-heading-row > h3{
    margin-right:auto;
}

.unik1-theme-toggle{
    appearance:none;
    -webkit-appearance:none;
    width:40px;
    height:40px;
    min-width:40px;
    display:inline-grid;
    place-items:center;
    padding:0;
    border:1px solid rgba(197,145,45,.48);
    border-radius:50%;
    background:var(--unik1-theme-surface);
    color:var(--unik1-theme-text);
    box-shadow:0 5px 16px rgba(22,32,27,.13);
    font-size:20px;
    line-height:1;
    cursor:pointer;
    -webkit-tap-highlight-color:transparent;
}

.unik1-theme-toggle:hover{
    transform:translateY(-1px);
    border-color:var(--unik1-theme-gold);
}

.unik1-theme-toggle:focus-visible{
    outline:3px solid rgba(224,184,77,.35);
    outline-offset:3px;
}

.unik1-theme-toggle.is-floating{
    position:fixed;
    top:calc(14px + env(safe-area-inset-top,0px));
    right:calc(14px + env(safe-area-inset-right,0px));
    z-index:9998;
}

html[data-unik1-theme="dark"] body{
    background-color:var(--unik1-theme-bg)!important;
    color:var(--unik1-theme-text)!important;
}

html[data-unik1-theme="dark"] .container,
html[data-unik1-theme="dark"] main,
html[data-unik1-theme="dark"] .content,
html[data-unik1-theme="dark"] .page,
html[data-unik1-theme="dark"] .wrapper{
    color:var(--unik1-theme-text)!important;
}

html[data-unik1-theme="dark"] .active-assignment,
html[data-unik1-theme="dark"] .menu-card,
html[data-unik1-theme="dark"] .weather-compact-card,
html[data-unik1-theme="dark"] .profile-card,
html[data-unik1-theme="dark"] .finance-card,
html[data-unik1-theme="dark"] .timeline-card,
html[data-unik1-theme="dark"] .tracking-card,
html[data-unik1-theme="dark"] .card,
html[data-unik1-theme="dark"] .panel,
html[data-unik1-theme="dark"] .sheet-content,
html[data-unik1-theme="dark"] .modal-content,
html[data-unik1-theme="dark"] .login-box,
html[data-unik1-theme="dark"] .auth-card{
    background:var(--unik1-theme-surface)!important;
    color:var(--unik1-theme-text)!important;
    border-color:var(--unik1-theme-border)!important;
}

html[data-unik1-theme="dark"] .assignment-row,
html[data-unik1-theme="dark"] .assignment-divider,
html[data-unik1-theme="dark"] hr,
html[data-unik1-theme="dark"] .divider,
html[data-unik1-theme="dark"] table,
html[data-unik1-theme="dark"] th,
html[data-unik1-theme="dark"] td{
    border-color:var(--unik1-theme-border)!important;
}

html[data-unik1-theme="dark"] h1,
html[data-unik1-theme="dark"] h2,
html[data-unik1-theme="dark"] h3,
html[data-unik1-theme="dark"] h4,
html[data-unik1-theme="dark"] .menu-title,
html[data-unik1-theme="dark"] .assignment-title,
html[data-unik1-theme="dark"] strong{
    color:var(--unik1-theme-text)!important;
}

html[data-unik1-theme="dark"] p,
html[data-unik1-theme="dark"] label,
html[data-unik1-theme="dark"] small,
html[data-unik1-theme="dark"] .subtitle,
html[data-unik1-theme="dark"] .note,
html[data-unik1-theme="dark"] .muted{
    color:var(--unik1-theme-muted)!important;
}

html[data-unik1-theme="dark"] input,
html[data-unik1-theme="dark"] select,
html[data-unik1-theme="dark"] textarea{
    background:var(--unik1-theme-surface-2)!important;
    color:var(--unik1-theme-text)!important;
    border-color:var(--unik1-theme-border)!important;
}

html[data-unik1-theme="dark"] input::placeholder,
html[data-unik1-theme="dark"] textarea::placeholder{
    color:#89968f!important;
}

html[data-unik1-theme="dark"] a:not(.gold-btn):not(.login-btn){
    color:#6b4f31;
}

html[data-unik1-theme="dark"] .footer,
html[data-unik1-theme="dark"] footer{
    color:var(--unik1-theme-muted)!important;
}

html[data-unik1-theme="light"] body.auth-page{
    background:radial-gradient(circle at top,rgba(212,175,55,.16),transparent 38%),#f3eee1!important;
    color:#173a2d!important;
}

html[data-unik1-theme="light"] body.auth-page .login-box,
html[data-unik1-theme="light"] body.auth-page .auth-card{
    background:#fffdf7!important;
    color:#173a2d!important;
    border-color:rgba(197,145,45,.35)!important;
    box-shadow:0 18px 48px rgba(38,48,42,.13)!important;
}

html[data-unik1-theme="light"] body.auth-page .input,
html[data-unik1-theme="light"] body.auth-page input,
html[data-unik1-theme="light"] body.auth-page select,
html[data-unik1-theme="light"] body.auth-page textarea{
    background:#f5f0e4!important;
    color:#173a2d!important;
    border:1px solid #dfd3b5!important;
}

html[data-unik1-theme="light"] body.auth-page .subtitle,
html[data-unik1-theme="light"] body.auth-page .note{
    color:#68736d!important;
}

@media(max-width:480px){
    .unik1-theme-toggle{
        width:38px;
        height:38px;
        min-width:38px;
        font-size:19px;
    }

    .unik1-theme-toggle.is-floating{
        top:calc(10px + env(safe-area-inset-top,0px));
        right:calc(10px + env(safe-area-inset-right,0px));
    }
}

@media(prefers-reduced-motion:reduce){
    html,
    body,
    main,
    .container,
    .menu-card,
    .active-assignment,
    .account-panel,
    .unik1-theme-toggle,
    input,
    select,
    textarea,
    button{
        transition:none!important;
    }
}

/* Posisi kontrol tema pada judul Tools Pemandu */
.menu-wrapper{
    position:relative;
}

.unik1-theme-slot{
    position:absolute;
    top:0;
    right:0;
    z-index:4;
    display:block;
    width:40px;
    height:40px;
}

html[data-unik1-theme="dark"] .menu-wrapper::before{
    color:#493c31!important;
}

@media(max-width:480px){
    .unik1-theme-slot{
        width:38px;
        height:38px;
    }
}

/* Kontras informasi ringkas pada tema gelap */
html[data-unik1-theme="dark"] .unik1-user-stat-label,
html[data-unik1-theme="dark"] .tgs-live-empty strong,
html[data-unik1-theme="dark"] .weather-compact-head strong{
    color:#6b4f31!important;
}

html[data-unik1-theme="dark"] .unik1-user-stat-note,
html[data-unik1-theme="dark"] .tgs-live-empty p,
html[data-unik1-theme="dark"] .weather-compact-range,
html[data-unik1-theme="dark"] .weather-compact-note{
    color:#625d55!important;
}

/* Tema gelap hangat: abu-abu dan cokelat, teks tetap gelap */
.unik1-theme-toggle{
    width:auto;
    min-width:70px;
    height:34px;
    padding:0 13px;
    border-radius:999px;
    font-size:12px;
    font-weight:800;
    letter-spacing:.04em;
    text-transform:uppercase;
}

.unik1-theme-slot{
    width:70px;
    height:34px;
    top:2px;
}

html[data-unik1-theme="dark"] .hero{
    background:#4c4a45!important;
    border-color:#796c5b!important;
}

html[data-unik1-theme="dark"] .adhan-ticker{
    background:#aaa399!important;
    color:#2f2b26!important;
    border-color:#81786b!important;
}

html[data-unik1-theme="dark"] .menu-icon{
    background:#bdb5a8!important;
    border-color:#8b8173!important;
}

html[data-unik1-theme="dark"] .unik1-user-stat-number,
html[data-unik1-theme="dark"] .tgs-live-zero,
html[data-unik1-theme="dark"] .weather-compact-temp{
    color:#765733!important;
}

html[data-unik1-theme="dark"] .gold-btn,
html[data-unik1-theme="dark"] .login-btn,
html[data-unik1-theme="dark"] .cash-action-btn{
    background:#7d5f3a!important;
    color:#fffaf2!important;
}

html[data-unik1-theme="dark"] .weather-compact-icon{
    filter:saturate(.65) brightness(.88);
}

@media(max-width:480px){
    .unik1-theme-toggle{
        width:auto;
        min-width:66px;
        height:32px;
        padding:0 11px;
        font-size:11px;
    }

    .unik1-theme-slot{
        width:66px;
        height:32px;
        top:3px;
    }
}

/* Tepatkan sisi kanan tombol teks dengan kartu Tools */
.unik1-theme-slot{
    display:flex;
    justify-content:flex-end;
    align-items:flex-start;
}


/* Tema akhir UNIK1 — warm graphite, 26 Juli 2026 */
:root{
    --unik1-theme-body:#f3efe5;
    --unik1-theme-surface:#fffdf8;
    --unik1-theme-surface-soft:#f7f1e6;
    --unik1-theme-text:#163c31;
    --unik1-theme-muted:#6d756f;
    --unik1-theme-border:#d5c7ad;
    --unik1-theme-accent:#b8832c;
}

.theme-setting{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    margin:0 0 18px;
    padding:15px 16px;
    border:1px solid var(--unik1-theme-border);
    border-radius:14px;
    background:var(--unik1-theme-surface);
    box-shadow:0 7px 20px rgba(35,45,40,.08);
}
.theme-setting-copy{min-width:0;}
.theme-setting-kicker{
    color:#9a6d25;
    font-size:10px;
    font-weight:800;
    letter-spacing:.14em;
    line-height:1.25;
}
.theme-setting-title{
    margin-top:3px;
    color:var(--unik1-theme-text);
    font-size:15px;
    font-weight:750;
    line-height:1.3;
}
.theme-setting-note{
    margin-top:3px;
    color:var(--unik1-theme-muted);
    font-size:12px;
    line-height:1.35;
}
.theme-setting-control{flex:0 0 auto;}
.theme-setting .unik1-theme-slot{
    position:static!important;
    inset:auto!important;
    display:block!important;
    width:auto!important;
    height:auto!important;
}
.theme-setting .unik1-theme-toggle{
    position:static!important;
    width:auto!important;
    min-width:72px;
    height:34px;
    padding:0 14px;
    border:1px solid #bca77e;
    border-radius:999px;
    background:#f3ead9;
    color:#23483d;
    box-shadow:none;
    font-size:11px;
    font-weight:800;
    letter-spacing:.045em;
}
.theme-setting .unik1-theme-toggle:hover{transform:none;filter:brightness(.98);}
.theme-setting .unik1-theme-toggle:focus-visible{
    outline:3px solid rgba(184,131,44,.25);
    outline-offset:2px;
}

html[data-unik1-theme="dark"]{
    color-scheme:dark;
    --unik1-theme-body:#514c46;
    --unik1-theme-surface:#ddd5c8;
    --unik1-theme-surface-soft:#cec3b4;
    --unik1-theme-text:#292621;
    --unik1-theme-muted:#6b6259;
    --unik1-theme-border:#938675;
    --unik1-theme-accent:#72573a;
}

html[data-unik1-theme="dark"] body{
    background-color:#514c46!important;
    color:#292621!important;
}
html[data-unik1-theme="dark"] body::before{
    opacity:.035!important;
    filter:grayscale(1)!important;
}

/* Judul yang berdiri langsung di atas latar gelap */
html[data-unik1-theme="dark"] .welcome h2,
html[data-unik1-theme="dark"] .welcome-title,
html[data-unik1-theme="dark"] .page-title,
html[data-unik1-theme="dark"] .menu-wrapper::before,
html[data-unik1-theme="dark"] .section-title,
html[data-unik1-theme="dark"] body > h1,
html[data-unik1-theme="dark"] main > h1{
    color:#f5eee3!important;
    text-shadow:0 1px 0 rgba(0,0,0,.18);
}
html[data-unik1-theme="dark"] .welcome p,
html[data-unik1-theme="dark"] .page-subtitle,
html[data-unik1-theme="dark"] main > p{
    color:#d8cfc2!important;
}
html[data-unik1-theme="dark"] .welcome .eyebrow,
html[data-unik1-theme="dark"] .welcome-label{
    color:#dbbd82!important;
}

/* Permukaan utama: terang hangat agar isi tetap terbaca */
html[data-unik1-theme="dark"] :is(
    .active-assignment,.account-card,.info-card,.dashboard-card,
    .menu-card,.card,.panel,.content-card,.form-card,.auth-card,
    .profile-card,.settings-card,.library-card,.announcement-card,
    .tracking-card,.flight-card,.currency-card,.prayer-card,
    .hadith-card,.emergency-card,.support-card,.lost-item-card,
    .modal-content,.sheet,.bottom-sheet,.player-card,.tgs-card
){
    background:#ddd5c8!important;
    color:#292621!important;
    border-color:#938675!important;
    box-shadow:0 9px 22px rgba(26,23,20,.24)!important;
}
html[data-unik1-theme="dark"] :is(
    .active-assignment,.account-card,.info-card,.dashboard-card,
    .menu-card,.card,.panel,.content-card,.form-card,.auth-card,
    .profile-card,.settings-card,.library-card,.announcement-card,
    .tracking-card,.flight-card,.currency-card,.prayer-card,
    .hadith-card,.emergency-card,.support-card,.lost-item-card,
    .modal-content,.sheet,.bottom-sheet,.player-card,.tgs-card
) :is(h1,h2,h3,h4,h5,h6,strong,b,label,.title){
    color:#292621!important;
    text-shadow:none!important;
}
html[data-unik1-theme="dark"] :is(
    .active-assignment,.account-card,.info-card,.dashboard-card,
    .menu-card,.card,.panel,.content-card,.form-card,.auth-card,
    .profile-card,.settings-card,.library-card,.announcement-card,
    .tracking-card,.flight-card,.currency-card,.prayer-card,
    .hadith-card,.emergency-card,.support-card,.lost-item-card,
    .modal-content,.sheet,.bottom-sheet,.player-card,.tgs-card
) :is(p,small,.subtitle,.muted,.meta,.description){
    color:#6b6259!important;
}

html[data-unik1-theme="dark"] .hero{
    background:#3e443f!important;
    border-color:#766b5d!important;
    box-shadow:0 8px 20px rgba(25,23,20,.22)!important;
}
html[data-unik1-theme="dark"] .adhan-ticker{
    background:#a59b8d!important;
    color:#292621!important;
    border-color:#7d7264!important;
}
html[data-unik1-theme="dark"] .menu-card{
    background:#ded6c9!important;
    border-top-color:#806342!important;
}
html[data-unik1-theme="dark"] .menu-icon{
    background:#b8ad9d!important;
    border-color:#8f8272!important;
}
html[data-unik1-theme="dark"] .menu-card :is(.menu-title,.menu-label,h3){
    color:#292621!important;
}

/* Halaman Pengaturan */
html[data-unik1-theme="dark"] .settings-page .menu,
html[data-unik1-theme="dark"] .settings-page .theme-setting{
    background:#ddd5c8!important;
    color:#292621!important;
    border-color:#938675!important;
    box-shadow:0 9px 22px rgba(26,23,20,.22)!important;
}
html[data-unik1-theme="dark"] .settings-page .menu-item{
    color:#292621!important;
    border-color:#b6aa9a!important;
}
html[data-unik1-theme="dark"] .settings-page .menu-item:hover{
    background:#d2c8ba!important;
}
html[data-unik1-theme="dark"] .settings-page .icon{
    background:#536158!important;
    color:#f7f0e5!important;
}
html[data-unik1-theme="dark"] .settings-page .back{
    background:#ddd5c8!important;
    color:#292621!important;
    border-color:#938675!important;
}
html[data-unik1-theme="dark"] .theme-setting-kicker{color:#785a37!important;}
html[data-unik1-theme="dark"] .theme-setting-title{color:#292621!important;}
html[data-unik1-theme="dark"] .theme-setting-note{color:#6b6259!important;}
html[data-unik1-theme="dark"] .theme-setting .unik1-theme-toggle{
    background:#554e47!important;
    color:#f7efe3!important;
    border-color:#756b60!important;
}

html[data-unik1-theme="dark"] :is(input,select,textarea){
    background:#eee8df!important;
    color:#292621!important;
    border-color:#958979!important;
}
html[data-unik1-theme="dark"] :is(input,textarea)::placeholder{color:#7b7268!important;}
html[data-unik1-theme="dark"] :is(.gold-btn,.login-btn,.cash-action-btn,.primary-btn,button.primary){
    background:#72573a!important;
    color:#fff9ef!important;
    border-color:#72573a!important;
}
html[data-unik1-theme="dark"] :is(a,.link,.text-link){color:#554330;}
html[data-unik1-theme="dark"] hr{border-color:#a79a89!important;}

@media(max-width:480px){
    .theme-setting{padding:14px;gap:12px;}
    .theme-setting-title{font-size:14px;}
    .theme-setting-note{font-size:11px;}
    .theme-setting .unik1-theme-toggle{min-width:68px;height:32px;padding:0 12px;}
}


/* Penguatan kontras untuk halaman berbahan kertas */
html[data-unik1-theme="dark"] body:is(.account-page,.status-page,.policy-page,.deletion-page){
    background:
        radial-gradient(circle at 12% 8%,rgba(205,181,139,.10),transparent 28rem),
        repeating-linear-gradient(0deg,rgba(255,255,255,.018) 0,rgba(255,255,255,.018) 1px,transparent 1px,transparent 5px),
        #625c55!important;
    color:#292621!important;
}
html[data-unik1-theme="dark"] body.account-page :is(.page-title,.container > .title){
    color:#f3eadc!important;
    text-shadow:0 1px 1px rgba(0,0,0,.2)!important;
}
html[data-unik1-theme="dark"] body.account-page :is(.page-subtitle,.container > .subtitle){
    color:#d7cdc0!important;
}
html[data-unik1-theme="dark"] body.account-page .back{
    color:#2f4038!important;
    background:#d8d0c4!important;
    border-color:#8e8274!important;
}
html[data-unik1-theme="dark"] body.settings-page .theme-setting{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    background:#d8d0c4!important;
    border:1px solid #918474!important;
    border-top:3px solid #765a3a!important;
}
html:not([data-unik1-theme="dark"]) body.settings-page .theme-setting{
    border-top:3px solid #b8832c;
}
html[data-unik1-theme="dark"] body.settings-page .menu{
    background:#d8d0c4!important;
    border-color:#918474!important;
    border-top-color:#765a3a!important;
}
html[data-unik1-theme="dark"] body.settings-page .menu-item .title{color:#292621!important;}
html[data-unik1-theme="dark"] body.settings-page .menu-item .subtitle{color:#6d645a!important;}
html[data-unik1-theme="dark"] body.settings-page .menu-item .arrow{color:#765a3a!important;}
@media(max-width:360px){
    .theme-setting{gap:10px!important;padding:13px 12px!important;}
    .theme-setting-copy{max-width:175px;}
}


/* UNIK1 DARK PROFESSIONAL — penyelarasan menyeluruh */
html[data-unik1-theme="dark"]{
    color-scheme:dark;
    --unik1-pro-bg:#484540;
    --unik1-pro-bg-soft:#514d47;
    --unik1-pro-chrome:#29332e;
    --unik1-pro-chrome-2:#343e38;
    --unik1-pro-footer:#292e2b;
    --unik1-pro-surface:#d7d0c5;
    --unik1-pro-surface-raised:#e1dbd1;
    --unik1-pro-surface-soft:#c9c1b5;
    --unik1-pro-text:#282521;
    --unik1-pro-muted:#6b645c;
    --unik1-pro-on-dark:#f3ecdf;
    --unik1-pro-on-dark-muted:#c9c0b3;
    --unik1-pro-line:#918575;
    --unik1-pro-brass:#ad8954;
    --unik1-theme-bg:#484540;
    --unik1-theme-surface:#d7d0c5;
    --unik1-theme-surface-2:#c9c1b5;
    --unik1-theme-text:#282521;
    --unik1-theme-muted:#6b645c;
    --unik1-theme-border:#918575;
    --unik1-theme-gold:#8a6b43;
}

html[data-unik1-theme="dark"] body{
    background:#484540!important;
    color:var(--unik1-pro-text)!important;
}
html[data-unik1-theme="dark"] body:is(.account-page,.status-page,.policy-page,.deletion-page){
    background:
        radial-gradient(circle at 10% 0,rgba(218,194,151,.09),transparent 30rem),
        repeating-linear-gradient(0deg,rgba(255,255,255,.014) 0,rgba(255,255,255,.014) 1px,transparent 1px,transparent 5px),
        #484540!important;
}

/* Header utama dan bilah aplikasi */
html[data-unik1-theme="dark"] :is(
    .hero,.topbar,.site-header,.support-header,body > .header,body > .top,
    .app-header,.main-header,.app-bar,.navbar,.top-bar
){
    background:linear-gradient(135deg,#29332e 0%,#343e38 100%)!important;
    color:var(--unik1-pro-on-dark)!important;
    border-color:rgba(173,137,84,.46)!important;
    box-shadow:0 8px 22px rgba(19,22,20,.25)!important;
}
html[data-unik1-theme="dark"] :is(
    .hero,.topbar,.site-header,.support-header,body > .header,body > .top,
    .app-header,.main-header,.app-bar,.navbar,.top-bar
) :is(h1,h2,h3,h4,h5,h6,strong,b,.title,.brand,.logo,.brand-name,.nav-label){
    color:var(--unik1-pro-on-dark)!important;
    text-shadow:none!important;
}
html[data-unik1-theme="dark"] :is(
    .hero,.topbar,.site-header,.support-header,body > .header,body > .top,
    .app-header,.main-header,.app-bar,.navbar,.top-bar
) :is(p,small,span,.subtitle,.eyebrow,.tagline,.brand-context){
    color:var(--unik1-pro-on-dark-muted)!important;
}
html[data-unik1-theme="dark"] :is(
    .hero,.topbar,.site-header,.support-header,body > .header,body > .top,
    .app-header,.main-header,.app-bar,.navbar,.top-bar
) :is(a,button,.nav-back,.nav-search,.icon-button){
    color:var(--unik1-pro-on-dark)!important;
    border-color:rgba(243,236,223,.22)!important;
}
html[data-unik1-theme="dark"] :is(
    .topbar .nav,.topbar .top-actions,.site-header .nav,.support-header .header-actions,
    body > .header .nav,body > .top .nav,.main-nav
){
    color:var(--unik1-pro-on-dark)!important;
    border-color:rgba(173,137,84,.34)!important;
}
html[data-unik1-theme="dark"] .main-nav{
    background:#303934!important;
    box-shadow:0 6px 16px rgba(18,20,19,.18)!important;
}
html[data-unik1-theme="dark"] .hero .brand-context strong,
html[data-unik1-theme="dark"] .hero .brand-context span{
    color:var(--unik1-pro-on-dark)!important;
}
html[data-unik1-theme="dark"] .hero .brand-context span{opacity:.72;}
html[data-unik1-theme="dark"] .hero .title-logo{
    filter:sepia(.08) saturate(.86) brightness(1.22) contrast(1.04)!important;
}

/* Footer dan navigasi bawah */
html[data-unik1-theme="dark"] :is(
    footer,.footer,.site-footer,.app-footer,.main-footer,
    .bottom-nav,.bottom-bar,.bottom-navigation,.mobile-nav
){
    background:#292e2b!important;
    color:var(--unik1-pro-on-dark-muted)!important;
    border-color:rgba(173,137,84,.42)!important;
    box-shadow:0 -7px 20px rgba(18,20,19,.2)!important;
}
html[data-unik1-theme="dark"] :is(
    footer,.footer,.site-footer,.app-footer,.main-footer,
    .bottom-nav,.bottom-bar,.bottom-navigation,.mobile-nav
) :is(h1,h2,h3,h4,h5,h6,strong,b,.title,.brand,.logo){
    color:var(--unik1-pro-on-dark)!important;
}
html[data-unik1-theme="dark"] :is(
    footer,.footer,.site-footer,.app-footer,.main-footer,
    .bottom-nav,.bottom-bar,.bottom-navigation,.mobile-nav
) :is(p,small,span,.subtitle,.muted){
    color:var(--unik1-pro-on-dark-muted)!important;
}
html[data-unik1-theme="dark"] :is(
    footer,.footer,.site-footer,.app-footer,.main-footer,
    .bottom-nav,.bottom-bar,.bottom-navigation,.mobile-nav
) a{
    color:var(--unik1-pro-on-dark)!important;
}

/* Kartu, form, modal, dan separator */
html[data-unik1-theme="dark"] :is(
    .active-assignment,.account-card,.info-card,.dashboard-card,.menu-card,
    .card,.panel,.content-card,.form-card,.auth-card,.profile-card,.settings-card,
    .library-card,.announcement-card,.tracking-card,.flight-card,.currency-card,
    .prayer-card,.hadith-card,.emergency-card,.support-card,.lost-item-card,
    .modal-content,.sheet-content,.player-card,.tgs-card,.theme-setting,.menu
){
    background:var(--unik1-pro-surface)!important;
    color:var(--unik1-pro-text)!important;
    border-color:var(--unik1-pro-line)!important;
    box-shadow:0 9px 24px rgba(22,21,19,.22)!important;
}
html[data-unik1-theme="dark"] :is(.modal-head,.search-header,.cash-sheet-header){
    background:linear-gradient(135deg,#303934,#39433d)!important;
    color:var(--unik1-pro-on-dark)!important;
    border-color:rgba(173,137,84,.4)!important;
}
html[data-unik1-theme="dark"] :is(.modal-head,.search-header,.cash-sheet-header) :is(h1,h2,h3,h4,strong,.title,.subtitle,span,button){
    color:var(--unik1-pro-on-dark)!important;
}
html[data-unik1-theme="dark"] :is(input,select,textarea,.input,.search-input){
    background:#ece6dd!important;
    color:#282521!important;
    border-color:#968a7a!important;
    box-shadow:inset 0 1px 2px rgba(25,23,21,.08)!important;
}
html[data-unik1-theme="dark"] :is(input,textarea)::placeholder{color:#756d63!important;}
html[data-unik1-theme="dark"] :is(.divider,hr,.separator){border-color:#9e9282!important;opacity:.72;}

/* Aksen dan status */
html[data-unik1-theme="dark"] :is(.gold-btn,.login-btn,.cash-action-btn,.primary-btn,button.primary){
    background:#745a3b!important;
    color:#fff8ec!important;
    border-color:#93734c!important;
    box-shadow:0 6px 15px rgba(52,40,27,.2)!important;
}
html[data-unik1-theme="dark"] :is(.menu-icon,.settings-page .icon){
    background:#58675f!important;
    color:#f5ede1!important;
    border-color:#77867d!important;
}
html[data-unik1-theme="dark"] .adhan-ticker{
    background:#9b9286!important;
    color:#292621!important;
    border-color:#74695c!important;
    box-shadow:0 4px 12px rgba(21,20,18,.16)!important;
}

/* Pengaturan: posisi pilihan tetap, hanya kualitas warna ditingkatkan */
html[data-unik1-theme="dark"] body.settings-page .theme-setting,
html[data-unik1-theme="dark"] body.settings-page .menu{
    background:#d7d0c5!important;
    border-color:#918575!important;
    border-top-color:#8d6d45!important;
}
html[data-unik1-theme="dark"] .theme-setting .unik1-theme-toggle{
    background:#3b433f!important;
    color:#f3ecdf!important;
    border-color:#737e77!important;
    box-shadow:0 4px 10px rgba(24,27,25,.16)!important;
}

/* Judul halaman di atas latar graphite */
html[data-unik1-theme="dark"] :is(
    body.account-page .page-title,body.account-page .container > .title,
    .welcome h2,.welcome-title,.page-heading,.section-heading,main > h1
){
    color:#f3ecdf!important;
    text-shadow:0 1px 1px rgba(0,0,0,.18)!important;
}
html[data-unik1-theme="dark"] :is(
    body.account-page .page-subtitle,body.account-page .container > .subtitle,
    .welcome p,.page-description
){color:#cec5b8!important;}

@media(max-width:480px){
    html[data-unik1-theme="dark"] :is(.topbar,.site-header,.support-header,body > .header,body > .top){
        box-shadow:0 6px 16px rgba(18,20,19,.22)!important;
    }
}
