/* Celular del asistente */
[hidden] { display: none !important; }
:root { --a: #fbbf24; --b: #22d3ee; --bg: #0b1020; --card: #151c36; --ink: #f8fafc; --mute: #94a3b8; --line: rgba(255,255,255,.12); }
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font-family: 'Inter', system-ui, sans-serif; min-height: 100%; }
body.phone { min-height: 100dvh; display: flex; flex-direction: column; }
.ph-stripe { display: flex; height: 6px; position: sticky; top: 0; z-index: 3; }
.ph-stripe i { flex: 1; background: var(--b); }
.ph-stripe i:nth-child(1) { background: #7c3aed; } .ph-stripe i:nth-child(2) { background: #2563eb; } .ph-stripe i:nth-child(3) { background: #06b6d4; } .ph-stripe i:nth-child(4) { background: #10b981; } .ph-stripe i:nth-child(5) { background: #f59e0b; }
.ph-head { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; font-size: 14px; color: var(--mute); }
.ph-head b { color: var(--ink); letter-spacing: .05em; }
.net { width: 10px; height: 10px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,.18); }
.net.off { background: #ef4444; box-shadow: 0 0 0 4px rgba(239,68,68,.2); }
.ph { flex: 1; padding: 12px 16px 24px; max-width: 520px; width: 100%; margin: 0 auto; }
.ph-foot { text-align: center; font-size: 11px; letter-spacing: .18em; color: var(--mute); padding: 14px; }
.kicker { display: block; font-size: 12px; letter-spacing: .2em; font-weight: 800; color: var(--mute); text-transform: uppercase; }
.kicker.hot { color: var(--a); }
h1 { font: 700 34px/1.05 'Space Grotesk', sans-serif; margin: 10px 0; }
h2 { font: 700 26px/1.12 'Space Grotesk', sans-serif; margin: 8px 0 14px; }
h2 b, h1 b { color: var(--a); }
p { line-height: 1.45; }
.muted { color: var(--mute); }
.err { color: #fca5a5; min-height: 1.2em; }
.ok { color: #86efac; min-height: 1.2em; font-weight: 600; }
.join { padding-top: 8vh; text-align: center; }
.join input { width: 100%; font: 800 34px 'Space Grotesk', sans-serif; text-align: center; letter-spacing: .12em; text-transform: uppercase; padding: 16px; border-radius: 16px; border: 2px solid var(--line); background: var(--card); color: var(--ink); }
.join input:focus { outline: none; border-color: var(--a); }
.pbtn { display: block; width: 100%; margin: 14px 0 8px; padding: 16px; border-radius: 16px; border: 0; background: var(--a); color: #111827; font: 800 18px 'Inter', sans-serif; text-align: center; text-decoration: none; cursor: pointer; }
.pbtn:active { transform: scale(.98); }
.pbtn.ghost { background: transparent; color: var(--ink); border: 2px solid var(--line); font-weight: 600; font-size: 15px; padding: 12px; }
.pbtn.big { font-size: 22px; padding: 20px; }
.pbtn:disabled { opacity: .5; }
.row { display: flex; gap: 10px; }
.row .pbtn { margin-top: 8px; }
.wait { text-align: center; padding-top: 7vh; }
.wait .pulse { width: 70px; height: 70px; margin: 0 auto 18px; border-radius: 50%; background: var(--b); opacity: .8; animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { transform: scale(.75); opacity: .4; } 50% { transform: scale(1); opacity: .9; } }
.wait .now { margin-top: 22px; padding: 14px; border-radius: 14px; background: var(--card); color: var(--mute); }
.wait .now b { color: var(--ink); }
.emoji { font-size: 56px; text-align: center; }
.count { font: 800 54px/1 'Space Grotesk', sans-serif; color: var(--a); margin: 8px 0 18px; }
.center { text-align: center; }
.card-ph { background: var(--card); border-radius: 18px; padding: 18px; margin-bottom: 14px; line-height: 1.5; }
.card-ph h3 { margin: 0 0 8px; font-family: 'Space Grotesk', sans-serif; }
.card-ph a { color: var(--b); word-break: break-all; }
.card-ph b { color: var(--a); }
.q .cd { display: block; color: var(--mute); font-size: 13px; margin: -6px 0 10px; }
.opts { display: flex; flex-direction: column; gap: 10px; }
.opts.tf { flex-direction: row; }
.opts.tf .opt { flex: 1; text-align: center; justify-content: center; padding: 26px 10px; font-size: 20px; }
.opt { display: flex; align-items: center; gap: 12px; text-align: left; padding: 16px 18px; border-radius: 16px; border: 2px solid var(--line); background: var(--card); color: var(--ink); font: 600 17px 'Inter', sans-serif; cursor: pointer; }
.opt.on { border-color: var(--a); background: rgba(251,191,36,.12); }
.opt .box { width: 22px; height: 22px; border-radius: 6px; border: 2px solid var(--mute); flex: none; }
.opt.on .box { background: var(--a); border-color: var(--a); }
.est { display: flex; align-items: baseline; justify-content: center; gap: 8px; margin: 10px 0; }
.est input { width: 60%; font: 800 46px 'Space Grotesk', sans-serif; text-align: center; background: var(--card); color: var(--a); border: 2px solid var(--line); border-radius: 16px; padding: 8px; }
.est span { font-size: 24px; color: var(--mute); }
input[type=range] { width: 100%; accent-color: var(--a); height: 36px; }
.range-l { display: flex; justify-content: space-between; color: var(--mute); font-size: 13px; }
.reveal { text-align: center; margin: 10px 0; }
.reveal b { display: block; font: 800 64px/1 'Space Grotesk', sans-serif; color: var(--a); }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; text-align: center; }
.stats div { background: var(--card); border-radius: 14px; padding: 12px; }
.stats b { display: block; font: 700 24px 'Space Grotesk', sans-serif; }
.stats span, .reveal span { color: var(--mute); font-size: 13px; }
.search, .q input[data-name], .word-in { width: 100%; padding: 14px 16px; font-size: 17px; border-radius: 14px; border: 2px solid var(--line); background: var(--card); color: var(--ink); margin-bottom: 10px; }
.places { max-height: 52vh; overflow-y: auto; display: flex; flex-direction: column; gap: 6px; padding-right: 2px; }
.place { text-align: left; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font-size: 16px; cursor: pointer; }
.place small { display: block; color: var(--mute); font-size: 12px; }
.note-in { position: relative; background: #fde68a; border-radius: 6px 6px 18px 6px; padding: 14px; transform: rotate(-1deg); box-shadow: 0 10px 20px rgba(0,0,0,.3); }
.note-in textarea { width: 100%; border: 0; background: transparent; color: #3b2f06; font: 600 19px/1.35 'Inter', sans-serif; resize: none; outline: none; }
.note-in small { position: absolute; right: 12px; bottom: 8px; color: #92400e; font-size: 12px; }
.fullmedia { position: fixed; inset: 0; background: #000; z-index: 10; display: flex; align-items: center; justify-content: center; }
.fullmedia img { max-width: 100%; max-height: 100%; object-fit: contain; }
.fullmedia iframe { width: 100%; height: 100%; border: 0; }
.fs-hint { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); background: rgba(0,0,0,.6); color: #fff; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; padding: 10px 18px; font-size: 14px; }
:fullscreen .fs-hint { display: none; }
