.otx-app {
	--ox-bg: #0c0c0c;
	--ox-card: #161616;
	--ox-line: #2a2a2a;
	--ox-text: #f7f7f7;
	--ox-muted: #a8a8a8;
	--ox-yellow: #ebff00;
	--ox-grad: linear-gradient(90deg, #f3c61f 0%, #ebff00 100%);
	--ox-warn: #ff6900;
	box-sizing: border-box;
	max-width: 480px;
	margin: 0 auto;
	padding: 20px 16px 96px;
	background: var(--ox-bg);
	color: var(--ox-text);
	font-family: Inter, -apple-system, "Segoe UI", Roboto, sans-serif;
	font-size: 15px;
	line-height: 1.45;
	border-radius: 20px;
	position: relative;
}
.otx-app *, .otx-app *::before, .otx-app *::after { box-sizing: border-box; }
html, body.otx-body { margin: 0; padding: 0; background: #0c0c0c; min-height: 100%; -webkit-text-size-adjust: 100%; }
body.otx-body .otx-app { border-radius: 0; min-height: 100vh; padding-top: calc(20px + env(safe-area-inset-top)); padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
body.otx-body .otx-nav { padding-bottom: env(safe-area-inset-bottom); }
.otx-days { scrollbar-width: none; }
.otx-days::-webkit-scrollbar { display: none; }
.otx-app a { color: var(--ox-yellow); }
.otx-top { display: flex; align-items: center; margin-bottom: 18px; }
.otx-logo { height: 40px; width: auto; }
.otx-h1 { color: var(--ox-text); font-size: 28px; font-weight: 800; line-height: 1.1; margin: 0 0 4px; letter-spacing: -0.01em; }
.otx-sub { color: var(--ox-muted); margin: 0 0 18px; }
.otx-muted { color: var(--ox-muted); font-size: 13px; display: block; }
.otx-y { color: var(--ox-yellow); }
.otx-card { background: var(--ox-card); border: 1px solid var(--ox-line); border-radius: 16px; padding: 16px; margin-bottom: 12px; display: flex; flex-direction: column; gap: 10px; }
.otx-card h2 { color: var(--ox-text); font-size: 20px; margin: 0; }
.otx-card-top { display: flex; gap: 12px; align-items: center; }
.otx-ico { height: 34px; width: auto; }
.otx-hlist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; color: #c9c9c9; font-size: 14px; }
.otx-hlist strong { color: var(--ox-text); }
.otx-row { display: flex; gap: 8px; flex-wrap: wrap; }
.otx-row .otx-btn { flex: 1 1 140px; }
.otx-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border-radius: 12px; border: none; background: var(--ox-grad); color: var(--ox-bg) !important; font: 800 15px Inter, sans-serif; text-decoration: none; cursor: pointer; }
.otx-btn:hover { filter: brightness(1.05); }
.otx-btn--ghost { background: transparent; color: var(--ox-text) !important; border: 1.5px solid #4a4a4a; font-weight: 700; }
.otx-btn--sm { min-height: 44px; padding: 0 18px; font-size: 14px; }
.otx-back { display: inline-flex; min-height: 44px; align-items: center; text-decoration: none; font-size: 14px; }
.otx-days { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 14px; }
.otx-day { flex: 0 0 60px; height: 60px; border-radius: 12px; background: var(--ox-card); border: 1px solid var(--ox-line); color: var(--ox-text) !important; text-decoration: none; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.otx-day span { font-size: 12px; }
.otx-day strong { font-size: 20px; font-weight: 800; }
.otx-day.is-on { background: var(--ox-grad); color: var(--ox-bg) !important; border-color: transparent; }
.otx-class-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.otx-hora { display: block; font-size: 17px; }
.otx-count { color: var(--ox-yellow); font-weight: 800; }
.otx-count.is-full { color: var(--ox-muted); }
.otx-bar { height: 6px; border-radius: 999px; background: var(--ox-line); overflow: hidden; }
.otx-bar span { display: block; height: 6px; border-radius: 999px; background: var(--ox-grad); }
.otx-bar span.is-full { background: #6a6a6a; }
.otx-class-bottom { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.otx-class-bottom form { margin: 0; }
.otx-class.is-past { opacity: 0.55; }
.otx-tag { display: inline-block; align-self: flex-start; font-size: 12px; font-weight: 700; color: var(--ox-bg); background: var(--ox-yellow); padding: 4px 10px; border-radius: 999px; }
.otx-note { margin-top: 6px; padding: 12px 14px; border-radius: 12px; background: #1c1e0a; border: 1px solid #3d4210; color: #e4ee9a; font-size: 13px; }
.otx-msg { padding: 12px 14px; border-radius: 12px; margin-bottom: 14px; font-size: 14px; }
.otx-msg--ok { background: #1c1e0a; border: 1px solid #3d4210; color: #e4ee9a; }
.otx-msg--err { background: #2a1405; border: 1px solid var(--ox-warn); color: #ffb37a; }
.otx-form { display: flex; flex-direction: column; gap: 14px; margin: 0; }
.otx-card .otx-form { gap: 8px; }
.otx-field label { display: block; font-size: 13px; color: var(--ox-muted); margin-bottom: 6px; }
.otx-field input { width: 100%; min-height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--ox-line); background: var(--ox-card); color: var(--ox-text); font: 500 16px Inter, sans-serif; }
.otx-field input:focus { outline: none; border-color: var(--ox-yellow); box-shadow: 0 0 0 1px var(--ox-yellow); }
.otx-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.otx-alt { color: var(--ox-muted); font-size: 14px; margin-top: 16px; text-align: center; }
.otx-nav { position: fixed; left: 50%; bottom: 0; transform: translateX(-50%); width: 100%; max-width: 480px; display: flex; background: #111; border-top: 1px solid var(--ox-line); z-index: 50; }
.otx-nav a { flex: 1; min-height: 60px; display: flex; align-items: center; justify-content: center; color: var(--ox-muted) !important; text-decoration: none; font-size: 14px; font-weight: 600; }
.otx-nav a.is-on { color: var(--ox-yellow) !important; }
.otx-h2 { color: var(--ox-text); font-size: 19px; font-weight: 800; margin: 22px 0 10px; }
.otx-banner { background: #ebff00 url("img/fondo-amarillo.jpg") center/cover no-repeat; color: #0c0c0c; border-radius: 14px; padding: 14px 16px; margin-bottom: 14px; font-weight: 500; }
.otx-banner strong { font-weight: 800; }
.otx-opt { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; margin-bottom: 10px; border-radius: 16px; background: var(--ox-card); border: 2px solid var(--ox-line); color: var(--ox-text) !important; text-decoration: none; }
.otx-opt.is-on { border-color: var(--ox-yellow); }
.otx-opt-top { display: flex; justify-content: space-between; gap: 8px; font-size: 17px; }
.otx-opt-medio { font-size: 12px; font-weight: 700; color: #e4ee9a; }
.otx-qr { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; margin-bottom: 14px; }
.otx-qr img { width: 270px; max-width: 100%; height: auto; border-radius: 16px; }
.otx-llave { gap: 6px; }
.otx-llave-num { font-size: 30px; font-weight: 800; letter-spacing: 0.02em; }
.otx-llave-valor { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--ox-line); padding-top: 10px; margin-top: 4px; font-size: 20px; }
.otx-upload { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: 14px; border: 1.5px dashed #5a5a5a; cursor: pointer; }
.otx-upload-title { font-weight: 700; }
.otx-upload input[type="file"] { margin-top: 6px; color: var(--ox-muted); font-size: 13px; max-width: 100%; }
.otx-center { text-align: center; }
.otx-block { display: flex; width: 100%; margin: 4px 0 6px; }
.otx-saldo { background: #ebff00 url("img/fondo-amarillo.jpg") center/cover no-repeat; color: #0c0c0c; border-radius: 16px; padding: 18px; margin-bottom: 10px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; }
.otx-saldo-num { font-size: 52px; font-weight: 800; line-height: 1; }
.otx-saldo-bar { flex: 1 0 100%; height: 8px; border-radius: 999px; background: rgba(12, 12, 12, 0.15); overflow: hidden; }
.otx-saldo-bar span { display: block; height: 8px; background: #0c0c0c; border-radius: 999px; }
.otx-saldo-meta { flex: 1 0 100%; font-size: 13px; font-weight: 500; }
.otx-tabs { display: flex; gap: 6px; margin-bottom: 14px; }
.otx-tabs a { flex: 1; min-height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid #3a3a3a; color: #c9c9c9 !important; text-decoration: none; font-weight: 600; }
.otx-tabs a.is-on { background: var(--ox-text); color: var(--ox-bg) !important; border-color: var(--ox-text); }
.otx-renov strong { font-size: 16px; }
.otx-p { margin: 0; }
.otx-coach-qr { align-items: center; text-align: center; }
.otx-qr-box { background: #fff; border-radius: 16px; padding: 10px; width: 280px; max-width: 100%; aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; }
.otx-qr-box img { width: 100%; height: auto; image-rendering: pixelated; }
.otx-person { flex-direction: row; justify-content: space-between; align-items: center; }
.otx-person strong { display: block; }
.otx-llegada { text-align: center; padding: 40px 8px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.otx-llegada img { height: 72px; width: auto; filter: grayscale(1); opacity: 0.6; }
.otx-llegada.is-ok img { filter: none; opacity: 1; }
.otx-llegada p { color: #c9c9c9; margin: 0; font-size: 16px; }

/* Verificación de correo */
.otx-codigo { font-size: 28px !important; font-weight: 800; letter-spacing: 10px; text-align: center; }
.otx-cambiar { margin-top: 16px; }
.otx-cambiar summary { cursor: pointer; font-weight: 600; }
.otx-cambiar .otx-form { margin-top: 12px; }

/* Administración en la app */
.otx-admin-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.otx-link { color: var(--ox-yellow); font-weight: 700; font-size: 14px; cursor: pointer; }
.otx-small { color: var(--ox-muted); font-size: 13px; line-height: 1.45; display: block; }
.otx-card--y { border-color: var(--ox-yellow); }
.otx-clave { color: var(--ox-yellow); font-size: 20px; letter-spacing: 1px; font-family: ui-monospace, Menlo, monospace; user-select: all; }
.otx-tag.is-off { opacity: .5; }
.otx-field select { width: 100%; min-height: 48px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--ox-line); background: var(--ox-card); color: var(--ox-text); font: 500 16px Inter, sans-serif; }
.otx-card details summary { list-style: none; }
.otx-card details[open] .otx-form { margin-top: 12px; }

/* Perfil */
.otx-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.otx-stat { background: var(--ox-card); border: 1px solid var(--ox-line); border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 4px; }
.otx-stat-num { color: var(--ox-yellow); font-size: 24px; font-weight: 800; line-height: 1.1; }
.otx-pago-der { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex-shrink: 0; }
.otx-pago-valor { color: var(--ox-text); font-size: 16px; }
.otx-tag.is-wait { background: transparent; color: var(--ox-yellow); border: 1px solid var(--ox-yellow); }
.otx-tag.is-off { background: #3a3a3a; color: var(--ox-text); opacity: 1; }
.otx-nav a { font-size: 13px; padding: 0 4px; text-align: center; }

/* Gestión: pagos, clientes, agenda */
.otx-tabs--scroll { overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.otx-tabs--scroll::-webkit-scrollbar { display: none; }
.otx-tabs--scroll a { flex: none; padding: 0 16px; white-space: nowrap; }
.otx-kpis { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-bottom: 12px; }
.otx-kpi { background: var(--ox-card); border: 1px solid var(--ox-line); border-radius: 12px; padding: 10px 4px; text-align: center; display: flex; flex-direction: column; gap: 2px; }
.otx-kpi strong { color: var(--ox-text); font-size: 20px; font-weight: 800; }
.otx-kpi span { color: var(--ox-muted); font-size: 11px; }
.otx-kpi.is-y strong { color: var(--ox-yellow); }
.otx-search { display: flex; gap: 8px; margin-bottom: 12px; }
.otx-search input { flex: 1; min-width: 0; min-height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--ox-line); background: var(--ox-card); color: var(--ox-text); font: 500 16px Inter, sans-serif; }
.otx-cli-datos { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; font-size: 14px; color: var(--ox-text); }
.otx-cli-datos em { display: block; font-style: normal; color: var(--ox-muted); font-size: 12px; }
.otx-cli-datos b { font-weight: 600; }
.otx-warn { color: var(--ox-warn) !important; }
.otx-weeknav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; color: var(--ox-text); font-weight: 700; }
.otx-weeknav a { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 12px; border: 1px solid var(--ox-line); text-decoration: none; color: var(--ox-text) !important; }
.otx-agenda-clase { text-decoration: none; color: var(--ox-text) !important; }
.otx-agenda-clase.is-on { border-color: var(--ox-yellow); }
.otx-detalle { margin-top: -6px; border-style: dashed; }
.otx-detalle .otx-person { border-top: 1px solid var(--ox-line); padding-top: 10px; }
.otx-row form { display: contents; }

/* Horarios, precios y reglas */
.otx-check { display: flex; align-items: center; gap: 10px; color: var(--ox-text); font-size: 14px; cursor: pointer; }
.otx-check input { width: 20px; height: 20px; accent-color: var(--ox-yellow); }
.otx-check--warn { color: var(--ox-muted); font-size: 13px; }
.otx-horario.is-new { border-style: dashed; }
.otx-horario-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.otx-time { min-height: 48px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--ox-line); background: var(--ox-bg); color: var(--ox-text); font: 700 18px Inter, sans-serif; color-scheme: dark; }
.otx-dias { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.otx-dias label { position: relative; }
.otx-dias input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.otx-dias span { display: flex; align-items: center; justify-content: center; height: 40px; border-radius: 10px; border: 1px solid #3a3a3a; color: #c9c9c9; font-weight: 700; }
.otx-dias input:checked + span { background: var(--ox-yellow); border-color: var(--ox-yellow); color: var(--ox-bg); }
.otx-dias input:focus-visible + span { outline: 2px solid var(--ox-yellow); outline-offset: 2px; }
.otx-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; }
.otx-qr-fila { flex-direction: row; align-items: center; gap: 14px; }
.otx-qr-fila img, .otx-qr-vacio { width: 72px; height: 72px; border-radius: 10px; object-fit: contain; background: #fff; flex-shrink: 0; }
.otx-qr-vacio { display: flex; align-items: center; justify-content: center; background: transparent; border: 1px dashed #4a4a4a; color: var(--ox-muted); font-size: 12px; }
.otx-qr-fila > div { display: flex; flex-direction: column; gap: 6px; }
.otx-file { position: relative; overflow: hidden; }
.otx-file input { font-size: 13px; color: var(--ox-muted); margin-top: 4px; display: block; max-width: 200px; }
.otx-block { display: flex; width: 100%; margin: 12px 0; }

/* Rachas, puntos y comunidad */
.otx-felicita { background: var(--ox-grad); color: var(--ox-bg); border-radius: 16px; padding: 16px; margin-bottom: 12px; display: flex; flex-direction: column; gap: 4px; }
.otx-felicita strong { font-size: 18px; font-weight: 800; }
.otx-felicita span { font-size: 14px; font-weight: 500; }
.otx-racha-mini { font-size: 14px; color: var(--ox-text); }
.otx-racha-num { color: var(--ox-yellow); font-size: 34px; font-weight: 800; line-height: 1; text-align: right; }
.otx-racha-num small { display: block; font-size: 12px; color: var(--ox-muted); font-weight: 500; }
.otx-semanas { display: grid; grid-template-columns: repeat(auto-fit, minmax(56px, 1fr)); gap: 6px; }
.otx-semana { border: 1px solid #3a3a3a; border-radius: 10px; padding: 8px 4px; text-align: center; display: flex; flex-direction: column; gap: 2px; }
.otx-semana span { font-size: 11px; color: var(--ox-muted); }
.otx-semana b { font-size: 12px; color: var(--ox-text); font-weight: 700; }
.otx-semana.is-ok { background: var(--ox-yellow); border-color: var(--ox-yellow); }
.otx-semana.is-ok span, .otx-semana.is-ok b { color: var(--ox-bg); }
.otx-semana.is-curso { border-color: var(--ox-yellow); }
.otx-semana.is-no b { color: var(--ox-warn); }
.otx-semana.is-futura, .otx-semana.is-antes { opacity: .5; }
.otx-puntos { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; color: var(--ox-muted); }
.otx-puntos b { color: var(--ox-yellow); font-size: 20px; font-weight: 800; margin-right: 4px; }
.otx-ranking { gap: 0; padding: 6px 16px; }
.otx-rank { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--ox-line); color: var(--ox-text); }
.otx-rank:last-child { border-bottom: 0; }
.otx-rank-pos { width: 26px; height: 26px; border-radius: 50%; background: #2a2a2a; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; flex-shrink: 0; }
.otx-rank:first-child .otx-rank-pos { background: var(--ox-yellow); color: var(--ox-bg); }
.otx-rank-nom { flex: 1; font-weight: 600; }
.otx-rank-pts { color: var(--ox-muted); font-size: 13px; }
.otx-rank.is-yo .otx-rank-nom { color: var(--ox-yellow); }
.otx-dash { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 8px; }
.otx-dash-kpi { background: var(--ox-card); border: 1px solid var(--ox-line); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: var(--ox-text) !important; }
.otx-dash-kpi strong { font-size: 22px; font-weight: 800; color: var(--ox-text); line-height: 1.1; word-break: break-word; }
.otx-dash-kpi span { font-size: 12px; color: var(--ox-muted); line-height: 1.3; }
.otx-dash-kpi.is-y { border-color: var(--ox-yellow); }
.otx-dash-kpi.is-y strong { color: var(--ox-yellow); }

/* Diseño B: inicio del cliente y barra con íconos */
.otx-top { padding-bottom: 14px; border-bottom: 1px solid var(--ox-line); }
.otx-hero { background: var(--ox-yellow); color: var(--ox-bg); border-radius: 20px; padding: 20px 18px 22px; margin-bottom: 12px; }
.otx-hero h1 { margin: 12px 0 6px; font-size: 32px; font-weight: 800; line-height: 1.05; letter-spacing: -0.02em; color: var(--ox-bg); }
.otx-hero p { margin: 0; font-size: 15px; color: #3a3a00; }
.otx-chip { display: inline-block; background: var(--ox-bg); color: var(--ox-yellow); font-size: 11px; font-weight: 700; letter-spacing: 2.5px; padding: 6px 12px; border-radius: 999px; }
.otx-stat2, .otx-prox { text-decoration: none; color: var(--ox-text) !important; }
.otx-stat2-t { font-size: 16px; font-weight: 700; }
.otx-two { display: grid; grid-template-columns: 1fr 1fr; text-align: center; }
.otx-two small { display: block; font-size: 13px; color: var(--ox-muted); }
.otx-two b { display: block; font-size: 34px; font-weight: 800; line-height: 1.15; color: var(--ox-text); }
.otx-two b.otx-y { color: var(--ox-yellow); }
.otx-prox { flex-direction: row; align-items: center; justify-content: space-between; }
.otx-prox > span { display: flex; flex-direction: column; gap: 3px; }
.otx-prox small { font-size: 12px; color: var(--ox-muted); }
.otx-prox strong { font-size: 18px; }
.otx-prox .otx-ico-svg { color: var(--ox-muted); flex-shrink: 0; }
.otx-prox-vacia { align-items: stretch; }
.otx-nav { background: #111; }
.otx-nav a { flex-direction: column; gap: 3px; min-height: 64px; font-size: 11px !important; font-weight: 600; }
.otx-nav a .otx-ico-svg { width: 24px; height: 24px; }
.otx-nav a.is-on .otx-ico-svg { stroke-width: 2.2; }

/* Marca de agua del ícono en las tarjetas */
.otx-wm { position: relative; overflow: hidden; isolation: isolate; }
.otx-wm::after { content: ""; position: absolute; top: 5%; right: 0; height: 90%; width: auto; aspect-ratio: 1 / 1; transform: translateX(50%); background: url("img/icono.png") center / contain no-repeat; filter: grayscale(1) brightness(2.2); opacity: .09; pointer-events: none; z-index: -1; }
.otx-hero.otx-wm::after { filter: grayscale(1) brightness(0); opacity: .1; }

/* Avatar del atleta y medallas */
.otx-atleta { display: block; width: 100%; height: auto; }
.otx-atleta-card { flex-direction: row; align-items: center; gap: 14px; text-decoration: none; color: var(--ox-text) !important; }
.otx-atleta-fig { width: 104px; flex-shrink: 0; }
.otx-atleta-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.otx-atleta-t { color: var(--ox-yellow); font-size: 11px; font-weight: 700; letter-spacing: 2px; }
.otx-atleta-info strong { font-size: 19px; font-weight: 800; line-height: 1.15; }
.otx-atleta-info small { color: var(--ox-muted); font-size: 12px; }
.otx-atleta-bar { display: block; height: 8px; background: #2a2a2a; border-radius: 9px; overflow: hidden; margin: 4px 0 0; }
.otx-atleta-bar span { display: block; height: 100%; background: var(--ox-yellow); border-radius: 9px; }
.otx-animo { align-self: flex-start; font-size: 11px; font-weight: 700; padding: 4px 9px; border-radius: 999px; background: var(--ox-yellow); color: var(--ox-bg); margin-top: 2px; }
.otx-animo.is-off { background: #2f2f2f; color: #d0d0d0; }
.otx-subio { display: flex; align-items: center; gap: 12px; background: var(--ox-grad); color: var(--ox-bg); border-radius: 18px; padding: 14px; margin-bottom: 12px; animation: otx-pop .6s ease-out; }
.otx-subio-fig { width: 84px; flex-shrink: 0; background: #0c0c0c; border-radius: 14px; padding: 4px; }
.otx-subio > div:last-child { display: flex; flex-direction: column; gap: 4px; }
.otx-subio strong { font-size: 20px; font-weight: 800; }
.otx-subio span:last-child { font-size: 13px; }
@keyframes otx-pop { 0% { transform: scale(.92); opacity: 0; } 70% { transform: scale(1.03); opacity: 1; } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .otx-subio { animation: none; } }
.otx-niveles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; text-align: center; flex-direction: unset; }
.otx-niveles > div { opacity: .35; }
.otx-niveles > div.is-on { opacity: 1; }
.otx-niveles b { display: block; font-size: 11px; color: var(--ox-text); }
.otx-niveles small { display: block; font-size: 10px; color: var(--ox-muted); }
.otx-medallas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-bottom: 12px; }
.otx-medalla { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 3px; }
.otx-medalla-ico { width: 56px; height: 56px; border-radius: 50%; border: 2px dashed #3a3a3a; display: flex; align-items: center; justify-content: center; color: #5a5a5a; }
.otx-medalla-ico b { font-size: 15px; font-weight: 800; }
.otx-medalla.is-on .otx-medalla-ico { background: var(--ox-yellow); border: 3px solid #f3c61f; color: var(--ox-bg); }
.otx-medalla strong { font-size: 11px; color: var(--ox-text); line-height: 1.2; }
.otx-medalla small { font-size: 10px; color: var(--ox-muted); line-height: 1.25; }
.otx-elegir-t { font-size: 16px; }
.otx-elegir-opts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.otx-elegir-opts label { position: relative; border: 2px solid #2a2a2a; border-radius: 12px; padding: 4px; cursor: pointer; background: #0c0c0c; }
.otx-elegir-opts input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.otx-elegir-opts label:has(input:checked) { border-color: var(--ox-yellow); }
.otx-elegir-opts label:has(input:focus-visible) { outline: 2px solid var(--ox-yellow); outline-offset: 2px; }

/* Atleta ilustrado */
.otx-fig { position: relative; display: block; width: 100%; }
.otx-fig img { display: block; width: 100%; height: auto; }
.otx-fig.is-tired img { filter: brightness(.72) saturate(.65); }
.otx-fig.is-sleep img { filter: grayscale(1) brightness(.55); }
.otx-fig-gota { position: absolute; top: 4%; right: 14%; width: 12%; aspect-ratio: 2 / 3; background: #7ec8ff; border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%; transform: rotate(-12deg); }
.otx-fig-z { position: absolute; top: 0; right: 4%; color: #d0d0d0; font-weight: 800; font-size: 14px; letter-spacing: 2px; }
.otx-atleta-fig { width: 84px; }
.otx-subio-fig { width: 72px; background: transparent; padding: 0; }
.otx-elegir-opts { grid-template-columns: 1fr 1fr; gap: 10px; }
.otx-elegir-opts label { padding: 10px 10px 8px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.otx-elegir-opts .otx-fig { width: 72%; }
.otx-elegir-opts label > span:last-child { font-weight: 700; color: var(--ox-text); font-size: 14px; }
.otx-niveles { align-items: end; }

/* Cabecera: campana OTRIX y modo claro/oscuro */
.otx-top { justify-content: space-between; gap: 12px; }
.otx-top-acc { display: flex; align-items: center; gap: 10px; }
.otx-campana, .otx-tema { position: relative; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.otx-campana { background: var(--ox-card); border: 1.5px solid var(--ox-yellow); }
.otx-campana img { width: 24px; height: 24px; object-fit: contain; }
.otx-campana-n { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--ox-yellow); color: #0c0c0c; font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center; border: 2px solid var(--ox-bg); }
.otx-tema { background: var(--ox-card); border: 1px solid var(--ox-line); color: var(--ox-text); cursor: pointer; padding: 0; }
.otx-tema:focus-visible, .otx-campana:focus-visible { outline: 2px solid var(--ox-yellow); outline-offset: 2px; }
.otx-tema-luna { display: none; }
html[data-theme="light"] .otx-tema-sol { display: none; }
html[data-theme="light"] .otx-tema-luna { display: block; }
.otx-aviso { text-decoration: none; color: var(--ox-text) !important; gap: 4px; }
.otx-aviso strong { font-size: 16px; }
.otx-aviso.is-nuevo { border-color: var(--ox-yellow); }
.otx-aviso.is-nuevo strong::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--ox-yellow); margin-right: 8px; vertical-align: 2px; }

/* Modo claro */
html[data-theme="light"], html[data-theme="light"] body.otx-body { background: #f3f3ef; }
html[data-theme="light"] .otx-app { --ox-bg: #f3f3ef; --ox-card: #ffffff; --ox-line: #e2e2da; --ox-text: #111111; --ox-muted: #5e5e5e; --ox-acc: #5c6400; }
html[data-theme="light"] .otx-app a, html[data-theme="light"] .otx-y, html[data-theme="light"] .otx-link, html[data-theme="light"] .otx-atleta-t,
html[data-theme="light"] .otx-two b.otx-y, html[data-theme="light"] .otx-stat-num, html[data-theme="light"] .otx-racha-num, html[data-theme="light"] .otx-puntos b,
html[data-theme="light"] .otx-clave, html[data-theme="light"] .otx-dash-kpi.is-y strong, html[data-theme="light"] .otx-kpi.is-y strong, html[data-theme="light"] .otx-rank.is-yo .otx-rank-nom,
html[data-theme="light"] .otx-opt-medio { color: var(--ox-acc) !important; }
html[data-theme="light"] .otx-btn { color: #0c0c0c !important; }
html[data-theme="light"] .otx-btn--ghost { border-color: #cfcfc6; color: var(--ox-text) !important; }
html[data-theme="light"] .otx-nav { background: #ffffff; border-top-color: var(--ox-line); }
html[data-theme="light"] .otx-nav a { color: #6b6b6b !important; }
html[data-theme="light"] .otx-nav a.is-on { color: #111 !important; }
html[data-theme="light"] .otx-nav a.is-on .otx-ico-svg { color: #111; stroke-width: 2.4; }
html[data-theme="light"] .otx-nav a.is-on span { border-bottom: 2px solid var(--ox-yellow); }
html[data-theme="light"] .otx-tabs a, html[data-theme="light"] .otx-dias span, html[data-theme="light"] .otx-semana { border-color: #d6d6ce; color: #333 !important; }
html[data-theme="light"] .otx-tabs a.is-on { color: #f3f3ef !important; }
html[data-theme="light"] .otx-dias input:checked + span { color: #0c0c0c !important; }
html[data-theme="light"] .otx-hlist, html[data-theme="light"] .otx-llegada p { color: #444; }
html[data-theme="light"] .otx-msg--ok, html[data-theme="light"] .otx-note { background: #f7fbd2; border-color: #d4dc5a; color: #3d4210; }
html[data-theme="light"] .otx-msg--err { background: #fff1e8; color: #8a3a00; }
html[data-theme="light"] .otx-upload, html[data-theme="light"] .otx-qr-vacio, html[data-theme="light"] .otx-medalla-ico { border-color: #c9c9c0; }
html[data-theme="light"] .otx-atleta-bar, html[data-theme="light"] .otx-rank-pos { background: #e8e8e0; }
html[data-theme="light"] .otx-animo.is-off, html[data-theme="light"] .otx-tag.is-off { background: #e8e8e0; color: #333; }
html[data-theme="light"] .otx-elegir-opts label { background: #f3f3ef; border-color: #e2e2da; }
html[data-theme="light"] .otx-fig-z { color: #555; }
html[data-theme="light"] .otx-wm::after { filter: grayscale(1) brightness(0); opacity: .06; }
html[data-theme="light"] .otx-hero.otx-wm::after { opacity: .1; }
html[data-theme="light"] .otx-logo { filter: brightness(0); }
html[data-theme="light"] .otx-campana { background: #0c0c0c; }
html[data-theme="light"] .otx-campana-n { border-color: #f3f3ef; }
html[data-theme="light"] .otx-time, html[data-theme="light"] .otx-field input, html[data-theme="light"] .otx-field select, html[data-theme="light"] .otx-search input { color-scheme: light; }
html[data-theme="light"] .otx-semana.is-ok span, html[data-theme="light"] .otx-semana.is-ok b { color: #0c0c0c !important; }
html[data-theme="light"] .otx-felicita, html[data-theme="light"] .otx-subio, html[data-theme="light"] .otx-hero, html[data-theme="light"] .otx-saldo, html[data-theme="light"] .otx-banner { color: #0c0c0c; }
html[data-theme="light"] .otx-hero a, html[data-theme="light"] .otx-saldo a, html[data-theme="light"] .otx-banner a { color: #0c0c0c !important; }
.otx-chip { background: #0c0c0c; }
.otx-hero h1 { color: #0c0c0c; }
html[data-theme="light"] .otx-hero .otx-chip { color: #ebff00 !important; }
html[data-theme="light"] .otx-app a.otx-aviso, html[data-theme="light"] .otx-app a.otx-card { color: var(--ox-text) !important; }

/* Cabecera fija al hacer scroll */
body.otx-body .otx-app { padding-top: 0; }
.otx-top { position: sticky; top: 0; z-index: 40; background: var(--ox-bg); margin: 0 -16px 18px; padding: calc(14px + env(safe-area-inset-top)) 16px 12px; }

/* Panel de avisos deslizables */
.otx-avisos-panel { position: absolute; top: calc(100% - 4px); left: 12px; right: 12px; z-index: 60; background: var(--ox-card); border: 1px solid var(--ox-line); border-radius: 18px; padding: 12px; max-height: 70vh; overflow-y: auto; box-shadow: 0 18px 40px rgba(0,0,0,.45); }
.otx-avisos-panel[hidden] { display: none; }
.otx-avisos-top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 2px 4px 10px; }
.otx-avisos-top strong { font-size: 17px; }
.otx-avisos-top .otx-muted { font-size: 11px; display: inline; }
.otx-avisos-lista { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.otx-aviso-item { position: relative; border-radius: 14px; overflow: hidden; background: #8a1c1c; transition: max-height .25s ease, opacity .25s ease, margin .25s ease; max-height: 240px; }
.otx-aviso-borrar { position: absolute; inset: 0; display: flex; align-items: center; justify-content: flex-end; padding-right: 18px; color: #fff; font-weight: 800; font-size: 13px; }
.otx-aviso-item.is-listo .otx-aviso-borrar { background: #b32020; }
.otx-aviso-mov { position: relative; display: flex; align-items: stretch; background: var(--ox-bg); border: 1px solid var(--ox-line); border-radius: 14px; touch-action: pan-y; transition: transform .2s ease; user-select: none; }
.otx-aviso-mov .otx-aviso { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; padding: 12px 6px 12px 14px; border: 0; margin: 0; background: transparent; border-radius: 14px; }
.otx-aviso-mov .otx-aviso strong { font-size: 15px; }
.otx-aviso-mov .otx-aviso.is-nuevo { border: 0; }
.otx-aviso-item:has(.is-nuevo) .otx-aviso-mov { border-color: var(--ox-yellow); }
.otx-aviso-x { flex-shrink: 0; width: 40px; border: 0; background: transparent; color: var(--ox-muted); font-size: 22px; line-height: 1; cursor: pointer; }
.otx-aviso-x:focus-visible { outline: 2px solid var(--ox-yellow); outline-offset: -4px; }
.otx-aviso-item.is-saliendo { max-height: 0; opacity: 0; margin-top: -8px; }
.otx-aviso-item.is-saliendo .otx-aviso-mov { transform: translateX(-110%) !important; }
.otx-avisos-vacio { color: var(--ox-muted); font-size: 14px; margin: 6px 4px; }
.otx-avisos-vacio[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { .otx-aviso-item, .otx-aviso-mov { transition: none; } }
html[data-theme="light"] .otx-avisos-panel { box-shadow: 0 18px 40px rgba(0,0,0,.14); }
html[data-theme="light"] .otx-aviso-mov { background: #fafaf7; }

/* Barra y menú del administrador */
.otx-nav-ico { position: relative; display: inline-flex; }
.otx-nav-n { position: absolute; top: -6px; right: -10px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 999px; background: var(--ox-yellow); color: #0c0c0c; font-size: 10px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.otx-mas { display: flex; flex-direction: column; }
.otx-mas-item { flex-direction: row; align-items: center; justify-content: space-between; text-decoration: none; color: var(--ox-text) !important; }
.otx-mas-item > span { display: flex; flex-direction: column; gap: 2px; }
.otx-mas-item .otx-ico-svg { color: var(--ox-muted); flex-shrink: 0; }
html[data-theme="light"] .otx-app a.otx-mas-item { color: var(--ox-text) !important; }

/* Mapa de puntos */
.otx-mapa-wrap { border-radius: 18px; overflow: hidden; border: 1px solid var(--ox-line); margin-bottom: 14px; position: relative; z-index: 1; }
.otx-mapa { height: 320px; background: #1b1b1b; }
.otx-mapa .otx-mapa-tiles { filter: invert(1) hue-rotate(180deg) brightness(.82) contrast(.9) grayscale(.85); }
html[data-theme="light"] .otx-mapa .otx-mapa-tiles { filter: grayscale(.6) contrast(.95); }
.otx-pin-wrap { background: none; border: 0; }
.otx-pin { position: relative; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: #0c0c0c; border: 3px solid #ebff00; box-shadow: 0 4px 12px rgba(0,0,0,.5); }
.otx-pin::after { content: ""; position: absolute; bottom: -9px; left: 50%; transform: translateX(-50%); border: 6px solid transparent; border-top: 8px solid #ebff00; }
.otx-pin img { width: 24px; height: 24px; object-fit: contain; }
.otx-pin.is-demo { border-color: #8a8a8a; opacity: .85; }
.otx-pin.is-demo::after { border-top-color: #8a8a8a; }
.otx-pop-box .leaflet-popup-content-wrapper { background: #161616; color: #f7f7f7; border-radius: 14px; border: 1px solid #2a2a2a; }
.otx-pop-box .leaflet-popup-tip { background: #161616; }
.otx-pop-box .leaflet-popup-content { margin: 12px 14px; font: 14px/1.4 Inter, sans-serif; }
.otx-pop-box a.leaflet-popup-close-button { color: #a8a8a8; }
.otx-pop strong { display: block; font-size: 15px; margin-bottom: 6px; color: #fff; }
.otx-pop-t { display: block; font-size: 11px; color: #a8a8a8; letter-spacing: 1px; text-transform: uppercase; }
.otx-pop ul { margin: 4px 0 10px; padding: 0; list-style: none; }
.otx-pop li { padding: 3px 0; border-bottom: 1px solid #2a2a2a; }
.otx-pop-nada { margin: 4px 0 10px; color: #a8a8a8; }
.otx-pop-btns { display: flex; gap: 6px; flex-wrap: wrap; }
.otx-pop-btn { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border-radius: 10px; background: linear-gradient(90deg, #f3c61f 0%, #ebff00 100%); color: #0c0c0c !important; font-weight: 800; font-size: 13px; text-decoration: none; }
.otx-pop-btn.is-ghost { background: transparent; border: 1.5px solid #4a4a4a; color: #f7f7f7 !important; }
.otx-pop-demo { font-size: 12px; color: #a8a8a8; align-self: center; }
.otx-mapa .leaflet-control-attribution { background: rgba(12,12,12,.7); color: #a8a8a8; font-size: 10px; }
.otx-mapa .leaflet-control-attribution a { color: #d0d0d0 !important; }
.otx-mapa .leaflet-bar a { background: #161616; color: #f7f7f7 !important; border-color: #2a2a2a; }
.otx-mapa--sel { height: 240px; cursor: crosshair; }

/* Enfoque de la sesión */
.otx-enfoque { display: inline-block; align-self: flex-start; margin-top: 6px; font-size: 11px; font-weight: 700; letter-spacing: .3px; padding: 4px 9px; border-radius: 999px; border: 1px solid var(--ox-yellow); color: var(--ox-yellow); }
.otx-enfoque.is-vacio { border-color: var(--ox-line); color: var(--ox-muted); }
.otx-class-top > div, .otx-prox > span { display: flex; flex-direction: column; }
.otx-copiar { margin-bottom: 10px; }
html[data-theme="light"] .otx-enfoque { color: var(--ox-acc); border-color: #c9d000; }

/* Barra de nivel interactiva */
.otx-nivel-barra { padding: 14px 16px 6px 2px; }
.otx-nivel-pista { position: relative; height: 10px; border-radius: 999px; background: #2a2a2a; }
.otx-nivel-lleno { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 999px; background: var(--ox-grad); }
.otx-nivel-marca { position: absolute; top: 50%; width: 4px; height: 4px; margin-left: -2px; margin-top: -2px; border-radius: 50%; background: #5a5a5a; }
.otx-nivel-marca.is-on { background: #0c0c0c; }
.otx-nivel-perilla { position: absolute; top: 50%; width: 34px; height: 34px; margin: -17px 0 0 -17px; padding: 0; border-radius: 50%; background: #0c0c0c; border: 2.5px solid var(--ox-yellow); display: flex; align-items: center; justify-content: center; cursor: grab; touch-action: none; box-shadow: 0 3px 10px rgba(0,0,0,.45); }
.otx-nivel-perilla:active { cursor: grabbing; transform: scale(1.08); }
.otx-nivel-perilla:focus-visible { outline: 2px solid var(--ox-yellow); outline-offset: 3px; }
.otx-nivel-perilla img { width: 18px; height: 18px; object-fit: contain; pointer-events: none; }
.otx-atleta-card.is-volviendo .otx-nivel-perilla, .otx-atleta-card.is-volviendo .otx-nivel-lleno { transition: left .35s ease, width .35s ease; }
.otx-atleta-card.is-previa { border-color: var(--ox-yellow); }
.otx-fig.is-previa img { animation: otx-previa .3s ease-out; }
@keyframes otx-previa { from { transform: scale(.94); opacity: .4; } to { transform: scale(1); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .otx-fig.is-previa img { animation: none; } }
html[data-theme="light"] .otx-nivel-pista { background: #e3e3dc; }

/* Frase del día */
.otx-frase { margin: 0 0 12px; gap: 8px; }
.otx-frase blockquote { margin: 0; font-size: 17px; line-height: 1.45; font-weight: 600; color: var(--ox-text); }
.otx-frase blockquote::before { content: "“"; color: var(--ox-yellow); font-size: 28px; line-height: 0; vertical-align: -10px; margin-right: 4px; font-weight: 800; }
.otx-frase figcaption { font-size: 12px; color: var(--ox-muted); }

/* Clanes */
.otx-escudo { width: 44px; height: 52px; flex-shrink: 0; }
.otx-escudo.is-off { opacity: .45; filter: grayscale(1); }
.otx-clan .otx-escudo.is-off:first-of-type { align-self: flex-start; }
.otx-clan-top { display: flex; align-items: center; gap: 14px; }
.otx-clan-top > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.otx-clan-top small { color: var(--ox-muted); font-size: 12px; }
.otx-clan-top strong { color: var(--ox-text); font-size: 20px; font-weight: 800; line-height: 1.15; }
.otx-clan-prog { display: flex; flex-direction: column; gap: 6px; }
.otx-clan-prog > span { color: var(--ox-muted); font-size: 13px; }
.otx-clan-prog b { color: var(--ox-text); }
.otx-clan-msg { font-size: 13px; font-weight: 600; line-height: 1.4; padding: 10px 12px; border-radius: 10px; }
.otx-clan-msg.is-ok { background: rgba(235,255,0,.08); color: var(--ox-yellow); border: 1px solid rgba(235,255,0,.25); }
.otx-clan-msg.is-warn { background: #2a1405; color: #ffb37a; border: 1px solid var(--ox-warn); }
.otx-clan.is-riesgo .otx-bar span { background: var(--ox-warn); }
.otx-clan-chip { display: inline-flex; vertical-align: -4px; margin-left: 6px; }
.otx-clan-chip .otx-escudo { width: 15px; height: 18px; }
.otx-rank-clan .otx-escudo { width: 26px; height: 30px; }
.otx-rank-nom small, .otx-rank-pts small { display: block; color: var(--ox-muted); font-size: 11px; font-weight: 500; }
.otx-rank-pts { text-align: right; }
.otx-rank-clan .otx-rank-pts { color: var(--ox-text); font-weight: 800; font-size: 15px; }
.otx-clan-nota { margin: -4px 2px 12px; font-size: 12px; }
.otx-clan-admin .otx-escudo { width: 36px; height: 42px; }
.otx-clan-admin .otx-clan-top strong { font-size: 17px; }
html[data-theme="light"] .otx-clan-msg.is-ok { background: #f6f9d6; color: #4d5600; border-color: #d9e36a; }
html[data-theme="light"] .otx-clan-msg.is-warn { background: #fff1e6; color: #a34300; }

/* Cupones */
.otx-cupon { margin: 4px 0 14px; }
.otx-cupon label { display: block; font-size: 13px; color: var(--ox-muted); margin-bottom: 6px; }
.otx-cupon-fila { display: flex; gap: 8px; }
.otx-cupon-fila input { flex: 1; min-width: 0; min-height: 44px; padding: 0 14px; border-radius: 12px; border: 1px dashed #4a4a4a; background: var(--ox-card); color: var(--ox-text); font: 700 15px Inter, sans-serif; letter-spacing: 1.5px; text-transform: uppercase; }
.otx-cupon-fila .otx-btn { min-height: 44px; }
.otx-cupon-msg { display: block; margin-top: 8px; font-size: 13px; font-weight: 600; }
.otx-cupon-msg.is-ok { color: var(--ox-yellow); }
.otx-cupon-msg.is-err { color: #ffb37a; }
.otx-cupon-tag { display: inline-block; align-self: flex-start; margin-top: 4px; font-size: 11px; font-weight: 800; letter-spacing: 1px; color: var(--ox-yellow); border: 1px dashed var(--ox-yellow); padding: 3px 8px; border-radius: 6px; }
.otx-antes { color: var(--ox-muted); font-weight: 500; font-size: 13px; margin-right: 4px; }
.otx-cortesia strong { font-size: 22px; color: var(--ox-text); }
.otx-cupon-cod { font-size: 17px; letter-spacing: 1.5px; color: var(--ox-text); }
.otx-cupon-usos { text-align: right; color: var(--ox-text); }
.otx-cupon-usos b { display: block; font-size: 20px; }
.otx-cupon-usos small { color: var(--ox-muted); font-size: 11px; }
.otx-cupon-item.is-off { opacity: .55; }
.otx-two-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
html[data-theme="light"] .otx-cupon-msg.is-ok, html[data-theme="light"] .otx-cupon-tag { color: #4d5600; border-color: #9aa600; }
html[data-theme="light"] .otx-cupon-msg.is-err { color: #a34300; }
html[data-theme="light"] .otx-cupon-fila input { border-color: #b8b8b0; }
.otx-amigo-cod { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border: 1px dashed var(--ox-yellow); border-radius: 12px; }
.otx-amigo-cod strong { font-size: 19px; letter-spacing: 2px; color: var(--ox-text); word-break: break-all; }
.otx-amigo .otx-muted b { color: var(--ox-text); }
html[data-theme="light"] .otx-amigo-cod { border-color: #9aa600; }
.otx-amigo .otx-two b, .otx-card .otx-two b.otx-y { font-size: 24px; }

/* Clan: elegir y reglas */
a.otx-clan { text-decoration: none; color: inherit !important; }
.otx-clan-top small { display: block; }
.otx-link-mas { font-size: 13px; font-weight: 700; color: var(--ox-yellow); }
.otx-clan-pasos { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.otx-clan-pasos li { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; font-size: 12px; line-height: 1.3; color: var(--ox-muted); }
.otx-clan-pasos span { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px; background: var(--ox-line); color: var(--ox-text); }
.otx-clan-pasos li.is-ok span { background: var(--ox-grad); color: var(--ox-bg); }
.otx-clan-pasos li.is-ok { color: var(--ox-text); }
.otx-clan-pasos li.is-on span { background: transparent; border: 2px solid var(--ox-yellow); color: var(--ox-yellow); }
.otx-clan-pasos li.is-on { color: var(--ox-yellow); font-weight: 700; }
.otx-clan-reglas ol { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 10px; color: var(--ox-muted); font-size: 14px; line-height: 1.45; }
.otx-clan-reglas strong { color: var(--ox-text); }
.otx-clan-reglas li::marker { color: var(--ox-yellow); font-weight: 800; }
.otx-clan-elegir { gap: 10px; }
.otx-clan-opcion { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1.5px solid var(--ox-line); border-radius: 14px; background: var(--ox-card); cursor: pointer; }
.otx-clan-opcion input { accent-color: #ebff00; width: 18px; height: 18px; flex-shrink: 0; }
.otx-clan-opcion .otx-escudo { width: 34px; height: 40px; }
.otx-clan-opcion span { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.otx-clan-opcion strong { color: var(--ox-text); }
.otx-clan-opcion small { color: var(--ox-muted); font-size: 12px; }
.otx-clan-opcion em { font-style: normal; font-size: 11px; font-weight: 800; color: var(--ox-yellow); }
.otx-clan-opcion:has(input:checked) { border-color: var(--ox-yellow); }
div.otx-clan-msg { margin-bottom: 12px; }
html[data-theme="light"] .otx-link-mas, html[data-theme="light"] .otx-clan-pasos li.is-on, html[data-theme="light"] .otx-clan-opcion em { color: #4d5600; }
html[data-theme="light"] .otx-clan-pasos li.is-on span { border-color: #9aa600; color: #4d5600; }
html[data-theme="light"] .otx-clan-opcion:has(input:checked) { border-color: #9aa600; }

/* Mejoras de uso (v0.25) */
.otx-clave { position: relative; display: block; }
.otx-clave input { padding-right: 52px; }
.otx-ojo { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border: 0; background: transparent; color: var(--ox-muted); display: flex; align-items: center; justify-content: center; cursor: pointer; border-radius: 10px; }
.otx-ojo svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.otx-ojo:hover, .otx-ojo:focus-visible { color: var(--ox-text); }
.otx-clave-msg { display: block; font-size: 13px; font-weight: 600; margin-top: 6px; min-height: 1px; }
.otx-clave-msg.is-ok { color: var(--ox-yellow); }
.otx-clave-msg.is-err { color: #ffb37a; }
.otx-pista { margin: 0 0 8px; font-size: 13px; color: var(--ox-muted); }
.otx-xsem { display: inline-block; align-self: flex-start; margin-top: 2px; font-size: 12px; font-weight: 800; color: var(--ox-bg); background: var(--ox-grad); padding: 3px 9px; border-radius: 999px; }
.otx-three { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; }
.otx-three a { display: block; text-decoration: none; padding: 4px 2px; border-radius: 12px; color: inherit; }
.otx-three a + a { border-left: 1px solid var(--ox-line); border-radius: 0; }
.otx-three small { display: block; font-size: 13px; color: var(--ox-muted); }
.otx-three b { display: block; font-size: 32px; font-weight: 800; line-height: 1.15; color: var(--ox-text); }
.otx-three a:active b { transform: scale(.96); }
.otx-pago-t { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ox-yellow); }
.otx-copia { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.otx-copia .otx-llave-valor { flex: 1; border: 0; padding: 0; margin: 0; gap: 10px; justify-content: flex-start; }
.otx-llave .otx-copia + span { color: var(--ox-text); }
.otx-llave > .otx-copia:last-child { border-top: 1px solid var(--ox-line); padding-top: 10px; margin-top: 4px; }
[data-otx-copiar].is-ok { background: var(--ox-grad); color: var(--ox-bg); }
.otx-premio strong { font-size: 28px; font-weight: 800; }
.otx-asis { gap: 0; padding-top: 6px; padding-bottom: 6px; }
.otx-asis-fila { display: flex; align-items: center; gap: 12px; padding: 10px 0; }
.otx-asis-fila + .otx-asis-fila { border-top: 1px solid var(--ox-line); }
.otx-asis-fila > span:last-child { display: flex; flex-direction: column; }
.otx-asis-fila small { color: var(--ox-muted); font-size: 12px; }
.otx-asis-ok { width: 28px; height: 28px; border-radius: 50%; background: var(--ox-grad); color: var(--ox-bg); display: flex; align-items: center; justify-content: center; font-weight: 800; flex-shrink: 0; }
#saldo, #reservas, #asistidas { scroll-margin-top: 80px; }
html[data-theme="light"] .otx-clave-msg.is-ok, html[data-theme="light"] .otx-pago-t { color: #4d5600; }
html[data-theme="light"] .otx-clave-msg.is-err { color: #a34300; }

/* Reservar varias clases */
.otx-day { position: relative; }
.otx-day-n { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--ox-grad); color: var(--ox-bg); font: 800 11px/20px Inter, sans-serif; font-style: normal; text-align: center; box-shadow: 0 0 0 2px var(--ox-bg); }
.otx-day-n[hidden] { display: none; }
.otx-sel { display: inline-flex; align-items: center; cursor: pointer; }
.otx-sel input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.otx-sel span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; font-weight: 800; font-size: 14px; }
.otx-sel-no { background: var(--ox-grad); color: var(--ox-bg); }
.otx-sel-si { display: none !important; border: 2px solid var(--ox-yellow); color: var(--ox-yellow); }
.otx-sel input:checked ~ .otx-sel-no { display: none; }
.otx-sel input:checked ~ .otx-sel-si { display: inline-flex !important; }
.otx-sel input:focus-visible ~ span { outline: 2px solid var(--ox-yellow); outline-offset: 2px; }
.otx-class.is-sel { border-color: var(--ox-yellow); box-shadow: 0 0 0 1px var(--ox-yellow) inset; }
.otx-multi { position: sticky; bottom: calc(76px + env(safe-area-inset-bottom)); z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 14px 0; padding: 12px 14px; border-radius: 16px; background: var(--ox-card); border: 1px solid var(--ox-line); box-shadow: 0 10px 30px rgba(0,0,0,.45); }
.otx-multi.is-on { border-color: var(--ox-yellow); }
.otx-multi-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.otx-multi-txt strong { color: var(--ox-text); font-size: 15px; }
.otx-multi-txt small { color: var(--ox-muted); font-size: 12px; line-height: 1.3; }
.otx-multi button:disabled { opacity: .45; }
html[data-theme="light"] .otx-sel-si { color: #4d5600; border-color: #9aa600; }
html[data-theme="light"] .otx-multi { box-shadow: 0 10px 30px rgba(0,0,0,.12); }
.otx-days { padding-top: 8px; padding-right: 8px; }

/* Sin subrayados en tarjetas y accesos */
.otx-app a.otx-card, .otx-app a.otx-card *, .otx-app .otx-three a, .otx-app .otx-three a *, .otx-app a.otx-opt, .otx-app a.otx-opt *, .otx-app a.otx-prox, .otx-app a.otx-prox *, .otx-app a.otx-btn, .otx-app .otx-link-mas { text-decoration: none !important; }

/* Bienvenida */
.otx-bienv { gap: 14px; }
.otx-preg { border: 1px solid var(--ox-line); border-radius: 16px; background: var(--ox-card); padding: 14px; margin: 0; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.otx-preg legend { float: left; width: 100%; padding: 0; display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 16px; color: var(--ox-text); }
.otx-preg legend + * { clear: both; }
.otx-preg legend span { width: 26px; height: 26px; border-radius: 50%; background: var(--ox-grad); color: var(--ox-bg); display: inline-flex; align-items: center; justify-content: center; font-size: 13px; flex-shrink: 0; }
.otx-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.otx-opc { position: relative; cursor: pointer; }
.otx-opc input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.otx-opc > span { display: flex; flex-direction: column; justify-content: center; min-height: 42px; padding: 8px 14px; border-radius: 12px; border: 1.5px solid var(--ox-line); color: var(--ox-text); font-weight: 600; font-size: 14px; line-height: 1.2; }
.otx-opc small { font-size: 11px; color: var(--ox-muted); font-weight: 500; margin-top: 2px; }
.otx-chips--num .otx-opc > span { min-width: 46px; align-items: center; }
.otx-opc input:checked + span { border-color: var(--ox-yellow); background: rgba(235,255,0,.1); color: var(--ox-yellow); }
.otx-opc input:checked + span small { color: var(--ox-text); }
.otx-opc input:focus-visible + span { outline: 2px solid var(--ox-yellow); outline-offset: 2px; }
.otx-reco strong { font-size: 24px; color: var(--ox-text); }
.otx-reco-punto.is-top { border-color: var(--ox-yellow); }
.otx-reco-punto .otx-card-top { position: relative; }
.otx-reco-tag { margin-left: auto; align-self: flex-start; font-style: normal; font-size: 11px; font-weight: 800; color: var(--ox-bg); background: var(--ox-grad); padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.otx-prefs strong { color: var(--ox-text); }
html[data-theme="light"] .otx-opc input:checked + span { color: #4d5600; border-color: #9aa600; background: #f6f9d6; }

/* Fecha de corte */
.otx-corte { gap: 10px; }
.otx-corte-t { font-size: 17px; color: var(--ox-text); }
.otx-corte-op { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 1.5px solid var(--ox-line); border-radius: 14px; background: var(--ox-card); cursor: pointer; }
.otx-corte-op input { accent-color: #ebff00; width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; }
.otx-corte-op span { display: flex; flex-direction: column; gap: 4px; }
.otx-corte-op strong { color: var(--ox-text); font-size: 16px; }
.otx-corte-op small { color: var(--ox-muted); font-size: 13px; line-height: 1.35; }
.otx-corte-op small.otx-y { color: var(--ox-yellow); }
.otx-corte-op:has(input:checked) { border-color: var(--ox-yellow); }
.otx-card .otx-corte { margin: 0; }
.otx-saldo-ciclo { font-size: 12px; color: var(--ox-muted); }
html[data-theme="light"] .otx-corte-op small.otx-y { color: #4d5600; }
html[data-theme="light"] .otx-corte-op:has(input:checked) { border-color: #9aa600; }

/* Congelar clases */
.otx-congelado { border-color: #6fd3ff; }
.otx-congelado .otx-atleta-t { color: #6fd3ff; }
.otx-congelado strong { font-size: 22px; color: var(--ox-text); }
.otx-congelar-cta strong { color: var(--ox-text); }
html[data-theme="light"] .otx-congelado, html[data-theme="light"] .otx-congelado .otx-atleta-t { border-color: #0a7fb0; color: #0a7fb0; }
html[data-theme="light"] .otx-congelado strong { color: var(--ox-text); }
.otx-copo { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.otx-copo.is-sm { width: 14px; height: 14px; vertical-align: -2px; }
.otx-congelar-cta { flex-direction: row !important; align-items: center; gap: 14px; }
.otx-congelar-cta > .otx-copo { width: 40px; height: 40px; padding: 8px; border-radius: 12px; color: #6fd3ff; background: rgba(111,211,255,.12); }
.otx-congelar-cta > span { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.otx-congelar-cta.is-off > .otx-copo { color: var(--ox-muted); background: var(--ox-line); }
.otx-h1-fila { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.otx-h1-fila .otx-h1 { margin-bottom: 0; }
.otx-ico-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; border-radius: 999px; border: 1px solid #2c5b6e; color: #6fd3ff !important; text-decoration: none !important; font-size: 13px; font-weight: 700; }
.otx-ico-btn .otx-copo { width: 18px; height: 18px; }
.otx-ico-btn.is-on { background: rgba(111,211,255,.15); border-color: #6fd3ff; }
html[data-theme="light"] .otx-ico-btn, html[data-theme="light"] .otx-congelar-cta > .otx-copo { color: #0a7fb0 !important; border-color: #9fd4ea; }
