/* Ce nu se poate scrie în Tailwind: baza, safe-area, animațiile, camera, foile. */
:root {
  --ink: #000;
  --s1: #0d0d0e;
  --s2: #111113;
  --s3: #18181b;
  --tx2: #a1a1aa;
  --tx3: #71717a;
  --acc: #10b981;
  --red: #ef4444;
  --sat: env(safe-area-inset-top);
  --sab: env(safe-area-inset-bottom);
}
html,
body {
  background: #000;
  color: #fff;
  overscroll-behavior-y: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body {
  min-height: 100dvh;
}
input {
  font-size: 16px;
}
input[type='number']::-webkit-outer-spin-button,
input[type='number']::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type='number'] {
  -moz-appearance: textfield;
}
#app {
  max-width: 520px;
  margin: 0 auto;
  padding: calc(var(--sat) + 56px) 20px calc(104px + var(--sab));
}
.topbar {
  padding-top: var(--sat);
}
.tabbar {
  padding-bottom: calc(6px + var(--sab));
}
.view {
  animation: fade 0.22s ease;
}
@keyframes fade {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Arc semicircular + bare micro */
.gauge-fg {
  transition: stroke-dasharray 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.mbar {
  height: 3px;
  border-radius: 2px;
  background: #27272a;
  overflow: hidden;
}
.mbar i {
  display: block;
  height: 100%;
  border-radius: 2px;
  background: #fff;
  transition: width 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.mbar i.over {
  background: #f59e0b;
}
.hair {
  height: 2px;
  border-radius: 1px;
  background: #27272a;
  overflow: hidden;
}
.hair i {
  display: block;
  height: 100%;
  background: #fff;
  transition: width 0.6s;
}

/* Consistență */
.heat {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}
.heat i {
  aspect-ratio: 1;
  border-radius: 6px;
  background: #18181b;
}
.heat i.on {
  background: #fff;
}
.heat i.part {
  background: #52525b;
}
.heat i.today {
  outline: 1px solid #fff;
  outline-offset: 2px;
}

/* Poze */
.pgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.pph {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: 14px;
  overflow: hidden;
  background: #18181b;
}
.pph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pph span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px 8px 6px;
  font-size: 11px;
  font-weight: 600;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
}
.cmp {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: #000;
  user-select: none;
}
.cmp img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cmp .tag {
  position: absolute;
  top: 10px;
  font-size: 11px;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.65);
  padding: 4px 9px;
  border-radius: 99px;
  z-index: 2;
}
.cmp input[type='range'] {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  width: calc(100% - 24px);
  z-index: 3;
  height: 44px;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
}
.cmp input[type='range']::-webkit-slider-runnable-track {
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.4);
}
.cmp input[type='range']::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 26px;
  height: 26px;
  margin-top: -11.5px;
  border-radius: 50%;
  background: #fff;
  border: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}
.cmp input[type='range']::-moz-range-track {
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.4);
}
.cmp input[type='range']::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  border: 0;
}

/* Sheets (iOS slide-up) */
.scrim {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  animation: sc 0.2s;
}
@keyframes sc {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.sheet {
  width: 100%;
  max-width: 520px;
  max-height: 92dvh;
  overflow: auto;
  background: #0d0d0e;
  border: 1px solid rgba(39, 39, 42, 0.8);
  border-bottom: 0;
  border-radius: 22px 22px 0 0;
  padding: 8px 20px calc(22px + var(--sab));
  animation: up 0.32s cubic-bezier(0.2, 0.9, 0.25, 1);
}
.sheet.full {
  height: 100dvh;
  max-height: 100dvh;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: #000;
  display: flex;
  flex-direction: column;
}
@keyframes up {
  from {
    transform: translateY(100%);
  }
  to {
    transform: none;
  }
}
.grab {
  width: 36px;
  height: 4px;
  border-radius: 2px;
  background: #3f3f46;
  margin: 4px auto 16px;
}

/* Cameră */
.scanwrap {
  position: relative;
  flex: 1;
  background: #000;
  overflow: hidden;
  min-height: 50dvh;
}
.scanwrap video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.frame {
  position: absolute;
  left: 12%;
  right: 12%;
  top: 30%;
  height: 26%;
  border-radius: 20px;
  border: 2px solid #fff;
  box-shadow: 0 0 0 100vmax rgba(0, 0, 0, 0.6);
}
.frame::after {
  content: '';
  position: absolute;
  left: 10px;
  right: 10px;
  top: 50%;
  height: 1px;
  background: #ef4444;
  animation: scan 1.6s ease-in-out infinite;
}
@keyframes scan {
  0%,
  100% {
    top: 10%;
  }
  50% {
    top: 90%;
  }
}
.scanhint {
  position: absolute;
  left: 0;
  right: 0;
  top: 60%;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  text-shadow: 0 1px 6px #000;
}
.scanbar {
  padding: 14px 20px calc(14px + var(--sab));
  background: #0d0d0e;
  border-top: 1px solid #18181b;
}
.xbtn {
  position: absolute;
  top: calc(var(--sat) + 12px);
  right: 16px;
  z-index: 5;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
}
.grid3d {
  position: absolute;
  left: 5%;
  right: 5%;
  top: 24%;
  height: 48%;
  transform: perspective(560px) rotateX(58deg);
  transform-origin: 50% 100%;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.55) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.55) 1px, transparent 1px);
  background-size: 12.5% 16.66%;
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  border-radius: 6px;
}
.shutter {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #fff;
  border: 5px solid #000;
  box-shadow: 0 0 0 2px #fff;
  transition: transform 0.12s;
}
.shutter:active {
  transform: scale(0.92);
}

/* Toast / switch / spinner / misc */
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(96px + var(--sab));
  transform: translate(-50%, 16px);
  z-index: 90;
  background: #fff;
  color: #000;
  font-weight: 600;
  font-size: 13px;
  padding: 10px 18px;
  border-radius: 99px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s;
  width: max-content;
  max-width: calc(100vw - 32px);
  text-align: center;
  line-height: 1.35;
  white-space: normal;
  border-radius: 18px;
}
.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
.sw {
  width: 51px;
  height: 31px;
  border-radius: 99px;
  background: #27272a;
  position: relative;
  transition: background 0.2s;
  flex: none;
}
.sw::after {
  content: '';
  position: absolute;
  left: 2px;
  top: 2px;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}
.sw.on {
  background: #10b981;
}
.sw.on::after {
  transform: translateX(20px);
}
.spin {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #27272a;
  border-top-color: #fff;
  animation: rot 0.8s linear infinite;
  margin: 20px auto;
}
@keyframes rot {
  to {
    transform: rotate(360deg);
  }
}
.pre {
  white-space: pre-wrap;
  font:
    12.5px/1.55 ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
  background: #111113;
  border: 1px solid #18181b;
  border-radius: 14px;
  padding: 14px;
  max-height: 50dvh;
  overflow: auto;
  color: #d4d4d8;
}
.avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #18181b;
  border: 1px solid #27272a;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 600;
}
.sv {
  display: inline-block;
  flex: none;
}
.sv svg {
  width: 100%;
  height: 100%;
}

.topbar-in {
  position: relative;
}
body {
  -webkit-touch-callout: none;
}
button,
.tab,
.li,
.nbtn {
  -webkit-user-select: none;
  user-select: none;
}

/* Splash de pornire */
#splash {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: #111214;
  display: grid;
  place-items: center;
  transition: opacity 0.55s ease;
}
#splash.out {
  opacity: 0;
  pointer-events: none;
}
#splash .sp-in {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(78vw, 360px);
  position: relative;
}
#splash .sp-glow {
  position: absolute;
  left: 50%;
  top: 44%;
  width: 520px;
  height: 520px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.16), transparent 62%);
  opacity: 0;
  animation: spGlow 2.6s ease 0.5s forwards;
}
#splash .sp-mark {
  width: 34%;
  margin-bottom: 34px;
  overflow: visible;
}
#splash .sp-arc {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw 1.1s cubic-bezier(0.65, 0, 0.35, 1) 0.15s forwards;
}
#splash .sp-dot {
  transform-box: fill-box;
  transform-origin: center;
  transform: scale(0);
  animation: pop 0.45s cubic-bezier(0.3, 1.6, 0.5, 1) 1.1s forwards;
  filter: drop-shadow(0 0 7px rgba(16, 185, 129, 0.9));
}
#splash .sp-slogan {
  margin-top: 30px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  white-space: nowrap;
  text-transform: uppercase;
  color: #71717a;
  opacity: 0;
  transform: translateY(6px);
  animation: spUp 0.7s ease 2.05s forwards;
}
@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes pop {
  to {
    transform: scale(1);
  }
}
@keyframes spUp {
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes spGlow {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.55;
  }
}
@media (prefers-reduced-motion: reduce) {
  #splash * {
    animation-duration: 0.01s !important;
    animation-delay: 0s !important;
  }
}

#splash .sp-name {
  display: flex;
  justify-content: center;
  font:
    800 clamp(46px, 15vw, 64px)/1 -apple-system,
    BlinkMacSystemFont,
    'SF Pro Display',
    system-ui,
    sans-serif;
  letter-spacing: 0.14em;
  margin-right: -0.14em;
  color: #fff;
}
#splash .sp-name span {
  display: inline-block;
  opacity: 0;
  transform: translateY(18px) scale(0.94);
  filter: blur(8px);
  animation: spLetter 0.85s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  animation-delay: calc(0.7s + var(--i) * 0.1s);
}
@keyframes spLetter {
  to {
    opacity: 1;
    transform: none;
    filter: blur(0);
  }
}

/* buton cont în bara de sus */
.acct {
  height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  background: #fff;
  color: #000;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.acct.av {
  width: 32px;
  padding: 0;
  display: grid;
  place-items: center;
  background: #18181b;
  color: #fff;
  border: 1px solid #27272a;
  font-size: 13px;
}
.acct:active {
  opacity: 0.6;
}

/* banner actualizare */
#upd {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: calc(env(safe-area-inset-bottom) + 84px);
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 10px 10px 16px;
  border-radius: 16px;
  background: #111;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
  animation: updin 0.35s cubic-bezier(0.2, 0.9, 0.25, 1);
}
#upd button {
  height: 36px;
  padding: 0 14px;
  border-radius: 11px;
  background: #10b981;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
}
@keyframes updin {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}

