[hidden] { display: none !important; }
:root {
  --bg: #0d0e10; --bg2: #16181c; --card: #1c1f24; --card2: #23272e; --line: #2e333b;
  --tx: #f3f1ee; --tx2: #a7adb6; --tx3: #6d747e;
  --or: #f58025; --or2: #ffb547; --gold: #ffd25e; --ok: #4fd18b; --bad: #ff5d6c; --blue: #6ea8ff;
  --r: 18px; --safe-b: env(safe-area-inset-bottom, 0px); --safe-t: env(safe-area-inset-top, 0px);
  --font: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif; --mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--tx); font-family: var(--font); overscroll-behavior: none; }
body { -webkit-font-smoothing: antialiased; user-select: none; -webkit-user-select: none; touch-action: manipulation; }
button { font-family: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
#app { height: 100%; max-width: 1280px; margin: 0 auto; position: relative; overflow: hidden; }
.screen { position: absolute; inset: 0; overflow-y: auto; overflow-x: hidden; padding: calc(var(--safe-t) + 14px) 16px calc(var(--safe-b) + 24px); animation: fadein .35s ease; }
@keyframes fadein { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
h1, h2, h3 { margin: 0; letter-spacing: -0.02em; }
.muted { color: var(--tx2); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 22px; border-radius: 999px; font-weight: 600; font-size: 16px; background: var(--card2); transition: transform .12s, background .2s; }
.btn:active { transform: scale(.96); }
.btn.primary { background: linear-gradient(135deg, var(--or2), var(--or)); color: #1a0e02; box-shadow: 0 8px 24px -8px rgba(245,128,37,.6); }
.btn.ghost { background: transparent; border: 1px solid var(--line); }
.btn.block { width: 100%; }
.row { display: flex; align-items: center; gap: 10px; }
.spacer { flex: 1; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--card2); font-size: 13px; font-weight: 600; }
.toast { position: fixed; left: 50%; bottom: calc(var(--safe-b) + 24px); transform: translateX(-50%) translateY(120px); background: #26292f; border: 1px solid var(--line); padding: 12px 18px; border-radius: 14px; font-weight: 600; z-index: 99; transition: transform .35s cubic-bezier(.2,1.4,.4,1); max-width: 90vw; text-align: center; }
.toast.show { transform: translateX(-50%) translateY(0); }

/* ---------- Splash de cumpleaños ---------- */
.splash { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 18px; background: radial-gradient(circle at 50% 35%, #2a1d12 0%, var(--bg) 65%); }
.splash .cake { font-size: 72px; animation: bob 2.4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-10px) rotate(-3deg); } }
.splash h1 { font-size: clamp(34px, 8vw, 60px); font-weight: 800; line-height: 1.02; }
.splash h1 span { background: linear-gradient(90deg, var(--or2), var(--or), #ff5d8f); -webkit-background-clip: text; background-clip: text; color: transparent; }
.splash .mentor { max-width: 520px; text-align: left; }
.splash p { max-width: 460px; color: var(--tx2); font-size: 17px; line-height: 1.5; margin: 0; }
.confetti { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 50; }
.shutter-anim { position: fixed; inset: 0; z-index: 80; pointer-events: none; background: #000; animation: shut .5s ease forwards; }
@keyframes shut { 0% { opacity: 1; } 100% { opacity: 0; } }
.flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; z-index: 10; }
.flash.go { animation: flashgo .4s ease-out; }
@keyframes flashgo { 0% { opacity: .9; } 100% { opacity: 0; } }

/* ---------- Logo ---------- */
.logo { font-weight: 800; font-size: 26px; letter-spacing: -0.03em; display: flex; align-items: center; gap: 10px; }
.logo .mark { width: 36px; height: 36px; border-radius: 10px; background: url(../assets/icon.svg) center/cover; }
.logo b { color: var(--or); }
.big-logo { font-size: clamp(40px, 10vw, 72px); font-weight: 800; letter-spacing: -0.04em; }
.big-logo b { color: var(--or); }

/* ---------- Home ---------- */
.home-top { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.profile { background: linear-gradient(135deg, #24201c, #1a1c20); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.avatar { width: 56px; height: 56px; border-radius: 50%; flex: none; background: radial-gradient(circle at 35% 30%, #ffb547, #f05a28 60%, #8a2a12); display: grid; place-items: center; font-weight: 800; font-size: 26px; color: #fff; box-shadow: 0 0 0 3px #0d0e10, 0 0 0 5px var(--or); }
.avatar.sm { width: 40px; height: 40px; font-size: 19px; box-shadow: 0 0 0 2px #0d0e10, 0 0 0 3px var(--or); }
.xpbar { height: 8px; background: #2a2e35; border-radius: 99px; overflow: hidden; margin-top: 8px; }
.xpbar i { display: block; height: 100%; background: linear-gradient(90deg, var(--or2), var(--or)); border-radius: 99px; transition: width .8s ease; }
.stats { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.world { margin: 22px 0 10px; display: flex; align-items: center; gap: 10px; }
.world .wi { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-size: 20px; background: var(--card2); }
.world h3 { font-size: 19px; }
.world small { display: block; color: var(--tx2); font-weight: 400; font-size: 13px; margin-top: 2px; }
.levels { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.lvl { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 14px; text-align: left; display: flex; gap: 12px; align-items: center; min-height: 76px; transition: transform .15s, border-color .2s; overflow: hidden; }
.lvl:active { transform: scale(.98); }
.lvl .num { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; font-size: 17px; background: var(--card2); flex: none; }
.lvl .t { font-weight: 600; font-size: 15px; line-height: 1.2; }
.lvl .k { font-size: 12px; color: var(--tx2); margin-top: 3px; }
.lvl.locked { opacity: .45; }
.lvl.next { border-color: var(--or); box-shadow: 0 0 0 1px var(--or), 0 10px 30px -14px var(--or); }
.lvl.next::after { content: '¡JUEGA!'; position: absolute; top: 8px; right: 10px; font-size: 10px; font-weight: 800; color: var(--or); letter-spacing: .08em; }
.stars { color: var(--gold); letter-spacing: 1px; font-size: 14px; }
.stars .off { color: #3a3f47; }
.secret { background: linear-gradient(135deg, #2a0f14, #1c1f24); border-color: #5a1c26; }
.navbar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 26px 0 8px; }
.navbar button { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px 6px; font-size: 13px; font-weight: 600; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.navbar button span { font-size: 22px; }

/* ---------- Mentora ---------- */
.mentor { display: flex; gap: 12px; align-items: flex-start; }
.bubble { background: var(--card2); border: 1px solid var(--line); border-radius: 4px 18px 18px 18px; padding: 12px 14px; font-size: 15px; line-height: 1.45; position: relative; }
.bubble b { color: var(--or2); }
.mentor .name { font-size: 12px; font-weight: 800; color: var(--or); letter-spacing: .06em; margin-bottom: 4px; }

/* ---------- Brief / mochila ---------- */
.topbar { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.back { width: 40px; height: 40px; border-radius: 12px; background: var(--card2); font-size: 20px; display: grid; place-items: center; }
.brief h2 { font-size: 28px; margin: 6px 0 14px; }
.section-t { font-size: 13px; font-weight: 800; letter-spacing: .08em; color: var(--tx3); text-transform: uppercase; margin: 22px 0 10px; }
.objs { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.objs li { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font-size: 14px; display: flex; gap: 10px; align-items: center; }
.objs li .ic { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; background: var(--card2); flex: none; }
.objs li.core .ic { background: rgba(245,128,37,.18); color: var(--or); }
.objs li.ok .ic { background: rgba(79,209,139,.18); color: var(--ok); }
.objs li.no .ic { background: rgba(255,93,108,.18); color: var(--bad); }
.objs li .tip { display: block; font-size: 12.5px; color: var(--tx2); margin-top: 4px; }
.bag { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.lens { background: var(--card); border: 1.5px solid var(--line); border-radius: 16px; padding: 12px; text-align: left; position: relative; transition: border-color .2s, transform .15s; }
.lens:active { transform: scale(.97); }
.lens.sel { border-color: var(--or); background: linear-gradient(160deg, #2a2118, var(--card)); }
.lens .tier { font-size: 10px; font-weight: 800; letter-spacing: .08em; padding: 3px 7px; border-radius: 6px; background: #2a2e35; display: inline-block; }
.lens .ln { font-weight: 600; font-size: 14px; margin: 8px 0 4px; line-height: 1.2; }
.lens .ls { font-size: 12px; color: var(--tx2); }
.lens .loan { position: absolute; top: 10px; right: 10px; font-size: 10px; color: var(--or2); font-weight: 700; }
.lens-ill { height: 54px; display: flex; align-items: center; }
.cta-bar { position: sticky; bottom: 0; padding: 14px 0 4px; background: linear-gradient(transparent, var(--bg) 30%); margin-top: 18px; }

/* ---------- Cámara ---------- */
.cam { position: absolute; inset: 0; display: grid; grid-template-rows: auto auto 1fr; background: #070708; padding-top: var(--safe-t); }
@media (min-aspect-ratio: 4/3) and (min-width: 820px) { .cam { grid-template-rows: auto 1fr; grid-template-columns: 1fr 380px; } .cam .hud-top { grid-column: 1 / -1; } .cam .controls { border-left: 1px solid var(--line); border-top: 0; } .cam .vf-wrap { align-self: center; } }
.hud-top { display: flex; align-items: center; gap: 10px; padding: 8px 12px; }
.timer { font-family: var(--mono); font-weight: 700; font-size: 15px; padding: 5px 10px; background: #1b1d21; border-radius: 8px; }
.timer.late { color: var(--bad); }
.vf-wrap { position: relative; width: 100%; padding: 0 8px; }
.vf { position: relative; width: 100%; aspect-ratio: 3 / 2; border-radius: 10px; overflow: hidden; background: #000; touch-action: none; box-shadow: 0 0 0 1px #24272c; }
.vf canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.vf .ov { position: absolute; inset: 0; pointer-events: none; font-family: var(--mono); font-size: clamp(10px, 2.6vw, 14px); color: #fff; text-shadow: 0 1px 2px #000; }
.ov .tl { position: absolute; left: 10px; top: 8px; display: flex; gap: 10px; align-items: center; }
.ov .tr { position: absolute; right: 10px; top: 8px; display: flex; gap: 8px; align-items: center; }
.ov .bot { position: absolute; left: 0; right: 0; bottom: 0; padding: 6px 10px; display: flex; gap: 14px; align-items: center; justify-content: center; background: linear-gradient(transparent, rgba(0,0,0,.55)); }
.ov .bot b { font-weight: 700; }
.ov .mode { background: #fff; color: #000; padding: 0 5px; border-radius: 3px; font-weight: 700; text-shadow: none; }
.ov .warn { color: var(--or2); animation: blink 0.8s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }
.mm { display: flex; align-items: center; gap: 4px; }
.mm .scale { position: relative; width: 92px; height: 14px; }
.mm .scale::before { content: ''; position: absolute; left: 0; right: 0; top: 6px; height: 2px; background: rgba(255,255,255,.7); }
.mm .scale i { position: absolute; top: 2px; width: 2px; height: 10px; background: #fff; }
.mm .scale em { position: absolute; top: -1px; width: 6px; height: 16px; background: var(--or2); border-radius: 2px; transform: translateX(-3px); transition: left .12s; }
.vf .ov canvas.hist { position: absolute; inset: auto 10px 34px auto; width: 96px; height: 52px; background: rgba(0,0,0,.45); border-radius: 4px; }
.fbox { position: absolute; border: 2px solid #fff; width: 13%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 3px; transition: border-color .15s; }
.fbox.ok { border-color: #3cff6e; }
.fbox.eye { border-color: #3cff6e; width: 7%; border-radius: 50%; }
.fbox.bad { border-color: var(--bad); animation: blink .4s steps(2) 3; }
.fmsg { position: absolute; left: 50%; top: 18%; transform: translateX(-50%); background: rgba(0,0,0,.6); padding: 4px 10px; border-radius: 6px; white-space: nowrap; }
.grid3 { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.18) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.18) 1px, transparent 1px); background-size: 33.333% 33.333%; background-position: -1px -1px; }
.coach { margin: 10px 8px 0; }
.coach .bubble { font-size: 14px; padding: 10px 12px; }
.controls { background: #111214; border-top: 1px solid var(--line); padding: 10px 12px calc(var(--safe-b) + 12px); overflow-y: auto; display: flex; flex-direction: column; gap: 10px; }
.dials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.dial { background: #1b1d21; border: 1px solid #2a2e35; border-radius: 14px; padding: 8px 6px 6px; text-align: center; position: relative; touch-action: none; }
.dial.auto { opacity: .55; }
.dial .lbl { font-size: 11px; color: var(--tx3); font-weight: 600; letter-spacing: .06em; }
.dial .val { font-family: var(--mono); font-size: clamp(17px, 4.6vw, 22px); font-weight: 700; margin: 2px 0 4px; }
.dial .ticks { height: 16px; background: repeating-linear-gradient(90deg, #3a3f47 0 2px, transparent 2px 9px); border-radius: 4px; mask-image: linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent); }
.dial .arr { display: flex; justify-content: space-between; margin-top: 4px; }
.dial .arr button { width: 40px; height: 32px; border-radius: 10px; background: #262a30; font-size: 16px; font-weight: 700; }
.dial .arr button:active { background: var(--or); color: #000; }
.toggles { display: flex; gap: 6px; flex-wrap: wrap; }
.tg { padding: 8px 11px; border-radius: 10px; background: #1b1d21; border: 1px solid #2a2e35; font-size: 13px; font-weight: 600; }
.tg.on { background: rgba(245,128,37,.16); border-color: var(--or); color: var(--or2); }
.tg small { color: var(--tx3); font-weight: 400; margin-right: 4px; }
.zoomrow { display: flex; align-items: center; gap: 10px; }
.zoomrow input { flex: 1; }
input[type=range] { -webkit-appearance: none; appearance: none; height: 30px; background: transparent; width: 100%; }
input[type=range]::-webkit-slider-runnable-track { height: 6px; background: #2a2e35; border-radius: 9px; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: var(--tx); margin-top: -9px; box-shadow: 0 2px 6px #000; }
input[type=range]::-moz-range-track { height: 6px; background: #2a2e35; border-radius: 9px; }
input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--tx); border: 0; }
.shoot-row { display: flex; align-items: center; gap: 12px; }
.shutter-btn { width: 76px; height: 76px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #fff, #cfd3d8); box-shadow: 0 0 0 4px #111214, 0 0 0 7px #3a3f47, 0 8px 24px rgba(0,0,0,.6); flex: none; transition: transform .1s; }
.shutter-btn:active { transform: scale(.9); }
.lens-chip { flex: 1; background: #1b1d21; border: 1px solid #2a2e35; border-radius: 14px; padding: 8px 12px; text-align: left; font-size: 13px; }
.lens-chip b { display: block; font-size: 14px; }
.lens-chip small { color: var(--tx3); }
.mini-objs { font-size: 12.5px; color: var(--tx2); display: grid; gap: 4px; }
.mini-objs div::before { content: '◇ '; color: var(--or); }

/* ---------- Resultado ---------- */
.result { text-align: center; }
.photo-frame { background: #fff; padding: 10px 10px 34px; border-radius: 6px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.8); max-width: 640px; margin: 8px auto 0; transform: rotate(-1.2deg); animation: drop .6s cubic-bezier(.2,1.3,.4,1); position: relative; }
@keyframes drop { from { transform: translateY(-40px) rotate(-6deg) scale(.9); opacity: 0; } }
.photo-frame img, .photo-frame canvas { width: 100%; display: block; border-radius: 2px; }
.photo-frame .exif { position: absolute; left: 0; right: 0; bottom: 8px; font-family: var(--mono); font-size: 11px; color: #555; }
.big-stars { font-size: 46px; margin: 20px 0 4px; letter-spacing: 6px; }
.big-stars span { display: inline-block; color: #343840; transform: scale(.4); transition: transform .4s cubic-bezier(.2,1.8,.4,1), color .3s; }
.big-stars span.on { color: var(--gold); transform: scale(1); text-shadow: 0 0 24px rgba(255,210,94,.6); }
.xp-gain { font-weight: 800; color: var(--or2); font-size: 18px; }
.result .objs { text-align: left; max-width: 640px; margin: 0 auto; }
.btn-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }
.reward { background: linear-gradient(135deg, #2c2414, #1c1f24); border: 1px solid #5a4a20; border-radius: var(--r); padding: 14px; margin: 16px auto 0; max-width: 640px; display: flex; gap: 12px; align-items: center; text-align: left; animation: pop .6s .4s both cubic-bezier(.2,1.6,.4,1); }
@keyframes pop { from { transform: scale(.6); opacity: 0; } }

/* ---------- Revelado ---------- */
.dark { position: absolute; inset: 0; display: grid; grid-template-rows: auto auto 1fr; background: #0b0c0e; padding-top: var(--safe-t); }
@media (min-aspect-ratio: 4/3) and (min-width: 820px) { .dark { grid-template-rows: auto 1fr; grid-template-columns: 1fr 360px; } .dark .hud-top { grid-column: 1 / -1; } .dark .vf-wrap { align-self: center; } }
.panel { background: #121316; border-top: 1px solid var(--line); padding: 10px 14px calc(var(--safe-b) + 14px); overflow-y: auto; }
.sl { display: grid; grid-template-columns: 96px 1fr 48px; align-items: center; gap: 8px; font-size: 13px; }
.sl span:last-child { font-family: var(--mono); text-align: right; color: var(--tx2); font-size: 12px; }
.sl.temp input::-webkit-slider-runnable-track { background: linear-gradient(90deg, #4a7dff, #eee, #ffb030); }
.sl.tint input::-webkit-slider-runnable-track { background: linear-gradient(90deg, #3fc76a, #eee, #e04fd1); }
.ptitle { font-size: 11px; font-weight: 800; letter-spacing: .1em; color: var(--tx3); margin: 12px 0 4px; }
.dhist { width: 100%; height: 70px; background: #0b0c0e; border-radius: 8px; border: 1px solid var(--line); display: block; }
.picker-on .vf { cursor: crosshair; }
.picker-on .vf::after { content: '💧 Toca un área neutra'; position: absolute; top: 8px; left: 50%; transform: translateX(-50%); background: rgba(0,0,0,.7); padding: 4px 10px; border-radius: 6px; font-size: 13px; }

/* ---------- Quiz ---------- */
.quiz-q { font-size: 21px; font-weight: 600; margin: 8px 0 16px; line-height: 1.3; }
.qtimer { height: 6px; background: #2a2e35; border-radius: 9px; overflow: hidden; margin: 6px 0 14px; }
.qtimer i { display: block; height: 100%; background: var(--or); }
.qopts { display: grid; gap: 10px; }
.opt { background: var(--card); border: 1.5px solid var(--line); border-radius: 14px; padding: 14px; text-align: left; font-size: 15px; transition: transform .1s; }
.opt:active { transform: scale(.98); }
.opt.ok { border-color: var(--ok); background: rgba(79,209,139,.12); }
.opt.no { border-color: var(--bad); background: rgba(255,93,108,.12); }
.cam-svg { width: 100%; max-width: 640px; display: block; margin: 0 auto; }
.cam-svg .hot { fill: transparent; cursor: pointer; }
.cam-svg .hot.ok { fill: rgba(79,209,139,.45); stroke: var(--ok); stroke-width: 3; }
.cam-svg .hot.no { fill: rgba(255,93,108,.45); stroke: var(--bad); stroke-width: 3; }
.cam-svg .hot.show { fill: rgba(79,209,139,.25); stroke: var(--ok); stroke-width: 3; stroke-dasharray: 6 4; }
.combo { font-weight: 800; color: var(--or2); }

/* ---------- Colección / logros / galería ---------- */
.coll { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 14px; }
.card.locked { opacity: .45; filter: grayscale(.8); }
.card h4 { margin: 8px 0 4px; font-size: 16px; }
.card p { margin: 0; font-size: 13px; color: var(--tx2); line-height: 1.4; }
.specs { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.specs span { font-family: var(--mono); font-size: 11px; background: #2a2e35; padding: 3px 7px; border-radius: 6px; }
.ach { display: flex; gap: 12px; align-items: center; }
.ach .ai { font-size: 30px; width: 52px; height: 52px; display: grid; place-items: center; background: var(--card2); border-radius: 14px; flex: none; }
.gal { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.gal button { padding: 0; border-radius: 10px; overflow: hidden; background: var(--card); text-align: left; }
.gal img { width: 100%; display: block; aspect-ratio: 3/2; object-fit: cover; }
.gal small { display: block; padding: 6px 8px; font-size: 12px; color: var(--tx2); }
.modal { position: fixed; inset: 0; background: rgba(0,0,0,.75); z-index: 60; display: grid; place-items: center; padding: 20px; animation: fadein .25s; }
.modal .box { background: var(--bg2); border: 1px solid var(--line); border-radius: 22px; padding: 20px; max-width: 520px; width: 100%; max-height: 90vh; overflow: auto; }
.levelup { text-align: center; }
.levelup .big { font-size: 64px; }
.unlock-glow { animation: glow 1.6s ease-in-out infinite; }
@keyframes glow { 50% { box-shadow: 0 0 30px 4px rgba(255,77,94,.45); } }

/* =================== AAA LOOK =================== */
.screen, .cam, .dark { animation: irisIn .6s cubic-bezier(.7,0,.2,1) both; }
@keyframes irisIn { from { clip-path: circle(0% at 50% 50%); filter: brightness(2.2); } 60% { filter: brightness(1.1); } to { clip-path: circle(150% at 50% 50%); filter: none; } }
.kicker { font-size: 12px; font-weight: 800; letter-spacing: .22em; color: var(--or2); margin-bottom: 10px; text-shadow: 0 2px 12px rgba(0,0,0,.6); }
.btn.xl { padding: 17px 34px; font-size: 18px; letter-spacing: .02em; }
.btn.primary { position: relative; overflow: hidden; }
.btn.primary::after { content: ''; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent); transform: skewX(-20deg); animation: sweep 3.2s ease-in-out infinite; }
@keyframes sweep { 0%, 60% { left: -60%; } 100% { left: 130%; } }
.pulse { animation: pulseb 2s ease-in-out infinite; }
@keyframes pulseb { 50% { box-shadow: 0 0 0 10px rgba(245,128,37,0), 0 0 40px 6px rgba(245,128,37,.45); } }
.glass { background: rgba(20,22,26,.55) !important; backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); border: 1px solid rgba(255,255,255,.1) !important; }

/* héroe */
.hero-screen { padding: 0; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: -4%; background-size: cover; background-position: center; animation: kb 26s ease-in-out infinite alternate; }
@keyframes kb { from { transform: scale(1.02) translate(0,0); } to { transform: scale(1.14) translate(-2%, -1.5%); } }
.hero-shade { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 40%, rgba(0,0,0,.15), rgba(0,0,0,.75) 75%), linear-gradient(transparent 55%, rgba(13,14,16,.95)); pointer-events: none; }
.hero-shade.side { background: linear-gradient(90deg, rgba(8,9,11,.92) 0%, rgba(8,9,11,.65) 40%, rgba(8,9,11,0) 75%), linear-gradient(transparent 60%, rgba(13,14,16,.9)); }
.hero-c { position: relative; z-index: 2; padding: calc(var(--safe-t) + 30px) 28px calc(var(--safe-b) + 30px); max-width: 640px; }
.hero-c.center { margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.hero-c p { color: #d9dde3; font-size: 17px; line-height: 1.55; margin: 0 0 6px; text-shadow: 0 2px 10px rgba(0,0,0,.7); }
.bday { font-size: clamp(40px, 9vw, 72px); font-weight: 800; line-height: 1; letter-spacing: -0.03em; text-shadow: 0 6px 40px rgba(0,0,0,.7); }
.bday span { background: linear-gradient(90deg, #ffd27a, #f58025, #ff5d8f, #ffd27a); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: grad 5s linear infinite; }
@keyframes grad { to { background-position: 300% 0; } }
.mega-logo { font-size: clamp(56px, 13vw, 112px); font-weight: 800; letter-spacing: -0.05em; line-height: .95; margin-bottom: 14px; text-shadow: 0 10px 50px rgba(0,0,0,.6); }
.mega-logo b { color: var(--or); text-shadow: 0 0 40px rgba(245,128,37,.55); }
.shine { background: linear-gradient(100deg, #fff 35%, #ffe2b8 45%, #fff 55%); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 4s ease-in-out infinite; }
@keyframes shine { 0% { background-position: 120% 0; } 60%, 100% { background-position: -120% 0; } }
.tagline { font-size: 20px !important; font-weight: 300; }
.feat { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 24px; }
.feat span { font-size: 13px; font-weight: 600; padding: 7px 12px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(8px); }
.dust { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.dust i { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: radial-gradient(#ffe6c0, rgba(255,200,140,0)); animation: drift linear infinite; opacity: .0; }
@keyframes drift { 0% { transform: translate(0,0); opacity: 0; } 20% { opacity: .9; } 100% { transform: translate(40px,-120px); opacity: 0; } }

/* inicio */
.home { padding-top: 0; }
.home-hero { position: relative; margin: 0 -16px 8px; padding: calc(var(--safe-t) + 14px) 16px 18px; background-size: cover; background-position: 70% 40%; overflow: hidden; }
.home-hero > *:not(.hero-shade) { position: relative; z-index: 1; }
.home-hero .hero-shade { background: linear-gradient(90deg, rgba(8,9,11,.85), rgba(8,9,11,.35)), linear-gradient(transparent 50%, var(--bg)); }
.home-hero .profile { margin-top: 26px; }
.wbanner { position: relative; height: 128px; border-radius: 20px; margin: 26px 0 10px; background-size: cover; background-position: center; overflow: hidden; box-shadow: 0 18px 40px -20px rgba(0,0,0,.9); transition: transform .3s; }
.wbanner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.12) 45%, transparent 60%); background-size: 250% 100%; animation: shine 7s ease-in-out infinite; }
.wb-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,9,11,.92), rgba(8,9,11,.35) 70%, rgba(8,9,11,.1)); }
.wb-c { position: absolute; left: 18px; bottom: 16px; right: 90px; }
.wb-n { font-size: 11px; font-weight: 800; letter-spacing: .2em; color: var(--or2); }
.wbanner h3 { font-size: 24px; margin: 2px 0 2px; text-shadow: 0 2px 12px #000; }
.wbanner small { color: #c9ced6; font-size: 13px; }
.wb-st { position: absolute; right: 14px; top: 14px; font-weight: 800; font-size: 13px; color: var(--gold); background: rgba(0,0,0,.5); padding: 5px 10px; border-radius: 999px; backdrop-filter: blur(6px); }
.wbanner.locked { filter: grayscale(1) brightness(.6); }
.wbanner.secret:not(.locked) { box-shadow: 0 0 0 1px #ff4d5e, 0 0 40px -6px rgba(255,77,94,.6); }
.lvl .num { width: 56px; height: 56px; border-radius: 14px; background-size: cover; background-position: center; position: relative; overflow: hidden; color: #fff !important; }
.lvl .num::before { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,.45); }
.lvl .num span { position: relative; font-size: 19px; font-weight: 800; text-shadow: 0 2px 6px #000; }
.lvl { background: linear-gradient(160deg, #1f2228, #17191d); }

/* briefing */
.brief-hero { position: relative; margin: calc(-1 * (var(--safe-t) + 14px)) -16px 18px; padding: calc(var(--safe-t) + 14px) 16px 22px; min-height: 230px; background-size: cover; background-position: center; display: flex; flex-direction: column; justify-content: space-between; }
.brief-hero > *:not(.hero-shade) { position: relative; z-index: 1; }
.brief-hero .hero-shade { background: linear-gradient(rgba(8,9,11,.35), rgba(8,9,11,.2) 40%, var(--bg)); }
.brief-hero h2 { font-size: clamp(30px, 7vw, 44px); margin: 0; text-shadow: 0 4px 24px #000; }
.lens.tier-GM, .lens.tier-GM2 { background: linear-gradient(160deg, #26221a, #1c1f24); }
.lens.tier-GM::before, .lens.tier-GM2::before { content: ''; position: absolute; inset: 0; border-radius: 16px; background: linear-gradient(115deg, transparent 35%, rgba(255,215,120,.14) 50%, transparent 65%); background-size: 250% 100%; animation: shine 5s ease-in-out infinite; pointer-events: none; }
.lens.sel { box-shadow: 0 0 0 1px var(--or), 0 10px 30px -10px rgba(245,128,37,.7); }

/* carga */
.loader { display: grid; place-items: center; padding: 0; }
.loader-bg { position: absolute; inset: -40px; background: var(--bg) center/cover; filter: blur(22px) brightness(.45) saturate(1.3); transform: scale(1.1); animation: kb 10s ease-in-out infinite alternate; }
.loader-c { position: relative; text-align: center; padding: 20px; }
.iris-spin { width: 96px; height: 96px; animation: spin 2.4s cubic-bezier(.6,0,.4,1) infinite; filter: drop-shadow(0 0 24px rgba(245,128,37,.55)); }
@keyframes spin { to { transform: rotate(360deg); } }
.loader-k { margin-top: 18px; font-size: 12px; letter-spacing: .3em; font-weight: 800; color: var(--or2); }
.loader-t { font-size: 32px; font-weight: 800; margin: 6px 0 16px; }
.loader-bar { width: 260px; height: 4px; border-radius: 9px; background: rgba(255,255,255,.12); margin: 0 auto; overflow: hidden; }
.loader-bar i { display: block; height: 100%; width: 5%; background: linear-gradient(90deg, var(--or2), var(--or)); box-shadow: 0 0 12px var(--or); transition: width .3s; }
.loader-tip { margin-top: 22px; color: #c9ced6; max-width: 360px; font-size: 14px; line-height: 1.5; }

/* visor */
.vf { box-shadow: 0 0 0 1px #2a2d33, 0 30px 60px -30px #000; }
.vf::before { content: ''; position: absolute; inset: 12px; z-index: 3; pointer-events: none;
  background: linear-gradient(#fff,#fff) top left/22px 2px, linear-gradient(#fff,#fff) top left/2px 22px, linear-gradient(#fff,#fff) top right/22px 2px, linear-gradient(#fff,#fff) top right/2px 22px,
  linear-gradient(#fff,#fff) bottom left/22px 2px, linear-gradient(#fff,#fff) bottom left/2px 22px, linear-gradient(#fff,#fff) bottom right/22px 2px, linear-gradient(#fff,#fff) bottom right/2px 22px; background-repeat: no-repeat; opacity: .55; }
.flash.go { animation: flashgo .55s ease-out; }
@keyframes flashgo { 0% { opacity: 1; } 15% { opacity: .9; background: #fff; } 100% { opacity: 0; } }
.shutter-btn { background: radial-gradient(circle at 40% 35%, #fff, #cfd3d8 60%, #a9aeb6); }
.shutter-btn:active { box-shadow: 0 0 0 4px #111214, 0 0 0 7px var(--or), 0 0 30px rgba(245,128,37,.6); }

/* resultado */
.ribbon { display: inline-block; margin: 26px auto 0; font-size: clamp(26px, 6vw, 40px); font-weight: 800; letter-spacing: .02em; font-style: italic; padding: 6px 26px; transform: skewX(-8deg); animation: slam .6s .25s cubic-bezier(.2,1.6,.3,1) both; }
.ribbon.r0 { color: #c9ced6; }
.ribbon.r1 { color: #fff; background: linear-gradient(90deg, transparent, rgba(110,168,255,.35), transparent); }
.ribbon.r2 { color: #fff; background: linear-gradient(90deg, transparent, rgba(245,128,37,.45), transparent); text-shadow: 0 0 20px rgba(245,128,37,.7); }
.ribbon.r3 { background: linear-gradient(90deg, #ffe08a, #ff9a3c, #ff5d8f, #ffe08a); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: slam .6s .25s cubic-bezier(.2,1.6,.3,1) both, grad 3s linear infinite; filter: drop-shadow(0 0 18px rgba(255,170,80,.6)); }
@keyframes slam { from { transform: skewX(-8deg) scale(2.4); opacity: 0; filter: blur(8px); } to { transform: skewX(-8deg) scale(1); opacity: 1; } }
.big-stars { margin: 12px 0 4px; }
.big-stars span { position: relative; font-size: 58px; }
.big-stars span.on { animation: starslam .5s cubic-bezier(.2,1.8,.4,1); }
.big-stars span.on::after { content: ''; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; border-radius: 50%; border: 3px solid var(--gold); transform: translate(-50%,-50%); animation: shock .6s ease-out forwards; }
@keyframes starslam { from { transform: scale(3) rotate(-30deg); opacity: 0; } to { transform: scale(1) rotate(0); opacity: 1; } }
@keyframes shock { to { width: 120px; height: 120px; opacity: 0; border-width: 1px; } }
.photo-frame img { animation: develop 1.6s ease-out both; }
@keyframes develop { from { filter: brightness(3) blur(6px) saturate(0); } 50% { filter: brightness(1.3) blur(1px) saturate(.6); } to { filter: none; } }
.xp-gain { font-size: 22px; }

/* panel de sonido */
.srow { display:flex; align-items:center; gap:12px; padding:12px 4px; border-bottom:1px solid var(--line); cursor:pointer; position:relative; }
.srow .si { font-size:22px; width:30px; text-align:center; }
.srow .st { flex:1; display:flex; flex-direction:column; }
.srow .st small { color:var(--tx2); font-size:12.5px; }
.srow input[type=checkbox] { position:absolute; opacity:0; pointer-events:none; }
.srow .sw { width:50px; height:30px; border-radius:99px; background:#3a3f47; position:relative; transition:background .2s; flex:none; }
.srow .sw::after { content:''; position:absolute; top:3px; left:3px; width:24px; height:24px; border-radius:50%; background:#fff; transition:transform .2s; box-shadow:0 2px 6px rgba(0,0,0,.4); }
.srow input:checked + .sw { background:linear-gradient(135deg,var(--or2),var(--or)); }
.srow input:checked + .sw::after { transform:translateX(20px); }

/* mentora Verito ilustrada */
.avatar.verito { background-size: 112%; background-position: 50% 30%; background-color: #2a2420; color: transparent; }
.mentor.big { align-items: flex-end; }
.mentor.big .vfig { width: 130px; height: 130px; object-fit: contain; flex: none; margin-bottom: -6px; filter: drop-shadow(0 10px 18px rgba(0,0,0,.5)); animation: vpop .5s cubic-bezier(.2,1.5,.4,1) both; }
@keyframes vpop { from { transform: translateY(20px) scale(.85); opacity: 0; } }
.vfig-hero { width: 210px; height: 210px; object-fit: contain; filter: drop-shadow(0 16px 30px rgba(0,0,0,.6)); animation: vpop .7s .2s cubic-bezier(.2,1.5,.4,1) both; }
@media (min-width: 700px) { .mentor.big .vfig { width: 170px; height: 170px; } }
@media (max-width: 700px) { .vf .ov canvas.hist { width: 64px; height: 36px; bottom: 30px; right: 6px; opacity: .85; } }

/* ---------- Revelado: recorte, datos de toma ---------- */
.dark .vf canvas { transform-origin: 50% 50%; }
.cropbox { position: absolute; z-index: 4; box-shadow: 0 0 0 9999px rgba(0,0,0,.6); outline: 1px solid rgba(255,255,255,.85); pointer-events: none; }
.cropbox i { position: absolute; inset: 0; display: none;
  background: linear-gradient(90deg, transparent calc(33.33% - .5px), rgba(255,255,255,.5) calc(33.33% - .5px), rgba(255,255,255,.5) calc(33.33% + .5px), transparent calc(33.33% + .5px), transparent calc(66.66% - .5px), rgba(255,255,255,.5) calc(66.66% - .5px), rgba(255,255,255,.5) calc(66.66% + .5px), transparent calc(66.66% + .5px)),
              linear-gradient(180deg, transparent calc(33.33% - .5px), rgba(255,255,255,.5) calc(33.33% - .5px), rgba(255,255,255,.5) calc(33.33% + .5px), transparent calc(33.33% + .5px), transparent calc(66.66% - .5px), rgba(255,255,255,.5) calc(66.66% - .5px), rgba(255,255,255,.5) calc(66.66% + .5px), transparent calc(66.66% + .5px)); }
.cropbox.edit { outline: 2px solid var(--or); }
.cropbox.edit i { display: block; }
.dark .vf:has(.cropbox.edit) { cursor: move; }
.shot-card { padding: 10px 12px; display: grid; gap: 2px; }
.shot-card .mono { font-family: var(--mono); font-size: 12px; color: var(--tx2); }
.shot-card p { font-size: 12px; margin: 4px 0 0; line-height: 1.4; }
.ars { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.ars .tg { padding: 6px 9px; font-size: 12px; }

/* ---------- Mensajes de Verito plegables (en juego) ---------- */
.coach .mcol { flex: 1; min-width: 0; }
.coach .mentor { gap: 10px; }
.coach .name { margin-bottom: 2px; }
.coach .txt { line-height: 1.4; }
.coach:not(.open) .txt { display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.coach .more { display: none; margin: 6px 0 0 auto; padding: 3px 10px; border-radius: 99px; border: 1px solid rgba(245,128,37,.45);
  background: rgba(245,128,37,.12); color: var(--or2); font-size: 12px; font-weight: 700; line-height: 1.3; font-family: inherit; cursor: pointer; }
.coach.over .more { display: flex; width: max-content; }
.coach.over .bubble { cursor: pointer; }
.coach .more .m2, .coach.open .more .m1 { display: none; }
.coach.open .more .m2 { display: inline; }
.coach.pulse .bubble { animation: coachPulse .6s ease-out; }
@keyframes coachPulse { 0% { box-shadow: 0 0 0 0 rgba(245,128,37,.55); } 100% { box-shadow: 0 0 0 10px rgba(245,128,37,0); } }
@media (max-width: 700px) {
  .coach .avatar.sm { width: 34px; height: 34px; }
  .coach .bubble { font-size: 13.5px; padding: 8px 10px; }
}

/* ---------- Productos Sony y tienda ---------- */
.lens-ill.prod { height: 86px; justify-content: center; background: #fff; border-radius: 10px; margin: 18px 0 2px; overflow: hidden; }
.lens-ill.prod img { height: 100%; width: auto; object-fit: contain; display: block; }
.lens .loan { top: 6px; right: 8px; }
.prod-img { background: #fff; border-radius: 12px; height: 150px; display: flex; align-items: center; justify-content: center; margin: 8px 0 10px; overflow: hidden; }
.prod-img img { height: 100%; width: auto; object-fit: contain; }
.card.locked .prod-img img { opacity: .9; }
.coll .card.locked { opacity: 1; filter: none; }
.coll .card.locked h4 { color: var(--tx2); }
.buy { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 10px; padding: 8px 12px; border-radius: 10px; background: linear-gradient(135deg, #f58025, #ffb547); color: #1a1205; font-weight: 800; font-size: 13px; text-decoration: none; box-shadow: 0 6px 18px -8px rgba(245,128,37,.8); }
.buy span { font-family: var(--mono); font-size: 11px; font-weight: 700; background: rgba(0,0,0,.14); padding: 2px 6px; border-radius: 6px; }
.buy:active { transform: scale(.97); }
.promo { display: grid; grid-template-columns: 140px 1fr; gap: 14px; align-items: center; background: linear-gradient(135deg, #24201a, #17191d); border: 1px solid #4d3f22; border-radius: var(--r); padding: 12px; margin: 14px 0 4px; text-align: left; }
.promo .pimg { background: #fff; border-radius: 12px; height: 112px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.promo .pimg img { height: 100%; width: auto; object-fit: contain; }
.promo .pk { font-size: 10.5px; font-weight: 800; letter-spacing: .1em; margin-bottom: 3px; }
.promo b { font-size: 16px; }
.promo p { font-size: 13px; line-height: 1.45; color: var(--tx2); margin: 4px 0 0; }
.promo .buy { margin-top: 8px; }
@media (max-width: 520px) { .promo { grid-template-columns: 1fr; } .promo .pimg { height: 150px; } }
.cam-row { display: flex; gap: 12px; align-items: center; }
.cam-row img { width: 110px; height: 88px; object-fit: contain; background: #fff; border-radius: 10px; flex: none; }
.store-card { margin: 12px 0 4px; background: linear-gradient(135deg, #2c2414, #1c1f24); border-color: #5a4a20; }
.store-card p { font-size: 13px; margin: 6px 0 0; }
.store-card .code { font-family: var(--mono); color: var(--or2); }
.buy-modal { text-align: center; }
.buy-modal .bm-k { font-size: 11px; font-weight: 800; letter-spacing: .12em; color: var(--tx3); }
.buy-modal .bm-code { font-family: var(--mono); font-size: 30px; font-weight: 800; color: var(--or2); margin: 10px auto; padding: 12px 16px; border: 2px dashed rgba(245,128,37,.6); border-radius: 14px; user-select: all; -webkit-user-select: all; cursor: copy; }
.buy-modal .bm-st { font-size: 14px; color: var(--tx2); margin-bottom: 14px; }
.buy-modal .bm-st.ok { color: #4fd18b; font-weight: 700; }
.buy.big { display: flex; justify-content: center; font-size: 16px; padding: 14px; margin-top: 0; }

/* ---------- Barra de navegación fija (home) ---------- */
.navbar.tabbar { position: sticky; bottom: calc(-1 * (var(--safe-b) + 24px)); z-index: 20; display: flex; gap: 4px; margin: 22px -16px calc(-1 * (var(--safe-b) + 24px));
  padding: 8px 10px calc(var(--safe-b) + 10px); background: rgba(14,15,18,.86); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); border-top: 1px solid var(--line); }
.navbar.tabbar button { flex: 1; background: transparent; border: 0; border-radius: 12px; padding: 6px 2px; font-size: 11px; font-weight: 600; color: var(--tx2); gap: 2px; min-width: 0; }
.navbar.tabbar button span { font-size: 21px; line-height: 1.1; }
.navbar.tabbar button.play { background: linear-gradient(135deg, #f58025, #ffb547); color: #1a1205; font-weight: 800; }
.navbar.tabbar button.play span { font-size: 18px; }
.navbar.tabbar button:active { transform: scale(.94); }
@media (min-width: 820px) { .navbar.tabbar { max-width: 640px; margin-left: auto; margin-right: auto; border: 1px solid var(--line); border-radius: 18px 18px 0 0; } }

/* ---------- Cuenta, Club, reto, panel ---------- */
button.profile { width: 100%; color: inherit; font: inherit; cursor: pointer; text-align: left; }
.profile { display: flex; align-items: center; gap: 14px; }
.avatar.user { background-size: cover; background-position: center; }
.acct-go { font-size: 26px; color: var(--tx3); }
.acct-in { font-size: 12px; font-weight: 800; padding: 6px 10px; border-radius: 999px; background: #fff; color: #1a1205; white-space: nowrap; }
.hcards { display: grid; gap: 10px; margin: 4px 0 18px; }
@media (min-width: 820px) { .hcards { grid-template-columns: 1.4fr 1fr; } .hcards .chcard { grid-row: span 2; } }
.chcard { position: relative; overflow: hidden; border-radius: 20px; min-height: 150px; padding: 16px; background-size: cover; background-position: center; text-align: left; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; gap: 3px; border: 1px solid #5a4a20; }
.chcard > * { position: relative; z-index: 1; }
.chcard .chshade { position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, rgba(10,10,12,.15), rgba(10,10,12,.88)); }
.chcard .chk { font-size: 11px; font-weight: 800; letter-spacing: .1em; color: var(--or2); }
.chcard b { font-size: 22px; font-weight: 800; }
.chcard small { font-size: 13px; color: #ddd; }
.chtop { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-top: 6px; font-size: 12.5px; font-weight: 600; }
.clubcard, .igcard { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 18px; text-align: left; color: inherit; border: 1px solid var(--line); background: var(--card); width: 100%; }
.clubcard { background: linear-gradient(135deg, #3a2414, #1c1f24); border-color: #6a4a25; }
.igcard { background: linear-gradient(135deg, rgba(131,58,180,.35), rgba(253,29,29,.25), rgba(252,176,69,.25)); border-color: rgba(253,29,29,.35); margin-top: 10px; }
.clubcard b, .igcard b { display: block; font-size: 15px; }
.clubcard small, .igcard small { display: block; font-size: 12.5px; color: var(--tx2); margin-top: 2px; }
.clubcard > span, .igcard > span { margin-left: auto; font-size: 24px; color: var(--tx3); }
.clic, .igic { font-size: 28px; }
.gbtn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 13px 16px; border-radius: 999px; background: #fff; color: #1f1f1f; font-weight: 700; font-size: 15px; border: 0; margin: 10px 0 4px; }
.gbtn.busy { opacity: .6; }
.signup .perks { list-style: none; padding: 0; margin: 12px 0; display: grid; gap: 8px; font-size: 14px; }
.optin { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.4; color: var(--tx2); margin: 6px 0; }
.optin input { width: 20px; height: 20px; flex: none; accent-color: #f58025; margin-top: 1px; }
.fine { font-size: 11.5px; color: var(--tx3); text-align: center; margin: 6px 0 10px; }
.fine a, .legal a { color: var(--or2); }
.lb { display: grid; gap: 6px; }
.lbr { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.lbr.me { border-color: var(--or); background: #2a1f14; }
.lbr .pos { width: 28px; text-align: center; font-weight: 800; }
.lbr img, .lbr i { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; background: #333; display: grid; place-items: center; font-style: normal; font-weight: 800; }
.lbr b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lbr .sc { font-family: var(--mono); font-weight: 800; color: var(--or2); }
.lbr .st { font-size: 12px; }
.chres { max-width: 640px; margin: 16px auto 0; padding: 14px; border-radius: 16px; background: linear-gradient(135deg, #2c2414, #1c1f24); border: 1px solid #5a4a20; display: grid; gap: 6px; text-align: left; }
.chres small { color: var(--tx2); } .chres small.link { color: var(--or2); text-decoration: underline; cursor: pointer; }
.chres .btn { justify-self: start; padding: 8px 14px; font-size: 14px; }
.evcard { border-radius: 18px; overflow: hidden; background: var(--card); border: 1px solid var(--line); margin-bottom: 12px; }
.evimg { height: 160px; background-size: cover; background-position: center; }
.evb { padding: 14px; }
.evd { font-size: 12px; font-weight: 700; color: var(--or2); letter-spacing: .04em; }
.evb h3 { margin: 4px 0 6px; }
.evb p { font-size: 14px; color: var(--tx2); line-height: 1.45; margin: 0 0 8px; }
.perk { background: #2a1f14; border: 1px dashed rgba(245,128,37,.55); border-radius: 12px; padding: 10px; font-size: 14px; margin: 8px 0; }
.perk small { display: block; color: var(--tx2); margin-top: 2px; }
.evact { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.evact .btn { padding: 10px 16px; font-size: 14px; }
.evact .cnt { font-size: 12px; }
.acc { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.acc small { display: block; }
.btn-col { display: grid; gap: 8px; margin-top: 16px; }
.kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.kpi { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px; }
.kpi b { font-size: 26px; font-weight: 800; display: block; color: var(--or2); }
.kpi small { color: var(--tx2); font-size: 12px; }
.tbl { overflow-x: auto; margin-top: 10px; }
.tbl table { width: 100%; border-collapse: collapse; font-size: 13px; }
.tbl th, .tbl td { text-align: left; padding: 7px 8px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl th { color: var(--tx3); font-size: 11px; letter-spacing: .06em; }
.evadm small { display: block; margin-top: 2px; }
.evform { display: grid; gap: 10px; }
.evform label { display: grid; gap: 4px; font-size: 13px; color: var(--tx2); }
.evform input, .evform textarea { background: #0e0f12; border: 1px solid var(--line); border-radius: 10px; padding: 10px; color: var(--tx); font: inherit; font-size: 16px; }
.evform .optin { display: flex; }
.legal p, .legal h3 { max-width: 720px; } .legal p { font-size: 14px; line-height: 1.55; color: var(--tx2); } .legal h3 { margin: 18px 0 6px; font-size: 16px; }

/* ---------- Botón "Entrar" llamativo ---------- */
.acct-in { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 800; padding: 8px 14px 8px 8px; border-radius: 999px;
  background: linear-gradient(135deg, #f58025, #ffb547); color: #1a1205; box-shadow: 0 0 0 0 rgba(245,128,37,.6); animation: entrarPulse 2.2s ease-out infinite, entrarBob 2.2s ease-in-out infinite; }
.acct-in b { width: 20px; height: 20px; border-radius: 50%; background: #fff; color: #4285f4; display: grid; place-items: center; font-size: 12px; font-weight: 900; }
.acct-in::after { content: ''; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.75), transparent); transform: skewX(-20deg); animation: entrarShine 2.6s ease-in-out infinite; }
@keyframes entrarPulse { 0% { box-shadow: 0 0 0 0 rgba(245,128,37,.65); } 70% { box-shadow: 0 0 0 12px rgba(245,128,37,0); } 100% { box-shadow: 0 0 0 0 rgba(245,128,37,0); } }
@keyframes entrarBob { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-2px) scale(1.05); } }
@keyframes entrarShine { 0%, 55% { left: -60%; } 85%, 100% { left: 130%; } }
button.profile:has(.acct-in) { border-color: rgba(245,128,37,.55); box-shadow: 0 0 24px -8px rgba(245,128,37,.6); }
@media (prefers-reduced-motion: reduce) { .acct-in, .acct-in::after { animation: none; } }

/* ---------- Globo flotante que invita a "Entrar" ---------- */
button.profile { position: relative; overflow: visible; }
.home-hero { overflow: visible; }
.entrar-tip { position: absolute; right: 6px; top: calc(100% + 12px); z-index: 30; max-width: 240px; padding: 10px 12px 10px 40px; border-radius: 14px;
  background: #fff; color: #1a1205; font-size: 12.5px; font-weight: 700; line-height: 1.3; text-align: left; box-shadow: 0 12px 30px -8px rgba(0,0,0,.7);
  animation: tipIn .5s .8s cubic-bezier(.2,1.6,.4,1) both, tipFloat 2.4s 1.3s ease-in-out infinite; pointer-events: none; }
.entrar-tip::before { content: ''; position: absolute; top: -7px; right: 34px; width: 14px; height: 14px; background: #fff; transform: rotate(45deg); border-radius: 2px; }
.entrar-tip i { position: absolute; left: 10px; top: 50%; margin-top: -12px; font-style: normal; font-size: 22px; line-height: 1; animation: tipTap 1.2s ease-in-out infinite; }
@keyframes tipIn { from { opacity: 0; transform: translateY(10px) scale(.85); } to { opacity: 1; transform: none; } }
@keyframes tipFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes tipTap { 0%, 100% { transform: translateY(0) rotate(-8deg); } 50% { transform: translateY(-6px) rotate(6deg); } }
@media (prefers-reduced-motion: reduce) { .entrar-tip, .entrar-tip i { animation: none; } }
.home-hero > button.profile { z-index: 6; }

/* ---------- Pase Pro y boletos ---------- */
.pro-chip { display: inline-block; font-size: 10px; font-weight: 900; letter-spacing: .08em; padding: 2px 7px; border-radius: 6px; background: linear-gradient(135deg, #ffd25e, #f58025); color: #1a1205; vertical-align: middle; }
.procta { background: linear-gradient(135deg, #3a2e10, #1c1f24); border-color: #8a6a20; }
.procard { display: flex; flex-direction: column; gap: 2px; text-align: left; width: 100%; color: inherit; position: relative; margin-bottom: 10px; background: linear-gradient(135deg, #3a2e10, #1c1f24); border-color: #8a6a20; }
.procard small { color: var(--tx2); }
.procard > span { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-size: 24px; color: var(--tx3); }
.procard.on { border-color: #ffd25e; }
.prohero { text-align: center; padding: 22px 16px; border-radius: 20px; margin-bottom: 14px; background: radial-gradient(120% 100% at 50% 0%, #5a4210, #17191d 70%); border: 1px solid #8a6a20; }
.prohero .pk { font-size: 12px; font-weight: 900; letter-spacing: .2em; color: #ffd25e; }
.prohero .pp { font-size: 44px; font-weight: 900; margin: 6px 0 2px; }
.prohero .pp small { font-size: 14px; font-weight: 600; color: var(--tx2); }
.prohero p { margin: 0; color: var(--tx2); font-size: 13px; }
.perks.big { list-style: none; padding: 0; margin: 14px 0; display: grid; gap: 10px; font-size: 15px; }
.perks.big li { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.ticket { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; background: #14161a; border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; margin: 10px 0 4px; }
.tprice { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tprice b { font-size: 18px; }
.tprice small { color: var(--tx2); font-size: 12px; }
.ticket .btn { padding: 10px 16px; font-size: 14px; }

/* ---------- Mega banner Pase Pro ---------- */
.megapro { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 18px; background: rgba(5,5,7,.82); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: fadein .25s; }
.megapro.out { opacity: 0; transition: opacity .25s; }
.mp-card { position: relative; width: 100%; max-width: 420px; max-height: calc(100vh - 36px); overflow-y: auto; border-radius: 26px; padding: 22px 20px 18px; text-align: center;
  background: radial-gradient(130% 80% at 50% 0%, #6b4a10 0%, #2a1e0c 45%, #141519 100%); border: 1.5px solid #c89a3a; box-shadow: 0 30px 80px -20px rgba(0,0,0,.9), 0 0 60px -20px rgba(255,190,80,.5);
  animation: mpIn .55s cubic-bezier(.2,1.5,.4,1) both; }
@keyframes mpIn { from { transform: translateY(30px) scale(.9); opacity: 0; } to { transform: none; opacity: 1; } }
.mp-x { position: absolute; top: 8px; right: 8px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(255,255,255,.08); color: rgba(255,255,255,.45); font-size: 11px; line-height: 26px; padding: 0; z-index: 2; }
.mp-glow { position: absolute; left: 50%; top: 40px; width: 260px; height: 260px; margin-left: -130px; border-radius: 50%; background: radial-gradient(circle, rgba(255,200,90,.35), transparent 65%); animation: mpGlow 3s ease-in-out infinite; pointer-events: none; }
@keyframes mpGlow { 0%, 100% { transform: scale(.9); opacity: .7; } 50% { transform: scale(1.1); opacity: 1; } }
.mp-fig { position: relative; width: 150px; height: 150px; object-fit: contain; margin: -4px auto 0; display: block; filter: drop-shadow(0 12px 20px rgba(0,0,0,.6)); animation: vpop .6s .1s cubic-bezier(.2,1.5,.4,1) both; }
.mp-k { position: relative; font-size: 12px; font-weight: 900; letter-spacing: .22em; color: #ffd25e; margin-top: 4px; }
.mp-t { position: relative; font-size: 28px; font-weight: 900; line-height: 1.1; margin: 6px 0 6px; }
.mp-s { position: relative; font-size: 14px; color: #e6dccb; margin: 0 0 12px; line-height: 1.4; }
.mp-perks { position: relative; list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 7px; text-align: left; }
.mp-perks li { display: flex; gap: 10px; align-items: center; font-size: 14px; background: rgba(0,0,0,.28); border: 1px solid rgba(255,210,94,.18); border-radius: 12px; padding: 9px 11px; }
.mp-perks li span { font-size: 18px; flex: none; }
.mp-price { position: relative; display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 12px; }
.mp-price b { font-size: 46px; font-weight: 900; color: #fff; }
.mp-price small { text-align: left; font-size: 12px; color: #d9c9a6; line-height: 1.3; }
.mp-cta { position: relative; overflow: hidden; width: 100%; border: 0; border-radius: 999px; padding: 18px 20px; font-size: 21px; font-weight: 900; color: #1a1205;
  background: linear-gradient(135deg, #ffd25e, #f58025); box-shadow: 0 12px 30px -8px rgba(245,128,37,.85); animation: mpPulse 1.6s ease-in-out infinite; }
.mp-cta::after { content: ''; position: absolute; top: 0; bottom: 0; width: 35%; left: -50%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.8), transparent); transform: skewX(-20deg); animation: entrarShine 2.4s ease-in-out infinite; }
.mp-cta:disabled { opacity: .8; animation: none; }
@keyframes mpPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.04); } }
.mp-safe { position: relative; font-size: 12px; color: #c9bba0; margin-top: 10px; }
@media (prefers-reduced-motion: reduce) { .mp-card, .mp-glow, .mp-cta, .mp-cta::after, .mp-fig { animation: none; } }

/* ---------- Tarjeta dorada del Pase Pro en el inicio ---------- */
.procard-big { position: relative; display: flex; align-items: center; gap: 10px; width: 100%; padding: 12px 14px 12px 4px; border-radius: 20px; text-align: left; color: inherit; overflow: hidden;
  background: radial-gradient(120% 120% at 0% 0%, #6b4a10, #241a0c 55%, #15161a); border: 1.5px solid #c89a3a; box-shadow: 0 0 30px -10px rgba(255,190,80,.55); }
.procard-big img { width: 104px; height: 104px; object-fit: contain; flex: none; filter: drop-shadow(0 8px 14px rgba(0,0,0,.6)); }
.pcb-b { display: grid; gap: 3px; min-width: 0; }
.pcb-k { font-size: 11px; font-weight: 900; letter-spacing: .18em; color: #ffd25e; }
.pcb-b b { font-size: 18px; font-weight: 800; }
.pcb-b small { font-size: 12.5px; color: #d9c9a6; line-height: 1.35; }
.pcb-cta { justify-self: start; margin-top: 6px; padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 900; color: #1a1205; background: linear-gradient(135deg, #ffd25e, #f58025); animation: mpPulse 1.6s ease-in-out infinite; }
@media (min-width: 820px) { .procard-big { grid-column: 1 / -1; } }

/* ---------- Identidad de miembros PRO ---------- */
button.profile.is-pro { border: 1.5px solid #d9a93c; background: radial-gradient(120% 140% at 0% 0%, rgba(120,84,18,.55), rgba(20,21,25,.75) 60%); box-shadow: 0 0 34px -10px rgba(255,195,80,.6); }
.pro-ribbon { position: absolute; top: -11px; left: 16px; z-index: 2; padding: 3px 10px; border-radius: 999px; font-size: 10.5px; font-weight: 900; letter-spacing: .14em; color: #1a1205; background: linear-gradient(135deg, #ffe08a, #f5a623); box-shadow: 0 4px 14px -4px rgba(255,180,60,.8); }
.avatar.pro { position: relative; box-shadow: 0 0 0 3px #0d0e10, 0 0 0 6px #ffcf5a, 0 0 22px 2px rgba(255,200,90,.55); animation: proHalo 3s ease-in-out infinite; }
.avatar .pro-star { position: absolute; right: -4px; bottom: -4px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-style: normal; background: #1a1205; border: 2px solid #ffcf5a; }
@keyframes proHalo { 0%, 100% { box-shadow: 0 0 0 3px #0d0e10, 0 0 0 6px #ffcf5a, 0 0 16px 0 rgba(255,200,90,.4); } 50% { box-shadow: 0 0 0 3px #0d0e10, 0 0 0 6px #ffe08a, 0 0 28px 4px rgba(255,200,90,.7); } }
.prostrip { display: flex; align-items: center; gap: 10px; width: 100%; padding: 12px 14px; border-radius: 16px; color: inherit; text-align: left; background: linear-gradient(135deg, #4a3610, #1c1f24); border: 1px solid #b8862e; }
.ps-b { flex: none; font-size: 11px; font-weight: 900; letter-spacing: .12em; padding: 4px 9px; border-radius: 8px; color: #1a1205; background: linear-gradient(135deg, #ffe08a, #f5a623); }
.ps-t { font-size: 13px; color: #e6dccb; line-height: 1.35; }
.ps-go { margin-left: auto; font-size: 22px; color: var(--tx3); }
.prowelcome { text-align: center; }
.pw-badge { display: inline-block; margin: 6px auto 4px; padding: 8px 18px; border-radius: 999px; font-size: 16px; font-weight: 900; letter-spacing: .14em; color: #1a1205; background: linear-gradient(135deg, #ffe08a, #f5a623); box-shadow: 0 8px 24px -8px rgba(255,180,60,.9); animation: mpPulse 1.6s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .avatar.pro, .pw-badge { animation: none; } }

/* Membresía Pro: enlace discreto y pantalla antes de cancelar */
.linkish { display: block; margin: 14px auto 4px; background: none; border: 0; color: var(--tx3); font-size: 12.5px; text-decoration: underline; cursor: pointer; padding: 6px; }
.procancel .pc-list { list-style: none; padding: 0; margin: 8px 0 18px; display: grid; gap: 8px; }
.procancel .pc-list li { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 14px; background: linear-gradient(135deg, #3a2e10, #1c1f24); border: 1px solid #8a6a20; font-size: 14px; }
.procancel .pc-list li span { font-size: 20px; }
.procancel .pc-list li.heart { border-color: #ffd25e; background: linear-gradient(135deg, #5a2e3a, #1c1f24); font-weight: 700; }

/* Mientras carga la cuenta (regreso de Google o sesión guardada) */
.acct-loading { font-size: 12px; color: var(--tx3); white-space: nowrap; animation: acctpulse 1.2s ease-in-out infinite; }
@keyframes acctpulse { 50% { opacity: .45; } }
