/* Mesa Justa — sistema visual (base de diseño y UX de la línea de apps, adaptada a fiestas de verano) */
@font-face { font-family: "Barlow"; src: url("fonts/barlow-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("fonts/barlow-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("fonts/barlow-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("fonts/barlow-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("fonts/barlowc-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("fonts/barlowc-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("fonts/barlowc-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
  --abyss: #0A1F19; --pine: #123A2E; --pine2: #1D5A45; --leaf: #2E8B63; --mint: #8FD9B6;
  --orange: #FF6B1A; --orange2: #E5560A; --red: #D93A2B; --gold: #F2B33D; --gold2: #C98A12;
  --bg: #F7F4EE; --card: #FFFFFF; --text: #1C1A16; --muted: #6A6156; --line: #E9E1D4; --chip: #F1EBE0;
  --ok: #17935F; --warn: #B4480E; --warnbg: #FFF1E3; --errbg: #FFF0EE; --errline: #F6C9C2; --tipbg: #FFF8E1; --tipline: #F1DE9C;
  --plate: #FFF7EC; --brand: #123A2E;
  --fd: "Barlow Condensed", "Roboto Condensed", "Arial Narrow", system-ui, sans-serif;
  --fb: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --sh1: 0 1px 2px rgba(28, 20, 10, .05), 0 10px 26px -12px rgba(28, 20, 10, .22);
  --sh2: 0 2px 6px rgba(10, 31, 25, .12), 0 26px 50px -20px rgba(10, 31, 25, .55);
  --r: 22px; --r2: 14px; --fs: 17px;
  --c1: #1D5A45; --c2: #0A1F19;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #07130F; --card: #0F211B; --text: #EFF6F1; --muted: #9DB5A9; --line: #1D362D; --chip: #16302A;
    --warnbg: #34200E; --warn: #FFAE6B; --errbg: #3A1512; --errline: #6B2A22; --tipbg: #332A0D; --tipline: #6B5A1A;
    --link: #8FD9B6; --plate: #1A2F28; --sh1: 0 0 0 1px rgba(255,255,255,.03), 0 14px 30px -14px rgba(0,0,0,.8); --sh2: 0 0 0 1px rgba(255,255,255,.05), 0 26px 50px -20px rgba(0,0,0,.9);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #07130F; --card: #0F211B; --text: #EFF6F1; --muted: #9DB5A9; --line: #1D362D; --chip: #16302A;
  --warnbg: #34200E; --warn: #FFAE6B; --errbg: #3A1512; --errline: #6B2A22; --tipbg: #332A0D; --tipline: #6B5A1A;
  --link: #8FD9B6; --plate: #1A2F28; --sh1: 0 0 0 1px rgba(255,255,255,.03), 0 14px 30px -14px rgba(0,0,0,.8); --sh2: 0 0 0 1px rgba(255,255,255,.05), 0 26px 50px -20px rgba(0,0,0,.9);
  color-scheme: dark;
}
:root.big { --fs: 20px; }

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { font-size: var(--fs); }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--fb); line-height: 1.5; overflow-x: hidden; min-height: 100vh; -webkit-font-smoothing: antialiased; }
h1, h2, h3, .fd { font-family: var(--fd); letter-spacing: .1px; line-height: 1.08; }
h1 { font-size: 1.85rem; font-weight: 800; margin: 0 0 .3rem; }
h2 { font-size: 1.4rem; font-weight: 800; margin: 1.5rem 0 .65rem; }
h3 { font-size: 1.18rem; font-weight: 700; margin: 0 0 .3rem; }
p { margin: .4rem 0; }
a { color: var(--link, #1D5A45); }
button, input, select, textarea { font: inherit; color: inherit; }
img, svg { max-width: 100%; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.center { text-align: center; }
.hide { display: none !important; }
.row { display: flex; gap: .6rem; align-items: center; }
.row.wrap { flex-wrap: wrap; }
.grow { flex: 1; min-width: 0; }

/* ---------- shell ---------- */
.app { max-width: 560px; margin: 0 auto; min-height: 100vh; padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
.top { position: sticky; top: 0; z-index: 30; padding: .7rem 1rem .55rem; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.top-in { display: flex; align-items: center; gap: .6rem; }
.brand { color: var(--text) !important; display: flex; align-items: center; gap: .55rem; flex: 1; min-width: 0; text-decoration: none; color: var(--text); }
.brand b { display: block; font-family: var(--fd); font-weight: 800; font-size: 1.32rem; line-height: 1; }
.brand small { display: block; font-size: .72rem; font-weight: 600; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand > span { min-width: 0; }
.ib { width: 46px; height: 46px; flex: none; border-radius: 14px; border: 1px solid var(--line); background: var(--card); box-shadow: var(--sh1); display: grid; place-items: center; cursor: pointer; font-weight: 800; font-family: var(--fd); font-size: 1.08rem; color: var(--text); }
.ib[aria-pressed="true"] { background: var(--pine); color: #fff; border-color: var(--pine); }
.ib svg { width: 21px; height: 21px; }
.backb { width: 46px; height: 46px; flex: none; border-radius: 14px; border: 1px solid var(--line); background: var(--card); box-shadow: var(--sh1); cursor: pointer; display: grid; place-items: center; font-size: 1.25rem; color: var(--text); }
.safebar { color: #2A1100 !important; margin-top: .55rem; display: flex; align-items: center; gap: .55rem; padding: .62rem .85rem .62rem 1.35rem; border-radius: 14px; text-decoration: none; color: #2A1100; font-weight: 700; font-size: .9rem;
  background: linear-gradient(90deg, #FFB547, var(--orange)); position: relative; overflow: hidden; box-shadow: 0 10px 22px -12px rgba(229, 86, 10, .7); }
.safebar::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 13px; background: repeating-linear-gradient(135deg, #1C1A16 0 5px, #FFB547 5px 10px); }
.safebar span { flex: 1; min-width: 0; }
.safebar i { font-style: normal; }
main { padding: .4rem 1rem 1rem; }
.fade { animation: fade .28s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* nav pill */
nav.bot { position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 40; max-width: 540px; margin: 0 auto; border-radius: 24px; padding: 6px;
  background: rgba(10, 31, 25, .9); backdrop-filter: blur(18px) saturate(1.6); -webkit-backdrop-filter: blur(18px) saturate(1.6); border: 1px solid rgba(255,255,255,.08); box-shadow: 0 20px 40px -14px rgba(10, 31, 25, .7); }
nav.bot .in { display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px; }
nav.bot a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 58px; border-radius: 18px; text-decoration: none; color: #A9C7BA; font-size: .74rem; font-weight: 700; transition: background .25s, color .25s; }
nav.bot a svg { width: 23px; height: 23px; }
nav.bot a.on { background: #fff; color: var(--pine); }
nav.bot a.on svg { color: var(--orange); }
.fab { position: fixed; right: max(14px, calc(50% - 280px + 14px)); bottom: calc(96px + env(safe-area-inset-bottom)); z-index: 35; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; text-decoration: none; font-size: 1.45rem;
  background: radial-gradient(circle at 35% 30%, #FFA15C, var(--orange) 60%, var(--orange2)); box-shadow: 0 0 0 6px color-mix(in srgb, var(--orange) 22%, transparent), 0 12px 24px -8px rgba(229, 86, 10, .8); }

/* ---------- componentes ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 1rem; box-shadow: var(--sh1); margin: .8rem 0; }
.card.flat { box-shadow: none; }
.ct { display: flex; align-items: center; gap: .6rem; margin-bottom: .5rem; }
.ct .ico { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--chip); font-size: 1.1rem; flex: none; }
.ct h3 { margin: 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 54px; padding: .8rem 1.2rem; border-radius: 16px; border: 0; cursor: pointer; text-decoration: none; text-align: center; line-height: 1.15;
  font-family: var(--fd); font-weight: 700; font-size: 1.2rem; letter-spacing: .2px; background: var(--pine); color: #fff; }
.btn:active { transform: scale(.98); }
.btn.or { background: linear-gradient(#FF8A3D, #F25A0C); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 10px 22px -8px rgba(242, 90, 12, .6); }
.btn.wa { background: #1FA855; color: #fff; box-shadow: 0 10px 22px -10px rgba(31, 168, 85, .7); }
.btn.ghost { background: var(--chip); color: var(--text); }
.btn.line { background: transparent; color: var(--text); border: 2px solid var(--line); }
.btn.block { display: flex; width: 100%; }
.btn.sm { min-height: 44px; padding: .45rem .9rem; font-size: 1.02rem; border-radius: 13px; }
:root[data-theme="dark"] .btn:not(.or):not(.ghost):not(.wa):not(.line) { background: var(--pine2); }
.tag { display: inline-flex; align-items: center; gap: .3rem; font-size: .76rem; font-weight: 700; padding: .22rem .6rem; border-radius: 999px; background: var(--chip); color: var(--muted); white-space: nowrap; }
.tag.ok { background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok); }
.tag.or { background: var(--warnbg); color: var(--warn); }
.tag.vid { background: color-mix(in srgb, var(--orange) 14%, transparent); color: var(--orange2); }
.tag.sky { background: color-mix(in srgb, var(--leaf) 14%, transparent); color: var(--leaf); }
.tag.glass { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.2); }
.chips { display: flex; gap: .45rem; overflow-x: auto; padding: .2rem 1rem .55rem; margin: 0 -1rem; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip2 { flex: none; display: inline-flex; align-items: center; gap: .4rem; border: 1px solid var(--line); background: var(--card); padding: .55rem .95rem; border-radius: 999px; font-weight: 700; font-size: .9rem; cursor: pointer; min-height: 44px; white-space: nowrap; color: var(--text); text-decoration: none; }
.chip2 b { font-size: .72rem; background: var(--chip); color: var(--muted); padding: .05rem .45rem; border-radius: 99px; }
.chip2.on { background: var(--pine); color: #fff; border-color: var(--pine); }
.chip2.on b { background: var(--orange); color: #fff; }
.alert { border-radius: 16px; padding: .85rem 1rem; margin: .7rem 0; font-size: .95rem; border: 1px solid; }
.alert.err { background: var(--errbg); border-color: var(--errline); }
.alert.tip { background: var(--tipbg); border-color: var(--tipline); }
.alert.ok { background: color-mix(in srgb, var(--ok) 10%, var(--card)); border-color: color-mix(in srgb, var(--ok) 30%, transparent); }
.alert.warn { background: var(--warnbg); border-color: color-mix(in srgb, var(--warn) 30%, transparent); }
.field { display: block; margin: .8rem 0; }
.field > span { display: block; font-weight: 700; margin-bottom: .35rem; }
.input { width: 100%; min-height: 54px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--card); padding: .7rem .9rem; font-size: 1.05rem; }
.input:focus { outline: 2px solid var(--orange); outline-offset: 1px; }
.switch { display: flex; align-items: center; gap: .8rem; padding: .65rem 0; cursor: pointer; }
.switch input { appearance: none; -webkit-appearance: none; width: 54px; height: 32px; border-radius: 99px; background: var(--line); position: relative; flex: none; cursor: pointer; transition: background .2s; margin: 0; }
.switch input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.switch input:checked { background: var(--ok); }
.switch input:checked::after { transform: translateX(22px); }
.seg { display: flex; background: var(--chip); border-radius: 16px; padding: 4px; gap: 4px; margin: .8rem 0; }
.seg button { flex: 1; border: 0; background: transparent; min-height: 48px; border-radius: 12px; font-weight: 700; cursor: pointer; color: var(--muted); font-size: .95rem; }
.seg button.on { background: var(--card); color: var(--text); box-shadow: 0 1px 4px rgba(0,0,0,.12); }

/* dark gradient surfaces (hero / class header / cover) */
.dk { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: radial-gradient(120% 80% at 90% 0%, rgba(242, 179, 61, .32), transparent 55%), linear-gradient(170deg, var(--c1), var(--c2)); }
.dk::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(255,255,255,.16) 1.2px, transparent 1.4px); background-size: 18px 18px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%); mask-image: linear-gradient(180deg, #000, transparent 70%); }
.dk .deco { position: absolute; z-index: -1; pointer-events: none; opacity: .35; }
.dk a:not(.btn) { color: #fff; }
.hero6 { border-radius: 28px; padding: 1.15rem; box-shadow: var(--sh2); margin: .6rem 0 .9rem; }
.hero6 .top6 { display: flex; align-items: center; gap: 1rem; }
.ring6 { width: 104px; height: 104px; flex: none; position: relative; }
.ring6 svg { width: 104px; height: 104px; transform: rotate(-90deg); }
.ring6 .v { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
.ring6 .v b { font-family: var(--fd); font-weight: 800; font-size: 2.2rem; line-height: .9; display: block; }
.ring6 .v small { font-size: .72rem; font-weight: 600; opacity: .85; }
.hero6 .kk { font-weight: 700; font-size: .82rem; color: var(--mint); }
.hero6 h2 { margin: .1rem 0 .35rem; font-size: 1.6rem; color: #fff; }
.todo6 { margin: 1rem 0 .9rem; border-radius: 18px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(6px); }
.todo6 a, .todo6 button.r { display: flex; align-items: center; gap: .75rem; padding: .78rem .85rem; text-decoration: none; color: #fff; width: 100%; background: transparent; border: 0; text-align: left; cursor: pointer; }
.todo6 > * + * { border-top: 1px solid rgba(255,255,255,.1); }
.todo6 .ck { width: 30px; height: 30px; border-radius: 50%; border: 2px solid rgba(255,255,255,.55); flex: none; display: grid; place-items: center; font-size: .85rem; }
.todo6 .ck.ok { background: var(--ok); border-color: var(--ok); }
.todo6 .tx { flex: 1; min-width: 0; }
.todo6 .tx b { display: block; font-size: 1rem; }
.todo6 .tx small { display: block; color: rgba(255,255,255,.75); font-size: .84rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.todo6 .ch { opacity: .7; }
.greet6 { display: flex; align-items: flex-end; justify-content: space-between; gap: .8rem; margin: .6rem 0 .1rem; }
.greet6 small { color: var(--muted); font-weight: 600; }
.greet6 h1 { margin: 0; font-size: 1.85rem; }
.streak { flex: none; display: flex; align-items: center; gap: .3rem; padding: .45rem .7rem; border-radius: 16px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--sh1); }
.streak b { font-family: var(--fd); font-size: 1.55rem; line-height: 1; }
.streak small { font-size: .7rem; color: var(--muted); font-weight: 700; display: block; line-height: 1.1; }
.ask6 { display: flex; align-items: center; gap: .7rem; padding: .7rem .7rem .7rem .8rem; border-radius: 20px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--sh1); text-decoration: none; color: var(--text); margin: .8rem 0; }
.ask6 .ai { width: 44px; height: 44px; border-radius: 14px; flex: none; display: grid; place-items: center; font-size: 1.3rem; background: linear-gradient(160deg, var(--pine2), var(--abyss)); }
.ask6 b { display: block; font-family: var(--fd); font-size: 1.12rem; }
.ask6 small { color: var(--muted); font-size: .82rem; }
.ask6 .mic6 { width: 44px; height: 44px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--orange); color: #fff; font-size: 1.1rem; }
.days6 { display: grid; grid-template-columns: repeat(4, 1fr); gap: .45rem; margin: .7rem 0; }
.days6 div { text-align: center; }
.days6 small { display: block; font-size: .74rem; color: var(--muted); font-weight: 600; margin-bottom: .25rem; }
.days6 i { font-style: normal; display: grid; place-items: center; width: 100%; height: 46px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); font-family: var(--fd); font-weight: 800; font-size: 1.2rem; }
.days6 i.ok { background: var(--pine); color: #fff; border-color: var(--pine); }
.days6 i.today { box-shadow: 0 0 0 2px var(--orange); }
.sechd { display: flex; align-items: baseline; justify-content: space-between; gap: .6rem; margin: 1.4rem 0 .6rem; }
.sechd h2 { margin: 0; }
.sechd a { font-weight: 700; font-size: .9rem; text-decoration: none; }
.cd2 { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.cd2 > div { border-radius: 18px; padding: .8rem .9rem; background: var(--card); border: 1px solid var(--line); box-shadow: var(--sh1); }
.cd2 b { font-family: var(--fd); font-size: 2.2rem; font-weight: 800; line-height: 1; display: block; color: var(--pine2); }
:root[data-theme="dark"] .cd2 b { color: var(--mint); }
.cd2 small { font-weight: 600; color: var(--muted); font-size: .82rem; }

/* tarjeta de video grande / portada */
.vcard { display: block; position: relative; border-radius: 26px; overflow: hidden; text-decoration: none; color: #fff; aspect-ratio: 16/10; box-shadow: var(--sh2); }
.vcard .pl { position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%); }
.vcard .meta { position: absolute; left: 1rem; right: 1rem; bottom: .9rem; }
.vcard .meta small { font-weight: 600; opacity: .85; font-size: .84rem; }
.vcard .meta b { display: block; font-family: var(--fd); font-size: 1.6rem; line-height: 1.05; margin: .15rem 0 .4rem; }
.playb { width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: radial-gradient(circle at 35% 30%, #FFA15C, var(--orange) 60%, var(--orange2)); box-shadow: 0 0 0 9px rgba(255, 107, 26, .2), 0 14px 26px -10px rgba(229, 86, 10, .9); }
.playb svg { width: 30px; height: 30px; margin-left: 4px; }

.clh6 { margin: -0.4rem -1rem .9rem; padding: .7rem 1rem 1.25rem; border-radius: 0 0 30px 30px; box-shadow: var(--sh2); }
.crumbs { font-size: .86rem; color: rgba(255,255,255,.75); margin-bottom: .6rem; }
.crumbs a { color: #fff; font-weight: 700; text-decoration: none; }
.vpost6 { position: relative; border-radius: 22px; overflow: hidden; min-height: 200px; display: flex; cursor: pointer; isolation: isolate; color: #fff; box-shadow: 0 18px 34px -16px rgba(0,0,0,.7); border: 1px solid rgba(255,255,255,.1);
  background: radial-gradient(70% 90% at 50% 40%, rgba(46, 139, 99, .55), transparent 70%), linear-gradient(160deg, #143F31, #071510); }
.vpost6::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1.2px); background-size: 16px 16px; opacity: .6; }
.vp6-brand { position: absolute; top: .8rem; left: .9rem; right: 5.5rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.vp6-seen { position: absolute; top: .65rem; right: .7rem; background: var(--ok); color: #fff; font-size: .78rem; font-weight: 700; padding: .2rem .6rem; border-radius: 99px; }
.vp6-c { position: relative; flex: 1; padding: 3.3rem 1rem 1.4rem; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: .35rem; }
.vp6-t { font-weight: 700; font-size: 1.12rem; margin-top: .45rem; }
.vp6-s { font-weight: 700; font-size: .86rem; color: #FFB37E; }
.vp6-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: rgba(255,255,255,.2); }
.vp6-bar i { display: block; height: 100%; background: var(--orange); }
.vpost6.loading .playb { animation: pulse 1s infinite; }
@keyframes pulse { 50% { transform: scale(.92); opacity: .75; } }
.vplayer { position: relative; aspect-ratio: 16/9; border-radius: 22px; overflow: hidden; background: #000; }
.vplayer iframe, .vplayer > div { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vcredit { font-size: .76rem; color: rgba(255,255,255,.65); margin-top: .4rem; }
.clsmeta { margin-top: .9rem; }
.clsmeta small { font-weight: 700; color: rgba(255,255,255,.75); font-size: .84rem; }
.clsmeta h1 { color: #fff; font-size: 2rem; margin: .15rem 0 .45rem; }

/* listas tipo módulo */
.mod6 { border-radius: 24px; overflow: hidden; background: var(--card); border: 1px solid var(--line); box-shadow: var(--sh1); margin: .9rem 0; }
.mod6 .mh { padding: 1rem 1rem 1.1rem; }
.mod6 .mh small { font-weight: 700; font-size: .8rem; opacity: .85; }
.mod6 .mh h3 { font-size: 1.6rem; color: #fff; margin: .15rem 0 .35rem; }
.pbar { height: 6px; border-radius: 9px; background: rgba(255,255,255,.22); overflow: hidden; }
.pbar i { display: block; height: 100%; background: var(--orange); border-radius: 9px; }
.card .pbar { background: var(--chip); }
.clsrow { display: flex; align-items: center; gap: .8rem; padding: .7rem .85rem; text-decoration: none; color: var(--text); border-top: 1px solid var(--line); }
.clsrow:first-of-type { border-top: 0; }
.clsrow .th { width: 76px; height: 50px; border-radius: 12px; flex: none; display: grid; place-items: center; position: relative; color: #fff; background: linear-gradient(160deg, var(--pine2), var(--abyss)); font-size: 1.3rem; }
.clsrow .th .p { position: absolute; right: 5px; bottom: 5px; width: 20px; height: 20px; border-radius: 50%; background: var(--orange); display: grid; place-items: center; }
.clsrow .th .p svg { width: 10px; height: 10px; margin-left: 1px; }
.clsrow .th.seen::after { content: "✓"; position: absolute; left: 5px; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--ok); font-size: .7rem; display: grid; place-items: center; font-weight: 800; }
.clsrow small { display: block; color: var(--muted); font-size: .76rem; font-weight: 700; }
.clsrow b { display: block; font-size: 1rem; line-height: 1.2; }
.clsrow .sub { color: var(--muted); font-size: .8rem; }

/* fichas de cantidades */
.fcard { display: flex; align-items: stretch; border-radius: 20px; overflow: hidden; background: var(--card); border: 1px solid var(--line); box-shadow: var(--sh1); text-decoration: none; color: var(--text); margin: .65rem 0; }
.fcard .sy { width: 52px; flex: none; display: grid; place-items: center; font-size: 1.35rem; background: linear-gradient(180deg, var(--bc), color-mix(in srgb, var(--bc) 70%, #000)); color: #fff; }
.fcard .t { flex: 1; min-width: 0; padding: .75rem .85rem; }
.fcard .t small { display: block; font-size: .76rem; font-weight: 700; color: color-mix(in srgb, var(--bc) 80%, #000); }
:root[data-theme="dark"] .fcard .t small { color: color-mix(in srgb, var(--bc) 55%, #fff); }
.fcard .t b { display: block; font-family: var(--fd); font-size: 1.28rem; line-height: 1.1; margin: .1rem 0 .2rem; }
.fcard .t span { font-size: .88rem; color: var(--muted); }
.fcard .t .q { display: inline-block; font-family: var(--fd); font-weight: 800; font-size: 1.15rem; color: var(--orange2); margin-top: .15rem; }
.fcard .gt { display: grid; place-items: center; padding-right: .7rem; color: var(--muted); }
.search6 { display: flex; align-items: center; gap: .55rem; background: var(--card); border: 1.5px solid var(--line); border-radius: 18px; padding: 0 .5rem 0 1rem; margin: .8rem 0 .5rem; box-shadow: var(--sh1); }
.search6 input { flex: 1; min-width: 0; border: 0; background: transparent; min-height: 54px; outline: none; font-size: 1.02rem; }
.bigq { font-family: var(--fd); font-weight: 800; font-size: 3rem; line-height: .95; color: var(--orange2); }
.qtbl { width: 100%; border-collapse: collapse; }
.qtbl td { padding: .6rem .2rem; border-top: 1px dashed var(--line); }
.qtbl td:last-child { text-align: right; font-family: var(--fd); font-weight: 800; font-size: 1.35rem; color: var(--orange2); white-space: nowrap; }

/* receta */
.scaler { padding-right: 1rem; background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: .9rem 1rem; margin: .8rem 0; box-shadow: var(--sh1); }
.scaler .tp { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.scaler .tp button, .stepper button { width: 52px; height: 52px; border-radius: 16px; border: 0; background: var(--chip); font-size: 1.6rem; font-weight: 700; cursor: pointer; color: var(--text); flex: none; }
.scaler output { font-family: var(--fd); font-weight: 800; font-size: 2.7rem; color: var(--orange2); line-height: 1; }
.scaler .lab { text-align: center; flex: 1; }
.scaler .lab small { display: block; color: var(--muted); font-size: .84rem; font-weight: 700; }
input[type="range"] { width: 100%; accent-color: var(--orange); height: 38px; margin: .4rem 0 0; }
.ings { list-style: none; padding: 0; margin: 0; }
.ings li { display: flex; justify-content: space-between; gap: .8rem; align-items: center; padding: .62rem 0; border-top: 1px dashed var(--line); }
.ings li:first-child { border-top: 0; }
.ings li .q { font-family: var(--fd); font-weight: 800; font-size: 1.55rem; color: var(--orange2); white-space: nowrap; text-align: right; line-height: 1; }
.ings li .q small { display: block; font-family: var(--fb); font-size: .72rem; color: var(--muted); font-weight: 600; margin-top: 2px; }
.ings li .q.g { font-family: var(--fb); font-size: .92rem; color: var(--muted); font-weight: 600; }
.ings li .n small { display: block; color: var(--muted); font-size: .8rem; }
.steps6 { padding-left: 0; list-style: none; counter-reset: p; margin: 0; }
.steps6 li { counter-increment: p; position: relative; padding: .55rem 0 .55rem 2.7rem; }
.steps6 li::before { content: counter(p); position: absolute; left: 0; top: .45rem; width: 2rem; height: 2rem; border-radius: 11px; background: var(--pine); color: #fff; display: grid; place-items: center; font-weight: 800; font-family: var(--fd); font-size: 1.05rem; }
:root[data-theme="dark"] .steps6 li::before { background: var(--pine2); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin: .7rem 0; }
.fact { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: .6rem .4rem; text-align: center; box-shadow: var(--sh1); }
.fact b { display: block; font-family: var(--fd); font-size: 1.08rem; }
.fact small { color: var(--muted); font-size: .74rem; font-weight: 600; }
.fnav { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin: 1rem 0; }

/* wizard / acceso (pantalla oscura tipo bienvenida) */
.onb { min-height: 100vh; padding: 1rem 1rem 2rem; color: #fff; background: radial-gradient(90% 60% at 100% 0%, rgba(242, 179, 61, .25), transparent 60%), radial-gradient(80% 60% at 0% 100%, rgba(255, 107, 26, .18), transparent 60%), linear-gradient(170deg, #17483A, #081A14 70%); position: relative; overflow: hidden; isolation: isolate; }
.onb-in { max-width: 520px; margin: 0 auto; position: relative; }
.onb-hd { display: flex; align-items: center; justify-content: space-between; min-height: 44px; font-weight: 700; font-size: .9rem; }
.onb-hd button, .onb-hd a { background: none; border: 0; color: #fff; font-weight: 700; cursor: pointer; text-decoration: none; min-height: 44px; padding: 0; }
.onb-bar { height: 5px; border-radius: 9px; background: rgba(255,255,255,.18); margin: .4rem 0 1.2rem; overflow: hidden; }
.onb-bar i { display: block; height: 100%; border-radius: 9px; background: linear-gradient(90deg, var(--mint), var(--orange)); }
.onb-ic { width: 112px; height: 112px; margin: .6rem auto 1rem; border-radius: 50%; border: 1.5px dashed rgba(255,255,255,.3); display: grid; place-items: center; }
.onb-ic span { width: 82px; height: 82px; border-radius: 50%; display: grid; place-items: center; font-size: 2.3rem; background: radial-gradient(circle at 35% 30%, #2A7A5E, #0F3328); box-shadow: 0 12px 28px -10px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.2); }
.onb h1 { text-align: center; color: #fff; font-size: 2.1rem; }
.onb .sub { text-align: center; color: rgba(255,255,255,.78); margin-bottom: 1.2rem; }
.opt6 { display: flex; align-items: center; gap: .8rem; width: 100%; padding: .9rem 1rem; margin: .55rem 0; border-radius: 18px; text-align: left; cursor: pointer; color: #fff; min-height: 66px;
  background: rgba(255,255,255,.07); border: 1.5px solid rgba(255,255,255,.16); backdrop-filter: blur(6px); }
.opt6 .e { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.1); font-size: 1.3rem; flex: none; }
.opt6 b { display: block; font-size: 1.02rem; }
.opt6 small { color: rgba(255,255,255,.72); font-size: .84rem; }
.opt6 .rd { width: 24px; height: 24px; border-radius: 50%; border: 2px solid rgba(255,255,255,.5); flex: none; margin-left: auto; }
.opt6.on { border-color: var(--orange); background: rgba(255, 107, 26, .14); }
.opt6.on .rd { border-color: var(--orange); background: radial-gradient(circle, var(--orange) 45%, transparent 50%); }
.stepper { display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding: .8rem .9rem; border-radius: 18px; margin: .55rem 0; background: var(--card); border: 1px solid var(--line); }
.onb .stepper { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.16); }
.onb .stepper button { background: rgba(255,255,255,.14); color: #fff; }
.stepper .lbl { min-width: 0; }
.stepper .lbl b { display: block; font-size: 1.05rem; }
.stepper .lbl small { opacity: .75; font-size: .84rem; }
.stepper .ctr { display: flex; align-items: center; gap: .4rem; flex: none; }
.stepper output { min-width: 2.3ch; text-align: center; font-family: var(--fd); font-size: 2rem; font-weight: 800; }
.onb .switch { background: rgba(255,255,255,.07); border: 1.5px solid rgba(255,255,255,.16); border-radius: 18px; padding: .8rem 1rem; margin: .55rem 0; }
.onb .input { background: #fff; color: #1C1A16; border: 2px solid transparent; }
.onb .input:focus { border-color: var(--orange); outline: 0; }
.onb .err { color: #FFB4A2; font-weight: 700; min-height: 1.4em; margin: .5rem 0; text-align: center; }
.onb .btn.or { margin-top: .6rem; }
.onb .foot { position: sticky; bottom: 0; padding: .9rem 0 calc(.6rem + env(safe-area-inset-bottom)); background: linear-gradient(to top, #081A14 65%, transparent); }
.onb .flake { position: absolute; z-index: -1; opacity: .16; pointer-events: none; }

/* menú, cantidades, lista */
.dish { display: flex; align-items: center; gap: .7rem; padding: .75rem 0; border-top: 1px dashed var(--line); }
.dish:first-of-type { border-top: 0; }
.dish .nm { font-weight: 700; display: block; line-height: 1.2; }
.dish .meta { font-size: .82rem; color: var(--muted); }
.dish .acts { display: flex; gap: .35rem; flex: none; }
.dish .acts button, .dish .acts a { min-width: 46px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); cursor: pointer; font-size: .84rem; font-weight: 700; padding: 0 .55rem; color: var(--text); text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
.rolhead { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem; }
.rolhead h3 { font-size: 1.3rem; }
.qrow { display: flex; justify-content: space-between; gap: .8rem; align-items: center; padding: .8rem 0; border-top: 1px dashed var(--line); text-decoration: none; color: inherit; }
.qrow:first-of-type { border-top: 0; }
.qrow .nm { font-weight: 700; line-height: 1.2; }
.qrow .pp { font-size: .82rem; color: var(--muted); }
.qbig { font-family: var(--fd); font-weight: 800; font-size: 1.85rem; line-height: 1; color: var(--orange2); text-align: right; white-space: nowrap; }
.qbig small { display: block; font-family: var(--fb); font-size: .7rem; color: var(--muted); font-weight: 600; margin-top: 3px; }
.forx { font-family: var(--fd); font-size: 1.3rem; font-weight: 700; }
.forx b { color: var(--orange2); font-size: 1.8rem; }
.summary { display: flex; flex-wrap: wrap; gap: .4rem; }
.litem { display: flex; align-items: center; gap: .7rem; padding: .58rem 0; border-top: 1px dashed var(--line); }
.litem:first-of-type { border-top: 0; }
.litem input[type="checkbox"], .task input[type="checkbox"] { width: 28px; height: 28px; accent-color: var(--ok); flex: none; margin: 0; }
.litem .nm { flex: 1; min-width: 0; }
.litem .nm b { font-weight: 600; }
.litem .nm small { display: block; color: var(--muted); font-size: .78rem; }
.litem .lq { font-family: var(--fd); font-weight: 800; font-size: 1.45rem; color: var(--orange2); white-space: nowrap; text-align: right; }
.litem.done .nm, .litem.done .lq { text-decoration: line-through; opacity: .45; }
.price { width: 104px; min-height: 40px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); padding: .3rem .45rem; font-size: .9rem; margin-top: .3rem; }
.who { min-height: 42px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); max-width: 118px; font-size: .88rem; }
.total { display: flex; justify-content: space-between; align-items: center; font-weight: 700; }
.total b { font-family: var(--fd); font-size: 1.8rem; color: var(--orange2); }
.sticky-act { position: sticky; bottom: calc(92px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: 1fr auto; gap: .5rem; padding: .7rem 0; background: linear-gradient(to top, var(--bg) 70%, transparent); z-index: 5; }
.guest { display: inline-flex; align-items: center; gap: .3rem; background: var(--chip); border-radius: 99px; padding: .3rem .4rem .3rem .8rem; font-weight: 600; margin: .2rem; }
.guest button { border: 0; background: var(--card); width: 30px; height: 30px; border-radius: 50%; cursor: pointer; }
.task { display: flex; align-items: flex-start; gap: .7rem; padding: .7rem 0; border-top: 1px dashed var(--line); cursor: pointer; }
.task:first-of-type { border-top: 0; }
.task .h { font-weight: 800; color: var(--orange2); font-family: var(--fd); font-size: 1.05rem; min-width: 3.1rem; padding-top: 2px; }
.task.done .t { text-decoration: line-through; opacity: .5; }

/* asistente */
.chat { display: flex; flex-direction: column; gap: .6rem; margin: .8rem 0; }
.msg { max-width: 92%; padding: .8rem .95rem; border-radius: 18px; }
.msg.me { align-self: flex-end; background: var(--pine); color: #fff; border-bottom-right-radius: 6px; font-weight: 600; }
.msg.bot { align-self: flex-start; background: var(--card); border: 1px solid var(--line); border-bottom-left-radius: 6px; box-shadow: var(--sh1); }
.msg.bot .big { font-family: var(--fd); font-size: 2.3rem; font-weight: 800; color: var(--orange2); line-height: 1.05; display: block; margin: .2rem 0; }
.msg.bot ul { padding-left: 1.1rem; margin: .4rem 0; }
.msg.bot li b { font-family: var(--fd); font-size: 1.2rem; color: var(--orange2); }
.askbar { display: flex; gap: .5rem; align-items: center; background: var(--card); border: 1.5px solid var(--line); border-radius: 20px; padding: .35rem .35rem .35rem .9rem; margin: .9rem 0; box-shadow: var(--sh1); }
.askbar input { border: 0; background: transparent; flex: 1; min-width: 0; min-height: 46px; font-size: 1rem; outline: none; }
.mic { width: 46px; height: 46px; border-radius: 14px; border: 0; background: var(--chip); cursor: pointer; font-size: 1.15rem; flex: none; }
.mic.rec { background: var(--orange); color: #fff; animation: pulse 1s infinite; }
.sendb { width: 46px; height: 46px; border-radius: 14px; border: 0; background: var(--orange); color: #fff; cursor: pointer; font-size: 1.2rem; flex: none; }

/* más / extras */
.bz { border-radius: 22px; overflow: hidden; background: var(--card); border: 1px solid var(--line); box-shadow: var(--sh1); }
.bz a { display: flex; align-items: center; gap: .8rem; padding: .85rem .95rem; text-decoration: none; color: var(--text); border-top: 1px solid var(--line); min-height: 66px; }
.bz a:first-child { border-top: 0; }
.bz .ic { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; font-size: 1.3rem; flex: none; color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.3); }
.bz .t { flex: 1; min-width: 0; }
.bz .t b { display: block; font-size: 1.02rem; }
.bz .t small { color: var(--muted); font-size: .82rem; }
.bz a::after { content: "›"; color: var(--muted); font-size: 1.4rem; }
.xcard { position: relative; overflow: hidden; border-radius: 24px; padding: 1.1rem; margin: .8rem 0; color: #fff; box-shadow: var(--sh2); isolation: isolate; }
.xcard h3 { color: #fff; font-size: 1.5rem; }
.xcard p { color: rgba(255,255,255,.85); font-size: .92rem; }
.xcard.dulce { --c1: #B8742B; --c2: #4A2A0E; }
.xcard.bocados { --c1: #2E8B63; --c2: #0A2A1E; }
.xcard.juntadas { --c1: #C2452E; --c2: #3E120A; }
.xcard .lk { position: absolute; top: .9rem; right: .9rem; font-size: .76rem; font-weight: 800; padding: .25rem .6rem; border-radius: 99px; background: rgba(0,0,0,.3); }
.xcard .row .input { background: rgba(255,255,255,.96); color: #1C1A16; min-height: 50px; border: 0; }
.xcard .btn { background: #fff; color: #1C1A16; }
.xrail { display: flex; gap: .7rem; overflow-x: auto; margin: 0 -1rem; padding: .2rem 1rem .6rem; scrollbar-width: none; }
.xrail::-webkit-scrollbar { display: none; }
.xrail a { flex: none; width: 228px; min-height: 150px; border-radius: 22px; padding: .9rem; text-decoration: none; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; box-shadow: var(--sh1); }
.xrail a small { font-size: .74rem; font-weight: 800; opacity: .85; }
.xrail a b { font-family: var(--fd); font-size: 1.3rem; line-height: 1.05; margin: .15rem 0; }
.xrail a span { font-size: .8rem; opacity: .85; }

/* sheet, toast, tour */
.sheet-wrap { position: fixed; inset: 0; z-index: 60; }
.sheet-bg { position: absolute; inset: 0; background: rgba(5, 15, 10, .5); opacity: 0; transition: opacity .2s; }
.sheet { position: absolute; left: 0; right: 0; bottom: 0; max-height: 86vh; overflow-y: auto; background: var(--bg); border-radius: 26px 26px 0 0; padding: 1.2rem 1rem calc(1.2rem + env(safe-area-inset-bottom)); transform: translateY(100%); transition: transform .25s ease; max-width: 560px; margin: 0 auto; }
.sheet-wrap.open .sheet { transform: none; }
.sheet-wrap.open .sheet-bg { opacity: 1; }
.sheet-x { position: absolute; top: .7rem; right: .7rem; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--chip); cursor: pointer; font-size: 1rem; }
.sheet h2 { margin-top: .2rem; padding-right: 3rem; }
.sheet .opt { display: flex; align-items: center; gap: .8rem; width: 100%; text-align: left; padding: .85rem 1rem; margin-bottom: .5rem; border-radius: 16px; border: 1.5px solid var(--line); background: var(--card); cursor: pointer; min-height: 60px; }
.sheet .opt .e { font-size: 1.5rem; flex: none; }
.sheet .opt b { display: block; }
.sheet .opt small { color: var(--muted); }
#toast { position: fixed; left: 50%; bottom: calc(100px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); background: var(--text); color: var(--bg); padding: .75rem 1.1rem; border-radius: 14px; font-weight: 700; opacity: 0; transition: .25s; z-index: 80; pointer-events: none; max-width: calc(100% - 32px); text-align: center; }
#toast.show { opacity: 1; transform: translate(-50%, 0); }
.tour { position: fixed; inset: 0; z-index: 70; background: rgba(5,15,10,.6); display: flex; align-items: flex-end; justify-content: center; padding: 1rem; }
.tour .card { max-width: 520px; width: 100%; margin-bottom: calc(86px + env(safe-area-inset-bottom)); }
.dots { display: flex; gap: .35rem; justify-content: center; margin: .6rem 0; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.dots i.on { background: var(--orange); width: 22px; border-radius: 9px; }
table.tbl { width: 100%; border-collapse: collapse; font-size: .92rem; }
.tbl td, .tbl th { padding: .5rem .3rem; border-bottom: 1px dashed var(--line); text-align: left; }
.tbl td:last-child, .tbl th:last-child { text-align: right; }
.qgrid { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.qbtn { display: flex; flex-direction: column; gap: .3rem; padding: .9rem; border-radius: 20px; background: var(--card); border: 1px solid var(--line); text-decoration: none; color: var(--text); font-weight: 700; min-height: 92px; box-shadow: var(--sh1); }
.qbtn i { font-style: normal; font-size: 1.5rem; }
.qbtn small { font-weight: 500; color: var(--muted); font-size: .8rem; }
.kicker { font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 800; color: var(--orange2); }
.rhead { margin: .5rem 0 .3rem; }

.scaler > p { padding-right: 3.6rem; }

/* ═══════════════ v3: más grande y más simple (público 50–65) ═══════════════ */
:root.fs1 { --fs: 18px; } :root.fs2 { --fs: 20px; } :root.fs3, :root.big { --fs: 23px; }
.btn { min-height: 56px; font-size: 1.02rem; }
.btn.sm { min-height: 52px; }
.btn.xl { min-height: 66px; font-size: 1.2rem; }
.btn.big { min-height: 62px; font-size: 1.08rem; margin: .7rem 0; }
.chip2 { min-height: 50px; }
.seg button { min-height: 52px; font-size: 1rem; }
.input { min-height: 56px; font-size: 1.05rem; }
.small { font-size: .9rem; }
.muted { color: var(--muted); }
:root:not([data-theme="dark"]) { --muted: #5A5248; }
.h3s { font-family: var(--fd); font-size: 1.25rem; font-weight: 800; margin: 1.2rem 0 .5rem; letter-spacing: .01em; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin: .6rem 0; }
.row2 .btn { padding: .6rem .5rem; font-size: .95rem; }
.backb { width: auto; min-width: 56px; padding: 0 .6rem; height: 52px; gap: .1rem; display: flex; flex-direction: column; line-height: 1; }
.backb span { font-size: 1.5rem; line-height: .8; }
.backb small { font-size: .62rem; font-weight: 800; letter-spacing: .02em; }
.ib { width: 52px; height: 52px; }
nav.bot .in { grid-template-columns: repeat(4, 1fr); }
nav.bot a { min-height: 62px; font-size: .78rem; }
.app.hasmic { padding-bottom: calc(180px + env(safe-area-inset-bottom)); }
.micfab { position: fixed; right: max(12px, calc(50% - 280px + 12px)); bottom: calc(92px + env(safe-area-inset-bottom)); z-index: 36; display: flex; align-items: center; gap: .45rem; min-height: 60px; padding: 0 1.15rem 0 .6rem; border-radius: 999px; text-decoration: none; color: #fff; font-weight: 800; font-size: 1.02rem;
  background: linear-gradient(#FF8A3D, #E5560A); box-shadow: 0 12px 26px -10px rgba(229, 86, 10, .75), inset 0 1px 0 rgba(255,255,255,.35); border: 3px solid #fff; }
.micfab .mi { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.22); display: grid; place-items: center; font-size: 1.3rem; }
.sticky-act { bottom: calc(160px + env(safe-area-inset-bottom)); }
.app:not(.hasmic) .sticky-act { bottom: calc(92px + env(safe-area-inset-bottom)); }

/* tour */
.tour3 h1 { font-size: 2rem; line-height: 1.1; margin: .6rem 0; }
.tour3 .tp { font-size: 1.2rem; line-height: 1.45; opacity: .95; }
.tour3 .tbig { font-size: 4.2rem; margin-top: 1.4rem; }
.tour3 .tsay { margin-top: 1rem; background: rgba(255,255,255,.12); color: #fff; }
.tour3 .foot { margin-top: 1.6rem; }
.tdots { display: flex; gap: .4rem; margin: .8rem 0 0; }
.tdots i { flex: 1; height: 6px; border-radius: 9px; background: rgba(255,255,255,.2); }
.tdots i.on { background: linear-gradient(90deg, var(--mint), var(--orange)); }

/* inicio */
.greet3 { display: flex; justify-content: space-between; align-items: flex-end; gap: .6rem; margin: .4rem 0 .8rem; }
.greet3 small { color: var(--muted); font-weight: 600; }
.greet3 h1 { font-size: 1.9rem; margin: 0; }
.cnt3 { text-align: center; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: .35rem .7rem; flex: none; }
.cnt3 b { display: block; font-family: var(--fd); font-size: 1.8rem; color: var(--orange2); line-height: 1; }
.cnt3 small { font-size: .7rem; color: var(--muted); font-weight: 700; }
.now3 { position: relative; display: block; text-decoration: none; color: #fff; padding: 1.1rem 3.2rem 1.15rem 1.1rem; border-radius: 26px; background: linear-gradient(160deg, #FF8A3D, #E04E06); box-shadow: 0 18px 34px -16px rgba(229, 86, 10, .9); }
.now3 .k { display: inline-block; font-size: .78rem; font-weight: 800; background: rgba(0,0,0,.18); padding: .15rem .55rem; border-radius: 99px; }
.now3 b { display: block; font-family: var(--fd); font-size: 2.1rem; line-height: 1.05; margin: .35rem 0 .2rem; }
.now3 .t { display: block; font-weight: 800; font-size: 1.1rem; }
.now3 small { display: block; opacity: .92; font-size: .95rem; margin-top: .15rem; }
.now3 .ar { position: absolute; right: .9rem; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--orange2); display: grid; place-items: center; font-size: 1.8rem; font-weight: 800; }
.steps3 { display: grid; grid-template-columns: repeat(4, 1fr); gap: .3rem; margin: .7rem 0 .2rem; }
.steps3 span { text-align: center; font-size: .72rem; font-weight: 700; color: var(--muted); }
.steps3 i { display: grid; place-items: center; width: 30px; height: 30px; margin: 0 auto .2rem; border-radius: 50%; border: 2px solid var(--line); font-style: normal; font-weight: 800; color: var(--muted); background: var(--card); }
.steps3 .ok i { background: var(--ok); border-color: var(--ok); color: #fff; }
.steps3 .cur i { border-color: var(--orange); color: var(--orange2); }
.steps3 .cur { color: var(--text); }
.cont3 { display: flex; align-items: center; gap: .8rem; margin: .8rem 0; padding: .8rem .9rem; border-radius: 20px; text-decoration: none; color: var(--text); background: var(--card); border: 2px solid var(--line); box-shadow: var(--sh1); min-height: 72px; }
.cont3 .pl { width: 50px; height: 50px; flex: none; border-radius: 14px; background: var(--pine); color: #fff; display: grid; place-items: center; font-size: 1.2rem; }
.cont3 small { display: block; font-size: .78rem; font-weight: 800; color: var(--orange2); text-transform: uppercase; letter-spacing: .04em; }
.cont3 b { display: block; font-size: 1.05rem; }
.cont3 span span { font-size: .88rem; color: var(--muted); }
.cont3 .ar, .gift3 .ar, .mrow .ar, .bz3 .ar { font-size: 1.6rem; color: var(--muted); flex: none; }
.cont3.sm { margin: .5rem 0; }
.tiles3 { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin: .8rem 0; }
.tile3 { display: flex; flex-direction: column; gap: .15rem; padding: .9rem .85rem; min-height: 118px; border-radius: 22px; text-decoration: none; color: var(--text); background: var(--card); border: 1px solid var(--line); box-shadow: var(--sh1); min-width: 0; }
.tile3 .e { font-size: 1.9rem; }
.tile3 b { font-size: 1.12rem; line-height: 1.1; }
.tile3 small { color: var(--muted); font-size: .82rem; line-height: 1.2; overflow-wrap: anywhere; }
.gift3 { display: flex; align-items: center; gap: .8rem; padding: .9rem; border-radius: 22px; text-decoration: none; color: #fff; background: linear-gradient(160deg, #B8742B, #5A3010); min-height: 76px; }
.gift3 .e { font-size: 2rem; }
.gift3 small { display: block; font-size: .75rem; font-weight: 800; color: #FFD9A8; text-transform: uppercase; letter-spacing: .05em; }
.gift3 b { display: block; font-size: 1.12rem; }
.gift3 span span { font-size: .88rem; opacity: .9; }
.gift3 .ar { color: #fff; }

/* asistente */
.asktop h1 { margin: .3rem 0 .1rem; }
.asktop p { margin: 0 0 .6rem; }
.bigmic { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; min-height: 168px; border: 0; border-radius: 28px; cursor: pointer; color: #fff; margin: .4rem 0 .8rem;
  background: radial-gradient(70% 90% at 50% 0%, #FF9A52, #E04E06); box-shadow: 0 20px 38px -18px rgba(229, 86, 10, .95); }
.bigmic .mi { width: 86px; height: 86px; border-radius: 50%; background: rgba(255,255,255,.22); display: grid; place-items: center; font-size: 2.6rem; border: 3px solid rgba(255,255,255,.55); }
.bigmic b { font-size: 1.35rem; margin-top: .45rem; }
.bigmic small { opacity: .9; font-size: .95rem; }
.bigmic.rec .mi { animation: pulse 1s infinite; background: #fff; color: var(--orange2); }
.ask3 { display: grid; grid-template-columns: 1fr auto; gap: .5rem; }
.ask3 .btn { padding: .6rem .9rem; }
.sug3 { display: grid; gap: .45rem; }
.sg, .recq { display: block; width: 100%; text-align: left; border: 1px solid var(--line); background: var(--card); color: var(--text); border-radius: 16px; padding: .8rem .95rem; font-size: 1rem; font-weight: 600; cursor: pointer; min-height: 56px; text-decoration: none; margin: .35rem 0; }
.vozsw { margin-top: .6rem; }
.ans3 { margin: 1rem 0; padding: 1rem; border-radius: 24px; background: var(--card); border: 2px solid color-mix(in srgb, var(--orange) 45%, var(--line)); box-shadow: var(--sh1); scroll-margin-top: 90px; }
.ans3 .aq { font-weight: 700; color: var(--muted); font-size: .95rem; }
.ans3 .abig { font-family: var(--fd); font-weight: 800; font-size: 2.6rem; line-height: 1.02; color: var(--orange2); margin: .35rem 0 .15rem; overflow-wrap: anywhere; }
.ans3 .asub { font-weight: 700; font-size: 1rem; }
.ans3 .abody { font-size: 1.08rem; line-height: 1.45; }
.ans3 .abody .big { font-family: var(--fd); font-weight: 800; font-size: 2.4rem; color: var(--orange2); display: block; line-height: 1.05; margin: .2rem 0; }
.ans3 .abody ul { padding-left: 1.1rem; margin: .4rem 0; }
.ansteps { padding-left: 1.4rem; margin: .4rem 0; }
.ansteps li { margin: .35rem 0; }
.aacts { display: grid; gap: .5rem; margin-top: .8rem; }
.seekban { display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; margin: .8rem 0 .5rem; padding: .7rem .85rem; border-radius: 14px; background: color-mix(in srgb, var(--orange) 14%, var(--card)); color: var(--text); font-weight: 700; font-size: 1rem; border: 1px solid color-mix(in srgb, var(--orange) 40%, transparent); }
.seekban b { font-family: var(--fd); font-size: 1.35rem; color: var(--orange2); }
.clh6 .seekban { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.2); }
.clh6 .seekban b { color: #FFB547; }

/* modo cocina */
.cook { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; padding: .8rem 1rem calc(1rem + env(safe-area-inset-bottom)); color: #fff; background: linear-gradient(170deg, #17483A, #081A14 75%); max-width: 640px; margin: 0 auto; }
.ck-top { display: flex; align-items: center; gap: .5rem; }
.ck-x, .ck-ing { min-height: 52px; border-radius: 14px; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08); color: #fff; font-weight: 800; padding: 0 .8rem; cursor: pointer; font-size: .95rem; }
.ck-n { flex: 1; min-width: 0; text-align: center; }
.ck-n small { display: block; opacity: .8; font-size: .82rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ck-n b { font-family: var(--fd); font-size: 1.35rem; }
.ck-bar { height: 8px; border-radius: 9px; background: rgba(255,255,255,.15); margin: .7rem 0; overflow: hidden; }
.ck-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--mint), var(--orange)); }
.ck-step { flex: 1; font-size: 1.75rem; line-height: 1.32; font-weight: 600; padding: .6rem 0 1rem; overflow-wrap: anywhere; }
:root.fs3 .ck-step { font-size: 1.6rem; }
.ck-tm { width: 100%; min-height: 64px; border-radius: 18px; border: 0; background: #FFB547; color: #2A1100; font-weight: 800; font-size: 1.15rem; cursor: pointer; margin-bottom: .6rem; }
.ck-tools { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: .5rem; }
.ck-tools button, .ck-tools a { min-height: 56px; border-radius: 16px; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08); color: #fff; font-weight: 800; font-size: 1rem; cursor: pointer; display: grid; place-items: center; text-decoration: none; text-align: center; padding: 0 .4rem; }
.ck-tools button.on { background: #fff; color: var(--pine); }
.ck-hint { font-size: .9rem; opacity: .8; text-align: center; margin: .5rem 0; }
.ck-nav { display: grid; grid-template-columns: 1fr 1.7fr; gap: .6rem; margin-top: .4rem; }
.ck-nav button { min-height: 76px; border-radius: 22px; border: 0; font-weight: 800; font-size: 1.25rem; cursor: pointer; }
.ck-nav button:disabled { opacity: .35; }
.ck-nav #ckprev { background: rgba(255,255,255,.12); color: #fff; }
.ck-nav .nx { background: linear-gradient(#FF8A3D, #E5560A); color: #fff; font-size: 1.5rem; box-shadow: 0 14px 28px -12px rgba(229, 86, 10, .9); }
#tmrs { position: fixed; left: 10px; right: 10px; top: calc(8px + env(safe-area-inset-top)); z-index: 60; max-width: 540px; margin: 0 auto; display: grid; gap: .35rem; pointer-events: none; }
#tmrs.incook { top: auto; bottom: calc(110px + env(safe-area-inset-bottom)); }
.tmr { pointer-events: auto; display: flex; align-items: center; gap: .5rem; background: #2A1100; color: #fff; border-radius: 16px; padding: .4rem .5rem .4rem .8rem; box-shadow: 0 10px 22px -10px rgba(0,0,0,.7); border: 2px solid #FFB547; }
.tmr .tl { flex: 1; min-width: 0; font-weight: 700; font-size: .85rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tmr b { font-family: var(--fd); font-size: 1.6rem; color: #FFB547; }
.tmr button { width: 44px; height: 44px; border-radius: 12px; border: 0; background: rgba(255,255,255,.14); color: #fff; font-weight: 800; cursor: pointer; }
.tmr.done { background: #D93A2B; border-color: #fff; animation: pulse 1s infinite; }
.tmr.done b { color: #fff; }

/* invitados */
.conf3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: .4rem; margin: .6rem 0; }
.conf3 div { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: .55rem .3rem; text-align: center; }
.conf3 b { display: block; font-family: var(--fd); font-size: 2rem; line-height: 1; color: var(--orange2); }
.conf3 small { font-size: .74rem; font-weight: 700; color: var(--muted); }
.kq3 h3 { margin: 0 0 .3rem; }
.kqr { display: flex; justify-content: space-between; gap: .6rem; padding: .4rem 0; border-top: 1px dashed var(--line); align-items: baseline; }
.kqr b { font-family: var(--fd); font-size: 1.35rem; color: var(--orange2); white-space: nowrap; }
.kqr s { color: var(--muted); font-size: 1rem; }
.kq3.flash { animation: flash3 1.6s ease; }
@keyframes flash3 { 0% { box-shadow: 0 0 0 4px var(--orange); } 100% { box-shadow: var(--sh1); } }
.fam3 { background: var(--card); border: 2px solid var(--line); border-radius: 22px; padding: .85rem; margin: .7rem 0; }
.fam3.si { border-color: var(--ok); }
.fam3.no { opacity: .7; }
.fam3 .fh { display: flex; gap: .5rem; align-items: center; }
.fam3 .fh b { display: block; font-size: 1.15rem; }
.fam3 .fh small { color: var(--muted); }
.fam3 .st { font-size: .8rem; font-weight: 800; padding: .25rem .55rem; border-radius: 99px; background: var(--chip); white-space: nowrap; }
.fam3.si .st { background: var(--ok); color: #fff; }
.fb { display: grid; grid-template-columns: 1fr 1fr; gap: .45rem; margin: .65rem 0 .45rem; }
.fb button { min-height: 58px; border-radius: 16px; font-weight: 800; font-size: 1.05rem; cursor: pointer; border: 2px solid var(--line); background: var(--card); color: var(--text); }
.fam3.si .fb .yes { background: var(--ok); color: #fff; border-color: var(--ok); }
.fam3.no .fb .no { background: var(--chip); border-color: var(--muted); }
.fb2 { display: flex; gap: .4rem; align-items: center; }
.fb2 .btn { flex: 1; font-size: .92rem; padding: .5rem .6rem; }
.lnk { background: none; border: 0; color: var(--text); text-decoration: underline; font-weight: 700; min-height: 52px; padding: 0 .5rem; cursor: pointer; font-size: .95rem; }
.stepper.big3 output { font-size: 2.2rem; }
.stepper .ctr button { width: 56px; height: 56px; }
.diff3 { list-style: none; padding: 0; margin: .5rem 0; }
.diff3 li { padding: .5rem 0; border-top: 1px dashed var(--line); font-size: 1.02rem; }
.diff3 li b { font-family: var(--fd); font-size: 1.3rem; color: var(--orange2); }
.diff3 li small { display: block; color: var(--muted); font-size: .8rem; }

/* mensajes */
.mlist { background: var(--card); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: var(--sh1); }
.mrow { display: flex; align-items: center; gap: .75rem; padding: .7rem .9rem; min-height: 66px; text-decoration: none; color: var(--text); border-top: 1px solid var(--line); }
.mrow:first-child { border-top: 0; }
.mrow .e { font-size: 1.6rem; width: 40px; text-align: center; flex: none; }
.mrow b { flex: 1; font-size: 1.08rem; }
.msgta { min-height: 300px; font-family: var(--fb); line-height: 1.45; font-size: 1.05rem; resize: vertical; }

/* vaquita */
.vq3 { text-align: center; padding: 1.1rem; border-radius: 24px; color: #fff; background: linear-gradient(160deg, #1D5A45, #0A1F19); margin: .6rem 0; }
.vq3 small { display: block; opacity: .85; font-weight: 700; }
.vq3 b { display: block; font-family: var(--fd); font-size: 2.8rem; line-height: 1.05; margin: .2rem 0 .4rem; }
.each3 { text-align: center; padding: .9rem; border-radius: 22px; background: color-mix(in srgb, var(--orange) 12%, var(--card)); border: 2px solid var(--orange); margin: .7rem 0; }
.each3 small { display: block; font-weight: 800; color: var(--muted); }
.each3 b { font-family: var(--fd); font-size: 2.6rem; color: var(--orange2); line-height: 1.05; }
.prices3 summary { cursor: pointer; min-height: 48px; display: flex; align-items: center; gap: .3rem; flex-wrap: wrap; }
.pr3 { display: grid; grid-template-columns: 1fr auto; gap: .2rem .5rem; align-items: center; padding: .55rem 0; border-top: 1px dashed var(--line); }
.pr3 span b { display: block; font-size: .98rem; }
.pr3 span small { color: var(--muted); font-size: .82rem; }
.pr3 label { display: flex; align-items: center; gap: .2rem; font-weight: 700; }
.pr3 input { width: 6.2em; min-height: 48px; border: 1.5px solid var(--line); border-radius: 12px; padding: 0 .5rem; font-size: 1rem; background: var(--card); color: var(--text); text-align: right; }
.pr3 .u { grid-column: 2; text-align: right; color: var(--muted); font-size: .75rem; margin-top: -.1rem; }

/* recordatorios */
.rec3 { display: flex; gap: .7rem; align-items: center; padding: .75rem; margin: .55rem 0; border-radius: 20px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--sh1); }
.rec3.off { opacity: .55; }
.rec3 .rd { flex: none; width: 76px; text-align: center; border-radius: 14px; background: var(--chip); padding: .4rem .2rem; }
.rec3 .rd b { display: block; font-size: .95rem; }
.rec3 .rd small { font-family: var(--fd); font-size: 1.2rem; font-weight: 800; color: var(--orange2); }
.rec3 p { margin: 0; font-weight: 600; line-height: 1.3; }
.rec3 .ra { display: flex; flex-direction: column; align-items: center; gap: .2rem; flex: none; }
.rec3 .ra button { width: 52px; height: 52px; border-radius: 14px; border: 1px solid var(--line); background: var(--chip); font-size: 1.3rem; cursor: pointer; }
.switch.mini { padding: 0; }

/* semáforo */
.sem3 { display: grid; grid-template-columns: auto 1fr; gap: 0 .6rem; align-items: center; padding: .7rem .85rem; border-radius: 16px; margin: .6rem 0; text-decoration: none; color: var(--text); border: 2px solid; }
.sem3 span { grid-row: span 2; font-size: 1.5rem; }
.sem3 small { color: var(--text); font-size: .9rem; }
.sem3.r, .semc.r { border-color: #D93A2B; background: color-mix(in srgb, #D93A2B 9%, var(--card)); }
.sem3.y, .semc.y { border-color: #D9A21B; background: color-mix(in srgb, #F2B33D 12%, var(--card)); }
.sem3.g, .semc.g { border-color: var(--ok); background: color-mix(in srgb, var(--ok) 9%, var(--card)); }
.semkey { display: grid; gap: .4rem; margin: .6rem 0; }
.semkey div { padding: .6rem .8rem; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.semkey b { display: block; }
.semkey small { color: var(--muted); }
.semc { border: 2px solid; }
.semc a { display: block; padding: .55rem 0; color: var(--text); text-decoration: none; font-weight: 700; border-top: 1px dashed var(--line); min-height: 44px; }

/* más / historial */
.bz3 { border-radius: 22px; overflow: hidden; background: var(--card); border: 1px solid var(--line); box-shadow: var(--sh1); }
.bz3 a { display: flex; align-items: center; gap: .8rem; padding: .7rem .9rem; min-height: 70px; text-decoration: none; color: var(--text); border-top: 1px solid var(--line); }
.bz3 a:first-child { border-top: 0; }
.bz3 .ic { width: 46px; height: 46px; flex: none; border-radius: 14px; display: grid; place-items: center; font-size: 1.45rem; background: var(--chip); }
.bz3 .t { flex: 1; min-width: 0; }
.bz3 b { display: block; font-size: 1.08rem; }
.bz3 small { color: var(--muted); font-size: .85rem; }
.an3 { padding: .5rem 0; border-top: 1px dashed var(--line); }
.an3 .seg { margin: .4rem 0; }
.card.hl { border: 2px solid var(--gold); }
.xlink { display: block; text-decoration: none; color: var(--text); }
.xlink span { display: block; }
@media (max-width: 370px) {
  .now3 b { font-size: 1.85rem; }
  .ans3 .abig { font-size: 2.2rem; }
  .ck-step { font-size: 1.5rem; }
  .micfab { padding-right: .9rem; }
  .tile3 { min-height: 108px; padding: .8rem .7rem; }
  .rec3 .rd { width: 66px; }
}
#tmrs { grid-template-columns: minmax(0, 1fr); }
.seekban { display: block; }
.seekban .sl { display: block; font-size: .95rem; font-weight: 600; margin-top: .1rem; }
.ck-top { justify-content: space-between; }
.ck-n { text-align: left; margin-top: .6rem; }
.ck-n b { display: block; font-size: 1.5rem; }
.acts2 { display: grid; grid-template-columns: 1fr auto; gap: .5rem; margin: .6rem 0; }
.rec3 { display: block; }
.rec3 .rd { width: auto; display: inline-block; padding: .3rem .7rem; font-size: 1rem; background: var(--chip); border-radius: 12px; }
.rec3 .rd b { display: inline; }
.rec3 p { margin: .5rem 0; font-size: 1.05rem; }
.rec3 .ra { flex-direction: row; justify-content: flex-start; gap: .5rem; flex-wrap: wrap; }
.rec3 .ra .btn { flex: 1; min-width: 0; font-size: .92rem; padding: .4rem .6rem; }
.rec3 .ra .switch { margin-left: auto; }
.safebar { font-size: .8rem; padding: .5rem .75rem .5rem 1.3rem; }
body.hastm .app { padding-top: 64px; }
body.hastm .top { top: 64px; }
#tmrs.incook { top: calc(8px + env(safe-area-inset-top)); bottom: auto; }
body.hastm .cook, body.cooktm .cook { padding-top: 76px; }
.vnota { font-size: .85rem; opacity: .92; margin: .3rem .2rem 0; line-height: 1.35; }
