:root {
    --bg: #0B0B0D;
    --bg-brand: #0E0B0C;
    --surface: #141418;
    --surface-light: #1D1D24;
    --border: #2C2A32;
    --border-gold: rgba(212, 175, 55, 0.35);
    --text: #F2F4F8;
    --muted: #98A0B0;
    --gold: #D4AF37;
    --gold-bright: #F3D060;
    --red: #D32F2F;
    --red-bright: #EF4444;
    --garnet: #881337;
    --garnet-light: #BE123C;
    --green: #22C55E;
    --orange: #F97316;
    --blue: #38BDF8;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
body {
    margin: 0; background: var(--bg); color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    height: 100vh; height: 100dvh; overflow: hidden; display: flex; flex-direction: column;
}
.poker-pattern-bg {
    background-color: var(--bg-brand);
    background-image:
        radial-gradient(circle at 50% 22%, rgba(211, 47, 47, 0.16), transparent 48%),
        radial-gradient(circle at 50% 65%, rgba(212, 175, 55, 0.08), transparent 55%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='%23d4af37' fill-opacity='0.045' font-family='Arial' font-size='26'%3E%3Ctext x='14' y='34'%3E%E2%99%A0%3C/text%3E%3Ctext x='74' y='34'%3E%E2%99%A5%3C/text%3E%3Ctext x='16' y='94'%3E%E2%99%A6%3C/text%3E%3Ctext x='74' y='94'%3E%E2%99%A3%3C/text%3E%3C/g%3E%3C/svg%3E");
}
.screen { display: none; width: 100%; height: 100%; flex-direction: column; }
.screen.active { display: flex; }

/* MODAL +18 */
#age-gate-modal { position: fixed; inset: 0; background: rgba(7, 7, 9, 0.96); backdrop-filter: blur(8px); z-index: 300; display: none; align-items: center; justify-content: center; padding: 20px; }
#age-gate-modal.show { display: flex; }
.age-card { background: #141317; border: 1px solid var(--border-gold); border-radius: 24px; padding: 28px 22px; width: 100%; max-width: 380px; text-align: center; box-shadow: 0 20px 60px rgba(0,0,0,0.9); }
.age-badge { width: 54px; height: 54px; border-radius: 50%; margin: 0 auto 12px auto; background: rgba(211, 47, 47, 0.16); border: 2px solid var(--red-bright); color: #FFF; font-size: 19px; font-weight: 900; display: flex; align-items: center; justify-content: center; }

/* BIENVENIDA */
.welcome-wrap { flex: 1; display: flex; flex-direction: column; justify-content: space-between; padding: 28px 22px calc(28px + env(safe-area-inset-bottom)) 22px; max-width: 440px; width: 100%; margin: 0 auto; text-align: center; }
.logo-stage { margin: auto 0; display: flex; flex-direction: column; align-items: center; position: relative; }
.logo-aura { position: relative; display: flex; flex-direction: column; align-items: center; margin-bottom: 18px; }
.logo-aura::before { content: ""; position: absolute; width: 210px; height: 210px; top: 50%; left: 50%; transform: translate(-50%, -55%); background: radial-gradient(circle, rgba(212, 175, 55, 0.28) 0%, rgba(211, 47, 47, 0.15) 45%, transparent 72%); border-radius: 50%; filter: blur(10px); z-index: 0; animation: pulseAura 3.4s ease-in-out infinite; }
.logo-float { width: 195px; max-width: 60vw; height: auto; position: relative; z-index: 2; filter: drop-shadow(0 16px 26px rgba(0, 0, 0, 0.85)); animation: floatLogo 3.4s ease-in-out infinite; }
.logo-shadow { width: 120px; height: 16px; background: radial-gradient(ellipse at center, rgba(0,0,0,0.85) 0%, transparent 72%); border-radius: 50%; margin-top: 8px; z-index: 1; animation: shadowFloat 3.4s ease-in-out infinite; }
@keyframes floatLogo { 0%, 100% { transform: translateY(0px) scale(1); } 50% { transform: translateY(-13px) scale(1.03); } }
@keyframes shadowFloat { 0%, 100% { transform: scale(1); opacity: 0.85; } 50% { transform: scale(0.72); opacity: 0.4; } }
@keyframes pulseAura { 0%, 100% { opacity: 0.75; transform: translate(-50%, -55%) scale(0.96); } 50% { opacity: 1; transform: translate(-50%, -55%) scale(1.08); } }
.welcome-title { font-size: 27px; font-weight: 900; line-height: 1.15; margin: 0 0 10px 0; }
.welcome-title span { color: var(--gold-bright); }
.btn-gold-cta { background: linear-gradient(180deg, #F3D060 0%, #C89B26 100%); color: #120E04; border: none; padding: 15px 18px; font-size: 15px; font-weight: 900; border-radius: 14px; cursor: pointer; width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px; box-shadow: 0 8px 24px rgba(212, 175, 55, 0.28); }
.btn-gold-cta:active { transform: scale(0.98); }
.btn-garnet-cta { background: linear-gradient(180deg, var(--garnet-light) 0%, var(--garnet) 100%); color: #FFF; border: 1px solid rgba(243, 208, 96, 0.35); padding: 13px 16px; font-size: 14px; font-weight: 900; border-radius: 12px; cursor: pointer; width: 100%; }
.btn-ghost-link { background: none; border: none; color: var(--muted); font-size: 14px; font-weight: 600; text-decoration: underline; margin-top: 14px; cursor: pointer; }

/* ONBOARDING */
.ob-wrap { flex: 1; display: flex; flex-direction: column; padding: 16px 18px calc(24px + env(safe-area-inset-bottom)) 18px; max-width: 460px; width: 100%; margin: 0 auto; overflow-y: auto; }
.ob-top { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.ob-back { background: none; border: none; color: #FFF; font-size: 22px; padding: 4px 8px; cursor: pointer; }
.ob-prog-track { flex: 1; height: 6px; background: rgba(255,255,255,0.1); border-radius: 999px; overflow: hidden; }
.ob-prog-fill { height: 100%; width: 20%; background: linear-gradient(90deg, var(--red-bright), var(--gold-bright)); border-radius: 999px; transition: width 0.35s ease; }
.ob-step { display: none; flex-direction: column; flex: 1; }
.ob-step.active { display: flex; }
.ob-title { font-size: 25px; font-weight: 900; text-align: center; line-height: 1.15; margin: 0 0 20px 0; }
.ob-title span { color: var(--gold-bright); }
.ob-option { background: rgba(24, 23, 29, 0.92); border: 1.5px solid var(--border); color: var(--text); padding: 17px 16px; border-radius: 16px; width: 100%; text-align: center; margin-bottom: 12px; cursor: pointer; transition: transform 0.12s, border-color 0.2s, background 0.2s; }
.ob-option:active { transform: scale(0.98); border-color: var(--gold); background: rgba(212, 175, 55, 0.12); }
.ob-suits { color: var(--red-bright); font-size: 16px; letter-spacing: 6px; margin-bottom: 6px; }
.ob-opt-title { font-size: 18px; font-weight: 900; margin-bottom: 4px; }
.ob-opt-sub { font-size: 13px; color: var(--muted); }
.calib-card { background: rgba(20, 20, 24, 0.92); border: 1px solid var(--border-gold); border-radius: 18px; padding: 18px; margin-bottom: 16px; }
.calib-row { margin-bottom: 14px; }
.calib-row:last-child { margin-bottom: 0; }
.calib-label { font-size: 13px; font-weight: 700; margin-bottom: 6px; color: #EAECEF; }
.calib-track { height: 8px; background: rgba(255,255,255,0.08); border-radius: 999px; overflow: hidden; }
.calib-fill { height: 100%; width: 0%; background: linear-gradient(90deg, var(--red-bright), var(--gold-bright)); border-radius: 999px; transition: width 0.8s ease; }
.diag-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.diag-box { background: #16151B; border: 1px solid var(--border); border-radius: 18px; padding: 14px 12px; text-align: center; }
.diag-box.loss { border-color: rgba(239, 68, 68, 0.5); background: linear-gradient(180deg, rgba(211,47,47,0.14) 0%, #16151B 100%); }
.diag-box.gain { border-color: rgba(212, 175, 55, 0.55); background: linear-gradient(180deg, rgba(212,175,55,0.14) 0%, #16151B 100%); }
.diag-num { font-size: 22px; font-weight: 900; margin: 4px 0 2px 0; }
.diag-sub { font-size: 11px; color: var(--muted); line-height: 1.3; }
.chart-card { background: #141419; border: 1px solid var(--border); border-radius: 18px; padding: 14px; margin-bottom: 14px; }
.rec-plan-card { background: linear-gradient(135deg, #231618 0%, #16151B 100%); border: 2px solid var(--gold); border-radius: 18px; padding: 16px; margin-bottom: 14px; box-shadow: 0 10px 30px rgba(212, 175, 55, 0.16); }

/* HEADER & DRAWER */
.top-bar { padding: 11px 14px; background: var(--surface); border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.top-left { display: flex; align-items: center; gap: 10px; }
.btn-hamburger { background: var(--surface-light); border: 1px solid var(--border); color: var(--gold-bright); width: 38px; height: 38px; border-radius: 11px; font-size: 20px; font-weight: 900; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.btn-hamburger:active { transform: scale(0.94); border-color: var(--gold); }
.user-badge { display: flex; align-items: center; gap: 8px; }
.header-logo { width: 34px; height: 34px; object-fit: contain; }
.stats-pills { display: flex; gap: 6px; }
.pill { background: var(--surface-light); border: 1px solid var(--border); padding: 5px 9px; border-radius: 10px; font-size: 12px; font-weight: 800; display: flex; align-items: center; gap: 4px; }
.pill.elo { color: var(--gold-bright); border-color: var(--border-gold); }
#drawer-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.72); backdrop-filter: blur(4px); z-index: 180; opacity: 0; visibility: hidden; transition: 0.25s; }
#drawer-overlay.show { opacity: 1; visibility: visible; }
#side-drawer { position: fixed; top: 0; left: -300px; width: 280px; max-width: 82vw; height: 100%; background: #111116; border-right: 1.5px solid var(--border-gold); z-index: 190; display: flex; flex-direction: column; transition: left 0.28s cubic-bezier(0.22, 1, 0.36, 1); box-shadow: 12px 0 40px rgba(0,0,0,0.85); }
#side-drawer.show { left: 0; }
.drawer-head { padding: 22px 18px 16px 18px; background: linear-gradient(135deg, #241317 0%, #141418 100%); border-bottom: 1px solid var(--border); }
.drawer-menu { flex: 1; overflow-y: auto; padding: 12px; }
.drawer-item { width: 100%; background: transparent; border: 1px solid transparent; color: var(--text); padding: 13px 14px; border-radius: 12px; display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 700; cursor: pointer; text-align: left; margin-bottom: 4px; transition: 0.15s; }
.drawer-item:active { background: var(--surface-light); border-color: var(--border-gold); }
.drawer-item.granate { background: rgba(136, 19, 55, 0.24); border: 1px solid rgba(190, 18, 60, 0.55); color: #FFE4E6; }
.drawer-foot { padding: 14px 16px calc(18px + env(safe-area-inset-bottom)) 16px; border-top: 1px solid var(--border); }

/* DASHBOARD TABS */
.tab-content { flex: 1; overflow-y: auto; padding: 14px 16px 92px 16px; display: none; }
.tab-content.active { display: block; }
.streak-card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 13px 14px; margin-bottom: 14px; }
.streak-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-size: 12px; font-weight: 800; }
.week-row { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-bottom: 10px; }
.day-chip { background: #1B1B22; border: 1px solid #2B2B36; border-radius: 50%; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 900; color: var(--muted); }
.day-chip.done { background: radial-gradient(circle, #F3D060 0%, #B88A1E 100%); border-color: #FFF3C4; color: #120E04; box-shadow: 0 0 10px rgba(212, 175, 55, 0.4); }
.day-chip.today { border-color: var(--red-bright); color: #FFF; }
.meta-row { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); font-weight: 700; margin-bottom: 5px; }
.hero-drill { background: linear-gradient(135deg, #251417 0%, #141419 100%); border: 1px solid var(--border-gold); border-radius: 18px; padding: 16px; margin-bottom: 18px; }
.badge-tag { background: rgba(212, 175, 55, 0.15); color: var(--gold-bright); font-size: 10px; font-weight: 800; padding: 4px 9px; border-radius: 6px; display: inline-block; margin-bottom: 6px; text-transform: uppercase; }
.section-head { display: flex; justify-content: space-between; align-items: center; margin: 4px 0 12px 0; }
.section-title { font-size: 13px; font-weight: 900; color: var(--gold-bright); letter-spacing: 0.8px; text-transform: uppercase; margin: 0; }
.path-container { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 18px 14px; margin-bottom: 16px; position: relative; }
.path-node-wrap { display: flex; align-items: center; gap: 14px; position: relative; padding-bottom: 18px; }
.path-node-wrap:last-child { padding-bottom: 0; }
.path-node-wrap:not(:last-child)::after { content: ""; position: absolute; left: 25px; top: 52px; bottom: 2px; border-left: 2px dashed rgba(212, 175, 55, 0.35); }
.node-circle { width: 52px; height: 52px; border-radius: 16px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 900; position: relative; z-index: 2; background: #1D1D24; border: 2px solid #353542; color: var(--muted); }
.node-circle.active { background: linear-gradient(135deg, #F3D060 0%, #B88A1E 100%); border-color: #FFF4CC; color: #120E04; box-shadow: 0 0 18px rgba(212, 175, 55, 0.45); }
.node-circle.unlocked { background: rgba(212, 175, 55, 0.14); border-color: var(--gold); color: var(--gold-bright); }
.node-info { flex: 1; }
.node-title { font-size: 14px; font-weight: 800; color: #FFF; margin-bottom: 2px; }
.node-sub { font-size: 11px; color: var(--muted); }
.node-btn { background: var(--gold); color: #120E04; border: none; padding: 8px 12px; border-radius: 10px; font-size: 11px; font-weight: 900; cursor: pointer; white-space: nowrap; }
.node-btn.locked { background: #1D1D24; color: var(--muted); border: 1px solid var(--border); }
.granate-card { background: linear-gradient(135deg, #320B17 0%, #151218 100%); border: 1.5px solid rgba(190, 18, 60, 0.65); border-radius: 18px; padding: 16px; margin-bottom: 18px; box-shadow: 0 8px 26px rgba(136, 19, 55, 0.22); }
.granate-top { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.granate-avatar { width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0; background: radial-gradient(circle at 30% 30%, #BE123C 0%, #4C0519 100%); border: 2px solid var(--gold); display: flex; align-items: center; justify-content: center; font-size: 22px; }

/* CHIPS, MATRIZ, STATS, NAV */
.filter-section { margin-bottom: 14px; }
.filter-label { font-size: 11px; color: var(--muted); font-weight: 700; text-transform: uppercase; margin-bottom: 7px; display: block; }
.chip-row { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.chip { background: var(--surface); border: 1px solid var(--border); color: var(--muted); padding: 8px 14px; border-radius: 10px; font-size: 13px; font-weight: 700; white-space: nowrap; cursor: pointer; }
.chip.selected { background: rgba(212, 175, 55, 0.15); border-color: var(--gold); color: var(--gold-bright); }
.chip.locked::after { content: " 🔒"; font-size: 11px; }
.range-grid { display: grid; grid-template-columns: repeat(13, 1fr); gap: 2px; background: #09090B; padding: 3px; border-radius: 8px; margin-top: 10px; }
.range-cell { aspect-ratio: 1; font-size: 8px; font-weight: 800; display: flex; align-items: center; justify-content: center; background: #1B1B22; color: #7C8494; border-radius: 2px; position: relative; }
.range-cell.raise { background: var(--red-bright); color: #FFF; }
.range-cell.call { background: var(--blue); color: #051A26; }
.range-cell.mixed { background: linear-gradient(90deg, var(--red-bright) 55%, var(--blue) 55%); color: #FFF; }
.range-cell.hero-hand { outline: 2px solid var(--gold-bright); z-index: 2; box-shadow: 0 0 8px rgba(243, 208, 96, 0.95); transform: scale(1.12); }
.stat-card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 16px; margin-bottom: 12px; }
.progress-bg { background: var(--surface-light); height: 7px; border-radius: 4px; overflow: hidden; margin-top: 6px; }
.progress-fill { height: 100%; background: linear-gradient(90deg, var(--gold), var(--green)); transition: width 0.4s; }
.bottom-nav { position: fixed; bottom: 0; left: 0; width: 100%; height: 68px; background: var(--surface); border-top: 1px solid var(--border); display: flex; justify-content: space-around; align-items: center; padding-bottom: env(safe-area-inset-bottom); z-index: 40; }
.nav-item { background: none; border: none; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 11px; font-weight: 700; cursor: pointer; width: 25%; }
.nav-item.active { color: var(--gold-bright); }
.nav-icon { font-size: 19px; }

/* MODALES & CHAT */
.full-modal { position: fixed; inset: 0; background: var(--bg); z-index: 200; display: flex; flex-direction: column; transform: translateY(100%); transition: transform 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.08); }
.full-modal.show { transform: translateY(0); }
.modal-header { padding: 14px 16px; background: var(--surface); border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.modal-body { flex: 1; overflow-y: auto; padding: 16px 16px calc(26px + env(safe-area-inset-bottom)) 16px; }
.pw-close { background: var(--surface-light); border: 1px solid var(--border); color: var(--text); width: 34px; height: 34px; border-radius: 50%; font-weight: 900; cursor: pointer; }
.chat-messages { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.msg-bubble { max-width: 86%; padding: 12px 14px; border-radius: 16px; font-size: 13px; line-height: 1.48; }
.msg-bubble.ai { align-self: flex-start; background: #1E1318; border: 1px solid rgba(190, 18, 60, 0.45); color: #F3F4F6; border-bottom-left-radius: 4px; }
.msg-bubble.user { align-self: flex-end; background: rgba(212, 175, 55, 0.18); border: 1px solid var(--border-gold); color: #FEF3C7; border-bottom-right-radius: 4px; }
.chat-input-bar { padding: 10px 12px calc(14px + env(safe-area-inset-bottom)) 12px; background: var(--surface); border-top: 1px solid var(--border); display: flex; gap: 8px; }
.chat-input { flex: 1; background: #0B0B0D; border: 1px solid var(--border); color: #FFF; padding: 12px 14px; border-radius: 12px; font-size: 14px; }
.chat-send { background: var(--gold); color: #120E04; border: none; padding: 0 16px; border-radius: 12px; font-weight: 900; cursor: pointer; }

/* SIMULADOR & FEEDBACK */
#screen-simulator { position: relative; background: #0D0E12; }
.sim-header { position: absolute; top: 0; left: 0; width: 100%; padding: 12px 14px 8px 14px; z-index: 50; background: linear-gradient(180deg, rgba(11,11,13,0.96) 0%, rgba(11,11,13,0) 100%); }
.sim-top-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.btn-exit-sim { background: rgba(255,255,255,0.08); color: var(--text); border: 1px solid var(--border); padding: 6px 12px; border-radius: 10px; font-weight: 700; font-size: 13px; cursor: pointer; }
.sim-progress-pill { background: rgba(212, 175, 55, 0.15); border: 1px solid var(--border-gold); color: var(--gold-bright); padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 800; }
.timer-wrap { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.timer-track { flex: 1; height: 6px; background: #22222A; border-radius: 999px; overflow: hidden; }
.timer-bar { height: 100%; width: 100%; background: var(--gold-bright); transition: width 0.25s linear, background-color 0.3s; }
.timer-num { font-size: 12px; font-weight: 900; min-width: 28px; text-align: right; color: var(--gold-bright); }
.spot-banner { background: rgba(20, 20, 24, 0.9); border: 1px solid var(--border); padding: 7px 12px; border-radius: 10px; text-align: center; font-size: 12px; font-weight: 700; color: #E5E7EB; }
.action-dock { position: absolute; bottom: 0; left: 0; width: 100%; background: #121216; border-top: 1px solid var(--border-gold); border-radius: 22px 22px 0 0; padding: 14px 16px calc(18px + env(safe-area-inset-bottom)) 16px; z-index: 50; transition: opacity 0.2s; }
.action-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.btn-action { background: linear-gradient(180deg, #F3D060 0%, #C89B26 100%); color: #120E04; border: none; border-radius: 14px; padding: 15px 10px; font-size: 15px; font-weight: 900; cursor: pointer; box-shadow: 0 4px 12px rgba(0,0,0,0.45); transition: transform 0.1s, opacity 0.2s; }
.btn-action:active { transform: scale(0.96); }
.btn-action.fold-btn { background: linear-gradient(180deg, #272730 0%, #1B1B22 100%); color: #CBD5E1; border: 1px solid #353542; }
#feedback-overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(3px); z-index: 95; opacity: 0; visibility: hidden; transition: 0.25s; }
#feedback-overlay.show { opacity: 1; visibility: visible; }
#feedback-panel { position: absolute; bottom: -100%; left: 0; width: 100%; max-height: 82vh; overflow-y: auto; background: #131F18; border-top: 3px solid var(--green); border-radius: 26px 26px 0 0; padding: 20px 18px calc(22px + env(safe-area-inset-bottom)) 18px; z-index: 100; box-shadow: 0 -15px 50px rgba(0,0,0,0.92); transition: bottom 0.35s cubic-bezier(0.18, 0.89, 0.32, 1.15); }
#feedback-panel.show { bottom: 0; }
#feedback-panel.is-error { background: #221315; border-top-color: var(--red-bright); }
.fb-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.ev-badge { padding: 4px 10px; border-radius: 8px; font-size: 11px; font-weight: 900; }
.freq-bar { display: flex; height: 12px; border-radius: 999px; overflow: hidden; background: #22222A; margin: 10px 0 6px 0; }
.freq-legend { display: flex; justify-content: center; gap: 14px; font-size: 11px; font-weight: 700; margin-bottom: 14px; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; margin-right: 4px; }
.fb-tabs { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; background: rgba(0,0,0,0.35); padding: 4px; border-radius: 12px; margin-bottom: 12px; }
.fb-tab-btn { background: transparent; border: none; color: var(--muted); padding: 8px 4px; border-radius: 9px; font-size: 12px; font-weight: 800; cursor: pointer; }
.fb-tab-btn.active { background: rgba(255,255,255,0.12); color: #FFF; }
.fb-pane { display: none; text-align: left; }
.fb-pane.active { display: block; }
.coach-note-box { background: rgba(0,0,0,0.3); border-left: 3px solid var(--gold); padding: 12px; border-radius: 10px; font-size: 13px; line-height: 1.5; color: #E5E7EB; }
.ai-quota { display: flex; justify-content: space-between; align-items: center; font-size: 11px; color: var(--gold-bright); font-weight: 700; margin-bottom: 8px; }
.ai-quick-btns { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.ai-chip { background: rgba(212, 175, 55, 0.14); border: 1px solid rgba(212, 175, 55, 0.4); color: #FDE68A; padding: 6px 10px; border-radius: 8px; font-size: 11px; font-weight: 700; cursor: pointer; }
.ai-reply { background: rgba(0,0,0,0.38); border: 1px solid var(--border); padding: 10px; border-radius: 10px; font-size: 12px; line-height: 1.45; color: #E5E7EB; min-height: 46px; }
#btn-continuar { border: none; padding: 15px; width: 100%; border-radius: 14px; font-size: 16px; font-weight: 900; cursor: pointer; margin-top: 14px; }

/* PAYWALL & CANJE */
.plan-card { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 16px; margin-bottom: 12px; position: relative; }
.plan-card.featured { background: linear-gradient(135deg, #241417 0%, #141419 100%); border: 2px solid var(--gold); box-shadow: 0 8px 28px rgba(212, 175, 55, 0.18); }
.plan-ribbon { position: absolute; top: -10px; right: 14px; background: var(--red-bright); color: #FFF; font-size: 10px; font-weight: 900; padding: 3px 10px; border-radius: 999px; text-transform: uppercase; }
.plan-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.plan-price { font-size: 22px; font-weight: 900; color: #FFF; }
.plan-price span { font-size: 12px; color: var(--muted); font-weight: 600; }
.plan-list { margin: 0 0 12px 0; padding-left: 16px; font-size: 12px; color: #D5D8E0; line-height: 1.65; }
.btn-plan { width: 100%; padding: 13px; border-radius: 12px; border: none; font-size: 14px; font-weight: 900; cursor: pointer; background: var(--surface-light); color: #FFF; border: 1px solid var(--border); }
.btn-plan.gold { background: linear-gradient(180deg, #F3D060 0%, #C89B26 100%); color: #120E04; border: none; }
.btn-plan.red { background: linear-gradient(180deg, #E53935 0%, #B71C1C 100%); color: #FFF; border: none; }
.redeem-box { background: var(--surface); border: 1px dashed var(--border-gold); border-radius: 16px; padding: 16px; margin-top: 16px; }
.redeem-row { display: flex; gap: 8px; margin-top: 10px; }
.redeem-input { flex: 1; background: #0A0A0D; border: 1px solid var(--border); color: #FFF; padding: 12px; border-radius: 10px; font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; }
.redeem-btn { background: var(--gold); color: #000; border: none; padding: 0 16px; border-radius: 10px; font-weight: 900; font-size: 13px; cursor: pointer; }