/* chestionar, serie, ghid instalare */
#onbo,
#streak,
#inst {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  flex-direction: column;
  background: #000;
  color: #fff;
  padding: calc(env(safe-area-inset-top) + 8px) 22px calc(env(safe-area-inset-bottom) + 16px);
  animation: obin 0.3s ease;
}
#streak {
  z-index: 85;
  background: #151517;
  align-items: center;
  text-align: center;
  color: #fff;
}
#inst {
  z-index: 84;
  overflow: auto;
  align-items: center;
  text-align: center;
}
#onbo.out,
#streak.out,
#inst.out {
  opacity: 0;
  transition: opacity 0.3s;
}
@keyframes obin {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.ob-top {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 44px;
  flex: none;
}
.ob-back {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #a1a1aa;
}
.ob-back svg {
  width: 20px;
  height: 20px;
}
.ob-back.off {
  opacity: 0;
  pointer-events: none;
}
.ob-prog {
  flex: 1;
  height: 6px;
  border-radius: 3px;
  background: #27272a;
  overflow: hidden;
}
.ob-prog i {
  display: block;
  height: 100%;
  background: #fff;
  border-radius: 3px;
  transition: width 0.35s cubic-bezier(0.2, 0.9, 0.25, 1);
}
.ob-n {
  font-size: 12px;
  color: #71717a;
  min-width: 30px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.ob-body {
  flex: 1;
  overflow: auto;
  padding-top: 26px;
  min-height: 0;
}
.ob-body h1 {
  font-size: 30px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.ob-body p {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.4;
  color: #a1a1aa;
}
.ob-ctl {
  margin-top: 28px;
}
.in-r {
  animation: obr 0.35s cubic-bezier(0.2, 0.9, 0.25, 1);
}
.in-l {
  animation: obl 0.35s cubic-bezier(0.2, 0.9, 0.25, 1);
}
@keyframes obr {
  from {
    opacity: 0;
    transform: translateX(28px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes obl {
  from {
    opacity: 0;
    transform: translateX(-28px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.ob-bot {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 12px;
  flex: none;
}
.ob-skip {
  height: 40px;
  font-size: 14px;
  font-weight: 600;
  color: #71717a;
}
.ob-in {
  height: 60px;
  font-size: 22px;
  font-weight: 600;
}
.ob-num {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  margin: 30px 0 20px;
}
.ob-num span {
  font-size: 88px;
  font-weight: 800;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.ob-num small {
  font-size: 22px;
  color: #71717a;
  font-weight: 600;
}
.rng {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 36px;
  background: transparent;
}
.rng::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 3px;
  background: #27272a;
}
.rng::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  margin-top: -13px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}
.rng::-moz-range-track {
  height: 6px;
  border-radius: 3px;
  background: #27272a;
}
.rng::-moz-range-thumb {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: #fff;
}
.ob-pm {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 18px;
}
.ob-pm button {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 1px solid #27272a;
  background: #111113;
  font-size: 28px;
  color: #fff;
}
.ob-pm button:active {
  opacity: 0.6;
}
.ob-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ob-opt {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1.5px solid #27272a;
  background: #0d0d0e;
  transition:
    border-color 0.15s,
    background 0.15s;
}
.ob-opt .t {
  font-size: 17px;
  font-weight: 600;
}
.ob-opt .s {
  font-size: 13px;
  color: #71717a;
  margin-top: 2px;
}
.ob-opt.on {
  border-color: #fff;
  background: #18181b;
}
.ob-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #3f3f46;
  flex: none;
  transition: all 0.15s;
}
.ob-opt.on .ob-dot {
  border-color: #10b981;
  background: #10b981;
  box-shadow: inset 0 0 0 4px #18181b;
}
.ob-days {
  display: flex;
  justify-content: space-between;
}
.ob-days button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid #27272a;
  font-weight: 700;
  font-size: 15px;
  color: #a1a1aa;
}
.ob-days button.on {
  background: #fff;
  color: #000;
  border-color: #fff;
}
.ob-hint {
  text-align: center;
  margin-top: 18px;
  font-size: 13px;
  color: #71717a;
}
.ob-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.ob-chips button {
  height: 46px;
  padding: 0 18px;
  border-radius: 23px;
  border: 1.5px solid #27272a;
  font-size: 15px;
  font-weight: 600;
  color: #d4d4d8;
}
.ob-chips button.on {
  background: #fff;
  color: #000;
  border-color: #fff;
}
.ob-plan {
  border-radius: 24px;
  border: 1px solid #27272a;
  background: #0d0d0e;
  padding: 24px;
}
.ob-plan-k {
  display: flex;
  justify-content: space-around;
  text-align: center;
}
.ob-plan-k b {
  display: block;
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}
.ob-plan-k span,
.ob-plan-m span {
  display: block;
  font-size: 12px;
  color: #71717a;
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}
.ob-plan-m {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
  margin-top: 24px;
}
.ob-plan-m b {
  font-size: 26px;
  font-weight: 700;
}
.ob-plan-m small {
  font-size: 13px;
  color: #71717a;
}
.ob-plan-b {
  display: flex;
  height: 4px;
  border-radius: 2px;
  overflow: hidden;
  background: #27272a;
  margin-top: 20px;
}
/* serie */
.st-sparks {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.st-sparks i {
  position: absolute;
  bottom: -20px;
  left: var(--x);
  width: var(--s);
  height: var(--s);
  border-radius: 50%;
  background: #ffb02e;
  opacity: 0;
  animation: stup 2.6s var(--d) ease-out infinite;
}
@keyframes stup {
  0% {
    transform: translateY(0);
    opacity: 0;
  }
  15% {
    opacity: 0.9;
  }
  100% {
    transform: translateY(-70vh);
    opacity: 0;
  }
}
.st-hero {
  position: relative;
  margin-top: 11vh;
  width: 210px;
  height: 245px;
}
.st-flame {
  width: 100%;
  height: 100%;
  transform-origin: 50% 90%;
  animation:
    stpop 0.7s cubic-bezier(0.2, 1.4, 0.4, 1) both,
    stflick 1.7s 0.8s ease-in-out infinite;
}
.st-in {
  transform-origin: 50% 90%;
  animation: stflick2 1.1s ease-in-out infinite;
}
@keyframes stpop {
  from {
    transform: scale(0.2) rotate(-8deg);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}
@keyframes stflick {
  0%,
  100% {
    transform: scale(1) skewX(0);
  }
  50% {
    transform: scale(1.03, 1.05) skewX(-1.5deg);
  }
}
@keyframes stflick2 {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.07, 1.1);
  }
}
.st-n {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  font-size: 92px;
  font-weight: 900;
  line-height: 1;
  color: #fff;
  -webkit-text-stroke: 9px #151517;
  paint-order: stroke fill;
  font-variant-numeric: tabular-nums;
}
.st-n.bump {
  animation: stbump 0.55s cubic-bezier(0.2, 1.6, 0.4, 1);
}
@keyframes stbump {
  0% {
    transform: scale(0.55);
  }
  100% {
    transform: scale(1);
  }
}
.st-t {
  margin-top: 4px;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.st-week {
  width: 100%;
  max-width: 340px;
  margin-top: 38px;
}
.st-days {
  display: flex;
  justify-content: space-between;
  padding: 0 6px;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
}
.st-days .d {
  color: #fdba74;
}
.st-days .now {
  color: #f97316;
}
.st-bar {
  position: relative;
  height: 16px;
  border-radius: 8px;
  background: #55595c;
  margin-top: 12px;
}
.st-bar i {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  border-radius: 8px;
  background: linear-gradient(90deg, #ffd25e, #ffa62b);
  transition: width 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.st-spark {
  position: absolute;
  top: 50%;
  width: 34px;
  height: 34px;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 0 8px #fff);
  transition: left 1s cubic-bezier(0.2, 0.8, 0.2, 1);
  animation: stpulse 1.2s infinite ease-in-out;
}
@keyframes stpulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(0.85);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.12);
  }
}
.st-m {
  margin-top: 34px;
  font-size: 17px;
  color: #e5e5e5;
}
.st-bot {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: calc(env(safe-area-inset-bottom) + 16px);
}
#streak .btn.pri {
  background: #fff;
  color: #000;
}
/* ghid instalare */
.in-hero {
  margin-top: 5vh;
  width: 84px;
  height: 84px;
  border-radius: 26px;
  display: grid;
  place-items: center;
  background: #111113;
  border: 1px solid #27272a;
  flex: none;
  color: #fff;
}
#inst h1 {
  margin-top: 22px;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
#inst p {
  margin-top: 8px;
  color: #a1a1aa;
  font-size: 15px;
}
.in-steps {
  width: 100%;
  max-width: 420px;
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}
.in-step {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid #27272a;
  background: #0d0d0e;
}
.in-step b {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  color: #000;
  display: grid;
  place-items: center;
  font-size: 13px;
  flex: none;
}
.in-ic {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #18181b;
  display: grid;
  place-items: center;
  flex: none;
  color: #4da3ff;
}
.in-ic svg {
  width: 24px;
  height: 24px;
}
.in-ic span {
  font-size: 20px;
}
.in-step .t {
  font-size: 15px;
  font-weight: 600;
}
.in-step .s {
  font-size: 12.5px;
  color: #71717a;
  margin-top: 2px;
}
.in-bot {
  width: 100%;
  max-width: 420px;
  margin-top: auto;
  padding-top: 22px;
  padding-bottom: 34px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.in-arrow {
  position: fixed;
  left: 50%;
  bottom: calc(env(safe-area-inset-bottom) + 2px);
  transform: translateX(-50%);
  color: #10b981;
  animation: inbounce 1s infinite ease-in-out;
}
.in-arrow svg {
  width: 34px;
  height: 34px;
}
@keyframes inbounce {
  0%,
  100% {
    transform: translate(-50%, 0);
  }
  50% {
    transform: translate(-50%, 8px);
  }
}
/* mese pliabile */
.meal-h {
  cursor: pointer;
}
.mring {
  position: relative;
  width: 52px;
  height: 52px;
  flex: none;
}
.mring svg.r {
  position: absolute;
  inset: 0;
  width: 52px;
  height: 52px;
  transform: rotate(-90deg);
}
.mring .c {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #d4d4d8;
}
.mring circle.fg {
  transition: stroke-dasharray 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.mfold {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.22s cubic-bezier(0.2, 0.9, 0.25, 1);
}
.mfold > div {
  overflow: hidden;
  min-height: 0;
}
.meal.open .mfold {
  grid-template-rows: 1fr;
}
.mchev {
  display: inline-flex;
  transition: transform 0.25s;
}
.meal.open .mchev {
  transform: rotate(90deg);
}

/* Laborator */
.lab-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.lab {
  display: block;
  width: 100%;
  text-align: left;
  border-radius: 20px;
  border: 1px solid rgba(39, 39, 42, 0.6);
  background: #0d0d0e;
  padding: 16px;
  transition:
    opacity 0.15s,
    transform 0.15s;
}
.lab:active {
  opacity: 0.7;
  transform: scale(0.99);
}
.lab-h {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.lab-t {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #71717a;
}
.lab-chip {
  height: 22px;
  padding: 0 9px;
  border-radius: 11px;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}
.lab-chip.ok {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
}
.lab-chip.mid {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
}
.lab-chip.low {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}
.lab-chip.nn {
  background: #18181b;
  color: #a1a1aa;
}
.lab-big {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
}
.lab-s {
  font-size: 13px;
  line-height: 1.35;
  color: #a1a1aa;
  margin-top: 8px;
}
.vgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 18px;
}
.vrow {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  font-size: 12.5px;
  color: #a1a1aa;
}
.vrow b {
  color: #fff;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.vbar {
  position: relative;
  grid-column: 1/3;
  height: 5px;
  border-radius: 3px;
  background: #27272a;
  margin-top: 6px;
  overflow: hidden;
}
.vbar .vz {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 41.6%;
  width: 41.7%;
  background: rgba(16, 185, 129, 0.2);
}
.vbar i {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  border-radius: 3px;
  background: #71717a;
  transition: width 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.vbar i.zin {
  background: #10b981;
}
.vbar i.zov {
  background: #f59e0b;
}
.zbar {
  position: relative;
  height: 10px;
  border-radius: 5px;
  margin-top: 14px;
  background: linear-gradient(90deg, #3f3f46 0 40%, #10b981 40% 65%, #f59e0b 65% 75%, #ef4444 75% 100%);
}
.zbar b {
  position: absolute;
  top: -4px;
  width: 4px;
  height: 18px;
  border-radius: 2px;
  background: #fff;
  transform: translateX(-50%);
  box-shadow: 0 0 0 2px #0d0d0e;
}
.rrow {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  font-size: 14px;
}
.a {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 800;
  flex: none;
}
.a.up {
  background: rgba(16, 185, 129, 0.18);
  color: #10b981;
}
.a.eq {
  background: rgba(245, 158, 11, 0.18);
  color: #f59e0b;
}
.vfill {
  border-radius: 6px;
  background: #10b981;
  min-height: 4px;
}

/* Antrenor AI */
.coach-teaser {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  margin-top: 14px;
  padding: 14px;
  border-radius: 20px;
  border: 1px solid rgba(39, 39, 42, 0.6);
  background: #0d0d0e;
  transition: opacity 0.15s;
}
.coach-teaser:active {
  opacity: 0.7;
}
.ct-ic {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #18181b;
  color: #10b981;
  flex: none;
}
.ct-ic .ico {
  background: transparent;
  color: inherit;
}
.ct-t {
  font-size: 14px;
  line-height: 1.35;
  margin-top: 3px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cov {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: flex;
  flex-direction: column;
  background: #000;
  color: #fff;
  animation: obin 0.25s ease;
}
.cv-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(env(safe-area-inset-top) + 6px) 10px 6px;
  border-bottom: 1px solid rgba(39, 39, 42, 0.6);
  flex: none;
}
.cv-top button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #a1a1aa;
}
.cv-top svg {
  width: 20px;
  height: 20px;
}
.cv-title {
  font-size: 16px;
  font-weight: 700;
}
.cv-msgs {
  flex: 1;
  overflow: auto;
  padding: 16px 16px 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
  -webkit-overflow-scrolling: touch;
}
.cv-u {
  align-self: flex-end;
  max-width: 84%;
  background: #fff;
  color: #000;
  padding: 10px 14px;
  border-radius: 18px 18px 4px 18px;
  font-size: 15px;
  line-height: 1.4;
  word-break: break-word;
}
.cv-c {
  align-self: flex-start;
  max-width: 92%;
  background: #111113;
  border: 1px solid #27272a;
  padding: 12px 14px;
  border-radius: 18px 18px 18px 4px;
  font-size: 15px;
  line-height: 1.45;
  word-break: break-word;
}
.cv-c b {
  font-weight: 700;
}
.cv-c .bl {
  display: flex;
  gap: 8px;
  margin-top: 5px;
}
.cv-c .bl::before {
  content: '•';
  color: #10b981;
  font-weight: 700;
}
.cv-err {
  color: #f59e0b;
}
.cv-typing {
  display: flex;
  gap: 5px;
  padding: 15px 16px;
}
.cv-typing i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #71717a;
  animation: cvt 1s infinite;
}
.cv-typing i:nth-child(2) {
  animation-delay: 0.15s;
}
.cv-typing i:nth-child(3) {
  animation-delay: 0.3s;
}
@keyframes cvt {
  0%,
  60%,
  100% {
    opacity: 0.3;
    transform: translateY(0);
  }
  30% {
    opacity: 1;
    transform: translateY(-4px);
  }
}
.cv-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 8px 16px;
  flex: none;
  scrollbar-width: none;
}
.cv-chips::-webkit-scrollbar {
  display: none;
}
.cv-chips button {
  flex: none;
  height: 36px;
  padding: 0 14px;
  border-radius: 18px;
  border: 1px solid #27272a;
  background: #0d0d0e;
  font-size: 13px;
  font-weight: 600;
  color: #d4d4d8;
  white-space: nowrap;
}
.cv-in {
  display: flex;
  gap: 10px;
  padding: 8px 16px calc(env(safe-area-inset-bottom) + 10px);
  flex: none;
}
.cv-in .in {
  flex: 1;
  height: 48px;
  border-radius: 24px;
  padding: 0 18px;
}
.cv-send {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  color: #000;
  display: grid;
  place-items: center;
  flex: none;
}
.cv-send svg {
  width: 20px;
  height: 20px;
}

/* Laborator v2 (Apple) */
.t-ok {
  color: #10b981;
}
.t-mid {
  color: #f59e0b;
}
.t-low {
  color: #ef4444;
}
.t-nn {
  color: #a1a1aa;
}
.lab {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: left;
  min-height: 172px;
  padding: 16px;
  border-radius: 20px;
  border: 1px solid rgba(39, 39, 42, 0.6);
  background: #0d0d0e;
  transition:
    opacity 0.15s,
    transform 0.15s;
}
.lab:active {
  opacity: 0.7;
  transform: scale(0.985);
}
.lab-k {
  font-size: 15px;
  font-weight: 600;
  color: #a1a1aa;
  letter-spacing: -0.01em;
}
.lab-ring {
  position: relative;
  width: 84px;
  height: 84px;
  margin: 10px auto 8px;
}
.lab-rn {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.lab-n {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-top: 20px;
  font-variant-numeric: tabular-nums;
}
.lab-s {
  margin-top: auto;
  font-size: 14px;
  line-height: 1.3;
  color: #a1a1aa;
  text-align: center;
}
.lab .lab-n + .lab-s,
.lab .lab-n + .lab-bar + .lab-s {
  text-align: left;
}
.lab-bar {
  height: 5px;
  border-radius: 3px;
  background: #27272a;
  margin: 14px 0 8px;
  overflow: hidden;
}
.lab-bar i {
  display: block;
  height: 100%;
  border-radius: 3px;
  background: #10b981;
}
.gauge2 {
  position: relative;
  height: 6px;
  border-radius: 3px;
  background: #27272a;
  margin-top: 18px;
}
.gauge2 .gz {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 40%;
  width: 25%;
  border-radius: 3px;
  background: rgba(16, 185, 129, 0.55);
}
.gauge2 b {
  position: absolute;
  top: 50%;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  transform: translate(-50%, -50%);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}
/* tab Antrenor */
.cinput {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 54px;
  margin-top: 12px;
  padding: 0 9px 0 20px;
  border-radius: 27px;
  border: 1px solid #27272a;
  background: #0d0d0e;
  color: #71717a;
  font-size: 16px;
  text-align: left;
  transition: opacity 0.15s;
}
.cinput:active {
  opacity: 0.7;
}
.cinput i {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  color: #000;
  display: grid;
  place-items: center;
  flex: none;
}
.cinput svg {
  width: 18px;
  height: 18px;
}
.cq {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cq button {
  height: 38px;
  padding: 0 15px;
  border-radius: 19px;
  border: 1px solid #27272a;
  background: #0d0d0e;
  font-size: 14px;
  font-weight: 600;
  color: #d4d4d8;
}
.rv-ck {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid #3f3f46;
  display: grid;
  place-items: center;
  flex: none;
  color: transparent;
  transition: all 0.15s;
}
.rv-ck svg {
  width: 14px;
  height: 14px;
}
.rv-ck.on {
  background: #10b981;
  border-color: #10b981;
  color: #fff;
}
.dl-note {
  margin-bottom: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
  font-size: 14px;
  font-weight: 600;
}

/* Chat cu Max (stil asistent modern) */
.cv-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.15;
}
.cv-title b {
  font-size: 16px;
  font-weight: 700;
}
.cv-title span {
  font-size: 11px;
  color: #71717a;
  font-weight: 500;
}
.cv-mono {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  color: #000;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 19px;
  flex: none;
}
.cv-mono.sm {
  width: 28px;
  height: 28px;
  font-size: 13px;
}
.cv-hello {
  margin: 9vh 4px 0;
}
.cv-hello h2 {
  margin-top: 18px;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.cv-hello p {
  margin-top: 4px;
  font-size: 24px;
  color: #71717a;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.cv-sug {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 30px;
}
.cv-sug button {
  min-height: 78px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid #27272a;
  background: #0d0d0e;
  text-align: left;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.25;
  color: #e4e4e7;
  transition: opacity 0.15s;
}
.cv-sug button:active {
  opacity: 0.6;
}
.cv-a {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  align-self: stretch;
}
.cv-a .cv-mono {
  margin-top: 1px;
}
.cv-at {
  flex: 1;
  min-width: 0;
  font-size: 16px;
  line-height: 1.55;
  word-break: break-word;
}
.cv-at b {
  font-weight: 700;
}
.cv-at .bl {
  display: flex;
  gap: 8px;
  margin-top: 5px;
}
.cv-at .bl::before {
  content: '•';
  color: #71717a;
}
.cv-u {
  background: #27272a;
  color: #fff;
  border-radius: 20px 20px 6px 20px;
}
.cv-typing {
  display: flex;
  gap: 5px;
  padding: 10px 0;
}

/* poză de profil */
.avatar {
  overflow: hidden;
}
.avatar .avatar-cam {
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  color: #000;
  display: grid;
  place-items: center;
  border: 2px solid #0d0d0e;
}
.avatar .avatar-cam svg {
  width: 12px;
  height: 12px;
}
.avatar.relative {
  overflow: visible;
}
.avatar.relative > img {
  border-radius: 50%;
}
.acct.av {
  overflow: hidden;
}
.acct.av img {
  display: block;
}
select.in {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 34px;
  background-image:
    linear-gradient(45deg, transparent 50%, #71717a 50%), linear-gradient(135deg, #71717a 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 50%,
    calc(100% - 13px) 50%;
  background-size:
    5px 5px,
    5px 5px;
  background-repeat: no-repeat;
  text-align-last: right;
}
.ob-in {
  text-align: left;
  text-align-last: left;
}

/* Max: chat ca pe WhatsApp */
:root {
  --tabh: 64px;
  --wa-bg: #0b141a;
  --wa-top: #202c33;
  --wa-in: #202c33;
  --wa-out: #005c4b;
  --wa-tx: #e9edef;
  --wa-meta: #8696a0;
  --wa-meta2: rgba(233, 237, 239, 0.6);
  --wa-pill: #2a3942;
  --wa-chip: #182229;
  --wa-g: #00a884;
  --wa-btn: #53bdeb;
}
html[data-theme='light'] {
  --wa-bg: #efeae2;
  --wa-top: #f7f8fa;
  --wa-in: #ffffff;
  --wa-out: #d9fdd3;
  --wa-tx: #111b21;
  --wa-meta: #667781;
  --wa-meta2: #667781;
  --wa-pill: #ffffff;
  --wa-chip: #ffffff;
  --wa-btn: #027eb5;
}
html[data-theme] .cov.wa {
  bottom: var(--tabh);
  background: var(--wa-bg);
  color: var(--wa-tx);
}
.scrim {
  z-index: 75;
}
.wa-top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: calc(env(safe-area-inset-top) + 8px) 8px 10px 14px;
  background: var(--wa-top);
  flex: none;
  border-bottom: 1px solid rgba(128, 128, 128, 0.18);
}
.wa-top .cv-mono {
  background: var(--wa-g);
  color: #fff;
  width: 40px;
  height: 40px;
  font-size: 17px;
}
.wa-who {
  display: flex;
  flex-direction: column;
  flex: 1;
  line-height: 1.2;
  min-width: 0;
}
.wa-who b {
  font-size: 17px;
  font-weight: 600;
}
.wa-who span {
  font-size: 12.5px;
  color: var(--wa-meta);
}
.wa-who span.typ {
  color: var(--wa-g);
}
.wa-top button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--wa-meta);
}
.wa-top button svg {
  width: 20px;
  height: 20px;
}
.wa-msgs {
  flex: 1;
  overflow: auto;
  padding: 10px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-height: 0;
  -webkit-overflow-scrolling: touch;
}
.wa-day {
  align-self: center;
  margin: 10px 0 6px;
}
.wa-day span {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 8px;
  background: var(--wa-chip);
  color: var(--wa-meta);
  font-size: 12.5px;
  font-weight: 500;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.12);
}
.wa-m {
  position: relative;
  max-width: 82%;
  padding: 7px 9px 5px 10px;
  border-radius: 9px;
  font-size: 15.5px;
  line-height: 1.4;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.14);
  word-break: break-word;
}
.wa-m.rx {
  align-self: flex-start;
  background: var(--wa-in);
  color: var(--wa-tx);
}
.wa-m.tx {
  align-self: flex-end;
  background: var(--wa-out);
  color: var(--wa-tx);
}
.wa-m.tail {
  margin-top: 7px;
}
.wa-m.rx.tail {
  border-top-left-radius: 0;
}
.wa-m.tx.tail {
  border-top-right-radius: 0;
}
.wa-m.rx.tail::before {
  content: '';
  position: absolute;
  top: 0;
  left: -7px;
  width: 8px;
  height: 12px;
  background: var(--wa-in);
  clip-path: polygon(100% 0, 0 0, 100% 100%);
}
.wa-m.tx.tail::before {
  content: '';
  position: absolute;
  top: 0;
  right: -7px;
  width: 8px;
  height: 12px;
  background: var(--wa-out);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}
.wa-t b {
  font-weight: 700;
}
.wa-t .bl {
  display: flex;
  gap: 7px;
  margin-top: 3px;
}
.wa-t .bl::before {
  content: '•';
  color: var(--wa-meta);
}
.wa-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 3px;
  margin-top: 2px;
  font-size: 11px;
  color: var(--wa-meta);
  line-height: 1;
}
.wa-m.tx .wa-meta {
  color: var(--wa-meta2);
}
.wa-ck {
  width: 15px;
  height: 11px;
  color: var(--wa-meta2);
}
.wa-ck.rd {
  color: #53bdeb;
}
.wa-btns {
  align-self: flex-start;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 210px;
  max-width: 82%;
}
.wa-btns button {
  height: 40px;
  border-radius: 9px;
  background: var(--wa-in);
  color: var(--wa-btn);
  font-size: 15px;
  font-weight: 500;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.14);
  padding: 0 14px;
  transition: opacity 0.15s;
}
.wa-btns button:active {
  opacity: 0.6;
}
.wa-err .wa-t {
  color: #f59e0b;
}
.wa-typing {
  display: flex;
  gap: 4px;
  padding: 12px 14px;
}
.wa-typing i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--wa-meta);
  animation: cvt 1s infinite;
}
.wa-typing i:nth-child(2) {
  animation-delay: 0.15s;
}
.wa-typing i:nth-child(3) {
  animation-delay: 0.3s;
}
.wa-in {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px 8px;
  flex: none;
}
.wa-plus {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--wa-meta);
  flex: none;
}
.wa-plus svg {
  width: 24px;
  height: 24px;
}
.wa-in input {
  flex: 1;
  min-width: 0;
  height: 44px;
  border-radius: 22px;
  border: 0;
  background: var(--wa-pill);
  color: var(--wa-tx);
  padding: 0 16px;
  font-size: 16px;
  outline: 0;
}
.wa-in input::placeholder {
  color: var(--wa-meta);
}
.wa-send {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--wa-g);
  color: #fff;
  display: grid;
  place-items: center;
  flex: none;
}
.wa-send svg {
  width: 20px;
  height: 20px;
}
/* cartela din Jurnal: rând de chat */
.ct-av {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #00a884;
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 20px;
  flex: none;
}
.ct-row1 {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}
.ct-row1 + .ct-row1 {
  margin-top: 3px;
  align-items: center;
}
.ct-name {
  font-weight: 700;
  font-size: 16px;
}
.ct-time {
  font-size: 12px;
  color: #8696a0;
}
.ct-time.u {
  color: #00a884;
}
.ct-prev {
  font-size: 14px;
  color: #8696a0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  flex: 1;
  min-width: 0;
}
.ct-badge {
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 10px;
  background: #00a884;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex: none;
}
.tdot {
  position: absolute;
  top: 5px;
  left: calc(50% + 7px);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #00a884;
  border: 2px solid #000;
}

