/* Karmakaryam black + antique-gold premium theme — 2026-08-16 */
:root{
  --kk-gold:#d6b15f;
  --kk-gold-soft:#f1d78e;
  --kk-gold-deep:#8b6a24;
  --kk-night:#080706;
  --kk-night-2:#0e0d0b;
  --kk-night-3:#151310;
  --kk-night-4:#1b1814;
  --kk-ivory:#f7f0df;
  --kk-ivory-muted:#c6baa4;
}
html[data-kk-theme="dark"]{
  --kk-paper:#080706;
  --kk-paper2:#11100e;
  --kk-bg:#080706;
  --kk-bg-deep:#050504;
  --kk-surface:#11100e;
  --kk-surface-2:#171510;
  --kk-surface-dark:#090806;
  --kk-ink:#f7f0df;
  --kk-muted:#a99d89;
  --kk-line:rgba(214,177,95,.14);
  --kk-line-strong:rgba(214,177,95,.26);
  --kk-accent:#d6b15f;
  --kk-accent-strong:#f0d17e;
  --kk-gold:#d6b15f;
  --kk-leaf:#87a276;
  --kk-sidebar:#090806;
  --kk-shadow-soft:0 18px 54px rgba(0,0,0,.34);
  --kk-shadow-lift:0 28px 78px rgba(0,0,0,.48);
  background:#080706;
  color-scheme:dark;
}
html[data-kk-theme="dark"] body{background:#080706;color:var(--kk-ink)}
html[data-kk-theme="dark"] #kk-spiritual-root{
  background:
    radial-gradient(circle at 88% -8%,rgba(214,177,95,.11),transparent 31rem),
    radial-gradient(circle at 9% 68%,rgba(139,106,36,.075),transparent 34rem),
    linear-gradient(180deg,#080706 0%,#0b0a08 48%,#070605 100%);
}
html[data-kk-theme="dark"] .kk-shell{scrollbar-color:rgba(214,177,95,.18) transparent}
html[data-kk-theme="dark"] .kk-top{
  background:rgba(8,7,6,.84);
  border-bottom-color:rgba(214,177,95,.12);
  box-shadow:0 12px 34px rgba(0,0,0,.23);
}
html[data-kk-theme="dark"] .kk-brand-mark{
  color:var(--kk-gold-soft);
  background:radial-gradient(circle at 34% 28%,rgba(241,215,142,.13),rgba(214,177,95,.035) 58%,rgba(0,0,0,.12));
  border-color:rgba(214,177,95,.28);
  box-shadow:0 0 0 1px rgba(214,177,95,.045),0 10px 30px rgba(0,0,0,.3),0 0 28px rgba(214,177,95,.055);
}
html[data-kk-theme="dark"] .kk-brand-copy strong{color:#fff8e8}
html[data-kk-theme="dark"] .kk-brand-copy span{color:#978a75}
html[data-kk-theme="dark"] .kk-top-account,
html[data-kk-theme="dark"] .kk-icon-btn{
  color:#e9dcc3;
  background:rgba(18,16,13,.8);
  border-color:rgba(214,177,95,.18);
  box-shadow:0 8px 20px rgba(0,0,0,.2);
}
html[data-kk-theme="dark"] .kk-top-account:hover,
html[data-kk-theme="dark"] .kk-icon-btn:hover{color:#fff4d7;background:#17140f;border-color:rgba(214,177,95,.36)}

/* Theme toggle */
.kk-theme-toggle{appearance:none;min-width:44px;height:42px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0 11px;border:1px solid rgba(53,43,33,.14);border-radius:999px;background:rgba(255,253,248,.72);color:var(--kk-ink);font:inherit;font-size:10px;font-weight:800;cursor:pointer;transition:transform .2s ease,border-color .2s ease,background .2s ease,color .2s ease,box-shadow .2s ease}
.kk-theme-toggle:hover{transform:translateY(-1px)}.kk-theme-toggle:active{transform:translateY(0) scale(.98)}
.kk-theme-toggle-icon{font-size:15px;line-height:1}.kk-theme-toggle-label{letter-spacing:.02em}
html[data-kk-theme="dark"] .kk-theme-toggle{color:#f3d88f;background:rgba(18,16,13,.86);border-color:rgba(214,177,95,.24);box-shadow:0 8px 22px rgba(0,0,0,.22),inset 0 1px rgba(255,255,255,.02)}
html[data-kk-theme="dark"] .kk-theme-toggle:hover{background:#191611;border-color:rgba(214,177,95,.42);box-shadow:0 10px 28px rgba(0,0,0,.28),0 0 24px rgba(214,177,95,.06)}

/* Shared dark surfaces */
html[data-kk-theme="dark"] .kk-card,
html[data-kk-theme="dark"] .kk-list,
html[data-kk-theme="dark"] .kk-modal{
  color:var(--kk-ink);
  background:linear-gradient(180deg,rgba(19,17,14,.96),rgba(14,13,11,.97));
  border-color:rgba(214,177,95,.13);
  box-shadow:0 1px 0 rgba(255,255,255,.018) inset,0 18px 44px rgba(0,0,0,.24);
}
html[data-kk-theme="dark"] .kk-card-soft{background:linear-gradient(180deg,rgba(24,21,17,.92),rgba(16,14,12,.94));box-shadow:none}
html[data-kk-theme="dark"] .kk-card-accent{
  color:#fff5dc;
  background:
    radial-gradient(circle at 85% 8%,rgba(214,177,95,.17),transparent 30%),
    linear-gradient(140deg,#090806 0%,#15110c 52%,#302515 100%);
  border-color:rgba(214,177,95,.25);
  box-shadow:0 24px 70px rgba(0,0,0,.42),0 0 0 1px rgba(214,177,95,.04) inset;
}
html[data-kk-theme="dark"] .kk-card-accent:after{border-color:rgba(241,215,142,.08);box-shadow:0 0 0 26px rgba(241,215,142,.018),0 0 0 52px rgba(241,215,142,.012)}
html[data-kk-theme="dark"] .kk-card-title,
html[data-kk-theme="dark"] .kk-title,
html[data-kk-theme="dark"] .kk-section-title,
html[data-kk-theme="dark"] .kk-panel-head h2,
html[data-kk-theme="dark"] .kk-panel-head h3{color:#fff7e5}
html[data-kk-theme="dark"] .kk-subtitle,
html[data-kk-theme="dark"] .kk-meta,
html[data-kk-theme="dark"] .kk-muted,
html[data-kk-theme="dark"] .kk-section-note{color:#a89b87}
html[data-kk-theme="dark"] .kk-eyebrow,
html[data-kk-theme="dark"] .kk-card-kicker,
html[data-kk-theme="dark"] .kk-panel-label{color:#d9b967}
html[data-kk-theme="dark"] .kk-list-btn{color:#eee2cc;border-bottom-color:rgba(214,177,95,.09)}
html[data-kk-theme="dark"] .kk-list-btn:hover{background:rgba(214,177,95,.045)}
html[data-kk-theme="dark"] .kk-list-leading{color:#e3c476;background:rgba(214,177,95,.085)}
html[data-kk-theme="dark"] .kk-list-copy span{color:#958a78}
html[data-kk-theme="dark"] .kk-btn-primary{color:#0a0907;background:linear-gradient(135deg,#b48a35 0%,#d6b15f 52%,#f0d486 100%);box-shadow:0 10px 26px rgba(214,177,95,.14),inset 0 1px rgba(255,255,255,.42)}
html[data-kk-theme="dark"] .kk-btn-primary:hover{color:#050504;background:linear-gradient(135deg,#c59a42,#e1bf6d 54%,#f7df9e);box-shadow:0 12px 32px rgba(214,177,95,.2)}
html[data-kk-theme="dark"] .kk-btn-secondary{color:#dec781;background:rgba(20,18,15,.72);border-color:rgba(214,177,95,.25)}
html[data-kk-theme="dark"] .kk-btn-secondary:hover{background:#1b1813;border-color:rgba(214,177,95,.42)}
html[data-kk-theme="dark"] .kk-btn-quiet{color:#dec37b;background:rgba(214,177,95,.075)}
html[data-kk-theme="dark"] .kk-chip{color:#a99b86;background:#12100d;border-color:rgba(214,177,95,.12)}
html[data-kk-theme="dark"] .kk-chip[data-active="true"]{color:#0a0907;background:linear-gradient(135deg,#bd943f,#e1c16e);border-color:#d6b15f}
html[data-kk-theme="dark"] .kk-status{color:#e2c779;background:rgba(214,177,95,.09);border-color:rgba(214,177,95,.2)}
html[data-kk-theme="dark"] .kk-status-green{color:#b9d2a7;background:rgba(135,162,118,.1);border-color:rgba(135,162,118,.2)}
html[data-kk-theme="dark"] .kk-status-muted{color:#988d7b;background:rgba(255,255,255,.025);border-color:rgba(214,177,95,.08)}
html[data-kk-theme="dark"] .kk-segments{background:rgba(12,11,9,.88);border-color:rgba(214,177,95,.1)}
html[data-kk-theme="dark"] .kk-segment-btn{color:#8f8473}
html[data-kk-theme="dark"] .kk-segment-btn[data-active="true"]{color:#f3dfaa;background:rgba(214,177,95,.1);box-shadow:0 7px 20px rgba(0,0,0,.26)}
html[data-kk-theme="dark"] .kk-input,
html[data-kk-theme="dark"] .kk-textarea,
html[data-kk-theme="dark"] .kk-select{color:#f5ead5;background:#0f0e0c;border-color:rgba(214,177,95,.16)}
html[data-kk-theme="dark"] .kk-input:focus,
html[data-kk-theme="dark"] .kk-textarea:focus,
html[data-kk-theme="dark"] .kk-select:focus{border-color:rgba(214,177,95,.48);box-shadow:0 0 0 3px rgba(214,177,95,.08)}
html[data-kk-theme="dark"] .kk-input::placeholder,
html[data-kk-theme="dark"] .kk-textarea::placeholder{color:#71695d}
html[data-kk-theme="dark"] .kk-divider{background:rgba(214,177,95,.1)}
html[data-kk-theme="dark"] .kk-source{color:#a99d89;background:rgba(214,177,95,.045);border-color:rgba(214,177,95,.1)}
html[data-kk-theme="dark"] .kk-empty{color:#8f8575;background:rgba(17,15,12,.72);border-color:rgba(214,177,95,.15)}
html[data-kk-theme="dark"] .kk-empty strong{color:#f4e8d2}
html[data-kk-theme="dark"] .kk-progress{background:rgba(255,255,255,.055)}
html[data-kk-theme="dark"] .kk-progress>span,
html[data-kk-theme="dark"] .kk-mala span{background:linear-gradient(90deg,#a77b2e,#d6b15f,#f0d487)}

/* Navigation */
html[data-kk-theme="dark"] body.kk-os-ready.in-app #kk-spiritual-dock{background:rgba(8,7,6,.96);border-color:rgba(214,177,95,.15);box-shadow:0 22px 62px rgba(0,0,0,.42),0 0 0 1px rgba(214,177,95,.025) inset}
html[data-kk-theme="dark"] .kk-dock-btn{color:#776f64}
html[data-kk-theme="dark"] .kk-dock-btn:hover{color:#d9c28c;background:rgba(214,177,95,.055)}
html[data-kk-theme="dark"] .kk-dock-btn[data-active="true"]{color:#0b0906;background:linear-gradient(145deg,#b98d35,#d7b45f 54%,#f0d48b);box-shadow:0 10px 30px rgba(214,177,95,.2),inset 0 1px rgba(255,255,255,.35)}

/* Today */
html[data-kk-theme="dark"] .kk-today-hero{
  color:#fff7e5;
  background:
    radial-gradient(circle at 88% 20%,rgba(214,177,95,.18),transparent 29%),
    linear-gradient(135deg,#090806 0%,#12100d 48%,#21190e 100%);
  border-color:rgba(214,177,95,.2);
  box-shadow:0 32px 82px rgba(0,0,0,.48),0 0 0 1px rgba(214,177,95,.03) inset;
}
html[data-kk-theme="dark"] .kk-today-hero:before{background:radial-gradient(circle,rgba(214,177,95,.2),rgba(214,177,95,.035) 48%,transparent 68%)}
html[data-kk-theme="dark"] .kk-today-hero:after{color:rgba(241,215,142,.035)}
html[data-kk-theme="dark"] .kk-today-date{color:#a99b84}
html[data-kk-theme="dark"] .kk-today-title{color:#fff8e8;text-shadow:0 10px 40px rgba(0,0,0,.28)}
html[data-kk-theme="dark"] .kk-today-subtitle{color:#b5a891}
html[data-kk-theme="dark"] .kk-today-metric{background:rgba(255,255,255,.035);border-color:rgba(214,177,95,.13)}
html[data-kk-theme="dark"] .kk-today-metric strong{color:#f2d58c}
html[data-kk-theme="dark"] .kk-today-metric span{color:#8f8471}
html[data-kk-theme="dark"] .kk-sankalpa-focus,
html[data-kk-theme="dark"] .kk-practice-focus,
html[data-kk-theme="dark"] .kk-daily-path,
html[data-kk-theme="dark"] .kk-panchang-card,
html[data-kk-theme="dark"] .kk-quick-panel{
  color:#f3e8d3;
  background:linear-gradient(145deg,rgba(20,18,15,.97),rgba(13,12,10,.98));
  border-color:rgba(214,177,95,.14);
  box-shadow:0 18px 52px rgba(0,0,0,.27);
}
html[data-kk-theme="dark"] .kk-sankalpa-focus:after{border-color:rgba(214,177,95,.09);box-shadow:0 0 0 24px rgba(214,177,95,.018),0 0 0 48px rgba(214,177,95,.01)}
html[data-kk-theme="dark"] .kk-sankalpa-mark{color:#e4c575;background:rgba(214,177,95,.08);border-color:rgba(214,177,95,.16)}
html[data-kk-theme="dark"] .kk-sankalpa-copy h2,
html[data-kk-theme="dark"] .kk-focus-copy h2{color:#fff2d8}
html[data-kk-theme="dark"] .kk-sankalpa-copy p,
html[data-kk-theme="dark"] .kk-focus-copy p{color:#9d917e}
html[data-kk-theme="dark"] .kk-focus-icon{color:#0a0907;background:linear-gradient(145deg,#ae8231,#d6b15f 58%,#efcf82);box-shadow:0 12px 28px rgba(214,177,95,.16)}
html[data-kk-theme="dark"] .kk-focus-progress{background:rgba(255,255,255,.05)}
html[data-kk-theme="dark"] .kk-path-check{background:rgba(255,255,255,.025);border-color:rgba(214,177,95,.055)}
html[data-kk-theme="dark"] .kk-path-check:hover{background:rgba(214,177,95,.045);border-color:rgba(214,177,95,.12)}
html[data-kk-theme="dark"] .kk-path-check-copy strong{color:#e9ddc7}
html[data-kk-theme="dark"] .kk-path-check-copy span{color:#897f70}
html[data-kk-theme="dark"] .kk-panel-score{color:#f0d17f;background:rgba(214,177,95,.08);border-color:rgba(214,177,95,.17)}
html[data-kk-theme="dark"] .kk-panchang-primary .kk-panchang-item{background:linear-gradient(145deg,#0a0907,#17120b);border-color:rgba(214,177,95,.11)}
html[data-kk-theme="dark"] .kk-panchang-primary .kk-panchang-item strong{color:#f4d985}
html[data-kk-theme="dark"] .kk-panchang-item{background:rgba(255,255,255,.025);border-color:rgba(214,177,95,.075)}
html[data-kk-theme="dark"] .kk-panchang-item span{color:#7f7566}
html[data-kk-theme="dark"] .kk-panchang-item strong{color:#e8dcc5}
html[data-kk-theme="dark"] .kk-quick-action{color:#eadfc9;background:rgba(255,255,255,.022);border-color:rgba(214,177,95,.075)}
html[data-kk-theme="dark"] .kk-quick-action:hover{background:rgba(214,177,95,.05);border-color:rgba(214,177,95,.16)}
html[data-kk-theme="dark"] .kk-quick-icon{color:#e1c16e;background:rgba(214,177,95,.075)}
html[data-kk-theme="dark"] .kk-quick-copy small{color:#847a6a}
html[data-kk-theme="dark"] .kk-devotion-card{border-color:rgba(214,177,95,.13);box-shadow:0 22px 58px rgba(0,0,0,.3)}
html[data-kk-theme="dark"] .kk-devotion-warm{background:linear-gradient(145deg,#17130e,#21190f)}
html[data-kk-theme="dark"] .kk-devotion-dark{background:linear-gradient(145deg,#080706,#15110c 60%,#2a2012)}
html[data-kk-theme="dark"] .kk-devotion-copy h3{color:#fff0d2}
html[data-kk-theme="dark"] .kk-devotion-copy p{color:#988b77}
html[data-kk-theme="dark"] .kk-grounding-strip{background:rgba(17,15,12,.86);border-color:rgba(214,177,95,.11);box-shadow:0 14px 38px rgba(0,0,0,.2)}
html[data-kk-theme="dark"] .kk-grounding-strip strong{color:#edd9ad}
html[data-kk-theme="dark"] .kk-grounding-strip span{color:#918574}

/* Feature surfaces */
html[data-kk-theme="dark"] .kk-shell-inner>div>.kk-hero{background:linear-gradient(135deg,rgba(18,16,13,.98),rgba(11,10,8,.98));border-color:rgba(214,177,95,.13);box-shadow:0 18px 48px rgba(0,0,0,.25)}
html[data-kk-theme="dark"] .kk-shell-inner>div>.kk-hero:after{color:rgba(214,177,95,.035)}
html[data-kk-theme="dark"] .kk-shell-inner>div>.kk-hero+.kk-segments{background:rgba(8,7,6,.88);border-color:rgba(214,177,95,.1);box-shadow:0 12px 32px rgba(0,0,0,.24)}
html[data-kk-theme="dark"] .kk-feature-duo>.kk-feature-card:first-child{background:linear-gradient(145deg,#18140f,#21180e);border-color:rgba(214,177,95,.17)}
html[data-kk-theme="dark"] .kk-feature-duo>.kk-feature-card:last-child{background:linear-gradient(140deg,#070605,#110e09 64%,#261c0f);border-color:rgba(214,177,95,.17)}
html[data-kk-theme="dark"] .kk-feature-duo>.kk-feature-card:last-child:after{color:rgba(214,177,95,.035)}

/* Japa and Sadhana */
html[data-kk-theme="dark"] .kk-tap-counter{color:#fff4d9;background:radial-gradient(circle at 36% 27%,#3c2d18 0%,#1b150d 38%,#080706 76%);border-color:#21190e;outline-color:rgba(214,177,95,.28);box-shadow:0 0 0 1px rgba(214,177,95,.12),0 30px 80px rgba(0,0,0,.5),inset 0 0 0 1px rgba(241,215,142,.06),inset 0 0 70px rgba(214,177,95,.045)}
html[data-kk-theme="dark"] .kk-tap-counter:before{border-color:rgba(214,177,95,.28)}
html[data-kk-theme="dark"] .kk-tap-counter .kk-counter-number{color:#f1d68a;text-shadow:0 0 34px rgba(214,177,95,.1)}
html[data-kk-theme="dark"] .kk-day-dot{color:#c7b99f;background:#11100d;border-color:rgba(214,177,95,.12)}
html[data-kk-theme="dark"] .kk-day-dot[data-done="true"]{color:#071006;background:#8aa778;border-color:#8aa778}
html[data-kk-theme="dark"] .kk-day-dot[data-current="true"]{outline-color:rgba(214,177,95,.34)}

/* Puja */
html[data-kk-theme="dark"] .kk-mandir-stage{background:radial-gradient(circle at 20% 45%,rgba(214,177,95,.17),transparent 28%),radial-gradient(circle at 84% 18%,rgba(139,106,36,.13),transparent 24%),linear-gradient(135deg,#050504 0%,#0d0b08 54%,#1d160c 100%);border-color:rgba(214,177,95,.18);box-shadow:0 34px 90px rgba(0,0,0,.52)}
html[data-kk-theme="dark"] .kk-mandir-stage:after{border-color:rgba(214,177,95,.09)}
html[data-kk-theme="dark"] .kk-mandir-symbol{color:#efd388;background:radial-gradient(circle,rgba(214,177,95,.085),rgba(255,255,255,.01));border-color:rgba(214,177,95,.18);box-shadow:0 0 46px rgba(214,177,95,.055)}
html[data-kk-theme="dark"] .kk-puja-stage-copy .kk-card-title{color:#fff2d4}
html[data-kk-theme="dark"] .kk-puja-stage-copy .kk-muted{color:#9f927d}
html[data-kk-theme="dark"] .kk-deity-card{color:#eee1ca;background:linear-gradient(145deg,#13110e,#0e0d0b);border-color:rgba(214,177,95,.11);box-shadow:0 12px 34px rgba(0,0,0,.22)}
html[data-kk-theme="dark"] .kk-deity-card:hover{border-color:rgba(214,177,95,.25);box-shadow:0 18px 42px rgba(0,0,0,.34),0 0 24px rgba(214,177,95,.035)}
html[data-kk-theme="dark"] .kk-deity-card[data-active="true"]{background:linear-gradient(145deg,#221a0e,#2b2112);border-color:rgba(214,177,95,.34)}
html[data-kk-theme="dark"] .kk-deity-symbol{color:#e2c473;background:rgba(214,177,95,.075);border-color:rgba(214,177,95,.15)}
html[data-kk-theme="dark"] .kk-deity-copy small{color:#8b8171}
html[data-kk-theme="dark"] .kk-puja-step{background:#11100d;border-color:rgba(214,177,95,.09)}
html[data-kk-theme="dark"] .kk-puja-step[data-active="true"]{background:rgba(214,177,95,.075);border-color:rgba(214,177,95,.23)}
html[data-kk-theme="dark"] .kk-puja-step[data-done="true"]{background:rgba(135,162,118,.075);border-color:rgba(135,162,118,.17)}
html[data-kk-theme="dark"] .kk-puja-step-copy small{color:#8d8272}

/* Sound */
html[data-kk-theme="dark"] .kk-tone-orb{background:radial-gradient(circle at 35% 28%,rgba(241,215,142,.32),rgba(214,177,95,.12) 34%,#090806 72%);border-color:#1d170f;outline-color:rgba(214,177,95,.2);box-shadow:0 28px 78px rgba(0,0,0,.48),0 0 44px rgba(214,177,95,.04)}
html[data-kk-theme="dark"] .kk-tone-orb strong{color:#f0d589}

/* Jyotish */
html[data-kk-theme="dark"] .kk-rashi-chart{background:#0c0a08!important;border-color:rgba(214,177,95,.2)!important;box-shadow:0 28px 72px rgba(0,0,0,.45)!important}
html[data-kk-theme="dark"] .kk-rashi-cell{background:linear-gradient(145deg,#15120d,#0c0a08)!important;border-color:rgba(214,177,95,.11)!important}
html[data-kk-theme="dark"] .kk-rashi-sign{color:#d8b75f}
html[data-kk-theme="dark"] .kk-rashi-planets span{color:#e5d7bd;background:rgba(214,177,95,.075)}
html[data-kk-theme="dark"] .kk-rashi-center{background:radial-gradient(circle at 50% 28%,rgba(214,177,95,.14),transparent 52%),linear-gradient(145deg,#080706,#171109)!important;border-color:rgba(214,177,95,.14)!important}
html[data-kk-theme="dark"] .kk-rashi-center strong{color:#f0d589}
html[data-kk-theme="dark"] .kk-rashi-center span{color:#8e8372}

/* Library, Gita and reading */
html[data-kk-theme="dark"] .kk-scripture-text{color:#f4e6c9;background:linear-gradient(145deg,#16120c,#0e0c09);border-color:rgba(214,177,95,.15);box-shadow:inset 0 1px rgba(255,255,255,.018),0 16px 42px rgba(0,0,0,.2)}
html[data-kk-theme="dark"] .kk-transliteration{color:#b3a58f}
html[data-kk-theme="dark"] .kk-scripture-dual{background:rgba(12,10,8,.72);border-color:rgba(214,177,95,.1)}
html[data-kk-theme="dark"] .kk-gita-sanskrit{color:#ecd18a}

/* Journey / forms / dream surfaces */
html[data-kk-theme="dark"] .kk-dream-row{background:linear-gradient(145deg,#12100d,#0d0c0a)!important;border-color:rgba(214,177,95,.1)!important}
html[data-kk-theme="dark"] .kk-dream-row:hover{border-color:rgba(214,177,95,.2)!important}
html[data-kk-theme="dark"] .kk-mini-stat{background:rgba(255,255,255,.025);border-color:rgba(214,177,95,.08);box-shadow:0 12px 30px rgba(0,0,0,.16)}
html[data-kk-theme="dark"] .kk-mini-stat strong{color:#e8cb7e}
html[data-kk-theme="dark"] .kk-mini-stat span{color:#827869}
html[data-kk-theme="dark"] .kk-modal-backdrop{background:rgba(0,0,0,.62);backdrop-filter:blur(9px)}
html[data-kk-theme="dark"] .kk-modal-title{color:#f4e7cf}
html[data-kk-theme="dark"] .kk-toast{color:#f4e8d3;background:rgba(12,10,8,.97);border:1px solid rgba(214,177,95,.14);box-shadow:0 16px 42px rgba(0,0,0,.42)}

/* Smooth navigation: View Transitions API + CSS fallback. */
#kk-spiritual-root{view-transition-name:kk-app}
::view-transition-group(kk-app){animation-duration:.34s;animation-timing-function:cubic-bezier(.22,.8,.22,1)}
::view-transition-old(kk-app),::view-transition-new(kk-app){mix-blend-mode:normal}
html[data-kk-nav-direction="forward"]::view-transition-old(kk-app){animation:kk-nav-old-forward .24s cubic-bezier(.4,0,.7,.2) both}
html[data-kk-nav-direction="forward"]::view-transition-new(kk-app){animation:kk-nav-new-forward .34s cubic-bezier(.16,.84,.28,1) both}
html[data-kk-nav-direction="back"]::view-transition-old(kk-app){animation:kk-nav-old-back .24s cubic-bezier(.4,0,.7,.2) both}
html[data-kk-nav-direction="back"]::view-transition-new(kk-app){animation:kk-nav-new-back .34s cubic-bezier(.16,.84,.28,1) both}
html[data-kk-nav-direction="stay"]::view-transition-old(kk-app){animation:kk-nav-fade-out .18s ease both}
html[data-kk-nav-direction="stay"]::view-transition-new(kk-app){animation:kk-nav-fade-in .26s ease both}
@keyframes kk-nav-old-forward{to{opacity:0;transform:translate3d(-12px,0,0) scale(.995)}}
@keyframes kk-nav-new-forward{from{opacity:0;transform:translate3d(18px,0,0) scale(.992)}to{opacity:1;transform:none}}
@keyframes kk-nav-old-back{to{opacity:0;transform:translate3d(12px,0,0) scale(.995)}}
@keyframes kk-nav-new-back{from{opacity:0;transform:translate3d(-18px,0,0) scale(.992)}to{opacity:1;transform:none}}
@keyframes kk-nav-fade-out{to{opacity:.15;filter:blur(2px)}}
@keyframes kk-nav-fade-in{from{opacity:.15;filter:blur(2px)}to{opacity:1;filter:none}}
.kk-route-enter{opacity:0;transform:translate3d(0,9px,0) scale(.995)}
.kk-route-enter.kk-route-enter-active{opacity:1;transform:none;transition:opacity .32s cubic-bezier(.16,.84,.28,1),transform .32s cubic-bezier(.16,.84,.28,1)}

/* Premium micro-motion */
html[data-kk-theme="dark"] .kk-card,
html[data-kk-theme="dark"] .kk-quick-action,
html[data-kk-theme="dark"] .kk-deity-card,
html[data-kk-theme="dark"] .kk-list-btn{transition:transform .2s cubic-bezier(.2,.8,.2,1),border-color .2s ease,background .2s ease,box-shadow .2s ease,color .2s ease}
@media(hover:hover) and (pointer:fine){
  html[data-kk-theme="dark"] .kk-card:hover{border-color:rgba(214,177,95,.19);box-shadow:0 20px 52px rgba(0,0,0,.3)}
  html[data-kk-theme="dark"] .kk-list-btn:hover{transform:translateX(2px)}
}
@media(max-width:720px){
  .kk-theme-toggle{width:40px;min-width:40px;height:40px;padding:0}.kk-theme-toggle-label{display:none}
  html[data-kk-theme="dark"] .kk-top{background:rgba(8,7,6,.92)}
  html[data-kk-theme="dark"] body.kk-os-ready.in-app #kk-spiritual-dock{background:rgba(8,7,6,.96);border-color:rgba(214,177,95,.15)}
}
@media(prefers-reduced-motion:reduce){
  #kk-spiritual-root{view-transition-name:none!important}
  ::view-transition-old(kk-app),::view-transition-new(kk-app){animation:none!important}
  .kk-route-enter,.kk-route-enter.kk-route-enter-active{opacity:1!important;transform:none!important;transition:none!important}
  .kk-theme-toggle,html[data-kk-theme="dark"] .kk-card,html[data-kk-theme="dark"] .kk-quick-action,html[data-kk-theme="dark"] .kk-deity-card,html[data-kk-theme="dark"] .kk-list-btn{transition:none!important}
}
