@font-face { font-family: Inter; src: url(/fonts/inter-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: Inter; src: url(/fonts/inter-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: Inter; src: url(/fonts/inter-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: Jakarta; src: url(/fonts/plus-jakarta-sans-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: Jakarta; src: url(/fonts/plus-jakarta-sans-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --lime: #c8f560;
  --ink: #111;
  --muted: #8a8a8a;
  --card-d: #1c1c1e;
  --card-d2: #262628;
  --plum: #3a2140;
  --r: 18px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; text-align: inherit; }
svg { width: 20px; height: 20px; flex: none; }
html, body { height: 100%; }
body {
  font-family: Inter, system-ui, sans-serif;
  background: #d6d6d6;
  display: grid; place-items: center;
  -webkit-font-smoothing: antialiased;
}
.phone { width: 390px; height: 844px; border-radius: 44px; overflow: hidden; position: relative; box-shadow: 0 30px 80px rgba(0,0,0,.25); }
@media (max-width: 500px) { .phone { width: 100vw; height: 100dvh; border-radius: 0; box-shadow: none; } }
#app, .screen { height: 100%; }
.screen { position: relative; padding: 0 18px 96px; overflow-y: auto; scrollbar-width: none; }
.screen::-webkit-scrollbar { display: none; }

/* ---------- status + header ---------- */
.status { display: flex; justify-content: space-between; align-items: center; padding: 16px 14px 8px; font-weight: 600; font-size: 15px; }
.status.dark { color: #fff; }
.status-icons { display: flex; gap: 6px; align-items: center; }
.status-icons i { display: block; background: currentColor; border-radius: 2px; }
.sig { width: 17px; height: 11px; clip-path: polygon(0 100%, 0 70%, 25% 70%, 25% 45%, 50% 45%, 50% 20%, 75% 20%, 75% 0, 100% 0, 100% 100%); }
.wifi { width: 15px; height: 11px; clip-path: polygon(50% 100%, 0 30%, 15% 10%, 50% 0, 85% 10%, 100% 30%); }
.bat { width: 25px; height: 12px; border-radius: 4px !important; }
.bar { display: flex; align-items: center; justify-content: space-between; margin: 8px 0 14px; }
.bar h2 { font-size: 16px; font-weight: 600; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; }
.icon-btn.ghost { color: #fff; }
.icon-btn.glass { background: rgba(255,255,255,.55); backdrop-filter: blur(10px); color: var(--plum); }
.icon-btn.glass.fav { color: #e0457b; }
.icon-btn.light { background: #fff; }
.spacer { visibility: hidden; }

/* ---------- HOME (oscuro) ---------- */
.home { background: #050505; color: #fff; }
.pet-title { font-family: Jakarta; font-size: 19px; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 10px var(--lime); }
.pill.energy { margin: 0 auto; width: max-content; display: flex; gap: 8px; align-items: center; border: 1.5px solid var(--lime); border-radius: 99px; padding: 5px 6px 5px 12px; font-size: 13px; color: #cfcfcf; position: relative; }
.pill.energy b { color: #fff; }
.pill.energy i { width: 34px; height: 14px; border-radius: 9px; background: #333; position: relative; overflow: hidden; }
.pill.energy i::after { content: ""; position: absolute; inset: 0; width: var(--w); background: var(--lime); border-radius: 9px; }
.hero { position: relative; height: 230px; display: grid; place-items: center; }
.halo { position: absolute; width: 210px; height: 210px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 28%, transparent), transparent 68%); }
.pet-art { width: 190px; height: 190px; position: relative; filter: drop-shadow(0 18px 24px rgba(0,0,0,.6)); }
.chip { position: absolute; bottom: 14px; background: #fff; color: #111; border-radius: 99px; padding: 5px 12px 5px 6px; font-size: 13px; font-weight: 600; display: flex; gap: 6px; align-items: center; border: 2px solid var(--lime); }
.chip b { background: #111; color: #fff; border-radius: 99px; padding: 1px 7px; font-size: 12px; }
.chip.left { left: 42px; } .chip.right { right: 42px; }

.card { background: var(--card-d); border-radius: var(--r); padding: 14px; display: block; width: 100%; }
.card small { color: #fff; font-size: 13px; font-weight: 600; }
.card.now { display: flex; align-items: center; gap: 12px; margin-top: 6px; }
.now-thumb { width: 52px; height: 52px; border-radius: 12px; background: var(--accent); display: grid; place-items: center; font-size: 26px; flex: none; }
.now-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.now-text small { font-size: 11px; color: var(--muted); font-weight: 500; }
.now-text b { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.now-text em { font-style: normal; font-size: 12px; color: var(--muted); }
.ring { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: radial-gradient(closest-side, var(--card-d) 82%, transparent 84%), conic-gradient(#fff calc(var(--p) * 1%), #444 0); }
.ring svg { width: 18px; height: 18px; }

.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 6px; }
.card.mini { display: flex; flex-direction: column; gap: 4px; cursor: pointer; }
.card.mini b { font-size: 13px; color: var(--muted); font-weight: 500; display: flex; align-items: center; gap: 4px; }
.card.mini svg { width: 14px; height: 14px; }
.row { display: flex; justify-content: space-between; align-items: center; }
.row svg { width: 18px; height: 18px; }
.grid2.tall .card { height: 160px; position: relative; overflow: hidden; }
.card.level { background: var(--card-d2); }
.level-box { position: absolute; left: 10px; right: 10px; bottom: 10px; top: 46px; border-radius: 12px; background: #3a3a3c; overflow: hidden; }
.level-fill { position: absolute; left: 0; right: 0; bottom: 0; background: linear-gradient(#fff, #d9d9d9); border-top: 3px solid #111; min-height: 48%; }
.level-box b { position: absolute; right: 10px; bottom: 4px; font-family: Jakarta; font-size: 42px; color: #111; font-weight: 600; }
.gauge-card em { font-style: normal; color: var(--muted); font-size: 12px; display: flex; align-items: center; gap: 2px; margin-top: 2px; }
.gauge-card em svg { width: 12px; height: 12px; }
.gauge { width: 100%; height: auto; margin-top: 4px; }
.gauge line { stroke: #4a4a4a; stroke-width: 1.6; stroke-linecap: round; }
.gauge line.on { stroke: #fff; }
.gauge-val { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; font-family: Jakarta; font-size: 30px; font-weight: 600; }
.card.eq { margin-top: 6px; }
.bars { display: flex; gap: 8px; height: 78px; margin-top: 10px; align-items: flex-end; }
.bars span { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; height: 100%; justify-content: flex-end; }
.bars i { width: 100%; border-radius: 6px; background: linear-gradient(var(--lime), #7ea434); display: block; }
.bars em { font-style: normal; font-size: 10px; color: var(--muted); }

/* ---------- nav ---------- */
.nav { position: fixed; bottom: 0; width: 390px; max-width: 100vw; margin-left: -18px; display: flex; justify-content: space-around; padding: 10px 24px 26px; }
.phone .nav { position: absolute; left: 18px; }
.nav.home { background: linear-gradient(transparent, #050505 35%); }
.nav.translate { background: linear-gradient(transparent, #fbe3ea 40%); }
.nav.history { background: linear-gradient(transparent, #eeeeee 40%); }
.nav-item { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 11px; opacity: .45; }
.nav-item.on { opacity: 1; }
.nav.home .nav-item.on { color: var(--lime); }

/* ---------- TRADUCIR (degradado melocotón) ---------- */
.translate {
  color: var(--plum);
  background:
    radial-gradient(120% 60% at 100% 0%, #ffd9b8 0%, transparent 55%),
    radial-gradient(90% 60% at 0% 45%, #c79af0 0%, transparent 60%),
    linear-gradient(180deg, #fbd6c6 0%, #f3a6cd 45%, #f6c3d8 75%, #fbe3ea 100%);
}
.seg { display: flex; background: rgba(255,255,255,.4); border-radius: 99px; padding: 4px; margin: 0 auto 14px; width: max-content; font-size: 13px; }
.seg button { padding: 7px 14px; border-radius: 99px; font-weight: 500; }
.seg button.on { background: #fff; box-shadow: 0 2px 8px rgba(80,30,80,.12); }
.eyebrow { text-align: center; letter-spacing: .14em; text-transform: uppercase; font-size: 12px; font-weight: 600; opacity: .75; }
.big { text-align: center; font-family: Jakarta; font-weight: 700; font-size: 36px; letter-spacing: -.02em; margin: 6px 0 4px; }
.sub { text-align: center; font-size: 14px; opacity: .8; padding: 0 16px; min-height: 40px; }
.wave { height: 90px; display: flex; align-items: center; justify-content: center; gap: 2.5px; margin: 10px 0 4px; }
.wave i { width: 2.5px; border-radius: 3px; background: rgba(255,255,255,.95); box-shadow: 0 0 8px rgba(255,255,255,.7); transition: height .08s; }
.progress { height: 3px; border-radius: 3px; background: rgba(255,255,255,.55); position: relative; margin: 10px 4px 0; }
.progress i { position: absolute; inset: 0 auto 0 0; background: #fff; border-radius: 3px; }
.progress b { position: absolute; top: 50%; width: 11px; height: 11px; border-radius: 50%; background: #fff; transform: translate(-50%, -50%); box-shadow: 0 1px 4px rgba(0,0,0,.2); }
.times { display: flex; justify-content: space-between; font-size: 12px; margin: 8px 4px 0; opacity: .8; }
.controls { display: flex; align-items: center; justify-content: space-between; padding: 6px 30px 0; }
.ctl { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 12px; }
.ctl svg { width: 18px; height: 18px; }
.rec { width: 66px; height: 66px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #4b3a50, #1e1420); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px rgba(58,33,64,.4), inset 0 1px 0 rgba(255,255,255,.2); }
.rec svg { width: 26px; height: 26px; }
.rec.on { animation: pulse 1.2s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(255,255,255,.7), 0 10px 24px rgba(58,33,64,.4); } 50% { box-shadow: 0 0 0 14px rgba(255,255,255,0), 0 10px 24px rgba(58,33,64,.4); } }
.out-sound { text-align: center; margin: 18px 0; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.out-sound span { font-size: 54px; }
.out-sound small { opacity: .7; }
.say { display: flex; gap: 8px; background: rgba(255,255,255,.6); border-radius: 99px; padding: 6px 6px 6px 16px; backdrop-filter: blur(8px); }
.say input { flex: 1; border: 0; background: none; font: inherit; color: var(--plum); outline: none; }
.send { width: 40px; height: 40px; border-radius: 50%; background: var(--plum); color: #fff; display: grid; place-items: center; }
.send svg { width: 18px; height: 18px; }
.sheet { margin-top: 16px; background: rgba(255,247,250,.82); backdrop-filter: blur(14px); border-radius: 26px; padding: 16px 16px 6px; box-shadow: 0 20px 40px rgba(120,40,90,.15); }
.sheet-head { display: flex; justify-content: space-between; margin-bottom: 8px; }
.sheet-head h3 { font-family: Jakarta; font-size: 21px; font-weight: 700; }
.sheet-head p { font-size: 13px; opacity: .65; }
.tune { width: 30px; height: 30px; border-radius: 9px; background: #f2dbe7; display: grid; place-items: center; }
.tune svg { width: 16px; height: 16px; }
.slider { display: grid; grid-template-columns: 34px 64px 1fr 28px; align-items: center; gap: 8px; padding: 9px 0; }
.s-ic { width: 32px; height: 32px; border-radius: 50%; background: #f6e3ec; display: grid; place-items: center; font-size: 15px; }
.s-l { font-size: 14px; font-weight: 500; }
.s-v { text-align: right; font-size: 14px; opacity: .8; }
.track { height: 6px; border-radius: 6px; background: #ecdde5; position: relative; }
.track i { position: absolute; inset: 0 auto 0 0; border-radius: 6px; background: linear-gradient(90deg, #f7b28d, #e070a8); }
.track b { position: absolute; top: 50%; width: 18px; height: 18px; border-radius: 50%; background: #fff; transform: translate(-50%, -50%); box-shadow: 0 2px 6px rgba(80,30,80,.25); }
.foot { text-align: center; font-size: 12px; opacity: .65; margin-top: 12px; display: flex; justify-content: center; gap: 6px; align-items: center; }
.foot svg { width: 14px; height: 14px; }
.err { color: #b3123e; text-align: center; font-size: 13px; margin-top: 8px; }

/* ---------- HISTORIAL (claro) ---------- */
.history { background: #eeeeee; color: var(--ink); }
.vc-top { display: flex; justify-content: space-between; align-items: flex-start; }
.vc-top small { color: var(--muted); font-size: 12px; }
.vc-top h1 { font-family: Jakarta; font-size: 34px; font-weight: 700; display: flex; align-items: center; gap: 8px; letter-spacing: -.02em; }
.ok svg { width: 22px; height: 22px; color: #111; }
.vc-pill { background: #fff; border-radius: 12px; padding: 8px 10px; }
.vc-pill small { display: block; font-weight: 600; color: #111; }
.vc-pill b { font-size: 12px; color: var(--muted); font-weight: 500; display: flex; align-items: center; gap: 2px; }
.vc-pill svg { width: 12px; height: 12px; }
.meter { position: relative; height: 230px; margin: 18px 0 14px; display: flex; gap: 10px; }
.scale { display: flex; flex-direction: column; justify-content: space-between; font-size: 10px; color: var(--muted); width: 38px; text-align: right; }
.ticks { display: flex; flex-direction: column; justify-content: space-between; padding: 4px 0; }
.ticks i { display: block; width: 8px; height: 1.5px; background: #bdbdbd; }
.ticks i.long { width: 14px; background: #888; }
.tube { width: 110px; border-radius: 16px; border: 2px solid #fff; background: linear-gradient(#f9f9f9, #e6e6e6); position: relative; overflow: hidden; box-shadow: inset 0 0 0 1px #ddd; }
.fill { position: absolute; left: 0; right: 0; bottom: 0; background: linear-gradient(#3a3a3a, #050505); min-height: 22%; border-top-left-radius: 6px; border-top-right-radius: 6px; }
.notch { position: absolute; top: 6px; left: 50%; width: 22px; height: 8px; border: 1.5px solid #bbb; border-radius: 4px; transform: translateX(-50%); }
.fill b { position: absolute; right: 10px; bottom: 6px; color: #fff; font-family: Jakarta; font-size: 40px; font-weight: 600; }
.peak { position: absolute; left: 172px; display: flex; align-items: baseline; gap: 4px; transform: translateY(50%); font-size: 16px; }
.peak b { font-family: Jakarta; font-size: 40px; font-weight: 600; }
.peak small { font-size: 11px; color: var(--muted); }
.toggle-row { background: #fff; border-radius: 14px; padding: 12px 14px; display: flex; justify-content: space-between; align-items: center; font-size: 14px; }
.toggle-row span { display: flex; align-items: center; gap: 6px; }
.toggle-row svg { width: 14px; height: 14px; color: var(--muted); }
.switch { width: 40px; height: 24px; border-radius: 99px; background: #e2e2e2; position: relative; transition: background .2s; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: left .2s; }
.switch.on { background: #111; } .switch.on::after { left: 19px; }
.h-list { list-style: none; margin-top: 8px; display: flex; flex-direction: column; gap: 6px; }
.h-item { background: #fff; border-radius: 14px; padding: 12px; display: flex; gap: 12px; align-items: center; }
.h-emoji { width: 38px; height: 38px; border-radius: 10px; background: #f2f2f2; display: grid; place-items: center; font-size: 18px; flex: none; }
.h-body { flex: 1; min-width: 0; }
.h-body b { display: block; font-size: 13px; font-weight: 500; line-height: 1.35; }
.h-body small { font-size: 11px; color: var(--muted); }
.h-fav { color: #c8c8c8; } .h-fav.on { color: #e0457b; }
.h-fav svg { width: 18px; height: 18px; }
.h-empty { text-align: center; color: var(--muted); font-size: 13px; padding: 24px; }

.empty { display: grid; place-items: center; text-align: center; gap: 12px; height: 70%; }
.empty h1 { font-family: Jakarta; font-size: 36px; }
.btn { background: var(--lime); color: #111; padding: 12px 22px; border-radius: 99px; font-weight: 600; }
button.card { display: flex; flex-direction: column; justify-content: flex-start; align-items: stretch; }
button.card.now { flex-direction: row; align-items: center; }

/* ---------- Tarjeta para personalizar (inicio) ---------- */
.card.mini small { display: flex; align-items: center; gap: 6px; }
.card.mini small svg { width: 13px; height: 13px; color: var(--muted); }
button.card.promo { flex-direction: row; align-items: center; gap: 12px; margin-top: 6px;
  background: linear-gradient(120deg, #2a2f1a, #1c1c1e 70%); border: 1px solid rgba(200,245,96,.35); }
.promo-ic { width: 38px; height: 38px; border-radius: 12px; background: var(--lime); color: #111; display: grid; place-items: center; flex: none; }
.promo b { display: block; font-size: 14px; }
.promo small { color: var(--muted) !important; font-weight: 400 !important; font-size: 12px !important; }
.promo > span:nth-child(2) { flex: 1; }

/* ---------- ONBOARDING ---------- */
.onboarding {
  color: var(--plum); display: flex; flex-direction: column; padding-bottom: 20px;
  background:
    radial-gradient(120% 50% at 100% 0%, #ffe2c7 0%, transparent 55%),
    radial-gradient(80% 50% at 0% 55%, #e3c6f7 0%, transparent 60%),
    linear-gradient(180deg, #fde6dc 0%, #f8cfe2 55%, #fbe7ef 100%);
}
.ob-bar { display: flex; align-items: center; gap: 12px; margin: 6px 0 18px; }
.ob-progress { flex: 1; display: flex; gap: 5px; }
.ob-progress i { flex: 1; height: 4px; border-radius: 4px; background: rgba(58,33,64,.14); overflow: hidden; position: relative; }
.ob-progress i.full, .ob-progress i.cur::after { background: var(--plum); }
.ob-progress i.cur::after { content: ""; position: absolute; inset: 0 50% 0 0; border-radius: 4px; }
.ob-skip { font-size: 14px; font-weight: 600; padding: 8px 4px; opacity: .75; }
.ob-skip.spacer { visibility: hidden; }
.ob-body { flex: 1; animation: obIn .35s ease; }
@keyframes obIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.ob-eyebrow { letter-spacing: .14em; text-transform: uppercase; font-size: 11px; font-weight: 700; opacity: .6; }
.ob-title { font-family: Jakarta; font-weight: 700; font-size: 30px; line-height: 1.12; letter-spacing: -.02em; margin: 8px 0 8px; }
.ob-sub { font-size: 14px; opacity: .72; line-height: 1.45; }
.ob-label { display: block; font-size: 13px; font-weight: 600; margin: 20px 0 8px; }
.ob-label em { font-style: normal; font-weight: 400; opacity: .6; margin-left: 4px; }
.ob-muted { font-size: 13px; opacity: .6; }

.ob-species { display: grid; gap: 12px; margin-top: 22px; }
.ob-sp { position: relative; background: rgba(255,255,255,.62); backdrop-filter: blur(10px); border-radius: 24px; padding: 14px 18px 14px 130px; min-height: 128px;
  display: flex; flex-direction: column; justify-content: center; border: 2px solid transparent; transition: all .2s; }
.ob-sp.on { background: #fff; border-color: var(--plum); box-shadow: 0 14px 30px rgba(120,40,90,.15); }
.ob-sp-art { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); width: 112px; height: 112px; }
.ob-sp-art .pet-art { width: 112px; height: 112px; filter: drop-shadow(0 8px 12px rgba(0,0,0,.18)); }
.ob-sp b { font-family: Jakarta; font-size: 22px; }
.ob-sp small { font-size: 13px; opacity: .65; }
.ob-radio { position: absolute; right: 16px; top: 16px; width: 22px; height: 22px; border-radius: 50%; border: 2px solid rgba(58,33,64,.25); }
.ob-sp.on .ob-radio { border: 7px solid var(--plum); }

.ob-avatar { width: 116px; height: 116px; margin: 14px auto 16px; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 55%, white), color-mix(in srgb, var(--accent) 20%, white)); box-shadow: 0 12px 30px rgba(120,40,90,.15); }
.ob-avatar .pet-art { width: 100px; height: 100px; filter: drop-shadow(0 6px 8px rgba(0,0,0,.25)); }
.ob-input { width: 100%; border: 0; outline: none; background: #fff; border-radius: 18px; padding: 16px 18px; font: 600 20px Jakarta; color: var(--plum); text-align: center; box-shadow: 0 6px 18px rgba(120,40,90,.08); }
.ob-input::placeholder { color: rgba(58,33,64,.3); }
.ob-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ob-seg button, .ob-energy button { background: rgba(255,255,255,.6); border-radius: 14px; padding: 12px; text-align: center; font-weight: 600; font-size: 14px; border: 2px solid transparent; }
.ob-seg button.on, .ob-energy button.on { background: #fff; border-color: var(--plum); }
.ob-swatches { display: flex; gap: 12px; }
.sw { width: 34px; height: 34px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 2px rgba(0,0,0,.06); }
.sw.on { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--plum); }

.ob-search { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 16px; padding: 12px 14px; margin: 16px 0 12px; }
.ob-search svg { width: 18px; height: 18px; opacity: .5; }
.ob-search input { flex: 1; border: 0; outline: none; font: inherit; color: var(--plum); background: none; }
.ob-chips { display: flex; flex-wrap: wrap; gap: 8px; max-height: 360px; overflow-y: auto; padding-bottom: 4px; }
.chip-o { background: rgba(255,255,255,.6); border-radius: 99px; padding: 9px 14px; font-size: 14px; font-weight: 500; border: 1.5px solid transparent; }
.chip-o.on { background: var(--plum); color: #fff; }

.ob-sizes { display: grid; gap: 8px; margin-top: 18px; }
.ob-sizes.n5 { grid-template-columns: repeat(5, 1fr); }
.ob-sizes.n3 { grid-template-columns: repeat(3, 1fr); }
.ob-size { background: rgba(255,255,255,.6); border-radius: 18px; padding: 14px 4px 12px; display: flex; flex-direction: column; align-items: center; gap: 4px; border: 2px solid transparent; }
.ob-size.on { background: #fff; border-color: var(--plum); }
.ob-size .paw { height: 44px; display: grid; place-items: end center; }
.ob-size .paw svg { width: calc(44px * var(--s)); height: calc(44px * var(--s)); color: var(--plum); opacity: .85; }
.ob-size b { font-size: 12px; } .ob-size small { font-size: 10px; opacity: .6; }
.ob-stepper { display: flex; align-items: center; justify-content: space-between; background: #fff; border-radius: 20px; padding: 10px; }
.ob-stepper button { width: 48px; height: 48px; border-radius: 14px; background: #f6e3ec; font-size: 24px; font-weight: 600; text-align: center; }
.ob-stepper div { text-align: center; } .ob-stepper b { display: block; font-family: Jakarta; font-size: 24px; } .ob-stepper small { opacity: .6; font-size: 12px; }

.ob-energy { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ob-energy button { display: flex; flex-direction: column; gap: 4px; padding: 14px 6px; }
.ob-energy span { font-size: 14px; letter-spacing: -2px; } .ob-energy b { font-size: 13px; }
.ob-traits { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.trait { background: rgba(255,255,255,.6); border-radius: 16px; padding: 12px; display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14px; border: 2px solid transparent; }
.trait span { width: 34px; height: 34px; border-radius: 10px; background: #f6e3ec; display: grid; place-items: center; font-size: 17px; }
.trait.on { background: #fff; border-color: var(--plum); }

.ob-card { margin: 18px 0 14px; border-radius: 28px; padding: 22px 20px 20px; text-align: center; color: #fff; position: relative; overflow: hidden;
  background: radial-gradient(120% 80% at 50% 0%, color-mix(in srgb, var(--accent) 40%, #1c1c1e), #0b0b0b 70%); box-shadow: 0 24px 50px rgba(58,33,64,.3); }
.ob-card-art .pet-art { width: 150px; height: 150px; filter: drop-shadow(0 14px 20px rgba(0,0,0,.5)); }
.ob-card h2 { font-family: Jakarta; font-size: 28px; margin-top: 4px; } .ob-card h2 span { color: var(--accent); }
.ob-card p { font-size: 13px; opacity: .7; margin-top: 2px; }
.ob-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 14px; }
.ob-tags span { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15); border-radius: 99px; padding: 6px 10px; font-size: 12px; }

.ob-foot { display: flex; flex-direction: column; gap: 6px; padding-top: 16px; }
.ob-cta { width: 100%; height: 56px; border-radius: 18px; background: var(--plum); color: #fff; font-weight: 600; font-size: 16px;
  display: flex; align-items: center; justify-content: center; gap: 8px; box-shadow: 0 12px 24px rgba(58,33,64,.28); transition: opacity .2s; }
.ob-cta:disabled { opacity: .35; box-shadow: none; cursor: default; }
.ob-cta svg { width: 18px; height: 18px; }
.ob-later { text-align: center; font-size: 13px; opacity: .6; padding: 8px; }
.gauge-val.sm { font-size: 24px; bottom: 20px; }

/* ---------- análisis IA ---------- */
.why { border-top: 1px solid rgba(58,33,64,.12); margin-top: 6px; padding: 12px 0 10px; display: grid; gap: 8px; font-size: 13px; line-height: 1.45; }
.why-r b { font-weight: 600; }
.why-c { font-style: italic; opacity: .7; }
.why-t { background: rgba(200,245,96,.35); border-radius: 12px; padding: 8px 10px; }
.ai-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ai-chip { font-size: 11.5px; padding: 5px 9px; border-radius: 999px; background: rgba(58,33,64,.08); white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.why-w { font-size: 12px; opacity: .7; }
.bar-actions { display: flex; gap: 8px; }

/* ---------- Adaptable a cualquier dispositivo ---------- */
.back-site { position: fixed; top: 16px; left: 16px; font: 600 14px/20px Inter, sans-serif; color: #333; text-decoration: none; background: rgba(255,255,255,.7); padding: 8px 12px; border-radius: 999px; backdrop-filter: blur(8px); }
.back-site:hover { background: #fff; }
.phone .nav { width: 100%; }
/* Teléfonos (y la app instalada): pantalla completa, sin la barra de estado de maqueta, respetando la muesca */
@media (max-width: 600px), (display-mode: standalone) {
  body { display: block; background: #000; }
  .phone { width: 100%; height: 100dvh; border-radius: 0; box-shadow: none; }
  .status { display: none; }
  .screen { padding-top: max(12px, env(safe-area-inset-top)); padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .phone .nav { padding-bottom: calc(10px + env(safe-area-inset-bottom)); }
  .back-site { display: none; }
}
/* Tablets: columna a toda la altura, centrada */
@media (min-width: 601px) and (max-width: 1023px) {
  body { display: flex; justify-content: center; background: #1a1a1a; }
  .phone { width: min(680px, 100vw); height: 100dvh; border-radius: 0; box-shadow: 0 0 80px rgba(0,0,0,.35); }
  .status { display: none; }
  .screen { padding-top: max(16px, env(safe-area-inset-top)); padding-inline: 32px; }
  .phone .nav { margin-left: -32px; left: 32px; }
  .back-site { display: none; }
}
/* Escritorio con poca altura: la maqueta de teléfono cabe en la ventana */
@media (min-width: 1024px) and (max-height: 900px) { .phone { height: calc(100dvh - 32px); } }
/* Paisaje en móvil: que se pueda desplazar todo */
@media (max-height: 500px) and (orientation: landscape) { .phone { height: 100dvh; } }
.lang-btn { height: 32px; min-width: 40px; padding: 0 10px; border-radius: 999px; font: 600 12px/16px Inter, sans-serif; letter-spacing: .04em; align-self: center; }
.lang-btn.dark { color: #fff; border: 1px solid rgba(255,255,255,.35); }
.lang-btn.light { color: var(--plum); background: rgba(255,255,255,.6); }
.lang-btn:active { transform: scale(.96); }

/* ---------- cuenta, prueba y pago ---------- */
.auth .ob-body { display: flex; flex-direction: column; gap: 4px; }
.auth-form { display: grid; gap: 12px; margin: 16px 0 8px; }
.auth-form .ob-input { margin: 0; }
.auth-legal { font-size: 12px; opacity: .6; text-align: center; margin-top: 8px; }
.auth-legal a { color: inherit; }
.trial-banner { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; margin: 4px 0 12px; padding: 10px 14px; border-radius: 14px; background: rgba(255, 200, 61, .16); color: #ffd96b; font-size: 13px; }
.translate .trial-banner, .history .trial-banner { color: #7a3e1f; background: rgba(255, 200, 61, .35); }
.trial-banner b { background: #ffc83d; color: #2b1a10; padding: 4px 10px; border-radius: 999px; font-weight: 600; white-space: nowrap; }
.paywall { background: #fff; color: #2b1a10; border-radius: 24px; padding: 24px; text-align: center; margin: 8px 0 16px; box-shadow: 0 16px 40px rgba(0,0,0,.12); display: grid; gap: 10px; justify-items: center; }
.paywall-ic { font-size: 36px; }
.paywall h2 { font-size: 20px; }
.paywall p { font-size: 14px; opacity: .75; }
.paywall small { opacity: .6; font-size: 12px; }
.account .acc-card { background: #fff; border-radius: 20px; padding: 18px; margin-bottom: 12px; display: grid; gap: 8px; box-shadow: 0 6px 20px rgba(0,0,0,.05); }
.account .acc-card h3 { font-size: 16px; }
.account .acc-card p, .account .acc-card small { font-size: 13px; color: #555; }
.acc-plan { font-weight: 600; color: #2b1a10 !important; font-size: 15px !important; }
.acc-plan.expired { color: #b3123e !important; }
.acc-mp { text-align: center; }
.acc-notice { background: #e9f7df; color: #2f6b16; border-radius: 14px; padding: 10px 14px; font-size: 13px; margin-bottom: 12px; }
.acc-usage { height: 8px; border-radius: 99px; background: #eee; overflow: hidden; }
.acc-usage i { display: block; height: 100%; background: #c8f560; }
.acc-keys { list-style: none; display: grid; gap: 8px; }
.acc-keys li { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 13px; }
.acc-keys li span { display: grid; }
.acc-keys .muted { color: #999; }
.acc-newkey { background: #fff8e1; border-radius: 12px; padding: 10px; display: grid; gap: 6px; }
.acc-newkey code { font-size: 12px; word-break: break-all; background: #fff; padding: 8px; border-radius: 8px; }
.acc-keyform { display: flex; gap: 8px; }
.acc-keyform input { flex: 1; min-width: 0; border: 1px solid #ddd; border-radius: 12px; padding: 10px 12px; font: inherit; font-size: 14px; }
.acc-btn { background: #111; color: #fff; border-radius: 12px; padding: 10px 14px; font-size: 14px; font-weight: 600; }
.acc-link { color: #3a2140; font-size: 14px; font-weight: 600; text-decoration: none; text-align: left; padding: 4px 0; }
.acc-link.danger { color: #b3123e; }
.mp-email { display: grid; gap: 4px; width: 100%; text-align: left; }
.mp-email small { font-size: 12px; color: #666; }
.mp-email input { border: 1px solid #ddd; border-radius: 12px; padding: 10px 12px; font: inherit; font-size: 14px; width: 100%; }