/* Max în antrenament */
.mx-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(0, 168, 132, 0.12);
  border: 1px solid rgba(0, 168, 132, 0.28);
}
.mx-note .cv-mono {
  background: #00a884;
  color: #fff;
  margin-top: 1px;
}
.mx-t {
  font-size: 14.5px;
  line-height: 1.4;
}
.mx-rest {
  margin-top: 6px;
  font-size: 13px;
  color: #00a884;
  font-weight: 600;
}
.mx-rest b {
  font-variant-numeric: tabular-nums;
}
.mx-next {
  margin-top: 8px;
  height: 34px;
  padding: 0 14px;
  border-radius: 17px;
  background: #00a884;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}
.wa-cam {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: var(--wa-meta);
  flex: none;
}
.wa-cam svg {
  width: 22px;
  height: 22px;
}

.mtot {
  display: flex;
  gap: 16px;
  padding: 0 16px 6px 16px;
  font-size: 12px;
  font-weight: 600;
  color: #71717a;
}
.meal.open .mfold > div {
  max-height: 420px;
  overflow-y: auto;
}

/* cronometru de pauză */
#rest {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(var(--tabh) + env(safe-area-inset-bottom) + 10px);
  z-index: 60;
  border-radius: 20px;
  background: #18181b;
  border: 1px solid #27272a;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  animation: updin 0.3s;
}
.rest-bar {
  height: 3px;
  background: #27272a;
}
.rest-bar i {
  display: block;
  height: 100%;
  background: #10b981;
  transition: width 0.5s linear;
}
.rest-r {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
}
.rest-t {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}
.rest-l {
  flex: 1;
  font-size: 13px;
  color: #a1a1aa;
}
.rest-r button {
  height: 36px;
  min-width: 46px;
  border-radius: 12px;
  background: #27272a;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}
.rest-r button:active {
  opacity: 0.6;
}
.rest-x {
  min-width: 36px !important;
  display: grid;
  place-items: center;
}
.rest-x svg {
  width: 16px;
  height: 16px;
}
/* meniuri și carduri noi */
.mcopy {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 2px 16px 12px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #27272a;
  color: #e4e4e7;
  font-size: 12.5px;
  font-weight: 600;
}
.mcopy svg {
  width: 14px;
  height: 14px;
}
.mcopy:active {
  opacity: 0.6;
}
.xcard {
  padding: 6px 16px;
}
.xrow {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 0;
  text-align: left;
}
.xrow + .xrow {
  border-top: 1px solid #27272a;
}
.xic {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: #27272a;
  color: #d4d4d8;
  flex: none;
}
.xic svg {
  width: 18px;
  height: 18px;
}
.xnum {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
}
.xnum span {
  font-size: 12px;
  font-weight: 500;
  color: #71717a;
}
.glasses {
  display: flex;
  gap: 4px;
  margin-top: 6px;
}
.glasses i {
  flex: 1;
  max-width: 22px;
  height: 8px;
  border-radius: 4px;
  background: #3f3f46;
}
.glasses i.on {
  background: #38bdf8;
}
.xbtn2 {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #27272a;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}
.xbtn2.pri {
  background: #fff;
  color: #000;
}
.xbtn2:disabled {
  opacity: 0.35;
}
.xbtn2:active {
  opacity: 0.6;
}
.lvl-bar {
  height: 6px;
  border-radius: 3px;
  background: #27272a;
  overflow: hidden;
}
.lvl-bar i {
  display: block;
  height: 100%;
  border-radius: 3px;
  background: #10b981;
  transition: width 0.6s;
}
.xfoot {
  display: flex;
  justify-content: space-between;
  padding: 10px 0 8px;
  border-top: 1px solid #27272a;
  font-size: 12px;
  color: #71717a;
}
.bdg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.bdg {
  border-radius: 16px;
  background: #18181b;
  padding: 14px 8px;
  text-align: center;
  opacity: 0.55;
}
.bdg.on {
  opacity: 1;
  background: #14231d;
}
.bdg-i {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin: 0 auto 8px;
  border-radius: 50%;
  background: #27272a;
  color: #a1a1aa;
}
.bdg.on .bdg-i {
  background: #10b981;
  color: #fff;
}
.bdg-i svg {
  width: 20px;
  height: 20px;
}
.bdg-t {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
}
.bdg-s {
  margin-top: 3px;
  font-size: 11px;
  color: #71717a;
}
.st-fz {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}
.st-fz svg {
  width: 14px;
  height: 14px;
}

/* card Max între seturi */
.mx-card {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 20px;
  background: #0f1a17;
  border: 1px solid rgba(16, 185, 129, 0.28);
}
.mx-h {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}
.mx-h b {
  font-weight: 700;
}
.mx-h .cv-mono {
  background: #10b981;
  color: #fff;
}
.mx-set {
  margin-left: auto;
  color: #a1a1aa;
  font-size: 12px;
  font-weight: 600;
}
.mx-chip {
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}
.mx-chip.ok {
  background: rgba(16, 185, 129, 0.18);
  color: #34d399;
}
.mx-chip.warn {
  background: rgba(245, 158, 11, 0.18);
  color: #fbbf24;
}
.mx-lbl {
  margin-top: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #71717a;
}
.mx-big {
  margin-top: 2px;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.mx-sub {
  margin-top: 6px;
  font-size: 13.5px;
  color: #a1a1aa;
  line-height: 1.35;
}
.mx-card .mx-next {
  width: 100%;
  margin-top: 12px;
  height: 44px;
  border-radius: 14px;
  background: #10b981;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

/* apă: sticlă */
.wcard {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 12px;
  padding: 16px 18px;
}
.bot {
  flex: none;
  width: 76px;
  height: 156px;
  display: block;
  -webkit-tap-highlight-color: transparent;
}
.bot:active {
  transform: scale(0.97);
}
.bottle {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.b-body {
  fill: rgba(125, 211, 252, 0.07);
  stroke: #52525b;
  stroke-width: 2.2;
}
.b-cap {
  fill: #52525b;
}
.b-tick {
  stroke: #71717a;
  stroke-width: 1.6;
  stroke-linecap: round;
}
.b-glint {
  stroke: #fff;
  stroke-opacity: 0.35;
  stroke-width: 3;
  stroke-linecap: round;
}
.wfill {
  transition:
    transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 0.4s;
}
.wv {
  animation: wvm 2.6s linear infinite;
}
.wv2 {
  animation-duration: 4s;
  animation-direction: reverse;
}
@keyframes wvm {
  to {
    transform: translateX(40px);
  }
}
.bub {
  fill: #fff;
  fill-opacity: 0.55;
  animation: bubUp 3.6s ease-in infinite;
}
.bub.b2 {
  animation-delay: 1.1s;
  animation-duration: 4.4s;
}
.bub.b3 {
  animation-delay: 2.2s;
  animation-duration: 3.2s;
}
@keyframes bubUp {
  0% {
    transform: translateY(0);
    opacity: 0;
  }
  15% {
    opacity: 0.7;
  }
  100% {
    transform: translateY(-70px);
    opacity: 0;
  }
}
.wcard.full .b-body {
  stroke: #38bdf8;
}
.wcard.full .bottle {
  filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.45));
}
.wtxt {
  flex: 1;
  min-width: 0;
}
.wbig {
  margin-top: 2px;
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.wbig b {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}
.wbig span {
  font-size: 14px;
  font-weight: 500;
  color: #71717a;
}
.wsub {
  margin-top: 4px;
  font-size: 13px;
  color: #71717a;
}
.wbtns {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}
.wpill {
  height: 42px;
  padding: 0 18px;
  border-radius: 21px;
  background: #0ea5e9;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}
.wpill:active {
  opacity: 0.7;
}
.wmin {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #27272a;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
}
.wmin:disabled {
  opacity: 0.35;
}
.wmin:active {
  opacity: 0.6;
}
/* antrenamente */
.wk {
  margin-top: 12px;
  padding: 16px 16px 14px;
}
.wk-h {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.wk-n {
  font-size: 14px;
  color: #71717a;
}
.wk-n b {
  font-size: 20px;
  color: inherit;
}
.wk-row {
  display: flex;
  justify-content: space-between;
  margin-top: 14px;
}
.tk {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 40px;
}
.tk-c {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.6px solid transparent;
  color: #71717a;
}
.tk-c svg {
  width: 19px;
  height: 19px;
}
.tk-c i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #52525b;
}
.tk.did .tk-c {
  background: #10b981;
  border-color: #10b981;
  color: #fff;
}
.tk.pl .tk-c {
  border: 1.6px dashed #52525b;
}
.tk.now .tk-c {
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
}
.tk.now:not(.did) .tk-c {
  border-color: #10b981;
  border-style: solid;
  color: #10b981;
}
.tk-l {
  font-size: 11px;
  font-weight: 600;
  color: #71717a;
}
.tk.now .tk-l {
  color: #10b981;
}
.wk.anim .tk {
  animation: tokIn 0.5s cubic-bezier(0.2, 0.9, 0.3, 1.2) both;
  animation-delay: calc(var(--i) * 55ms);
}
@keyframes tokIn {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.6);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.wk-f {
  margin-top: 12px;
  font-size: 13px;
  color: #71717a;
}
.wk-go {
  width: 100%;
  margin-top: 12px;
  height: 46px;
  border-radius: 14px;
  background: #10b981;
  color: #fff;
  font-size: 14.5px;
  font-weight: 700;
}
.wk-go:active {
  opacity: 0.7;
}
.wk-ch {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #27272a;
  text-align: left;
}
.wk-ct {
  font-size: 13px;
  color: #a1a1aa;
}
/* emblemă de nivel */
.emb {
  flex: none;
}
.emb-bg {
  fill: none;
  stroke: #27272a;
  stroke-width: 4;
}
.emb-fg {
  fill: none;
  stroke: var(--tc);
  stroke-width: 4;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.8s;
}
.emb-hex {
  fill: var(--tc);
  fill-opacity: 0.14;
  stroke: var(--tc);
  stroke-width: 2;
  stroke-linejoin: round;
}
.emb-n {
  font-size: 15px;
  font-weight: 800;
  fill: var(--tc);
  font-family: inherit;
}
.emb.slate {
  --tc: #94a3b8;
}
.emb.green {
  --tc: #10b981;
}
.emb.blue {
  --tc: #3b82f6;
}
.emb.violet {
  --tc: #8b5cf6;
}
.emb.gold {
  --tc: #d4a017;
}
.lvlcard .s {
  margin-top: 2px;
}
.pw {
  position: relative;
}
.pw .in {
  padding-right: 48px;
}
.pw-eye {
  position: absolute;
  right: 6px;
  top: 50%;
  margin-top: 1px;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: #71717a;
}
.pw-eye svg {
  width: 20px;
  height: 20px;
}
.wk-cl {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #71717a;
  margin-bottom: 2px;
}

/* prognoză */
.fcard {
  padding: 16px;
}
.fc {
  display: block;
  width: 100%;
  height: auto;
}
.fc-line {
  fill: none;
  stroke: #52525b;
  stroke-width: 2;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.fc-pj {
  fill: none;
  stroke: #10b981;
  stroke-width: 2;
  stroke-dasharray: 4 5;
  stroke-linecap: round;
}
.fc-goal {
  stroke: #71717a;
  stroke-width: 1;
  stroke-dasharray: 3 4;
}
.fc-gl {
  font-size: 9px;
  fill: #71717a;
  font-weight: 600;
}
.fc-now {
  fill: #10b981;
  stroke: #fff;
  stroke-width: 1.5;
}
.fc-dot {
  fill: none;
  stroke: #10b981;
  stroke-width: 2;
}
.fc-t {
  margin-top: 12px;
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.35;
}
.fc-s {
  margin-top: 4px;
  font-size: 12.5px;
  color: #71717a;
}
.fc-edit {
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  color: #10b981;
}
/* ciclu */
.cyc {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin-bottom: 12px;
  padding: 10px 14px;
  border-radius: 16px;
  background: rgba(244, 114, 182, 0.1);
  border: 1px solid rgba(244, 114, 182, 0.25);
  text-align: left;
}
.cyc-r {
  width: 34px;
  height: 34px;
  flex: none;
}
.cyc-r svg {
  width: 100%;
  height: 100%;
}
.cyc .cb {
  fill: none;
  stroke: rgba(244, 114, 182, 0.25);
  stroke-width: 4;
}
.cyc .cf {
  fill: none;
  stroke: #f472b6;
  stroke-width: 4;
  stroke-linecap: round;
}
.cyc .sp {
  display: flex;
  flex-direction: column;
  font-size: 12.5px;
  color: #a1a1aa;
}
.cyc b {
  font-size: 14px;
  color: inherit;
}
/* antrenament pe tot ecranul */
#fw {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: flex;
  flex-direction: column;
  padding: calc(env(safe-area-inset-top) + 12px) 18px calc(env(safe-area-inset-bottom) + 16px);
  background: #0b0b0f;
  color: #fff;
  animation: fwin 0.28s ease;
}
@keyframes fwin {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.fw-top {
  display: flex;
  align-items: center;
  gap: 10px;
}
.fw-ttl {
  flex: 1;
  min-width: 0;
  text-align: center;
}
.fw-ex {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.fw-sub {
  margin-top: 2px;
  font-size: 12.5px;
  color: #8e8e93;
}
.fw-x {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #1c1c22;
  color: #fff;
}
.fw-x svg {
  width: 20px;
  height: 20px;
}
.fw-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 18px 0 6px;
}
.fw-dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2a2a32;
}
.fw-dots i.on {
  background: #10b981;
}
.fw-tgt {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 14px 0 8px;
  padding: 12px 16px;
  border-radius: 16px;
  background: #14141a;
}
.fw-tgt span {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8e8e93;
}
.fw-tgt b {
  font-size: 20px;
  font-weight: 700;
}
.fw-big {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
}
.fw-pm {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: #1c1c22;
  color: #fff;
  font-size: 34px;
  font-weight: 500;
  flex: none;
}
.fw-pm:active {
  background: #2a2a32;
  transform: scale(0.96);
}
.fw-val {
  flex: 1;
  font-size: 72px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}
.fw-val small {
  margin-left: 6px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0;
  color: #8e8e93;
}
.fw-info {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: 14px;
  background: #14141a;
}
.fw-info span {
  font-size: 12px;
  color: #8e8e93;
}
.fw-info b {
  font-size: 14.5px;
  font-weight: 700;
  text-align: right;
}
.fw-save {
  margin-top: auto;
  width: 100%;
  height: 64px;
  border-radius: 20px;
  background: #10b981;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}
.fw-save:active {
  opacity: 0.8;
  transform: scale(0.99);
}
.fw-rest {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}
.fw-rl {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8e8e93;
}
.fw-rt {
  margin-top: 6px;
  font-size: 112px;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
}
.fw-rbar {
  height: 6px;
  border-radius: 3px;
  background: #2a2a32;
  margin: 22px 12px 0;
  overflow: hidden;
}
.fw-rbar i {
  display: block;
  height: 100%;
  background: #10b981;
  transition: width 0.5s linear;
}
.fw-nx {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 10px;
  margin-top: 26px;
}
.fw-nx span {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8e8e93;
}
.fw-nx b {
  font-size: 28px;
  font-weight: 800;
}
.fw-msg {
  margin: 10px 8px 0;
  font-size: 14.5px;
  color: #a1a1aa;
  line-height: 1.4;
}
.fw-rb {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 28px;
}
.fw-ghost {
  height: 48px;
  padding: 0 22px;
  border-radius: 24px;
  background: #1c1c22;
  color: #fff;
  font-size: 14.5px;
  font-weight: 600;
}
.fw-ghost:active {
  opacity: 0.7;
}
.fw-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  font-size: 13px;
  color: #8e8e93;
}
.fw-nav > button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #1c1c22;
  color: #fff;
}
.fw-nav > button:disabled {
  opacity: 0.25;
}
.fw-nav svg {
  width: 18px;
  height: 18px;
}
.fw-nextbtn {
  height: 40px;
  padding: 0 16px;
  border-radius: 20px;
  background: #10b981 !important;
  color: #fff !important;
  font-size: 13.5px;
  font-weight: 700;
  width: auto !important;
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: inline-block !important;
}

/* serie în doi */
.duoc {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
}
.duo-ic {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
  flex: none;
}
.duo-ic svg {
  width: 20px;
  height: 20px;
}
.duo-ic i {
  position: absolute;
  right: -4px;
  bottom: -4px;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #10b981;
  color: #fff;
}
.duo-ic i svg {
  width: 12px;
  height: 12px;
}
.duo-av {
  display: flex;
  flex: none;
}
.duo-av b {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #27272a;
  color: #a1a1aa;
  font-size: 15px;
  font-weight: 700;
  border: 2px solid #0b0b0f;
}
.duo-av b + b {
  margin-left: -12px;
}
.duo-av b.ok {
  background: #10b981;
  color: #fff;
}

/* mascotă */
.mas {
  display: block;
  overflow: visible;
  animation: masb 3.2s ease-in-out infinite;
  transform-origin: 50% 90%;
}
@keyframes masb {
  0%,
  100% {
    transform: translateY(0) scale(1, 1);
  }
  50% {
    transform: translateY(-3px) scale(1.02, 0.98);
  }
}
.m-blink {
  animation: blink 4.5s infinite;
  transform-origin: 32px 32px;
}
@keyframes blink {
  0%,
  94%,
  100% {
    transform: scaleY(1);
  }
  97% {
    transform: scaleY(0.1);
  }
}
.m-ey,
.m-mo {
  fill: none;
  stroke: #0b0b0f;
  stroke-width: 2.4;
  stroke-linecap: round;
}
.m-z {
  font: 800 8px sans-serif;
  fill: #a7f3d0;
}
.m-z2 {
  font-size: 6px;
}
.m-sp {
  animation: spk 1.6s ease-in-out infinite;
}
@keyframes spk {
  0%,
  100% {
    opacity: 0.4;
  }
  50% {
    opacity: 1;
  }
}
/* cum ești azi */
.mood {
  margin-top: 12px;
  padding: 16px;
}
.mood .t {
  font-size: 16px;
  font-weight: 700;
}
.mood-g {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 12px;
}
.mood-g button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 12px 4px;
  border-radius: 14px;
  background: #1c1c22;
  color: #a1a1aa;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
}
.mood-g button:active {
  opacity: 0.6;
  transform: scale(0.97);
}
.bat {
  width: 34px;
  height: 20px;
}
.mood-done {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin-top: 10px;
  padding: 10px 14px;
  border-radius: 14px;
  background: #14141a;
  color: #a1a1aa;
  font-size: 13px;
  text-align: left;
}
.mood-done .bat {
  width: 28px;
  height: 16px;
  flex: none;
}
.mood-done span {
  flex: 1;
}
.mood-done i {
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  color: #10b981;
}
/* azi: 3 lucruri */
.t3card {
  margin-top: 12px;
  padding: 16px;
}
.t3h {
  display: flex;
  align-items: center;
  gap: 14px;
}
.t3m {
  flex: none;
  width: 74px;
  height: 74px;
}
.t3msg {
  margin-top: 4px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.t3l {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.t3 {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 4px;
  text-align: left;
  border-top: 1px solid #27272a;
}
.t3:first-child {
  border-top: 0;
}
.t3:active {
  opacity: 0.6;
}
.t3c {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #3f3f46;
  flex: none;
  color: #fff;
}
.t3.ok .t3c {
  background: #10b981;
  border-color: #10b981;
}
.t3c svg {
  width: 15px;
  height: 15px;
}
.t3 .sp b {
  display: block;
  font-size: 15.5px;
  font-weight: 600;
}
.t3 .sp i {
  display: block;
  margin-top: 1px;
  font-style: normal;
  font-size: 12.5px;
  color: #71717a;
}
.t3.ok .sp b {
  opacity: 0.55;
  text-decoration: line-through;
}
.t3q {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 10px;
  height: 46px;
  border-radius: 14px;
  background: #1c1c22;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}
.t3q svg {
  width: 16px;
  height: 16px;
  color: #10b981;
}
.t3q.solo {
  margin-top: 10px;
}
.t3q:active {
  opacity: 0.6;
}
/* micro-antrenamente */
#mw {
  position: fixed;
  inset: 0;
  z-index: 96;
  display: flex;
  flex-direction: column;
  padding: calc(env(safe-area-inset-top) + 12px) 18px calc(env(safe-area-inset-bottom) + 18px);
  background: #0b0b0f;
  color: #fff;
  animation: fwin 0.28s ease;
}
.mw-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.mw-name {
  font-size: 16px;
  font-weight: 700;
}
.mw-prog {
  height: 5px;
  border-radius: 3px;
  background: #2a2a32;
  margin: 16px 0 0;
  overflow: hidden;
}
.mw-prog i {
  display: block;
  height: 100%;
  background: #10b981;
  transition: width 0.3s linear;
}
.mw-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.mw-ring {
  position: relative;
  width: 250px;
  height: 250px;
}
.mw-ring svg {
  width: 100%;
  height: 100%;
}
.rb {
  fill: none;
  stroke: #1f1f26;
  stroke-width: 10;
}
.rf {
  fill: none;
  stroke: #10b981;
  stroke-width: 10;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.3s linear;
}
.mw-main.rest .rf {
  stroke: #3b82f6;
}
.mw-sec {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 84px;
  font-weight: 800;
  letter-spacing: -0.04em;
}
.mw-step {
  margin-top: 26px;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.mw-cue {
  margin: 10px 18px 0;
  font-size: 15.5px;
  line-height: 1.4;
  color: #a1a1aa;
}
.mw-next {
  text-align: center;
  font-size: 13px;
  color: #71717a;
}
.mw-done {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.mw-masc {
  margin-bottom: 18px;
}
.mw-dt {
  font-size: 34px;
  font-weight: 800;
}
.mw-ds {
  margin-top: 6px;
  color: #a1a1aa;
}
.mw-done .btn {
  width: 100%;
  max-width: 340px;
}
/* pauza de seară */
.ps {
  text-align: center;
  padding: 6px 0 4px;
}
.ps-t {
  font-size: 20px;
  font-weight: 800;
}
.ps-s {
  margin-top: 4px;
  font-size: 14px;
  color: #71717a;
}
.ps-c {
  position: relative;
  display: grid;
  place-items: center;
  height: 230px;
  margin: 10px 0;
}
.ps-c i {
  position: absolute;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #6ee7b7, #10b981);
  transform: scale(0.55);
  transition: transform 0.12s linear;
  opacity: 0.9;
}
.ps-c b {
  position: relative;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
}
.ps-n {
  font-size: 15px;
  color: #71717a;
  margin-bottom: 14px;
}

/* fișa de calorii: prietenul tău */
.hero {
  position: relative;
  margin-top: 6px;
  border-radius: 30px;
  overflow: hidden;
  padding: 16px 16px 18px;
  color: #fff;
  background: radial-gradient(120% 70% at 50% 18%, #10382c 0%, #0a1612 48%, #060908 100%);
  box-shadow:
    0 18px 50px rgba(5, 25, 18, 0.35),
    inset 0 0 0 1px rgba(255, 255, 255, 0.07);
}
.hero-hud {
  position: relative;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(167, 243, 208, 0.75);
}
.hero-bub {
  position: relative;
  display: block;
  margin: 12px auto 0;
  max-width: 290px;
  padding: 10px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  color: #fff;
  animation: hbub 0.45s cubic-bezier(0.2, 0.9, 0.3, 1.2);
}
.hero-bub:after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -7px;
  width: 12px;
  height: 12px;
  margin-left: -6px;
  background: rgba(255, 255, 255, 0.1);
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  transform: rotate(45deg);
}
.hero-bub.off {
  visibility: hidden;
  height: 40px;
}
@keyframes hbub {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.94);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.hero-stage {
  position: relative;
  display: block;
  width: 230px;
  height: 240px;
  margin: 8px auto 0;
  -webkit-tap-highlight-color: transparent;
}
.hero-stage.bounce .pet {
  animation: pbounce 0.6s cubic-bezier(0.3, 1.6, 0.5, 1);
}
@keyframes pbounce {
  0% {
    transform: scale(1);
  }
  30% {
    transform: scale(1.1, 0.92);
  }
  60% {
    transform: scale(0.96, 1.06);
  }
  100% {
    transform: scale(1);
  }
}
.pet {
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 0 22px rgba(16, 185, 129, 0.5));
  animation: pfloat 4s ease-in-out infinite;
}
@keyframes pfloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}
.pfill {
  transition: transform 1.1s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.pw1 {
  animation: pwv 3s linear infinite;
}
.pw2 {
  animation-duration: 4.6s;
  animation-direction: reverse;
}
@keyframes pwv {
  to {
    transform: translateX(100px);
  }
}
.pbub {
  fill: #fff;
  fill-opacity: 0.5;
  animation: pbu 4.2s ease-in infinite;
}
.pbub.b2 {
  animation-delay: 1.4s;
  animation-duration: 5s;
}
.pbub.b3 {
  animation-delay: 2.6s;
  animation-duration: 3.6s;
}
@keyframes pbu {
  0% {
    transform: translateY(0);
    opacity: 0;
  }
  15% {
    opacity: 0.7;
  }
  100% {
    transform: translateY(-130px);
    opacity: 0;
  }
}
.pe,
.pm {
  fill: none;
  stroke: #fff;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pm {
  stroke-width: 5;
}
.pblink {
  animation: pblink 5s infinite;
  transform-origin: 100px 108px;
}
@keyframes pblink {
  0%,
  94%,
  100% {
    transform: scaleY(1);
  }
  97% {
    transform: scaleY(0.08);
  }
}
.pz {
  font: 800 20px sans-serif;
  fill: #a7f3d0;
}
.pz2 {
  font-size: 14px;
}
.psp {
  animation: spk 1.6s ease-in-out infinite;
}
.pdr {
  animation: pdr 2s ease-in-out infinite;
}
@keyframes pdr {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(5px);
  }
}
.hearts {
  position: absolute;
  left: 50%;
  top: 30%;
  pointer-events: none;
}
.hearts i {
  position: absolute;
  left: var(--x);
  width: 22px;
  height: 22px;
  color: #fb7185;
  opacity: 0;
  animation: hrt 1.6s ease-out var(--d) forwards;
}
.hearts svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}
@keyframes hrt {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.5);
  }
  20% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(-110px) scale(1.1);
  }
}
.hero-gems {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 16px;
}
.gem {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 4px 10px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.gem svg {
  position: absolute;
  top: 8px;
  width: 58px;
  height: 58px;
}
.gb {
  fill: none;
  stroke: rgba(255, 255, 255, 0.1);
  stroke-width: 5;
}
.gf {
  fill: none;
  stroke-width: 5;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.9s;
}
.gem b {
  margin-top: 19px;
  font-size: 17px;
  font-weight: 800;
  line-height: 1;
  position: relative;
}
.gem i {
  margin-top: 30px;
  font-style: normal;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}
.gem span {
  margin-top: 2px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
}
.gem.done {
  background: rgba(52, 211, 153, 0.12);
  border-color: rgba(52, 211, 153, 0.4);
}
.mood-ic {
  display: grid;
  place-items: center;
  width: 44px;
}
.mood-ic .bat {
  width: 34px;
  height: 20px;
}
.t3h {
  display: block;
}

.hero-stage {
  margin-top: 16px;
}

/* cadran segmentat */
.dial {
  position: relative;
  max-width: 310px;
  margin: 0 auto;
}
.dk {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.dk-t {
  stroke-width: 4.4;
  stroke-linecap: round;
}
.dk-t.off {
  stroke: #2a2a32;
}
.dk-t.lead {
  stroke-width: 6;
  filter: drop-shadow(0 0 5px rgba(52, 211, 153, 0.9));
}
.dial.anim .dk-t.on {
  animation: dkin 0.3s both;
  animation-delay: calc(var(--i) * 4ms);
}
@keyframes dkin {
  from {
    opacity: 0;
    transform: scale(0.7);
    transform-origin: 150px 150px;
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.dk-pace {
  fill: #e5e7eb;
  stroke: #0b0b0f;
  stroke-width: 1.2;
  stroke-linejoin: round;
  opacity: 0.95;
}
.dial-c {
  position: absolute;
  left: 0;
  right: 0;
  top: 92px;
  text-align: center;
}
.dial-c b {
  display: block;
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}
.dial-c span {
  display: block;
  margin-top: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #71717a;
}
.dial-c em {
  display: block;
  margin: 8px auto 0;
  max-width: 190px;
  font-style: normal;
  font-size: 12px;
  line-height: 1.3;
  color: #10b981;
  font-weight: 600;
}
.hero-care {
  position: relative;
  margin-top: 6px;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(167, 243, 208, 0.7);
}
.hero-gems {
  margin-top: 10px !important;
}

/* Pip, in stil mai calm */
.hero {
  position: relative;
  margin-top: 6px;
  padding: 16px;
  border-radius: 24px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(180deg, #12261f 0%, #0b1512 100%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}
.hero-hud {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: rgba(255, 255, 255, 0.7);
}
.hero-bub {
  border: 0;
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.hero-bub:after {
  border: 0;
  background: rgba(255, 255, 255, 0.1);
}
.pet {
  filter: none;
}
.hero-care,
.hero-wk {
  margin-top: 6px;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: rgba(255, 255, 255, 0.6);
}
.hero-wk {
  margin-top: 18px;
}
.gem {
  cursor: pointer;
  font: inherit;
  color: inherit;
}
.gem:active {
  opacity: 0.7;
}
.gem i {
  letter-spacing: 0;
  text-transform: none;
  font-size: 12px;
  font-weight: 600;
}
.dk-t.lead {
  filter: none;
}
.pweek {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
}
.pwd {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
}
.pwd.now span {
  color: #fff;
  font-weight: 700;
}
#ptoast {
  position: fixed;
  left: 50%;
  bottom: calc(var(--tabh) + env(safe-area-inset-bottom) + 76px);
  z-index: 70;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 88vw;
  padding: 8px 16px 8px 10px;
  border-radius: 999px;
  background: #18181b;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  transform: translateX(-50%);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  animation: ptin 0.3s ease;
}
#ptoast.out {
  opacity: 0;
  transition: opacity 0.3s;
}
@keyframes ptin {
  from {
    opacity: 0;
    transform: translate(-50%, 10px);
  }
}
.wd-pet {
  width: 150px;
  height: 160px;
  margin: 0 auto 14px;
}
.wd-pet svg {
  width: 100%;
  height: 100%;
}
.wd-row {
  display: flex;
  gap: 12px;
}
.wd-c {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 2px solid transparent;
  border-radius: 50%;
}
.wd-c i {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--c);
}
.wd-c.on {
  border-color: var(--c);
}
.wd-c.lock {
  opacity: 0.35;
}
.wd-n {
  margin-top: 8px;
  font-size: 12px;
  color: #71717a;
}

.mseg {
  display: flex;
  gap: 3px;
}
.mseg i {
  flex: 1;
  height: 10px;
  border-radius: 3px;
  background: #2a2a32;
}
.mseg i.on {
  background: var(--mc);
}

/* bare de macro */
.mcap-h { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; color: #a1a1aa; }
.mcap-h b { font-size: 15px; font-weight: 700; color: inherit; }
.mcap-h small { font-size: 12px; font-weight: 500; color: #71717a; }
.mcap-t { height: 16px; margin-top: 8px; border-radius: 8px; background: #26262c; overflow: hidden; }
.mcap-t i { display: block; height: 100%; min-width: 16px; border-radius: 8px; background: linear-gradient(90deg, color-mix(in srgb, var(--mc) 60%, #fff), var(--mc)); transition: width 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); }
.mrgs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mrg { position: relative; display: flex; flex-direction: column; align-items: center; }
.mrg svg { width: 70px; height: 70px; }
.mr-b { fill: none; stroke: #26262c; stroke-width: 6; }
.mr-f { fill: none; stroke-width: 6; stroke-linecap: round; transition: stroke-dashoffset 0.8s; }
.mrg b { position: absolute; top: 24px; font-size: 18px; font-weight: 800; letter-spacing: -0.02em; }
.mrg span { margin-top: 8px; font-size: 12.5px; font-weight: 600; color: #a1a1aa; }
.mrg i { font-style: normal; font-size: 12px; color: #71717a; }
.mdot-h { display: flex; justify-content: space-between; font-size: 13px; color: #a1a1aa; }
.mdot-h i { font-style: normal; color: #71717a; }
.mdot-t { position: relative; height: 4px; margin: 34px 8px 0 0; border-radius: 2px; background: #2a2a32; }
.mdot-t u { position: absolute; left: 0; top: 0; bottom: 0; width: var(--p); border-radius: 2px; background: var(--mc); text-decoration: none; }
.mdot-t em { position: absolute; left: var(--p); top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: #fff; border: 4px solid var(--mc); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3); }
.mdot-t s { position: absolute; left: var(--p); bottom: 14px; transform: translateX(-50%); font-size: 15px; font-weight: 800; text-decoration: none; }

.mnu-btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}

/* roata de calorii: modele noi */
.rk { display: inline-block; vertical-align: middle; margin-left: 10px; padding: 3px 9px; border-radius: 999px; font-size: 10.5px; font-weight: 700; letter-spacing: 0.02em; line-height: 1.3; position: relative; top: -2px; }
.rk1 { background: rgba(127, 127, 127, 0.15); color: #71717a; }
.rk2 { background: rgba(16, 185, 129, 0.15); color: #0f9d6e; }
.rk3 { background: #111; color: #fff; }
html[data-theme='dark'] .rk3 { background: #fff; color: #111; }
.hm { padding: 22px 20px 18px; overflow: hidden; }
.hm-ring { position: relative; width: min(100%, 262px); margin: 0 auto; aspect-ratio: 1; }
.hm-ring svg { display: block; width: 100%; height: 100%; overflow: visible; }
.hm-ring .t { fill: none; stroke: currentColor; stroke-opacity: 0.09; stroke-width: 3; }
.hm-ring .f { fill: none; stroke: currentColor; stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: var(--p) 100; animation: hmring 0.55s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
@keyframes hmring { from { stroke-dasharray: 0 100; } }
.hm-b .f.over { stroke: #f59e0b; }
.hm-b .dg { transform-origin: 130px 130px; animation: hmdg 0.55s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
@keyframes hmdg { from { transform: rotate(0); } to { transform: rotate(var(--a)); } }
.hm-b .dot { fill: #10b981; filter: drop-shadow(0 0 6px rgba(16, 185, 129, 0.6)); }
.hm-c { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.hm-c b { font-weight: 700; letter-spacing: -0.045em; line-height: 1; }
.hm-c span { margin-top: 8px; font-size: 10.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.5; }
.hm-pace { margin-top: 4px; text-align: center; font-size: 12px; font-weight: 600; color: #10b981; }
.hm-stats { display: flex; width: 100%; justify-content: space-between; margin-top: 16px; padding: 14px 4px 0; border: 0; border-top: 1px solid rgba(127, 127, 127, 0.16); background: none; color: inherit; text-align: left; }
.hm-stats b { display: block; font-size: 19px; font-weight: 700; letter-spacing: -0.02em; }
.hm-stats span { display: block; margin-top: 2px; font-size: 10px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.5; }
.hm-stats .c { text-align: center; }
.hm-stats .r { text-align: right; }
.hm-stats small { display: block; margin-top: 2px; font-size: 11px; opacity: 0.5; }
.hm-mac { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 18px; }
.hm-mac span { display: block; font-size: 11px; font-weight: 600; opacity: 0.5; }
.hm-mac b { display: block; margin-top: 3px; font-size: 17px; font-weight: 700; letter-spacing: -0.02em; }
.hm-mac small { font-size: 11px; font-weight: 500; opacity: 0.5; }
.hm-mac i { display: block; height: 3px; margin-top: 8px; overflow: hidden; border-radius: 2px; background: rgba(127, 127, 127, 0.18); }
.hm-mac u { display: block; height: 100%; border-radius: 2px; background: currentColor; transform-origin: left; animation: hmbar 0.45s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
@keyframes hmbar { from { transform: scaleX(0); } }
.hm-mac .over u { background: #f59e0b; }
.hm-c2 .hm-ring .t { stroke-width: 9; stroke-linecap: round; stroke-opacity: 0.08; }
.hm-c2 .hm-ring .f { stroke-width: 9; }
.hm-c2 .f.s0 { stroke-opacity: 1; }
.hm-c2 .f.s1 { stroke-opacity: 0.72; }
.hm-c2 .f.s2 { stroke-opacity: 0.5; }
.hm-c2 .f.s3 { stroke-opacity: 0.3; }
.hm-leg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 14px; }
.hm-leg div { text-align: center; }
.hm-leg i { display: block; width: 18px; height: 4px; margin: 0 auto 6px; border-radius: 2px; background: currentColor; }
.hm-leg i.s1 { opacity: 0.72; }
.hm-leg i.s2 { opacity: 0.5; }
.hm-leg i.s3 { opacity: 0.3; }
.hm-leg span { display: block; font-size: 11px; font-weight: 600; opacity: 0.5; }
.hm-leg b { display: block; margin-top: 1px; font-size: 15px; font-weight: 700; }
html[data-theme] .card.hm-d { position: relative; background: linear-gradient(160deg, #111116, #07070a); border-color: #1f1f26; color: #fff; }
.hm-d::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 50% 30%, rgba(52, 211, 153, 0.15), transparent 62%); pointer-events: none; }
.hm-d > * { position: relative; }
html[data-theme] .card.hm-d .dk-t.off { stroke: #2a2a32; }
html[data-theme] .card.hm-d .dk-t.on { stroke: #fff !important; }
html[data-theme] .card.hm-d .dk-t.lead { stroke: #34d399 !important; filter: drop-shadow(0 0 6px rgba(52, 211, 153, 0.9)); }
html[data-theme] .card.hm-d .dial-c b { color: #fff; }
html[data-theme] .card.hm-d .dial-c span { color: #a1a1aa; }
html[data-theme] .card.hm-d .dk-pace { fill: #fff; stroke: #07070a; }
html[data-theme] .card.hm-d .hm-stats { border-top-color: rgba(255, 255, 255, 0.1); }
.hm-d .hm-mac i { background: rgba(255, 255, 255, 0.14); }
.hm-eg { display: flex; align-items: center; gap: 16px; }
.hm-e .hm-ring { width: 152px; margin: 0; flex: none; }
.hm-e .hm-ring .t { stroke-opacity: 0.08; }
.hm-e .hm-ring .f { stroke-width: 6; }
.hm-e .f.o1 { stroke: #10b981; }
.hm-e .f.o2 { stroke-opacity: 0.55; }
.hm-e .f.o3 { stroke-opacity: 0.28; }
.hm-e .f.over { stroke: #f59e0b; stroke-opacity: 1; }
.hm-ec b { display: block; font-size: 46px; font-weight: 700; letter-spacing: -0.045em; line-height: 1; }
.hm-ec span { display: block; margin-top: 6px; font-size: 10.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.5; }
.hm-ec em { display: block; margin-top: 8px; font-style: normal; font-size: 12px; font-weight: 600; color: #10b981; }
.hm-ol { display: grid; gap: 10px; margin-top: 18px; }
.hm-ol div { display: flex; align-items: center; gap: 10px; font-size: 13.5px; }
.hm-ol i { flex: none; width: 10px; height: 10px; border-radius: 50%; background: currentColor; }
.hm-ol i.o1 { background: #10b981; }
.hm-ol i.o2 { opacity: 0.55; }
.hm-ol i.o3 { opacity: 0.28; }
.hm-ol span { flex: 1; font-weight: 600; opacity: 0.6; }
.hm-ol b { font-weight: 700; }
.hm-ol small { font-weight: 500; opacity: 0.5; }
html[data-theme] .hml-b .meal { border: 0; border-bottom: 1px solid rgba(127, 127, 127, 0.18); border-radius: 0; background: transparent; box-shadow: none; }
html[data-theme] .hml-c .meal { border-left: 3px solid currentColor; }
html[data-theme] .hml-c .meal:nth-child(2) { border-left-color: color-mix(in srgb, currentColor 72%, transparent); }
html[data-theme] .hml-c .meal:nth-child(3) { border-left-color: color-mix(in srgb, currentColor 50%, transparent); }
html[data-theme] .hml-c .meal:nth-child(4) { border-left-color: color-mix(in srgb, currentColor 30%, transparent); }
html[data-theme] .hml-d .meal { background: #0b0b0e; border-color: #1f1f26; color: #fff; }
html[data-theme] .hml-d .meal .t { color: #fff; }
html[data-theme] .hml-d .meal .s { color: #8e8e93; }
html[data-theme] .hml-d .meal .mring .c { color: #d4d4d8; }
html[data-theme] .hml-d .meal .plus { color: #fff; }
.hml-e { position: relative; padding-left: 18px; }
.hml-e::before { content: ''; position: absolute; left: 4px; top: 22px; bottom: 22px; width: 1px; background: rgba(127, 127, 127, 0.3); }
.hml-e .meal { position: relative; }
.hml-e .meal::before { content: ''; position: absolute; left: -18px; top: 30px; width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.lt:has(.rk) { display: flex; align-items: center; min-width: 0; }
.ltn { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lt .rk { flex: none; top: 0; margin-left: 8px; }

/* rezultat după scanare: cercuri */
.scr { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.sr { text-align: center; }
.srg { position: relative; width: 100%; max-width: 76px; margin: 0 auto; aspect-ratio: 1; }
.srg svg { display: block; width: 100%; height: 100%; }
.srg .t { fill: none; stroke: currentColor; stroke-opacity: 0.1; }
.srg .f { fill: none; stroke-linecap: round; stroke-dasharray: var(--p) 100; animation: hmring 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.srg b { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 700; letter-spacing: -0.02em; }
.srg small { margin-left: 1px; font-size: 10px; font-weight: 600; opacity: 0.5; }
.sr span { display: block; margin-top: 7px; font-size: 11px; font-weight: 600; opacity: 0.55; }
.scr-n { margin-top: 12px; text-align: center; }
.scr-c .sr { padding: 12px 4px 10px; border-radius: 18px; background: rgba(127, 127, 127, 0.1); }
.scr-d .sr { padding: 12px 4px 10px; border-radius: 20px; background: linear-gradient(160deg, #17171c, #09090c); color: #fff; }
.scr-d .srg .t { stroke: #fff; stroke-opacity: 0.12; }

/* masa deschisă: listă curată */
.mi { padding: 14px 2px 4px; }
.mi + .mi { margin-top: 10px; padding-top: 14px; border-top: 1px solid rgba(127, 127, 127, 0.14); }
.mi-h { display: flex; align-items: center; gap: 12px; }
.mi-ph, .mi-ic { flex: none; width: 44px; height: 44px; border-radius: 14px; object-fit: cover; }
.mi-ic { display: grid; place-items: center; background: rgba(127, 127, 127, 0.12); opacity: 0.8; }
.mi-t { overflow: hidden; font-size: 15px; font-weight: 600; letter-spacing: -0.01em; text-overflow: ellipsis; white-space: nowrap; }
.mi-k { margin-top: 2px; font-size: 12.5px; opacity: 0.55; }
.mi-x { display: grid; flex: none; width: 32px; height: 32px; place-items: center; border-radius: 50%; opacity: 0.4; }
.mi-x:active { opacity: 0.8; }
.mi-s { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 12px; padding: 10px 4px; border-radius: 14px; background: rgba(127, 127, 127, 0.08); }
.mi-s div { text-align: center; }
.mi-s div + div { border-left: 1px solid rgba(127, 127, 127, 0.18); }
.mi-s b { display: block; font-size: 15px; font-weight: 700; }
.mi-s small { font-size: 11px; font-weight: 500; opacity: 0.5; }
.mi-s span { display: block; margin-top: 2px; font-size: 10.5px; font-weight: 600; letter-spacing: 0.02em; opacity: 0.5; }
.mi-save { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; margin-top: 14px; padding: 11px; border-radius: 14px; background: rgba(127, 127, 127, 0.1); font-size: 13px; font-weight: 600; }
.mi-save svg { width: 15px; height: 15px; }

/* feedback */
.fb-stars { display: flex; justify-content: center; gap: 10px; margin-top: 6px; }
.fb-stars button { width: 46px; height: 46px; padding: 0; color: rgba(127, 127, 127, 0.4); }
.fb-stars svg { width: 100%; height: 100%; fill: currentColor; stroke: currentColor; stroke-width: 1.2; stroke-linejoin: round; }
.fb-stars button.on { color: #f5b301; }
.fb-cap { margin-top: 6px; text-align: center; font-size: 13px; font-weight: 600; opacity: 0.55; }

/* Pip: patru nevoi + prima întâlnire */
.hero-gems { grid-template-columns: repeat(4, 1fr) !important; gap: 6px !important; }
.ph { text-align: center; }
.ph-pet { width: 150px; margin: 4px auto 6px; }
.ph-pet svg { width: 100%; height: auto; display: block; }
.ph-t { margin: 8px 0 18px; font-size: 14px; line-height: 1.5; opacity: 0.6; }
.ph .lbl { display: block; text-align: left; }

/* consistență */
.heat-h { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-bottom: 6px; text-align: center; }
.heat-h span { font-size: 10.5px; font-weight: 600; opacity: 0.45; }
.heat i { position: relative; display: grid; place-items: center; border-radius: 50%; background: rgba(127, 127, 127, 0.14); font-style: normal; }
.heat i b { font-size: 10.5px; font-weight: 600; opacity: 0.45; }
.heat i.on { background: #10b981; }
.heat i.on b { color: #fff; opacity: 1; }
.heat i.part { background: rgba(16, 185, 129, 0.3); }
.heat i.part b { opacity: 0.8; }
.heat i.fut { background: transparent; box-shadow: inset 0 0 0 1px rgba(127, 127, 127, 0.18); }
.heat i.fut b { display: none; }
.heat i.today { outline: 2px solid currentColor; outline-offset: 2px; }
.heat-l { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 14px; font-size: 11.5px; font-weight: 600; opacity: 0.6; }
.heat-l span { display: flex; align-items: center; gap: 6px; }
.heat-l i { width: 12px; height: 12px; border-radius: 50%; background: rgba(127, 127, 127, 0.25); }
.heat-l i.on { background: #10b981; }
.heat-l i.part { background: rgba(16, 185, 129, 0.35); }
.heat-n { margin-top: 10px; font-size: 12px; line-height: 1.45; opacity: 0.5; }

/* căutare alimente */
.sq { display: flex; align-items: center; gap: 10px; height: 48px; margin-bottom: 14px; padding: 0 14px; border-radius: 16px; background: rgba(127, 127, 127, 0.12); }
.sq svg { flex: none; width: 18px; height: 18px; opacity: 0.5; }
.sq input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; color: inherit; font-size: 16px; }
.sq input::placeholder { opacity: 0.4; }
.fr-cap { margin: 16px 2px 6px; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; opacity: 0.45; }
.fr-note { margin: 0 2px 8px; font-size: 12px; opacity: 0.5; }
.frl { display: flex; flex-direction: column; }
.fr { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 2px; border: 0; border-bottom: 1px solid rgba(127, 127, 127, 0.14); background: none; color: inherit; text-align: left; }
.fr:last-child { border-bottom: 0; }
.fr:active { opacity: 0.55; }
.fr-b { flex: 1; min-width: 0; }
.fr-t { overflow: hidden; font-size: 15.5px; font-weight: 600; letter-spacing: -0.01em; text-overflow: ellipsis; white-space: nowrap; }
.fr-s { margin-top: 3px; font-size: 12.5px; opacity: 0.55; }
.fr-p { display: grid; flex: none; width: 34px; height: 34px; place-items: center; border-radius: 50%; background: rgba(127, 127, 127, 0.14); }
.fr-p svg { width: 16px; height: 16px; }
.fr-more { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin-top: 12px; padding: 13px; border-radius: 16px; background: rgba(127, 127, 127, 0.1); font-size: 13.5px; font-weight: 600; }
.fr-more svg { width: 16px; height: 16px; }

/* macro: cercuri sub roata */
.hm-rings { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 18px; }
.hm-rings .mrg { text-align: center; }

/* macro: cadrane fine */
.hm-rings { gap: 4px; }
.mt { display: flex; flex-direction: column; align-items: center; text-align: center; }
.mt-d { position: relative; width: 84px; height: 84px; }
.mt-d svg { display: block; width: 100%; height: 100%; }
.mt-d line { stroke: currentColor; stroke-opacity: 0.13; stroke-width: 2.1; stroke-linecap: round; }
.mt-d line.on { stroke-opacity: 1; animation: mtin 0.3s both; animation-delay: calc(var(--i) * 6ms); }
@keyframes mtin { from { opacity: 0; } }
.mt.p line.on { stroke: #10b981; }
.mt.f line.on { stroke-opacity: 0.55; }
.mt.over line.on { stroke: #f59e0b; stroke-opacity: 1; }
.mt-d b { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 19px; font-weight: 700; letter-spacing: -0.03em; }
.mt-d small { margin-left: 1px; font-size: 10.5px; font-weight: 600; opacity: 0.45; }
.mt span { margin-top: 6px; font-size: 12.5px; font-weight: 600; }
.mt i { margin-top: 1px; font-style: normal; font-size: 11.5px; opacity: 0.45; }

.mt-d { width: 92px; height: 92px; }
.mt-d b { font-size: 21px; }
.mt span { margin-top: 4px; font-size: 12px; opacity: 0.6; }
.mt.p line.on { filter: drop-shadow(0 0 2px rgba(16, 185, 129, 0.5)); }

/* macro: inele fine, ca roata de sus */
.mt-d line { display: none; }
.mt-d .t { fill: none; stroke: currentColor; stroke-opacity: 0.09; stroke-width: 3; }
.mt-d .f { fill: none; stroke: currentColor; stroke-width: 3.2; stroke-linecap: round; stroke-dasharray: var(--p) 100; animation: hmring 0.55s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.mt-d .dg { transform-origin: 44px 44px; animation: hmdg 0.55s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.mt-d .dot { fill: #10b981; filter: drop-shadow(0 0 3px rgba(16, 185, 129, 0.6)); }
.mt.over .f { stroke: #f59e0b; }
.mt.over .dot { fill: #f59e0b; }

/* exerciții adăugate: scoate din zi */
.exrow { position: relative; }
.exdel { position: absolute; z-index: 2; top: 50%; right: 46px; display: grid; width: 34px; height: 34px; margin-top: -17px; place-items: center; border-radius: 50%; background: rgba(127, 127, 127, 0.16); }
.exdel svg { width: 15px; height: 15px; }
.exrow + .exrow .li::before { content: ""; position: absolute; left: 1rem; right: 0; top: 0; height: 1px; background-color: rgba(39, 39, 42, 0.6); }

body.has-rest { padding-bottom: 84px; }

/* antrenament gol */
.ew { padding: 24px 20px; text-align: center; }
.ew-t { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.ew-s { margin-top: 8px; font-size: 14px; line-height: 1.5; opacity: 0.6; }

/* bine ai revenit */
#wb { position: fixed; inset: 0; z-index: 190; display: grid; place-items: center; padding: 24px; color: #fff; background: radial-gradient(circle at 50% 28%, rgba(16, 185, 129, 0.22), transparent 62%), #08090b; animation: wbin 0.5s ease both; }
#wb.out { opacity: 0; transition: opacity 0.45s ease; pointer-events: none; }
@keyframes wbin { from { opacity: 0; } }
.wb-in { width: min(100%, 360px); text-align: center; }
.wb-pet { width: 170px; margin: 0 auto 10px; animation: wbpet 0.8s cubic-bezier(0.2, 1.3, 0.3, 1) both; }
.wb-pet svg { display: block; width: 100%; height: auto; }
@keyframes wbpet { from { opacity: 0; transform: translateY(24px) scale(0.85); } }
.wb-t { font-size: 30px; font-weight: 800; letter-spacing: -0.03em; animation: wbup 0.6s 0.25s both; }
.wb-s { margin-top: 6px; font-size: 15px; opacity: 0.6; animation: wbup 0.6s 0.4s both; }
.wb-st { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 28px; animation: wbup 0.6s 0.55s both; }
.wb-st div { padding: 14px 4px; border-radius: 18px; background: rgba(255, 255, 255, 0.07); }
.wb-st b { display: block; font-size: 24px; font-weight: 800; letter-spacing: -0.03em; }
.wb-st span { display: block; margin-top: 3px; font-size: 11px; font-weight: 600; opacity: 0.55; }
.wb-go { margin-top: 26px; height: 54px; width: 100%; border-radius: 18px; background: #fff; color: #08090b; font-size: 16px; font-weight: 700; animation: wbup 0.6s 0.7s both; }
@keyframes wbup { from { opacity: 0; transform: translateY(14px); } }

/* serie în doi */
.duoc2 { display: block; padding: 16px; }
.d2-top { display: flex; align-items: center; gap: 12px; }
.d2-n { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.d2-s { margin-top: 2px; font-size: 12.5px; opacity: 0.55; }
.d2-fl { display: grid; flex: none; width: 40px; height: 40px; place-items: center; border-radius: 50%; background: rgba(127, 127, 127, 0.12); color: rgba(127, 127, 127, 0.7); }
.d2-fl.on { background: rgba(245, 158, 11, 0.16); color: #f59e0b; }
.d2-fl svg { width: 20px; height: 20px; }
.d2-wk { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-top: 14px; text-align: center; }
.d2-wk div { display: grid; justify-items: center; gap: 4px; }
.d2-wk span { font-size: 10px; font-weight: 600; opacity: 0.45; }
.d2-wk .now span { opacity: 1; }
.d2-wk i { width: 14px; height: 14px; border-radius: 50%; background: rgba(127, 127, 127, 0.18); }
.d2-wk i.on { background: #10b981; }
.d2-risk { margin-top: 12px; padding: 9px 12px; border-radius: 12px; background: rgba(127, 127, 127, 0.1); font-size: 12.5px; font-weight: 600; text-align: center; }
.d2-risk.hot { background: rgba(245, 158, 11, 0.16); color: #d97706; }
.d2-goal { margin-top: 16px; }
.d2-gt { display: flex; justify-content: space-between; font-size: 12.5px; font-weight: 600; }
.d2-gt span { opacity: 0.55; }
.d2-gb { height: 6px; margin-top: 8px; overflow: hidden; border-radius: 3px; background: rgba(127, 127, 127, 0.16); }
.d2-gb u { display: block; height: 100%; border-radius: 3px; background: #10b981; text-decoration: none; }

/* mesaj în formularul de cont */
.amsg { display: none; margin-top: 12px; padding: 10px 14px; border-radius: 12px; background: rgba(239, 68, 68, 0.1); color: #dc2626; font-size: 13px; font-weight: 600; line-height: 1.4; text-align: center; }
.amsg.show { display: block; }
.amsg.ok { background: rgba(16, 185, 129, 0.12); color: #059669; }

/* ecran de bun venit */
#wel { position: fixed; inset: 0; z-index: 70; display: flex; flex-direction: column; align-items: center; background: #000; color: #fff; padding: calc(env(safe-area-inset-top) + 8px) 22px calc(env(safe-area-inset-bottom) + 18px); animation: obin 0.3s ease; }
#wel.out { opacity: 0; transition: opacity 0.25s; }
.wel-mid { display: flex; flex: 1; flex-direction: column; align-items: center; justify-content: center; text-align: center; width: 100%; max-width: 420px; }
.wel-mid .in-hero { margin-top: 0; }
#wel h1 { margin-top: 22px; font-size: 34px; font-weight: 800; letter-spacing: 0.14em; }
.wel-s { margin-top: 8px; color: #a1a1aa; font-size: 16px; }
.wel-l { display: grid; gap: 12px; margin-top: 34px; padding: 0; list-style: none; text-align: left; font-size: 15px; font-weight: 500; }
.wel-l li { position: relative; padding-left: 26px; line-height: 1.35; }
.wel-l li::before { content: ''; position: absolute; left: 4px; top: 6px; width: 8px; height: 8px; border-radius: 50%; background: #10b981; }
.wel-bot { display: grid; gap: 10px; width: 100%; max-width: 420px; }
.wel-back { display: inline-flex; align-items: center; gap: 4px; margin-bottom: 8px; font-size: 14px; font-weight: 600; opacity: 0.6; }
.wel-back svg { width: 18px; height: 18px; }
#wel.hid > * { visibility: hidden; }

/* intrare în stil „un pas pe ecran”: întunecat, butoane groase */
#wel, #onbo, #authpg { background: #1a1b1d; color: #fff; }
#authpg { position: fixed; inset: 0; z-index: 72; overflow: auto; display: flex; flex-direction: column; justify-content: center; padding: calc(env(safe-area-inset-top) + 76px) 22px calc(env(safe-area-inset-bottom) + 24px); animation: obin 0.3s ease; }
#authpg > * { width: 100%; max-width: 420px; margin-left: auto; margin-right: auto; }
#authpg .ap-back { position: fixed; top: calc(env(safe-area-inset-top) + 12px); left: 16px; width: 48px; height: 48px; margin: 0; background: #2a2c2f; color: #fff; }
#authpg .h2 { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; }
#authpg .sub { color: #a8abae; font-size: 15px; }
#authpg > div:first-of-type > div:first-child { background: #26282b; }
#wel :is(.btn), #onbo :is(.btn), #authpg :is(.btn) { height: 56px; border-radius: 18px; font-size: 16px; font-weight: 700; box-shadow: none; transition: transform 0.08s, border-width 0.08s; }
#wel .btn.pri, #onbo .btn.pri, #authpg .btn.pri { background: #fff; color: #111; border: 0; border-bottom: 4px solid #b6b9bd; }
#wel .btn:not(.pri), #onbo .btn:not(.pri), #authpg .btn:not(.pri) { background: #2a2c2f; color: #fff; border: 2px solid #4a4d51; border-bottom-width: 4px; }
#wel .btn:active, #onbo .btn:active, #authpg .btn:active { transform: translateY(2px); border-bottom-width: 2px; }
#wel .btn:disabled, #onbo .btn:disabled, #authpg .btn:disabled { background: #3a3c3f; color: #8b8f93; border-color: #2f3134; transform: none; }
#wel .seg, #authpg .seg { background: #26282b; }
#wel .seg button.on { background: #3a3d41; color: #fff; }
#onbo .in, #authpg .in { height: 56px; border-radius: 16px; background: #26282b; border: 2px solid #3a3d41; color: #fff; font-size: 16px; }
#onbo .in:focus, #authpg .in:focus { border-color: #1fd7a0; outline: none; }
#authpg .pw-eye { color: #a8abae; }
#onbo .ob-top { height: 56px; gap: 14px; }
#onbo .ob-back { width: 48px; height: 48px; background: #2a2c2f; color: #fff; }
#onbo .ob-prog { height: 12px; border-radius: 6px; background: #4b4f52; }
#onbo .ob-prog i { border-radius: 6px; background: #1fd7a0; }
#onbo .ob-n { display: none; }
#onbo .ob-body { padding-top: 28px; }
#onbo .ob-body h1 { font-size: 30px; text-align: center; }
#onbo .ob-body p { text-align: center; color: #a8abae; }
#onbo .ob-opt { padding: 18px 20px; border-radius: 18px; border: 2px solid #3a3d41; border-bottom-width: 5px; background: #26282b; }
#onbo .ob-opt.on { border-color: #1fd7a0; background: rgba(31, 215, 160, 0.1); }
#onbo .ob-opt .t { font-size: 17px; font-weight: 600; }
#onbo .ob-opt .s { color: #a8abae; }
#onbo .ob-dot { display: none; }
#onbo .ob-days button, #onbo .ob-chips button { border: 2px solid #3a3d41; border-bottom-width: 4px; background: #26282b; color: #fff; }
#onbo .ob-days button.on, #onbo .ob-chips button.on { background: rgba(31, 215, 160, 0.14); border-color: #1fd7a0; color: #fff; }
#onbo .ob-plan { background: #26282b; border: 2px solid #3a3d41; }
#onbo .ob-pm button { background: #2a2c2f; border: 2px solid #4a4d51; border-bottom-width: 4px; }
#onbo .rng::-webkit-slider-runnable-track { background: #4b4f52; height: 8px; border-radius: 4px; }
#onbo .rng::-webkit-slider-thumb { background: #1fd7a0; margin-top: -12px; }
#onbo .ob-skip { color: #a8abae; }
#onbo .ob-num small { color: #a8abae; }
/* bun venit */
#wel { z-index: 70; }
#wel .wel-mark { display: flex; align-items: center; gap: 10px; margin-bottom: 36px; }
#wel .wel-mark svg { width: 44px; height: 30px; color: #fff; }
#wel .wel-mark b { font-size: 22px; font-weight: 800; letter-spacing: 0.22em; }
#wel .wel-h { margin-top: 0; font-size: 40px; line-height: 1.05; font-weight: 800; letter-spacing: -0.03em; letter-spacing: -0.02em; }
#wel .wel-h em { font-style: normal; color: #1fd7a0; }
#wel .wel-l { margin-top: 34px; color: #d6d8da; }
#wel .wel-l li::before { background: #1fd7a0; }
#wel .in-hero { display: none; }

/* angajament: ține apăsat */
.cmt-w { display: flex; flex-direction: column; align-items: center; margin-top: 8vh; }
.cmt { position: relative; display: grid; width: 190px; height: 190px; place-items: center; border-radius: 50%; touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; cursor: pointer; background: conic-gradient(#1fd7a0 calc(var(--p) * 360deg), #34373a 0); transition: transform 0.2s; }
.cmt::before { content: ''; position: absolute; inset: 10px; border-radius: 50%; background: #1a1b1d; }
.cmt.hold { transform: scale(1.04); }
.cmt.done { animation: cmtpop 0.5s ease; }
.cmt-pet { position: relative; width: 132px; height: 132px; pointer-events: none; }
.cmt-pet svg { width: 100%; height: 100%; }
.cmt-h { margin-top: 36px; color: #1fd7a0; font-size: 16px; font-weight: 700; text-align: center; }
@keyframes cmtpop { 0% { transform: scale(1); } 40% { transform: scale(1.12); } 100% { transform: scale(1); } }

.gbtn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; margin-bottom: 4px; }
.gbtn svg { width: 20px; height: 20px; flex: none; }
.or { display: flex; align-items: center; gap: 12px; margin: 14px 0; color: #8b8f93; font-size: 12.5px; font-weight: 600; }
.or::before, .or::after { content: ''; flex: 1; height: 1px; background: rgba(127, 127, 127, 0.3); }
#authpg .btn.gbtn { background: #fff; color: #111; border: 0; border-bottom: 4px solid #b6b9bd; }

#splash .sp-wm { width: min(78vw, 340px); opacity: 0; transform: scale(0.9); filter: blur(6px); animation: spLetter 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.25s forwards; }
#splash .sp-wm svg { width: 100%; height: auto; display: block; overflow: visible; }
#splash .sp-slogan { margin-top: 14px; animation-delay: 1.2s; }
.tb-wm { display: block; height: 26px; width: auto; color: #fff; }

#wel .wel-wm { width: min(70vw, 300px); height: auto; display: block; overflow: visible; }
#wel .wel-mark { margin-bottom: 26px; }
#wel .wel-mark svg.wel-wm { width: min(72vw, 300px); height: auto; color: #fff; }

.fsc { margin-top: 12px; padding: 16px; }
.fsh { display: flex; align-items: center; gap: 10px; }
.fsm { font-size: 17px; font-weight: 800; margin-top: 2px; }
.fsx { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 50%; opacity: 0.5; }
.fsx svg { width: 16px; height: 16px; }
.fsb { height: 6px; margin: 12px 0 6px; overflow: hidden; border-radius: 3px; background: rgba(127, 127, 127, 0.18); }
.fsb i { display: block; height: 100%; border-radius: 3px; background: #1fd7a0; transition: width 0.4s; }
