/* =====================================================================
   POPOVSKI — НОВ ДИЗАЈН „OCEAN + FROST“ (Apple стил)
   Само визуелен слој, активен САМО кога <html> има класа .ui-v2.
   Без .ui-v2 апликацијата е точно како досега (theme-navy-gold.css).
   ===================================================================== */
html.ui-v2 {
  --oc-1: #0E2A47; --oc-2: #1A476E; --oc-3: #143A5C;
  --glass: rgba(255,255,255,.10); --glass-2: rgba(255,255,255,.15); --glass-line: rgba(255,255,255,.16);
  --frost: linear-gradient(155deg, rgba(220,232,246,.94) 0%, rgba(240,245,252,.97) 52%, rgba(218,228,244,.94) 100%);
  --ink: #13283D; --ink-2: #33495F; --ink-mut: #647A90;
  --amber: #ECC054; --amber-ink: #1B2A3A;
  --irid: linear-gradient(105deg, rgba(226,236,249,.96) 0%, rgba(244,237,252,.97) 62%, rgba(226,211,246,.97) 100%);
  --spring: cubic-bezier(.22,1,.36,1);
  /* постоечки променливи → нова палета */
  --nv-bg: var(--oc-1); --nv-s1: rgba(255,255,255,.10); --nv-s2: rgba(255,255,255,.14); --nv-s3: rgba(255,255,255,.22);
  --nv-line: rgba(255,255,255,.16); --nv-gold: var(--amber); --nv-gold-soft: rgba(236,192,84,.18);
  --nv-tx: #FFFFFF; --nv-tx2: rgba(255,255,255,.82); --nv-mut: rgba(255,255,255,.62);
  --gold: var(--amber); --gold-bright: #F2CF73; --pp-radius: 22px;
}
html.ui-v2 body, html.ui-v2 .main-container, html.ui-v2 .app-screen {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif !important;
  -webkit-font-smoothing: antialiased;
}
html.ui-v2, html.ui-v2 body {
  background: radial-gradient(120% 70% at 50% 0%, var(--oc-2) 0%, var(--oc-3) 45%, var(--oc-1) 100%) fixed !important;
}
html.ui-v2 .main-container, html.ui-v2 .app-screen,
html.ui-v2 body:has(#navTabDenes:checked):not(.coach-mode) .main-container { background: transparent !important; color: #fff; }
html.ui-v2 .main-container h1, html.ui-v2 .main-container h2, html.ui-v2 .main-container h3,
html.ui-v2 .main-container .serif-title { color: #fff !important; font-family: inherit !important; font-weight: 700 !important; letter-spacing: -.02em; }

/* ---------- хедер: проѕирен, стакло ---------- */
html.ui-v2 .app-header { background: rgba(14,42,71,.55) !important; backdrop-filter: blur(20px) saturate(1.4); -webkit-backdrop-filter: blur(20px) saturate(1.4); border-bottom: 1px solid var(--glass-line) !important; }

/* ---------- главни картички: смрзнато стакло, темен текст ---------- */
html.ui-v2 .progress-box-card, html.ui-v2 .app-meal-card, html.ui-v2 .mobile-ex-card, html.ui-v2 .metric-card,
html.ui-v2 .rule-row, html.ui-v2 .section-banner-card, html.ui-v2 .dash-menu-item, html.ui-v2 .supp-item-row,
html.ui-v2 .pp-technique, html.ui-v2 .pp-home-hub, html.ui-v2 .pp-exercise-progress, html.ui-v2 .pp-food-selection,
html.ui-v2 .locked-feat-item, html.ui-v2 .wsched-day-col, html.ui-v2 .pp-detail-view, html.ui-v2 .pp-meal-list,
html.ui-v2 .ba-comparator-stage, html.ui-v2 .pp-due-reminder, html.ui-v2 .today-3q-banner, html.ui-v2 .anthro-table,
html.ui-v2 .profile-sheet-header, html.ui-v2 .pp-profile-link, html.ui-v2 .pp-reminder-settings, html.ui-v2 .pp-calendar-export, html.ui-v2 .pp-push-panel,
html.ui-v2 article.app-meal-card, html.ui-v2 .app-meal-card.pp-meal-list {
  background: var(--frost) !important; color: var(--ink) !important;
  border: 1px solid rgba(255,255,255,.62) !important; border-radius: 22px !important;
  box-shadow: 0 14px 30px rgba(6,22,40,.26) !important;
}
html.ui-v2 :is(.progress-box-card, .app-meal-card, .mobile-ex-card, .metric-card, .rule-row, .section-banner-card, .dash-menu-item, .supp-item-row, .pp-technique, .pp-home-hub, .pp-food-selection, .pp-detail-view, .profile-sheet-header, .pp-profile-link, .pp-reminder-settings, .pp-push-panel, .today-3q-banner, .anthro-table)
  :is(h1,h2,h3,h4,strong,b,.serif-title,label,span,p,li,small,td,th) { color: inherit !important; }
html.ui-v2 :is(.progress-box-card, .app-meal-card, .mobile-ex-card, .metric-card, .pp-detail-view, .pp-home-hub) :is(small,.sub-time,.eyebrow,.pp-greeting-sub) { color: var(--ink-mut) !important; }
/* внатрешни полиња во стаклени картички */
html.ui-v2 :is(.meal-prep-box, .mex-cues-box, .set-logger-box, .bio-sub-box, .tempo-biomech-strip, .pr-overload-strip, .pp-ingredients, .anat-figure-box) {
  background: rgba(255,255,255,.66) !important; color: var(--ink) !important;
  border: 1px solid rgba(255,255,255,.85) !important; border-radius: 16px !important;
}
/* инлајн бели позадини и темен текст → во стаклото останува темен текст */
html.ui-v2 .main-container [style*="color:var(--navy)"], html.ui-v2 .main-container [style*="color: var(--navy)"],
html.ui-v2 .main-container [style*="color:#0b2039"], html.ui-v2 .app-modal [style*="color:var(--navy)"] { color: var(--ink) !important; }
html.ui-v2 .main-container [style*="background:#fff"], html.ui-v2 .main-container [style*="background: #fff"],
html.ui-v2 .main-container [style*="var(--cream"], html.ui-v2 .main-container [style*="var(--white)"],
html.ui-v2 .app-modal [style*="background:#fff"], html.ui-v2 .app-modal [style*="var(--cream"], html.ui-v2 .app-modal [style*="var(--white)"] {
  background: rgba(255,255,255,.66) !important; border-color: rgba(255,255,255,.8) !important;
}

/* ---------- копчиња ---------- */
html.ui-v2 :is(.btn-gold, .vault-unlock-btn, .pp-choose-meal, .log-pill-btn.gold) {
  background: var(--amber) !important; color: var(--amber-ink) !important; border: 0 !important;
  border-radius: 14px !important; font-weight: 650 !important; box-shadow: 0 8px 18px rgba(236,192,84,.36) !important;
}
html.ui-v2 :is(.btn-navy, .adm-mini-btn, .btn-meal-swap, .btn-ex-swap, .btn-ex-video, .pp-meal-detail-btn, .log-pill-btn, .step-quick-btn, .energy-pill-btn, .overload-action-btn, .set-add-btn) {
  background: rgba(255,255,255,.72) !important; color: var(--ink) !important;
  border: 1px solid rgba(255,255,255,.85) !important; border-radius: 13px !important; font-weight: 600 !important;
}
/* главно копче за акција на почетната: „преливно“ */
html.ui-v2 .dash-workout-card #dashJumpToWorkoutBtn, html.ui-v2 #btnFinishWorkout, html.ui-v2 .cta-irid {
  background: var(--irid) !important; color: var(--ink) !important; border: 1px solid rgba(255,255,255,.8) !important;
  border-radius: 19px !important; box-shadow: 0 16px 30px rgba(8,25,44,.34) !important; font-weight: 650 !important;
}
/* притисок: Apple „scale“ */
html.ui-v2 :is(button, .btn-gold, .btn-navy, .pp-launcher, .dash-menu-item, .metric-card, .app-meal-card, .mobile-ex-card, label.seg-pill) {
  transition: transform .18s var(--spring), background-color .2s ease, box-shadow .22s ease, opacity .2s ease !important;
}
html.ui-v2 :is(button, .btn-gold, .btn-navy, .pp-launcher, .dash-menu-item, .metric-card, .app-meal-card, .mobile-ex-card):active { transform: scale(.965) !important; }

/* ---------- чипови ---------- */
html.ui-v2 :is(.m-chip, .mex-pill, .meal-opt-pill, .kcal-chip, .navy-pill, .dash-date-badge, .streak-pillar-chip, .today-3q-pill, .daily-step-badge, .cfb-rating-pill) {
  background: rgba(19,40,61,.07) !important; color: var(--ink-2) !important; border: 1px solid rgba(19,40,61,.08) !important; border-radius: 999px !important;
}
html.ui-v2 :is(.gold-pill, .pr-pill-gold, .chip-gold) { background: rgba(236,192,84,.22) !important; color: #7A5A10 !important; }
html.ui-v2 :is(.seg-pill.active, .dwc-day-btn.active), html.ui-v2 input:checked + .seg-pill { background: var(--oc-1) !important; color: #fff !important; }
html.ui-v2 .seg-pill { color: var(--ink-mut) !important; border-radius: 12px !important; }
html.ui-v2 .segmented-bar { background: rgba(255,255,255,.55) !important; border: 1px solid rgba(255,255,255,.75) !important; border-radius: 15px !important; backdrop-filter: blur(14px); }

/* ---------- инпути ---------- */
html.ui-v2 .main-container input:not([type=checkbox]):not([type=radio]):not(.css-state-input),
html.ui-v2 .main-container select, html.ui-v2 .main-container textarea,
html.ui-v2 .app-modal input:not([type=checkbox]):not([type=radio]), html.ui-v2 .app-modal select, html.ui-v2 .app-modal textarea, html.ui-v2 .set-inp, html.ui-v2 .form-field input {
  background: rgba(255,255,255,.8) !important; color: var(--ink) !important;
  border: 1px solid rgba(19,40,61,.12) !important; border-radius: 13px !important;
}
html.ui-v2 .main-container input::placeholder, html.ui-v2 .app-modal input::placeholder, html.ui-v2 .main-container textarea::placeholder { color: #8A9BAE !important; }
html.ui-v2 .main-container input:focus, html.ui-v2 .main-container textarea:focus, html.ui-v2 .app-modal input:focus { border-color: var(--oc-2) !important; box-shadow: 0 0 0 4px rgba(26,71,110,.14) !important; outline: none; }

/* ---------- ленти за напредок ---------- */
html.ui-v2 .mbi-track { background: rgba(19,40,61,.1) !important; }
html.ui-v2 .mbi-fill { background: var(--amber) !important; }
html.ui-v2 .pp-nutrition-meter { accent-color: var(--amber); background: rgba(19,40,61,.1) !important; }
html.ui-v2 .pp-nutrition-meter::-webkit-progress-bar { background: rgba(19,40,61,.1); }
html.ui-v2 .pp-nutrition-meter::-webkit-progress-value { background: var(--amber); }

/* ---------- ДЕНЕС ---------- */
html.ui-v2 .pp-week button {
  background: var(--glass) !important; border: 1px solid var(--glass-line) !important; color: rgba(255,255,255,.85) !important;
  border-radius: 15px !important; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
html.ui-v2 .pp-week button[aria-current="date"] { background: rgba(255,255,255,.26) !important; color: #fff !important; box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 6px 16px rgba(6,20,36,.25) !important; }
html.ui-v2 .dash-workout-card { border-radius: 26px !important; border: 1px solid rgba(255,255,255,.22) !important; box-shadow: 0 22px 44px -18px rgba(4,16,30,.7) !important; }
html.ui-v2 .dash-hero-card .serif-title { font-size: 28px !important; font-weight: 700 !important; }
html.ui-v2 .pp-greeting-sub { color: rgba(255,255,255,.7) !important; }
html.ui-v2 .pp-launcher {
  background: var(--frost) !important; color: var(--ink) !important; border: 1px solid rgba(255,255,255,.62) !important;
  border-radius: 20px !important; box-shadow: 0 10px 22px rgba(6,22,40,.2) !important;
}
html.ui-v2 .pp-launcher-icon { background: #fff !important; color: var(--ink) !important; border-radius: 50% !important; box-shadow: 0 4px 10px rgba(19,40,61,.12); }
html.ui-v2 .pp-launcher-icon svg { stroke: var(--ink) !important; }
html.ui-v2 .pp-launcher strong { color: var(--ink) !important; } html.ui-v2 .pp-launcher small, html.ui-v2 .pp-arrow { color: var(--ink-mut) !important; }

/* ---------- долна навигација: стаклен „dock“ ---------- */
html.ui-v2 #pwaBottomNav.pwa-floating-nav, html.ui-v2 .pwa-floating-nav-wrap > * {
  background: rgba(20,58,92,.55) !important; backdrop-filter: blur(22px) saturate(1.5); -webkit-backdrop-filter: blur(22px) saturate(1.5);
  border: 1px solid rgba(255,255,255,.18) !important; border-radius: 26px !important;
  box-shadow: 0 14px 34px rgba(4,16,30,.45), inset 0 1px 0 rgba(255,255,255,.18) !important;
}
html.ui-v2 #pwaBottomNav .pwa-nav-btn { color: rgba(255,255,255,.6) !important; border-radius: 20px !important; transition: color .2s ease, background .3s var(--spring), transform .15s var(--spring) !important; }
html.ui-v2 #pwaBottomNav .pwa-nav-btn .nav-lbl { color: inherit !important; font-weight: 600 !important; }
html.ui-v2 #pwaBottomNav :is(.pwa-nav-btn.active, input:checked + .pwa-nav-btn, .pwa-nav-btn[aria-current="page"]) {
  color: #fff !important; background: rgba(255,255,255,.17) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 4px 14px rgba(6,20,36,.18) !important;
}
html.ui-v2 #pwaBottomNav svg { stroke: currentColor !important; }

/* ---------- модали: лист што се лизга одоздола ---------- */
html.ui-v2 .modal-backdrop { background: rgba(6,18,32,.45) !important; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
html.ui-v2 .app-modal { background: var(--frost) !important; color: var(--ink) !important; border: 1px solid rgba(255,255,255,.7) !important; border-radius: 28px !important; box-shadow: 0 30px 60px rgba(4,16,30,.45) !important; }
html.ui-v2 .app-modal :is(h2,h3,h4,strong,label,p,span,li) { color: var(--ink) !important; }
html.ui-v2 .modal-close-btn { background: rgba(19,40,61,.08) !important; color: var(--ink) !important; border-radius: 50% !important; }

/* ---------- профил ---------- */
html.ui-v2 .profile-avatar-large { background: rgba(255,255,255,.2) !important; color: #fff !important; border: 2px solid rgba(255,255,255,.6) !important; border-radius: 22px !important; box-shadow: 0 10px 24px rgba(4,16,30,.35) !important; }
html.ui-v2 body #logoutBtn { background: rgba(255,255,255,.7) !important; color: #B4382A !important; border: 1px solid rgba(255,255,255,.85) !important; }

/* ---------- нашите нови модули (тренинг грижа, извештај, скенер, чекање) ---------- */
html.ui-v2 :is(.cc-fw, .px-week, .pm-entry, .ms-entry, #ppPendingPlan) {
  background: var(--glass) !important; border: 1px solid var(--glass-line) !important;
  backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: 0 16px 34px rgba(4,16,30,.3) !important;
}
html.ui-v2 :is(.cc-fw-go, .pm-entry i, .ms-entry i) { color: var(--amber) !important; }
html.ui-v2 :is(.cc-fw-close, .ppw-cta, .ms-gold, .pg-entry, .pm-btn, .pm-bar .pm-pdf, .pps-btn) { background: var(--amber) !important; color: var(--amber-ink) !important; }
html.ui-v2 :is(#pxMonthly, #msSheet .ms-card, #pgCam) { background: linear-gradient(180deg, var(--oc-2), var(--oc-1)) !important; }

/* ---------- најава / добредојде ---------- */
html.ui-v2 #loginOverlay .lw-bg { background: radial-gradient(70% 50% at 50% 30%, var(--oc-2) 0%, var(--oc-1) 80%) !important; }
html.ui-v2 #loginOverlay.lw-ready { background: var(--oc-1) !important; }
html.ui-v2 #loginOverlay .lw-shade { background: linear-gradient(180deg, rgba(14,42,71,.75) 0%, rgba(14,42,71,0) 18%, rgba(14,42,71,0) 50%, rgba(14,42,71,.6) 66%, var(--oc-1) 78%) !important; }
html.ui-v2 #loginOverlay .lw-welcome {
  background: var(--frost); border: 1px solid rgba(255,255,255,.7); border-radius: 30px; margin: 0 12px 14px !important;
  padding: 22px 20px calc(env(safe-area-inset-bottom,0px) + 22px) !important; left: 0; right: 0; box-shadow: 0 24px 50px rgba(4,16,30,.5);
}
html.ui-v2 #loginOverlay .lw-title { color: var(--ink) !important; font-weight: 700 !important; text-transform: none; }
html.ui-v2 #loginOverlay .lw-title span { color: var(--oc-2) !important; }
html.ui-v2 #loginOverlay .lw-sub { color: var(--ink-mut) !important; }
html.ui-v2 #loginOverlay .lw-chip { background: rgba(19,40,61,.07) !important; color: var(--ink) !important; }
html.ui-v2 #loginOverlay .lw-cta { background: var(--irid) !important; color: var(--ink) !important; border: 1px solid rgba(255,255,255,.85) !important; box-shadow: 0 16px 30px rgba(8,25,44,.3) !important; }
html.ui-v2 #loginOverlay .lw-cta i { background: var(--oc-1) !important; color: #fff !important; }
html.ui-v2 #loginOverlay .lw-apply { color: var(--ink-mut) !important; } html.ui-v2 #loginOverlay .lw-apply b { color: var(--oc-2) !important; }
html.ui-v2 #loginOverlay.lw-ready .vault-card { background: var(--frost) !important; border-top: 1px solid rgba(255,255,255,.8) !important; }
html.ui-v2 #loginOverlay.lw-ready .vault-card :is(h2, label, .vault-desc) { color: var(--ink) !important; }
html.ui-v2 #loginOverlay.lw-ready :is(.vault-text-input, .vault-pin-input) { background: #fff !important; color: var(--ink) !important; border: 1px solid rgba(19,40,61,.12) !important; }
html.ui-v2 #loginOverlay.lw-ready .vault-unlock-btn { background: var(--oc-1) !important; color: #fff !important; }
html.ui-v2 #loginOverlay .lw-gold { color: var(--oc-2) !important; }

/* ---------- чекање на план ---------- */
html.ui-v2 #ppPendingPlan { background: var(--frost) !important; color: var(--ink) !important; border: 1px solid rgba(255,255,255,.7) !important; }
html.ui-v2 #ppPendingPlan :is(h2) { color: var(--ink) !important; } html.ui-v2 #ppPendingPlan .ppw-lead { color: var(--ink-mut) !important; }
html.ui-v2 #ppPendingPlan .ppw-steps li { color: var(--ink-mut) !important; } html.ui-v2 #ppPendingPlan .ppw-steps li:is(.done,.now) { color: var(--ink) !important; }
html.ui-v2 #ppPendingPlan .ppw-photo { background: linear-gradient(180deg, var(--oc-2), rgba(26,71,110,0)) !important; }
html.ui-v2 #ppPendingPlan .ppw-chip { color: var(--oc-2) !important; }
html.ui-v2 #ppPendingPlan .ppw-ghost { color: var(--ink) !important; border-color: rgba(19,40,61,.15) !important; }

/* =====================================================================
   АНИМАЦИИ (Apple: пружина, слој по слој, лист одоздола)
   ===================================================================== */
@keyframes uiScreenIn { from { opacity: 0; transform: translateY(10px) scale(.992); } to { opacity: 1; transform: none; } }
@keyframes uiCardIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes uiSheetUp { from { transform: translateY(40px) scale(.985); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes uiFade { from { opacity: 0; } to { opacity: 1; } }
html.ui-v2 body:has(#navTabDenes:checked) #screenDenes,
html.ui-v2 body:has(#navTabTrening:checked) #screenTrening,
html.ui-v2 body:has(#navTabIshrana:checked) #screenIshrana,
html.ui-v2 body:has(#navTabProgres:checked) #screenProgres,
html.ui-v2 body:has(#navTabPravila:checked) #screenPravila { animation: uiScreenIn .42s var(--spring) both; }
html.ui-v2 .app-screen > :is(section, article, div):nth-child(-n+8) { animation: uiCardIn .5s var(--spring) both; }
html.ui-v2 .app-screen > :nth-child(2) { animation-delay: .04s; } html.ui-v2 .app-screen > :nth-child(3) { animation-delay: .08s; }
html.ui-v2 .app-screen > :nth-child(4) { animation-delay: .12s; } html.ui-v2 .app-screen > :nth-child(5) { animation-delay: .16s; }
html.ui-v2 .app-screen > :nth-child(6) { animation-delay: .2s; } html.ui-v2 .app-screen > :nth-child(n+7) { animation-delay: .24s; }
html.ui-v2 .modal-backdrop.open, html.ui-v2 .modal-backdrop[style*="flex"] { animation: uiFade .25s ease both; }
html.ui-v2 :is(.modal-backdrop.open, .modal-backdrop[style*="flex"]) .app-modal,
html.ui-v2 :is(#msSheet.open .ms-card, #pxMonthly.open .pm-sheet, #scWindow:not([hidden])) { animation: uiSheetUp .46s var(--spring) both; }
@media (prefers-reduced-motion: reduce) {
  html.ui-v2 *, html.ui-v2 *::before, html.ui-v2 *::after { animation-duration: .01ms !important; animation-delay: 0ms !important; transition-duration: .01ms !important; }
}

/* =====================================================================
   ВИСТИНСКИТЕ МОДУЛИ НА ЕКРАНИТЕ (screens-v2, weekly, профил, исхрана)
   ===================================================================== */
/* смрзнато стакло, темен текст */
html.ui-v2 :is(.v2-card, .pw-weekly-teaser, .pw-report, .fd-panel, .pp-selected-meals, .px-ms, .px-refer, .pp-lang-card, .pp-offline-panel, .daily-extra-accordion, .pp-exercise-progress, .pro-card.fd-coach) {
  background: var(--frost) !important; color: var(--ink) !important; border: 1px solid rgba(255,255,255,.62) !important;
  border-radius: 22px !important; box-shadow: 0 14px 30px rgba(6,22,40,.26) !important;
}
html.ui-v2 :is(.v2-card, .pw-weekly-teaser, .pw-report, .fd-panel, .pp-selected-meals, .px-ms, .px-refer, .pp-lang-card, .pp-offline-panel, .daily-extra-accordion, .pp-exercise-progress)
  :where(h1,h2,h3,h4,p,span,strong,b,div,label,li,summary,td,th,em) { color: inherit !important; }
html.ui-v2 :is(.v2-card, .pw-weekly-teaser, .pw-report, .fd-panel, .pp-selected-meals, .px-ms, .px-refer, .pp-lang-card, .daily-extra-accordion) :where(small) { color: var(--ink-mut) !important; }
html.ui-v2 :is(.v2-rem-row, .px-ms-item, .px-fd-log, .px-fd-add, .v2-chip) {
  background: rgba(255,255,255,.7) !important; color: var(--ink) !important; border: 1px solid rgba(255,255,255,.85) !important;
}
html.ui-v2 :is(.p3-ic, .px-fd-ico, .v2-rem-ic, .p3d-ric) { background: #fff !important; color: var(--ink) !important; box-shadow: 0 4px 10px rgba(19,40,61,.12); }
html.ui-v2 :is(.p3-ic, .px-fd-ico, .v2-rem-ic, .p3d-ric) svg { stroke: var(--ink) !important; }
html.ui-v2 .v2-tgl { background: rgba(19,40,61,.15) !important; } html.ui-v2 :is(.v2-tgl.on, .v2-tgl[aria-checked="true"], input:checked + .v2-tgl) { background: var(--oc-2) !important; }
html.ui-v2 .pro-btn { background: rgba(255,255,255,.72) !important; color: var(--ink) !important; border: 1px solid rgba(255,255,255,.85) !important; border-radius: 13px !important; }
html.ui-v2 .pro-btn.gold { background: var(--amber) !important; color: var(--amber-ink) !important; border: 0 !important; }
html.ui-v2 .meal-photo-thumb { border-radius: 50% !important; box-shadow: 0 4px 12px rgba(19,40,61,.18); }

/* проѕирно стакло на сината позадина, бел текст */
html.ui-v2 :is(.v2-tile, .v2-mac, .v2-avatar) {
  background: rgba(255,255,255,.10) !important; border: 1px solid rgba(255,255,255,.16) !important; color: #fff !important;
  backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); border-radius: 20px !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14) !important;
}
html.ui-v2 :is(.v2-tile, .v2-mac) :where(span, small, b, strong, div) { color: inherit !important; }
html.ui-v2 .v2-avatar { border-radius: 18px !important; }
html.ui-v2 .v2-day { background: rgba(255,255,255,.10) !important; border: 1px solid rgba(255,255,255,.16) !important; color: rgba(255,255,255,.85) !important; border-radius: 15px !important; backdrop-filter: blur(14px); }
html.ui-v2 .v2-day.on { background: rgba(255,255,255,.28) !important; color: #fff !important; box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 8px 18px rgba(6,20,36,.3) !important; }
html.ui-v2 .v2-day.on * { color: #fff !important; }
/* тренинг-картичка на почетната: стакло наместо злато */
html.ui-v2 .v2-hero {
  background: linear-gradient(160deg, rgba(255,255,255,.18), rgba(255,255,255,.06)) !important; color: #fff !important;
  border: 1px solid rgba(255,255,255,.22) !important; border-radius: 26px !important;
  backdrop-filter: blur(20px) saturate(1.3); -webkit-backdrop-filter: blur(20px) saturate(1.3);
  box-shadow: 0 22px 44px -18px rgba(4,16,30,.7), inset 0 1px 0 rgba(255,255,255,.2) !important;
}
html.ui-v2 .v2-hero :where(h1,h2,h3,p,span,b,strong,small,div) { color: #fff !important; }
html.ui-v2 .v2-start { background: var(--irid) !important; color: var(--ink) !important; border: 1px solid rgba(255,255,255,.85) !important; box-shadow: 0 14px 26px rgba(8,25,44,.34) !important; }
html.ui-v2 .v2-start * { color: var(--ink) !important; }
html.ui-v2 .v2-hero-vid { background: rgba(14,42,71,.55) !important; color: #fff !important; backdrop-filter: blur(10px); }
/* сегменти (појадок/ручек…) */
html.ui-v2 .v2-card .on, html.ui-v2 .seg-pill.on { background: var(--oc-1) !important; color: #fff !important; }
/* избран јазичок (оброк / ден): темно сино, како во дизајнот */
html.ui-v2 body:has(#mealSubBreakfast:checked) label[for=mealSubBreakfast], html.ui-v2 body:has(#mealSubLunch:checked) label[for=mealSubLunch],
html.ui-v2 body:has(#mealSubDinner:checked) label[for=mealSubDinner], html.ui-v2 body:has(#mealSubSnack:checked) label[for=mealSubSnack],
html.ui-v2 body:has(#cssWDayA:checked) label[for=cssWDayA], html.ui-v2 body:has(#cssWDayB:checked) label[for=cssWDayB], html.ui-v2 body:has(#cssWDayC:checked) label[for=cssWDayC],
html.ui-v2 body:has(#cssWDayD:checked) label[for=cssWDayD], html.ui-v2 body:has(#cssWDayE:checked) label[for=cssWDayE] {
  background: var(--oc-1) !important; color: #fff !important; box-shadow: 0 6px 14px rgba(14,42,71,.35) !important;
}
html.ui-v2 :is(label[for^=mealSub], label[for^=cssWDay]) * { color: inherit !important; }
/* тренинг: денови како стакло, ден за одмор читлив */
html.ui-v2 .p3d-chip { background: rgba(255,255,255,.10) !important; border: 1px solid rgba(255,255,255,.16) !important; color: rgba(255,255,255,.86) !important; backdrop-filter: blur(14px); border-radius: 16px !important; }
html.ui-v2 .p3d-chip :where(small,b,em,span) { color: inherit !important; }
html.ui-v2 .p3d-chip.train em { color: var(--amber) !important; }
html.ui-v2 .p3d-chip.on { background: rgba(255,255,255,.3) !important; color: #fff !important; box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 8px 18px rgba(6,20,36,.3) !important; }
html.ui-v2 .p3d-rest { background: var(--frost) !important; color: var(--ink) !important; border: 1px solid rgba(255,255,255,.62) !important; }
html.ui-v2 .p3d-rest :where(b,p,strong,span,h3) { color: var(--ink) !important; } html.ui-v2 .p3d-rest p { color: var(--ink-mut) !important; }
/* мени долу: избраното копче е стаклена „таблета“ (не жолто) */
html.ui-v2 body:has(#navTabDenes:checked) #pwaBottomNav label[for=navTabDenes], html.ui-v2 body:has(#navTabTrening:checked) #pwaBottomNav label[for=navTabTrening],
html.ui-v2 body:has(#navTabIshrana:checked) #pwaBottomNav label[for=navTabIshrana], html.ui-v2 body:has(#navTabProgres:checked) #pwaBottomNav label[for=navTabProgres],
html.ui-v2 body:has(#navTabProfil:checked) #pwaBottomNav label[for=navTabProfil], html.ui-v2 body:has(#navTabPravila:checked) #pwaBottomNav label[for=navTabPravila] {
  background: rgba(255,255,255,.18) !important; color: #fff !important; box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 4px 14px rgba(6,20,36,.2) !important;
}
html.ui-v2 #pwaBottomNav label :is(svg, .nav-lbl) { color: inherit !important; stroke: currentColor !important; }
html.ui-v2 article.mobile-ex-card, html.ui-v2 article.mobile-ex-card.pp-has-photo { background: var(--frost) !important; background-image: var(--frost) !important; color: var(--ink) !important; }
html.ui-v2 .mobile-ex-card :where(.mex-name, h4, b, strong) { color: var(--ink) !important; }
/* наслови внатре во светлите (смрзнати) картички: секогаш темни */
html.ui-v2 .main-container :is(.v2-card, .pw-weekly-teaser, .pw-report, .fd-panel, .pp-selected-meals, .px-ms, .px-refer, .pp-lang-card, .pp-offline-panel, .daily-extra-accordion, .pp-exercise-progress, .progress-box-card, .app-meal-card, .mobile-ex-card, .metric-card, .rule-row, .section-banner-card, .pp-detail-view, .pp-home-hub, .p3d-rest, .profile-sheet-header, .pp-profile-link, .pp-reminder-settings, .pp-push-panel, #ppPendingPlan)
  :is(h1, h2, h3, h4, .serif-title) { color: var(--ink) !important; }
html.ui-v2 .profile-sheet-header :is(p, span, small, div):not(.profile-avatar-large) { color: var(--ink-mut) !important; }
html.ui-v2 .profile-sheet-header :is(b, strong, h2, h3) { color: var(--ink) !important; }
html.ui-v2 .profile-sheet-header .profile-avatar-large { background: linear-gradient(150deg, var(--oc-2), var(--oc-1)) !important; color: #fff !important; border-color: rgba(255,255,255,.8) !important; }
