/* Challenge Series · portada 363 Sport Club, competencia, tablero público y ficha del atleta.
   El acento (--accent) es el color del club organizador de cada competencia. */
:root {
  --s-bg: #121314;
  --s-bg-deep: #0d0e0f;
  --s-card: #1b1e1f;
  --s-line: #2b2e30;
  --s-line-2: #3a3d40;
  --s-text: #f1f0ea;
  --s-muted: #a2a5a6;
  --accent: #B9E402;
  --accent-ink: #121400;
  --font-anton: 'Anton', 'Impact', 'Haettenschweiler', 'Arial Narrow', sans-serif;
}
body.series { background: var(--s-bg); color: var(--s-text); }
body.series.deep { background: var(--s-bg-deep); }
.series-wrap { max-width: 560px; margin: 0 auto; padding: 22px 24px 32px; }
@media (min-width: 900px) { .series-wrap { max-width: 640px; } }

/* ---------- marca ---------- */
.umbrella-logo { display: block; width: 104px; height: auto; }
.club-logo { display: block; width: 116px; height: auto; }
.club-text { font-weight: 800; font-size: 17px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--s-text); line-height: 1.1; }
.series-footer { border-top: 1px solid var(--s-line); margin-top: 44px; padding-top: 16px; color: var(--s-muted); font-size: 13px; text-align: left; }
.series-footer b { color: var(--s-muted); }
.series-footer.center { text-align: center; font-style: italic; }

/* ---------- portada ---------- */
.series-head { display: -webkit-flex; display: flex; -webkit-justify-content: space-between; justify-content: space-between; -webkit-align-items: center; align-items: center; padding-bottom: 20px; border-bottom: 1px solid var(--s-line); }
.series-city { color: var(--s-muted); font-weight: 700; letter-spacing: 0.04em; font-size: 14px; text-transform: uppercase; }
.series-kicker { color: var(--s-muted); font-weight: 700; font-size: 13px; letter-spacing: 0.03em; text-transform: uppercase; margin-top: 30px; }
.series-title { font-family: var(--font-anton); font-weight: 400; font-size: 84px; font-size: clamp(60px, 19vw, 92px); line-height: 0.92; text-transform: uppercase; margin: 10px 0 26px; }
.series-h2 { font-size: 24px; font-weight: 600; margin: 20px 0; border-top: 1px solid var(--s-line); padding-top: 22px; }
.comp-card { display: -webkit-flex; display: flex; background: var(--s-card); min-height: 150px; margin-bottom: 20px; text-decoration: none; color: inherit; }
.comp-card:hover, .comp-card:focus { outline: 1px solid var(--accent); }
.comp-card .cover { width: 120px; -webkit-flex: none; flex: none; background: #000 center / cover no-repeat; -webkit-filter: grayscale(1); filter: grayscale(1); }
.comp-card .bar { width: 3px; -webkit-flex: none; flex: none; background: var(--accent); }
.comp-card .body { padding: 22px 18px; display: -webkit-flex; display: flex; -webkit-flex-direction: column; flex-direction: column; min-width: 0; }
.comp-card .club { color: var(--accent); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 0.02em; }
.comp-card .name { font-family: var(--font-anton); font-size: 34px; text-transform: uppercase; line-height: 1.05; margin: 6px 0 8px; }
.comp-card .meta { color: var(--s-muted); font-size: 14px; }
.comp-card .more { font-weight: 700; font-size: 14px; margin-top: 10px; }
.portal-empty { color: var(--s-muted); padding: 20px 0; }
.staff-link { color: var(--s-muted); font-size: 12px; float: right; text-decoration: none; }

/* ---------- página de competencia ---------- */
.back-link { color: var(--s-muted); font-weight: 700; text-decoration: none; font-size: 16px; display: inline-block; padding: 6px 0 16px; }
.comp-hero { display: -webkit-flex; display: flex; border-top: 1px solid var(--s-line); border-bottom: 1px solid var(--s-line); padding: 18px 0 24px; }
.comp-hero .left { -webkit-flex: 1; flex: 1; min-width: 0; padding-right: 14px; }
.comp-hero .club-text { font-size: 22px; font-weight: 600; letter-spacing: 0.01em; }
.comp-hero .club-logo { width: 132px; }
.comp-hero .label { color: var(--accent); font-weight: 700; font-size: 12px; letter-spacing: 0.04em; margin: 22px 0 4px; text-transform: uppercase; }
.comp-hero .name { font-family: var(--font-anton); font-size: 54px; font-size: clamp(42px, 14vw, 62px); line-height: 0.98; text-transform: uppercase; }
.comp-hero .tagline { color: var(--s-muted); margin-top: 6px; }
.comp-hero .cover { width: 42%; max-width: 200px; height: 190px; -webkit-flex: none; flex: none; background: #000 center / cover no-repeat; -webkit-filter: grayscale(1); filter: grayscale(1); }
.ed-block + .ed-block { margin-top: 34px; }
.ed-head { display: -webkit-flex; display: flex; -webkit-justify-content: space-between; justify-content: space-between; -webkit-align-items: center; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--s-line); }
.ed-head b { font-size: 18px; }
.ed-head small { display: block; color: var(--s-muted); font-weight: 400; font-size: 13px; margin-top: 2px; }
.ed-head a { color: var(--s-muted); font-weight: 700; text-decoration: none; white-space: nowrap; }
.alias-search { display: block; width: 100%; background: var(--s-card); border: 0; border-radius: 0; color: var(--s-text); padding: 18px 20px; font-size: 16px; margin: 22px 0 6px; min-height: 0; }
.alias-search:focus { outline: 1px solid var(--accent); box-shadow: none; }
.alias-results { list-style: none; margin: 0 0 10px; padding: 0; }
.alias-results a { display: -webkit-flex; display: flex; -webkit-justify-content: space-between; justify-content: space-between; padding: 12px 4px; border-bottom: 1px solid var(--s-line); color: var(--s-text); text-decoration: none; }
.alias-results small { color: var(--s-muted); }
.cls-title { font-size: 25px; font-weight: 600; margin: 22px 0 8px; }
.cls-head { display: -webkit-flex; display: flex; -webkit-justify-content: flex-end; justify-content: flex-end; color: var(--s-muted); font-weight: 700; font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; padding: 8px 0; border-bottom: 1px solid var(--s-line); }
.cls-row { display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; min-height: 66px; border-bottom: 1px solid var(--s-line); color: inherit; text-decoration: none; }
.cls-row .pos { width: 54px; -webkit-flex: none; flex: none; font-family: var(--font-anton); font-size: 28px; color: var(--s-muted); }
.cls-row.top .pos { color: var(--accent); }
.cls-row .alias { -webkit-flex: 1; flex: 1; font-size: 21px; font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cls-row .mark { font-family: var(--font-anton); font-size: 31px; }
.cls-row.private .alias, .cls-row.private .mark { color: var(--s-muted); font-weight: 400; }
.cls-empty { color: var(--s-muted); padding: 18px 0; }
.more-link { display: inline-block; margin-top: 14px; color: var(--s-text); font-weight: 700; text-decoration: none; }
.past-list a { display: block; color: var(--s-muted); padding: 10px 0; border-bottom: 1px solid var(--s-line); text-decoration: none; }

/* ---------- tablero público (maqueta 4) ---------- */
.pb2 { max-width: 560px; margin: 0 auto; padding: 22px 22px 32px; position: relative; overflow: hidden; }
.pb2-hero { position: relative; padding-bottom: 6px; }
.pb2-hero .bg { position: absolute; right: -22px; top: -22px; width: 72%; height: 330px; background: center / cover no-repeat; -webkit-filter: grayscale(1) brightness(0.75); filter: grayscale(1) brightness(0.75); -webkit-mask-image: linear-gradient(to left, #000 35%, transparent); mask-image: linear-gradient(to left, #000 35%, transparent); pointer-events: none; }
.pb2-hero > *:not(.bg) { position: relative; }
.series-label { font-family: var(--font-display); font-style: italic; font-weight: 700; letter-spacing: 0.24em; font-size: 15px; margin-top: 24px; text-transform: uppercase; }
.series-label::after { content: ''; display: block; width: 92px; height: 4px; background: var(--accent); margin-top: 8px; }
.pb2-title { font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 44px; font-size: clamp(36px, 11.5vw, 52px); text-transform: uppercase; line-height: 0.95; margin: 14px 0 6px; }
.pb2-sub { font-size: 17px; font-weight: 500; }
.pb2-meta { font-size: 16px; color: #cfd0d0; margin-top: 8px; }
.pb2-status { display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; margin: 18px 0 20px; font-size: 15px; }
.pb2-status .dates { border-left: 1px solid var(--s-line-2); padding-left: 14px; margin-left: 14px; }
.pb2-status .rules-link { margin-left: auto; color: var(--s-text); text-decoration: none; font-weight: 600; white-space: nowrap; }
.status-chip { display: inline-block; background: var(--accent); color: var(--accent-ink); font-family: var(--font-display); font-style: italic; font-weight: 800; text-transform: uppercase; padding: 3px 14px; -webkit-transform: skewX(-12deg); transform: skewX(-12deg); font-size: 15px; }
.status-chip.closed { background: var(--s-line-2); color: var(--s-text); }
.search2 { position: relative; margin: 6px 0 4px; }
.search2 input { width: 100%; border: 1px solid var(--s-line-2); border-radius: 12px; background: transparent; padding: 14px 14px 14px 46px; font-size: 16px; min-height: 0; color: var(--s-text); }
.search2::before { content: '⌕'; position: absolute; left: 16px; top: 50%; -webkit-transform: translateY(-52%); transform: translateY(-52%); color: var(--s-muted); font-size: 22px; }
.cls2-title { font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 28px; text-transform: uppercase; margin: 26px 0 8px; line-height: 1; }
.cls2-head { display: -webkit-flex; display: flex; -webkit-justify-content: space-between; justify-content: space-between; font-family: var(--font-display); font-style: italic; font-weight: 700; color: #cfd0d0; padding: 10px 0; border-top: 1px solid var(--s-line); border-bottom: 1px solid var(--s-line); text-transform: uppercase; letter-spacing: 0.03em; font-size: 15px; }
.cls2-row { display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; min-height: 62px; border-bottom: 1px solid var(--s-line); text-decoration: none; color: inherit; }
.cls2-row .pos { width: 40px; -webkit-flex: none; flex: none; font-family: var(--font-display); font-weight: 800; font-size: 30px; }
.cls2-row .sep { width: 2px; height: 26px; background: var(--s-text); margin-right: 20px; -webkit-flex: none; flex: none; }
.cls2-row.top .pos { color: var(--accent); }
.cls2-row.top .sep { background: var(--accent); }
.cls2-row .alias { -webkit-flex: 1; flex: 1; font-size: 20px; font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cls2-row .mark { font-family: var(--font-display); font-weight: 800; font-size: 30px; white-space: nowrap; }
.cls2-row.private .alias { color: #b9bbbc; font-weight: 400; }
.cls2-row.private .mark { color: #b9bbbc; }
a.cls2-row:hover .alias, a.cls-row:hover .alias { text-decoration: underline; }
.cat-tabs { display: -webkit-flex; display: flex; margin: 18px 0 0; }
.cat-tabs button { background: transparent; border: 1px solid var(--s-line-2); color: var(--s-muted); border-radius: 999px; padding: 8px 16px; margin-right: 8px; font-weight: 700; cursor: pointer; }
.cat-tabs button.active { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.stat-cards { display: -webkit-flex; display: flex; margin-top: 34px; }
.stat-card { -webkit-flex: 1; flex: 1; border: 1px solid var(--s-line-2); border-radius: 12px; padding: 18px 14px 16px 30px; position: relative; min-width: 0; }
.stat-card + .stat-card { margin-left: 16px; }
.stat-card::before { content: ''; position: absolute; left: 16px; top: 18px; bottom: 22px; width: 3px; background: var(--accent); }
.stat-card .k { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em; }
.stat-card .v { font-family: var(--font-display); font-weight: 800; font-size: 38px; line-height: 1.05; margin-top: 8px; }
.stat-card .s { color: #cfd0d0; font-size: 15px; }
.updated-line { color: var(--s-muted); font-size: 12px; margin-top: 14px; text-align: center; }

/* ---------- ficha del atleta (maqueta 5) ---------- */
.ac-top { display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; -webkit-justify-content: center; justify-content: center; position: relative; min-height: 54px; }
.ac-top .back { position: absolute; left: 0; top: 50%; -webkit-transform: translateY(-50%); transform: translateY(-50%); border: 1px solid var(--s-line-2); border-radius: 12px; padding: 9px 14px; color: var(--s-text); text-decoration: none; font-weight: 600; }
.ac-top .club-logo { width: 100px; }
.ac-top .club-text { font-size: 13px; text-align: center; max-width: 120px; }
.site-chip { display: table; margin: 26px auto 14px; background: var(--accent); color: var(--accent-ink); font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 17px; padding: 3px 22px; -webkit-transform: skewX(-12deg); transform: skewX(-12deg); text-transform: uppercase; }
.ac-alias-row { display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; -webkit-justify-content: space-between; justify-content: space-between; border-bottom: 1px solid var(--s-line); padding-bottom: 12px; }
.ac-alias { font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 48px; font-size: clamp(38px, 12.5vw, 56px); text-transform: uppercase; line-height: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.pill { background: var(--accent); color: var(--accent-ink); border-radius: 999px; padding: 6px 14px; font-weight: 800; text-transform: uppercase; font-size: 14px; white-space: nowrap; }
.pill.closed { background: var(--s-line-2); color: var(--s-text); }
.ac-test { font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 38px; font-size: clamp(30px, 10vw, 44px); text-transform: uppercase; margin-top: 16px; line-height: 1; }
.ac-sub { font-size: 18px; margin-top: 4px; }
.ac-meta { color: var(--s-muted); font-size: 15px; margin-top: 4px; }
.ac-stats { display: -webkit-flex; display: flex; margin: 24px 0 16px; }
.ac-stat .k { font-family: var(--font-display); font-weight: 700; font-size: 17px; text-transform: uppercase; letter-spacing: 0.03em; }
.ac-stat .v { font-family: var(--font-display); font-weight: 800; font-size: 50px; font-size: clamp(40px, 13vw, 58px); line-height: 1; }
.ac-stat:first-child .v { color: var(--accent); }
.ac-stat + .ac-stat { border-left: 1px solid var(--s-line-2); padding-left: 26px; margin-left: 26px; }
.ac-improve { color: var(--accent); font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: 23px; border-bottom: 1px solid var(--s-line); padding-bottom: 18px; }
.ac-improve.flat { color: var(--s-text); }
.ac-hist-title { font-family: var(--font-display); font-weight: 700; font-size: 18px; text-transform: uppercase; letter-spacing: 0.04em; margin: 20px 0 6px; }
.ac-hist { list-style: none; margin: 0; padding: 0; }
.ac-hist li { display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--s-line); }
.ac-hist .ord { width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--s-text); display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; -webkit-justify-content: center; justify-content: center; font-weight: 700; -webkit-flex: none; flex: none; margin-right: 18px; }
.ac-hist .best .ord { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.ac-hist .mk { font-family: var(--font-display); font-weight: 800; font-size: 28px; }
.ac-hist .tag { margin-left: 12px; border: 1px solid var(--accent); color: var(--accent); font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: 12px; padding: 1px 8px; border-radius: 6px; text-transform: uppercase; }
.ac-hist .when { margin-left: auto; color: var(--s-muted); font-size: 15px; white-space: nowrap; }
.ac-actions { display: -webkit-flex; display: flex; margin-top: 30px; }
.ac-actions > * { -webkit-flex: 1; flex: 1; }
.ac-actions > * + * { margin-left: 14px; }
.btn-accent, .btn-outline2 { display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; -webkit-justify-content: center; justify-content: center; min-height: 56px; border-radius: 12px; font-weight: 700; font-size: 18px; text-decoration: none; cursor: pointer; }
.btn-accent { background: var(--accent); color: var(--accent-ink); border: 0; }
.btn-outline2 { background: var(--s-card); color: var(--s-text); border: 1px solid var(--s-line-2); }
.ac-note { text-align: center; color: var(--s-muted); margin-top: 20px; font-size: 14px; }
.share-input { position: absolute; left: -9999px; }

/* Navegadores sin flexbox moderno: los bloques se apilan (siguen siendo legibles). */

/* Los encabezados de la portada y la competencia usan Anton recta (sin la cursiva global de h1/h2/h3). */
body.series .series-title, body.series .comp-card .name, body.series .comp-hero .name, body.series .cls-row .pos, body.series .cls-row .mark {
  font-family: var(--font-anton); font-style: normal; font-weight: 400; letter-spacing: 0.005em;
}
body.series .series-h2, body.series .cls-title {
  font-family: var(--font-body); font-style: normal; text-transform: none; letter-spacing: 0;
}
body.series .series-h2 { font-size: 24px; font-weight: 600; }
body.series .cls-title { font-size: 24px; font-weight: 600; }
body.series .status-chip { white-space: nowrap; }

/* ---------- panel del coach (pantalla 2) ---------- */
main.ch-main { max-width: 560px; }
.ch-hero { position: relative; margin: -16px -16px 0; overflow: hidden; background: var(--s-bg-deep); }
.ch-hero-bg { position: absolute; top: 0; right: 0; bottom: 0; width: 72%; background: #000 center / cover no-repeat; -webkit-filter: grayscale(1); filter: grayscale(1); opacity: 0.85; }
.ch-hero-bg:after { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(90deg, var(--s-bg-deep) 0%, rgba(13,14,15,0.82) 38%, rgba(13,14,15,0.25) 100%); }
.ch-hero-in { position: relative; padding: 18px 18px 16px; }
.ch-hero .ch-club { width: 84px; margin-bottom: 14px; }
.ch-hero .club-text.ch-club { width: auto; font-size: 15px; }
.ch-badge { display: inline-block; background: var(--accent); color: var(--accent-ink); font-family: var(--font-display); font-style: italic; font-weight: 800; text-transform: uppercase; font-size: 13px; padding: 2px 12px; -webkit-transform: skewX(-12deg); transform: skewX(-12deg); }
.ch-title { font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 42px; text-transform: uppercase; line-height: 1; margin: 10px 0 4px; }
.ch-sub { font-size: 15px; margin-bottom: 14px; }
.ch-meta { display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; gap: 18px; margin-top: 10px; }
.ch-meta > div:first-child { padding-right: 18px; border-right: 1px solid var(--s-line-2); }
.ch-meta small { display: block; font-size: 11px; color: var(--s-muted); text-transform: uppercase; font-weight: 700; letter-spacing: 0.05em; }
.ch-meta b { font-weight: 600; }
.ch-status { color: var(--accent); font-weight: 700; text-transform: uppercase; font-size: 13px; }
.ch-status i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: currentColor; margin-right: 6px; vertical-align: 1px; }
.ch-status.scheduled, .ch-status.finished { color: var(--warn, #ffb020); }
.ch-status.closed, .ch-status.draft { color: var(--s-muted); }
.ch-dates span + span { padding-left: 18px; border-left: 1px solid var(--s-line-2); }
.ch-dates span:first-child { padding-right: 0; border: 0; }
.ch-rules { border-top: 1px solid var(--s-line); border-bottom: 1px solid var(--s-line); margin: 4px 0 0; }
.ch-rules > summary { list-style: none; cursor: pointer; display: -webkit-flex; display: flex; -webkit-justify-content: space-between; justify-content: space-between; padding: 14px 2px; font-weight: 600; }
.ch-rules > summary::-webkit-details-marker { display: none; }
.ch-rules > summary .chev { font-size: 20px; line-height: 1; }
.ch-rules[open] > summary .chev { -webkit-transform: rotate(90deg); transform: rotate(90deg); }
.ch-rules > :not(summary) { padding-bottom: 14px; }
.ch-actions { margin: 16px 0; }
.ch-register { display: -webkit-flex; display: flex; -webkit-justify-content: center; justify-content: center; -webkit-align-items: center; align-items: center; gap: 14px; position: relative; width: 100%; min-height: 58px; border: 0; border-radius: 10px; background: #f4f4ef; color: #111; font-family: var(--font-display); font-weight: 800; font-size: 22px; text-transform: uppercase; cursor: pointer; }
.ch-register .arrow { color: var(--accent); font-size: 26px; position: absolute; right: 20px; }
.ch-register:disabled { opacity: 0.45; cursor: not-allowed; }
.ch-register:active:not(:disabled) { -webkit-transform: translateY(1px); transform: translateY(1px); }
.ch-pending { border: 1px solid var(--warn, #ffb020); background: rgba(255,176,32,0.08); }
.ch-pending b { color: var(--warn, #ffb020); display: block; }
.ch-stats { display: -webkit-flex; display: flex; gap: 10px; margin: 16px 0 6px; }
.ch-stat { -webkit-flex: 1; flex: 1; min-width: 0; border: 1px solid var(--s-line-2); border-radius: 10px; padding: 12px 12px 10px; }
.ch-stat .label { font-size: 11px; font-weight: 700; color: var(--s-muted); text-transform: uppercase; letter-spacing: 0.03em; }
.ch-stat .value { font-family: var(--font-display); font-weight: 800; font-size: 34px; line-height: 1.1; margin-top: 4px; }
.ch-stat .sub { color: var(--s-muted); font-size: 13px; }

/* ---------- hoja de registro (pantalla 3) ---------- */
.sheet-brand .sheet-head { -webkit-align-items: center; align-items: center; }
.reg-brand { display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; gap: 10px; -webkit-flex: 1; flex: 1; min-width: 0; }
.reg-brand .reg-club { width: 64px; }
.reg-brand .club-text.reg-club { width: auto; font-size: 13px; }
.reg-brand > span { font-size: 11px; color: var(--s-muted); }
.sheet-brand > h2 { font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 34px; margin: 10px 0 6px; }
.reg-context { padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid var(--s-line); }
.reg-context b { font-size: 16px; }
.reg-person { display: -webkit-flex; display: flex; -webkit-align-items: flex-start; align-items: flex-start; -webkit-justify-content: space-between; justify-content: space-between; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--s-line); }
.reg-alias { display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; gap: 8px; }
.reg-alias b { font-family: var(--font-display); font-size: 26px; font-weight: 800; }
.reg-chip { background: var(--accent); color: var(--accent-ink); font-size: 11px; font-weight: 700; padding: 1px 6px; border-radius: 3px; }
.reg-usage { font-size: 13px; margin: 10px 0; }
.reg-boxes { display: grid; gap: 10px; }
.reg-box { display: -webkit-flex; display: flex; -webkit-flex-direction: column; flex-direction: column; -webkit-align-items: center; align-items: center; gap: 6px; color: var(--s-muted); font-size: 13px; }
.reg-box .mark-input { width: 100%; height: 70px; text-align: center; font-family: var(--font-display); font-weight: 800; font-size: 34px; border-radius: 10px; border: 1px solid var(--s-line-2); background: #111; }
.reg-box .mark-input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.reg-preview { display: -webkit-flex; display: flex; -webkit-justify-content: space-between; justify-content: space-between; -webkit-align-items: center; align-items: center; border-top: 1px solid var(--s-line); border-bottom: 1px solid var(--s-line); margin: 14px 0 6px; padding: 10px 6px; }
.reg-preview .label { font-size: 13px; font-weight: 700; text-transform: uppercase; color: var(--s-muted); }
.reg-preview-value { font-family: var(--font-display); font-weight: 800; font-size: 40px; color: var(--accent); }
.reg-confirm { margin-top: 10px; }
.reg-note { margin: 10px 0; }
.reg-rules { border: 1px solid var(--s-line-2); border-radius: 10px; padding: 0 12px; }
.reg-rules > summary { padding: 12px 0; }
.ch-rules > summary { color: var(--s-text); }
.cover-preview img { display:block; width: 100%; max-width: 320px; aspect-ratio: 16/10; object-fit: cover; filter: grayscale(1); border-radius: 8px; margin: 6px 0; } .admin-club.club-logo { width: 110px; }

/* Miniatura junto al alias (estilo lista de perfiles): foto autorizada, iniciales o indicador anónimo. */
.avatar { width: 40px; height: 40px; border-radius: 50%; -webkit-flex: none; flex: none; margin-right: 12px; overflow: hidden; display: -webkit-inline-flex; display: inline-flex; -webkit-align-items: center; align-items: center; -webkit-justify-content: center; justify-content: center; background: #24282a; color: var(--s-text); }
.avatar.photo { object-fit: cover; display: block; background: #24282a; box-shadow: 0 0 0 1px rgba(255,255,255,0.12); }
.avatar.initials { font-weight: 700; font-size: 14px; letter-spacing: 0.02em; box-shadow: inset 0 0 0 1.5px var(--accent); }
.avatar.anon { background: #1d2022; box-shadow: inset 0 0 0 1px var(--s-line-2); }
.avatar.anon svg { width: 22px; height: 22px; fill: none; stroke: #8d9091; stroke-width: 1.8; stroke-linecap: round; }
.cls2-row .sep { margin-right: 14px; }
.cls2-row .pos { width: 34px; }
@media (max-width: 380px) { .avatar { width: 34px; height: 34px; margin-right: 9px; } .cls2-row .alias { font-size: 18px; } }
.logo-previews { display: -webkit-flex; display: flex; gap: 8px; margin: 6px 0; }
.logo-prev { -webkit-flex: 1; flex: 1; height: 96px; border-radius: 10px; display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; -webkit-justify-content: center; justify-content: center; padding: 10px; }
.logo-prev img { max-width: 100%; max-height: 100%; object-fit: contain; }
.logo-prev.dark { background: #0d0e0f; border: 1px solid #2b2e30; }
.logo-prev.light { background: #f1f0ea; }
.logo-prev.text { color: #f1f0ea; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; max-width: 240px; }

/* ---------- prueba en vivo · celular del coach ---------- */
.ch-actions .ch-register + .ch-register { margin-top: 10px; }
.ch-register.ch-live { background: var(--accent); color: var(--accent-ink); text-decoration: none; }
.ch-register.ch-live .arrow { color: #d00; font-size: 18px; }
.ch-register.ch-secondary { background: transparent; color: var(--s-text); border: 1px solid var(--s-line-2); min-height: 50px; font-size: 18px; }
main.lv-main { max-width: 560px; padding-bottom: 60px; }
.lv-head h1 { font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 30px; margin: 2px 0; }
.lv-kicker { color: var(--accent); font-weight: 700; text-transform: uppercase; font-size: 12px; letter-spacing: 0.05em; }
.lv-net { margin: 10px 0; }
.lv-sync { color: var(--s-muted); font-size: 13px; margin: 8px 0; }
.lv-clock-wrap { text-align: center; margin: 14px 0 10px; }
.lv-clock { font-family: var(--font-display); font-weight: 800; font-size: 76px; line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: 0.01em; }
.lv-clock-label { color: var(--s-muted); text-transform: uppercase; font-weight: 700; font-size: 13px; letter-spacing: 0.06em; }
.lv-big { display: block; width: 100%; min-height: 84px; border: 0; border-radius: 14px; font-family: var(--font-display); font-weight: 800; font-size: 26px; text-transform: uppercase; cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; user-select: none; -webkit-user-select: none; }
.lv-big:active { transform: translateY(1px); filter: brightness(0.92); }
.lv-big:disabled { opacity: 0.4; }
.lv-go, .lv-prepare { background: var(--accent); color: var(--accent-ink); }
.lv-finish { background: #f4f4ef; color: #111; }
.lv-rep { background: var(--accent); color: var(--accent-ink); }
.lv-start { margin: 6px 0 14px; }
.lv-rows { display: flex; flex-direction: column; gap: 10px; }
/* Alto fijo por fila: al detener a un atleta los demás botones no se mueven. */
.lv-row { height: 168px; border: 1px solid var(--s-line-2); border-radius: 14px; padding: 10px 12px; display: flex; flex-direction: column; overflow: hidden; background: #111314; }
.lv-row-head { display: flex; gap: 8px; align-items: baseline; flex-wrap: nowrap; white-space: nowrap; overflow: hidden; }
.lv-row-head b { font-size: 20px; }
.lv-ref { margin-left: auto; color: var(--s-muted); font-size: 13px; }
.lv-row-body { flex: 1; display: flex; align-items: center; gap: 8px; margin-top: 8px; min-height: 0; }
.lv-row-body .lv-big { flex: 1; min-height: 0; height: 100%; }
.lv-more { width: 44px; height: 100%; border-radius: 12px; border: 1px solid var(--s-line-2); background: transparent; color: var(--s-muted); font-size: 22px; }
.lv-count { font-family: var(--font-display); font-weight: 800; font-size: 54px; min-width: 70px; text-align: center; font-variant-numeric: tabular-nums; }
.lv-undo { height: 100%; }
.lv-final { display: flex; flex-direction: column; min-width: 120px; }
.lv-final b { font-family: var(--font-display); font-weight: 800; font-size: 34px; font-variant-numeric: tabular-nums; }
.lv-final small { color: #ffb020; font-weight: 600; }
.lv-judge { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.lv-judge .btn { min-height: 44px; }
.lv-done b { font-family: var(--font-display); font-size: 28px; color: var(--accent); }
.lv-done, .lv-closed { flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; }
.lv-closed b { font-size: 22px; color: var(--s-muted); }
.lv-new { width: 100%; margin-top: 14px; min-height: 54px; }
.lv-prep h2 { margin-top: 18px; }
.lv-prep-list { display: flex; flex-direction: column; gap: 8px; margin: 12px 0; }
.lv-prep-row { display: flex; align-items: center; gap: 10px; border: 1px solid var(--s-line-2); border-radius: 12px; padding: 10px 12px; }
.lv-prep-row b { font-size: 18px; flex: 1; }
.lv-prep-row select { max-width: 55%; }
.lv-netbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; pointer-events: none; padding: 0 12px 12px; }
.lv-netbar > * { max-width: 536px; margin: 0 auto; pointer-events: auto; box-shadow: 0 6px 24px rgba(0,0,0,0.5); }
.lv-netbar .lv-sync { background: #1b1e1f; border: 1px solid #3a3d40; border-radius: 99px; padding: 6px 14px; width: max-content; }
.lv-rep { display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
.lv-big-main { font-size: 30px; }
.lv-big-sub { font-size: 15px; font-family: var(--font-body); font-weight: 700; text-transform: none; margin-top: 6px; opacity: 0.8; }
