/* Padel Rank · Manual · Sección Torneos (portada + páginas por formato).
   Generado junto a scripts/torneos_web/gen_seccion.py; colores de la marca. */
.tx-crumb { display:flex; flex-wrap:wrap; gap:6px 10px; align-items:center; margin-bottom:14px; font-size:12px; font-weight:800; letter-spacing:1.2px; text-transform:uppercase; }
.tx-crumb a { color:var(--lime); }
.tx-crumb span { color:var(--faint); }
.tx-tag { display:inline-block; font-size:11.5px; font-weight:800; letter-spacing:.4px; color:#0E1F00; background:linear-gradient(135deg,#B6E168,#5DBB3A); border-radius:999px; padding:4px 11px; margin-top:16px; }

.tx-fnav { display:flex; gap:8px; flex-wrap:wrap; margin:26px 0 0; }
/* La regla `nav` de la cabecera (sticky, fondo, borde) no aplica a la barra de formatos. */
.tx-fnav { position:static; z-index:auto; backdrop-filter:none; -webkit-backdrop-filter:none; background:none; border:0; padding:0; }
@media (max-width:600px) { .tx-fnav { flex-wrap:nowrap; overflow-x:auto; scrollbar-width:none; -webkit-overflow-scrolling:touch; padding-bottom:4px; } .tx-fnav::-webkit-scrollbar { display:none; } .tx-fnav a { flex:none; } }
.tx-fnav a { display:inline-flex; align-items:center; gap:7px; font-size:13px; font-weight:800; color:var(--muted); border:1px solid var(--line); background:var(--bg-2); padding:7px 13px; border-radius:999px; }
.tx-fnav a svg { width:15px; height:15px; }
.tx-fnav a:hover { color:var(--lime); border-color:rgba(157,197,84,.45); }
.tx-fnav a.on { color:#0E1F00; background:linear-gradient(135deg,#B6E168,#5DBB3A); border-color:transparent; box-shadow:0 6px 18px -6px rgba(182,225,104,.7); }

.tx-p { font-size:15px; color:var(--muted); max-width:760px; margin:14px 0 0; }
.tx-p b, .tx-ul b, .tx-ol b, .tx-note b, .tx-card p b { color:var(--text); }
.tx-ul, .tx-ol { margin:16px 0 0; padding:0; list-style:none; display:flex; flex-direction:column; gap:10px; max-width:780px; }
.tx-ul li { position:relative; padding-left:26px; font-size:14.5px; color:var(--muted); }
.tx-ul li::before { content:''; position:absolute; left:4px; top:8px; width:9px; height:9px; border-radius:3px; background:linear-gradient(135deg,#B6E168,#5DBB3A); }
.tx-ol { counter-reset:tx; }
.tx-ol li { counter-increment:tx; display:flex; gap:12px; align-items:center; font-size:14.5px; color:var(--muted); background:var(--bg-2); border:1px solid var(--line); border-radius:14px; padding:10px 14px; }
.tx-ol li::before { content:counter(tx); flex:none; width:26px; height:26px; border-radius:9px; display:grid; place-items:center; font-family:'Space Grotesk',sans-serif; font-weight:800; font-size:14px; color:#0E1F00; background:linear-gradient(135deg,#B6E168,#5DBB3A); }
.tx-note { margin:16px 0 0; font-size:14px; color:var(--muted); border-left:3px solid var(--lime-deep); padding:6px 0 6px 14px; max-width:760px; }
.tx-when { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin-top:18px; }
@media (max-width:760px){ .tx-when { grid-template-columns:1fr; } }
.tx-when div { background:var(--bg-3); border:1px solid var(--line); border-radius:16px; padding:14px 16px; font-size:14px; color:var(--muted); }
.tx-when div b { color:var(--text); }

/* Tablas */
.tx-tw { margin-top:18px; overflow-x:auto; -webkit-overflow-scrolling:touch; border:1px solid var(--line); border-radius:16px; background:var(--bg-2); }
.tx-t { width:100%; border-collapse:collapse; font-size:13.5px; font-variant-numeric:tabular-nums; }
.tx-t th { text-align:left; font-size:10.5px; letter-spacing:.8px; text-transform:uppercase; color:var(--lime); font-weight:800; padding:11px 12px; border-bottom:1px solid var(--line); white-space:nowrap; }
.tx-t td { padding:9px 12px; border-bottom:1px solid var(--line); color:var(--text); white-space:nowrap; }
.tx-t tr:last-child td { border-bottom:0; }
.tx-t td.m { color:var(--muted); }
.tx-plan { display:inline-block; font-size:10px; font-weight:900; letter-spacing:.06em; border-radius:99px; padding:2px 8px; }
.tx-plan.free { color:#0E1F00; background:#B6E168; }
.tx-plan.pro { color:#2A1A02; background:linear-gradient(135deg,#F6D682,#D9A53A); }
@media (max-width:560px){ .tx-t { font-size:12.5px; } .tx-t th, .tx-t td { padding:8px 8px; } }

/* Comparativa (portada): tabla en escritorio, tarjetas en móvil */
.tx-cmp { width:100%; border-collapse:collapse; font-size:13.5px; }
.tx-cmp th { text-align:left; font-size:10.5px; letter-spacing:.8px; text-transform:uppercase; color:var(--lime); font-weight:800; padding:11px 12px; border-bottom:1px solid var(--line); }
.tx-cmp td { padding:12px; border-bottom:1px solid var(--line); color:var(--muted); vertical-align:top; }
.tx-cmp tr:last-child td { border-bottom:0; }
.tx-cmp td:first-child a { font-weight:800; color:var(--text); display:inline-flex; gap:8px; align-items:center; }
.tx-cmp td:first-child a svg { width:18px; height:18px; color:var(--lime); flex:none; }
.tx-cmp td.pro { color:var(--gold); }
@media (max-width:820px){
  .tx-cmpw { border:0; background:none; overflow:visible; }
  .tx-cmp, .tx-cmp tbody, .tx-cmp tr, .tx-cmp td { display:block; width:100%; }
  .tx-cmp thead { display:none; }
  .tx-cmp tr { background:var(--bg-3); border:1px solid var(--line); border-radius:16px; padding:6px 14px; margin-bottom:12px; }
  .tx-cmp td { border:0; padding:6px 0; display:grid; grid-template-columns:96px minmax(0,1fr); gap:10px; }
  .tx-cmp td::before { content:attr(data-l); font-size:10px; font-weight:800; letter-spacing:.7px; text-transform:uppercase; color:var(--lime); padding-top:2px; }
  .tx-cmp td:first-child { display:block; font-size:16px; padding:8px 0 4px; }
  .tx-cmp td:first-child::before { display:none; }
}

/* Tarjetas de formato */
.tx-cards { display:grid; grid-template-columns:repeat(2,1fr); gap:14px; margin-top:22px; }
@media (max-width:760px){ .tx-cards { grid-template-columns:1fr; } }
.tx-card { display:flex; flex-direction:column; gap:8px; background:var(--bg-3); border:1px solid var(--line); border-radius:18px; padding:20px 18px; color:var(--text); transition:border-color .15s, transform .15s; min-width:0; }
.tx-card:hover { border-color:rgba(157,197,84,.5); transform:translateY(-2px); color:var(--text); }
.tx-card .ic { width:40px; height:40px; border-radius:12px; display:grid; place-items:center; background:linear-gradient(135deg,#B6E168,#5DBB3A); color:#0E1F00; }
.tx-card .ic svg { width:22px; height:22px; }
.tx-card .tg { font-size:11px; font-weight:800; letter-spacing:.4px; text-transform:uppercase; color:var(--lime); }
.tx-card h3 { font-size:17px; font-weight:800; }
.tx-card p { font-size:14px; color:var(--muted); }
.tx-card .go { margin-top:auto; padding-top:8px; font-size:13.5px; font-weight:800; color:var(--lime); }

.tx-vs { display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-top:20px; }
@media (max-width:700px){ .tx-vs { grid-template-columns:1fr; } }
.tx-vs > div { background:var(--bg-3); border:1px solid var(--line); border-radius:18px; padding:18px; }
.tx-vs > div.t { border-color:rgba(242,193,78,.45); background:linear-gradient(180deg,rgba(242,193,78,.07),var(--bg-3)); }
.tx-vs h3 { font-family:'Space Grotesk',sans-serif; font-size:19px; font-weight:800; margin-bottom:4px; }
.tx-vs > div.t h3 { color:#F2C14E; }

/* Casos especiales */
.tx-sp { display:grid; grid-template-columns:repeat(2,1fr); gap:12px; margin-top:18px; }
@media (max-width:760px){ .tx-sp { grid-template-columns:1fr; } }
.tx-sp div { background:var(--bg-2); border:1px solid var(--line); border-radius:14px; padding:14px 16px; min-width:0; }
.tx-sp h4 { font-size:14.5px; font-weight:800; margin-bottom:4px; }
.tx-sp p { font-size:13.5px; color:var(--muted); }
.tx-sp p b { color:var(--text); }

/* Bloque «Llega en la 2.1.2» (quitar al publicar: data-soon) */
.tx-soon { margin-top:22px; border:1px dashed rgba(242,193,78,.6); background:linear-gradient(180deg,rgba(242,193,78,.08),rgba(13,27,11,.6)); border-radius:18px; padding:18px 18px 16px; }
.tx-soon .bd { display:inline-block; font-size:10.5px; font-weight:900; letter-spacing:.08em; text-transform:uppercase; color:#2A1A02; background:linear-gradient(135deg,#F6D682,#D9A53A); border-radius:99px; padding:3px 10px; }
.tx-soon h3 { font-family:'Space Grotesk',sans-serif; font-size:20px; font-weight:800; margin:10px 0 2px; }
.tx-soon .tx-ul li::before { background:#F2C14E; }

/* Vídeo */
.tx-video { display:flex; gap:20px; align-items:center; flex-wrap:wrap; margin-top:18px; background:var(--bg-3); border:1px solid var(--line); border-radius:18px; padding:14px; }
.tx-video .th { position:relative; flex:0 1 320px; min-width:0; width:100%; aspect-ratio:16/9; border-radius:12px; overflow:hidden; background:#000; display:block; }
.tx-video .th img { width:100%; height:100%; object-fit:cover; display:block; }
.tx-video .th span { position:absolute; inset:0; display:grid; place-items:center; }
.tx-video .th span i { width:56px; height:56px; border-radius:50%; background:linear-gradient(135deg,#B6E168,#5DBB3A); display:grid; place-items:center; color:#0E1F00; box-shadow:0 8px 26px rgba(0,0,0,.5); }
.tx-video .th span svg { width:24px; height:24px; margin-left:3px; }
.tx-video .tx { flex:1 1 240px; min-width:0; }
.tx-video h3 { font-size:17px; font-weight:800; margin-bottom:6px; }
.tx-video p { font-size:14px; color:var(--muted); }
.tx-video .lk { display:flex; gap:14px; flex-wrap:wrap; margin-top:10px; font-size:13.5px; font-weight:800; }

.tx-chips { display:flex; flex-wrap:wrap; gap:8px; margin:-4px 0 16px; }
.tx-chips a { font-size:12.5px; font-weight:800; color:#9DC554; border:1px solid rgba(157,197,84,.35); border-radius:999px; padding:6px 12px; text-decoration:none; }

/* ── Animaciones ─────────────────────────────────────────────────────── */
.tn-anim { margin-top:20px; background:radial-gradient(120% 60% at 50% 0%,rgba(182,225,104,.08),transparent 60%),#081304; border:1px solid #264018; border-radius:22px; padding:14px; color:#EAF3DF; min-width:0; }
.tn-anim .tn-noscript { font-size:13px; color:var(--muted); }
.tn-anim.ready .tn-noscript { display:none; }
.tn-anim-modes { position:relative; display:inline-flex; flex-wrap:wrap; gap:4px; background:#0E1F00; border:1px solid #264018; border-radius:20px; padding:4px; margin-bottom:10px; max-width:100%; }
.tn-anim-modes button { font:800 13px/1.2 'Inter',sans-serif; color:#C7D6B4; background:none; border:0; border-radius:99px; padding:8px 14px; cursor:pointer; display:inline-flex; gap:6px; align-items:center; }
.tn-anim-modes button.on { background:linear-gradient(135deg,#B6E168,#5DBB3A); color:#0E1F00; box-shadow:0 6px 16px -6px rgba(182,225,104,.7); }
.tn-soon-tag { font-size:9px; font-weight:900; letter-spacing:.05em; text-transform:uppercase; color:#2A1A02; background:#F2C14E; border-radius:99px; padding:2px 6px; }
.tn-anim-head { font-family:'Space Grotesk',sans-serif; font-weight:800; font-size:17px; margin:2px 2px 10px; min-height:22px; }
.tn-anim-ctrl { display:flex; align-items:center; gap:8px; margin-top:12px; flex-wrap:wrap; }
.tn-btn { width:40px; height:40px; border-radius:50%; border:1px solid #3A5A1A; background:#0E1F00; color:#EAF3DF; display:grid; place-items:center; cursor:pointer; padding:0; }
.tn-btn svg { width:18px; height:18px; }
.tn-btn.main { background:linear-gradient(135deg,#B6E168,#5DBB3A); color:#0E1F00; border-color:transparent; }
.tn-btn:focus-visible, .tn-anim-modes button:focus-visible { outline:2px solid #F2C14E; outline-offset:2px; }
.tn-dots { display:flex; gap:5px; margin-left:6px; flex-wrap:wrap; }
.tn-dots i { width:8px; height:8px; border-radius:50%; background:#264018; }
.tn-dots i.done { background:#5DBB3A; }
.tn-dots i.on { background:#B6E168; box-shadow:0 0 8px #B6E168; }
.tn-anim-rm { font-size:12.5px; color:#A9BC95; margin-top:8px; }
.tn-anim-cap { font-size:12.5px; color:var(--faint); margin-top:10px; }
.tn-steps { margin-top:12px; }
.tn-steps summary { cursor:pointer; font-size:13.5px; font-weight:800; color:var(--lime); padding:6px 0; }
.tn-steps ol { margin:8px 0 0 18px; display:flex; flex-direction:column; gap:8px; font-size:13px; color:var(--muted); }
.tn-steps ol li b { color:var(--text); }

/* Pistas */
.tn-world { position:absolute; left:0; top:0; transform-origin:0 0; }
.tn-pz-box { position:relative; width:100%; max-width:400px; margin:0 auto; overflow:hidden; }
.tn-court { position:absolute; left:0; width:300px; height:100px; border-radius:6px; background:radial-gradient(120% 90% at 50% 50%,#1E4722,#17391B); box-shadow:inset 0 0 0 2px rgba(200,230,255,.16),0 10px 24px -10px #000; }
.tn-court svg { position:absolute; inset:0; width:100%; height:100%; }
.tn-court.queen { background:radial-gradient(120% 90% at 50% 50%,#3b3412,#241f08); box-shadow:inset 0 0 0 2px rgba(242,193,78,.75),0 0 30px -6px rgba(242,193,78,.5); }
.tn-ctag { position:absolute; left:0; top:-17px; font:800 9.5px/1 'Inter',sans-serif; letter-spacing:1px; text-transform:uppercase; color:#A9BC95; display:flex; gap:4px; align-items:center; white-space:nowrap; }
.queen .tn-ctag { left:50%; top:-22px; transform:translateX(-50%); padding:4px 9px; border-radius:99px; background:linear-gradient(180deg,#4a3d0e,#2a2207); box-shadow:0 0 0 1px rgba(242,193,78,.7); color:#F2C14E; }
.tn-ctag .cr svg { width:14px; height:9px; display:block; color:#F2C14E; position:static; }
.tn-score { position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); padding:3px 8px; border-radius:99px; background:rgba(5,10,3,.9); border:1px solid #3A5A1A; font:800 14px/1 'JetBrains Mono',monospace; z-index:3; opacity:0; transition:opacity .3s; white-space:nowrap; text-align:center; }
.tn-score em { display:block; font:900 7.5px/1.2 'Inter',sans-serif; letter-spacing:.08em; text-transform:uppercase; color:#F2C14E; font-style:normal; margin-top:2px; }
.tn-pl { position:absolute; left:0; top:0; width:24px; height:24px; border-radius:50%; display:grid; place-items:center; font:800 10px/1 'Inter',sans-serif; color:#EAF3DF; background:radial-gradient(circle at 35% 30%,#3a4a36,#1a2417); box-shadow:0 0 0 2px rgba(234,243,223,.75),0 4px 8px rgba(0,0,0,.6); z-index:4; will-change:transform; }
.tn-pl.up { background:radial-gradient(circle at 35% 30%,#d6f59a,#4c9f2a); color:#14290A; box-shadow:0 0 0 2px #B6E168,0 0 12px 1px rgba(182,225,104,.75); }
.tn-pl.down { background:radial-gradient(circle at 35% 30%,#ff9a8f,#b8352b); color:#fff; box-shadow:0 0 0 2px #E5574B,0 0 12px 1px rgba(229,87,75,.7); }
.tn-pl.crown { background:radial-gradient(circle at 35% 30%,#ffe08a,#c98a1b); color:#3a2604; box-shadow:0 0 0 2px #F2C14E,0 0 12px 1px rgba(242,193,78,.75); }
.tn-pl.stay { background:radial-gradient(circle at 35% 30%,#5b6657,#2a3327); box-shadow:0 0 0 2px #A9BC95; }
.tn-pl.hero { background:radial-gradient(circle at 35% 30%,#9be0ff,#1f7fe0); color:#fff; box-shadow:0 0 0 2.5px #EAF3DF,0 0 16px 3px rgba(62,168,255,.85); z-index:6; }
.tn-pl.hero.up { box-shadow:0 0 0 3px #B6E168,0 0 16px 3px rgba(62,168,255,.85); }
.tn-pl.hero.down { box-shadow:0 0 0 3px #E5574B,0 0 16px 3px rgba(62,168,255,.85); }
.tn-pl.hero.crown { box-shadow:0 0 0 3px #F2C14E,0 0 16px 3px rgba(62,168,255,.85); }
.tn-tag { position:absolute; transform:translateX(-50%); white-space:nowrap; font:800 9px/1 'Inter',sans-serif; padding:3px 6px; border-radius:99px; background:rgba(5,10,3,.82); z-index:5; display:flex; gap:3px; align-items:center; max-width:146px; }
.tn-tag .n { overflow:hidden; text-overflow:ellipsis; }
.tn-tag .ar svg { width:9px; height:9px; display:block; }
.tn-tag.hero { background:#2f8ff0; color:#fff; }
.tn-tag.up .ar, .tn-tag.up { box-shadow:0 0 0 1px #B6E168; } .tn-tag.up .ar { color:#B6E168; box-shadow:none; }
.tn-tag.down { box-shadow:0 0 0 1px #E5574B; } .tn-tag.down .ar { color:#FF7A6E; }
.tn-tag.crown { box-shadow:0 0 0 1px #F2C14E; } .tn-tag.crown .ar { color:#F2C14E; } .tn-tag.crown .ar svg { width:12px; height:8px; }
.tn-tag.stay .ar { color:#A9BC95; }
.tn-ball { position:absolute; left:0; top:0; width:6px; height:6px; margin:-3px 0 0 -3px; border-radius:50%; background:#E9FF5A; box-shadow:0 0 8px #E9FF5A; z-index:6; opacity:0; }
.tn-crown { position:absolute; left:0; top:0; width:36px; height:23px; color:#F2C14E; z-index:8; filter:drop-shadow(0 0 10px rgba(242,193,78,.9)); opacity:0; }
.tn-crown svg { width:100%; height:100%; display:block; }

/* Pozo: escenario + panel */
.tn-pz, .tn-am { display:grid; grid-template-columns:minmax(0,400px) minmax(0,1fr); gap:24px; align-items:start; }
@media (max-width:720px){ .tn-pz, .tn-am { grid-template-columns:minmax(0,1fr); } }
.tn-side { display:flex; flex-direction:column; gap:12px; min-width:0; }
.tn-side-k { font-family:'Space Grotesk',sans-serif; font-weight:800; font-size:22px; color:#B6E168; }
.tn-side-s { font-size:13.5px; color:#C7D6B4; margin-top:-8px; }
.tn-clock { font:700 34px/1 'JetBrains Mono',monospace; color:#B6E168; letter-spacing:1px; }
.tn-clock.low { color:#E5574B; }
.tn-clock.off { color:#3A5A1A; }
.tn-legend { display:flex; flex-wrap:wrap; gap:6px; }
.tn-legend .lg { display:inline-flex; align-items:center; gap:5px; font-size:11.5px; font-weight:800; padding:4px 9px; border-radius:99px; background:#0E1F00; border:1px solid #264018; }
.tn-legend .lg svg { width:11px; height:11px; }
.tn-legend .up { color:#B6E168; } .tn-legend .down { color:#FF7A6E; } .tn-legend .stay { color:#A9BC95; } .tn-legend .crown { color:#F2C14E; } .tn-legend .crown svg { width:14px; height:9px; }
.tn-legend .hero { color:#9be0ff; } .tn-legend .hero i { width:10px; height:10px; border-radius:50%; background:#1f7fe0; box-shadow:0 0 6px #3ea8ff; }
.tn-path { background:#0E1F00; border:1px solid #264018; border-radius:14px; padding:10px 12px; }
.tn-path-t { font-size:11px; font-weight:800; letter-spacing:.6px; text-transform:uppercase; color:#9be0ff; margin-bottom:8px; }
.tn-path-row { display:flex; flex-wrap:wrap; align-items:center; gap:5px; }
.tn-path-row .st { font-size:12px; font-weight:800; color:#7E9670; border:1px solid #264018; border-radius:99px; padding:4px 9px; display:inline-flex; gap:4px; align-items:center; }
.tn-path-row .st svg { width:13px; height:8px; }
.tn-path-row .st.on { color:#EAF3DF; border-color:#3ea8ff; }
.tn-path-row .st.cur { background:#1f7fe0; color:#fff; }
.tn-path-row .st.champ.on { background:linear-gradient(135deg,#F6D682,#C98A1B); color:#2A1A02; border-color:transparent; }
.tn-path-row .sep svg { width:11px; height:11px; color:#3A5A1A; display:block; }
.tn-side-note { font-size:13px; color:#A9BC95; min-height:1px; }
.tn-pzfin { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:4px; }
.tn-pzfin li { display:flex; gap:10px; align-items:baseline; font-size:13px; color:#C7D6B4; padding:4px 8px; border-radius:8px; }
.tn-pzfin li.h { font-size:11px; font-weight:800; letter-spacing:.6px; text-transform:uppercase; color:#B6E168; padding-left:0; }
.tn-pzfin li b { width:18px; flex:none; font-family:'JetBrains Mono',monospace; color:#7E9670; }
.tn-pzfin li em { font-style:normal; font-size:11px; color:#7E9670; }
.tn-pzfin li.g1 { background:rgba(242,193,78,.12); color:#fff; } .tn-pzfin li.g1 b { color:#F2C14E; }
.tn-pzfin li.me span { color:#9be0ff; font-weight:800; }

/* Tablas de las animaciones */
.tn-tbl-t { font-size:11px; font-weight:800; letter-spacing:.6px; text-transform:uppercase; color:#B6E168; margin-bottom:6px; }
.tn-tbl { background:#0E1F00; border:1px solid #264018; border-radius:14px; padding:4px 10px; }
.tn-tbl-body { position:relative; }
.tn-row { display:grid; grid-template-columns:20px minmax(0,1fr) 34px 34px 34px; gap:6px; align-items:center; height:30px; font-size:12.5px; font-variant-numeric:tabular-nums; }
.tn-tbl-body .tn-row { position:absolute; left:0; right:0; top:0; transition:transform .55s cubic-bezier(.2,.8,.2,1); border-radius:8px; }
.tn-row > :nth-child(n+3) { text-align:right; }
.tn-row.hd { font-size:9.5px; font-weight:900; letter-spacing:.06em; color:#7E9670; text-transform:uppercase; border-bottom:1px solid #264018; }
.tn-row .p { font-weight:900; color:#7E9670; text-align:center; }
.tn-row .who { display:flex; align-items:center; gap:7px; min-width:0; }
.tn-row .who b { font-weight:800; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.tn-row .who i { width:20px; height:20px; border-radius:50%; display:grid; place-items:center; font-style:normal; font-weight:900; font-size:9.5px; color:#0E1F00; flex:none; }
.tn-row .c1 { font-weight:900; color:#B6E168; }
.tn-row.me { background:rgba(62,168,255,.12); } .tn-row.me .who b { color:#9be0ff; }
.tn-row.win { background:rgba(242,193,78,.16); } .tn-row.win .p { color:#F2C14E; }
.tn-rule { font-size:11.5px; color:#A9BC95; text-align:center; margin-top:8px; }
.tn-rule.gold { color:#F2C14E; font-weight:800; font-size:13px; }
.tn-am-left { min-width:0; }
.tn-mates { margin-top:12px; background:#0E1F00; border:1px solid #264018; border-radius:14px; padding:10px 12px; }
.tn-mates-t { font-size:11px; font-weight:800; letter-spacing:.6px; text-transform:uppercase; color:#9be0ff; margin-bottom:8px; }
.tn-mates-row { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:4px; }
.tn-mates-row .m { display:flex; flex-direction:column; align-items:center; gap:3px; min-width:0; opacity:.45; }
.tn-mates-row .m i { width:26px; height:26px; border-radius:50%; display:grid; place-items:center; font-style:normal; font-weight:900; font-size:11px; color:#0E1F00; background:#264018; }
.tn-mates-row .m b { font-size:9.5px; font-weight:800; color:#C7D6B4; max-width:100%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.tn-mates-row .m.on { opacity:1; }
.tn-mates-row .m.cur i { box-shadow:0 0 0 2px #3ea8ff,0 0 10px #3ea8ff; }
.tn-mates-n { font-size:11px; color:#7E9670; margin-top:8px; }

/* Parejas: cuadro de cruces */
.tn-strip { display:flex; flex-wrap:wrap; gap:6px; align-items:center; margin-bottom:12px; min-height:30px; }
.tn-strip .k { font-family:'Space Grotesk',sans-serif; font-weight:800; font-size:15px; color:#B6E168; margin-right:4px; }
.tn-strip .k.gold { color:#F2C14E; }
.tn-strip .mt { display:inline-flex; align-items:center; gap:5px; font-size:12px; font-weight:800; background:#0E1F00; border:1px solid #264018; border-radius:99px; padding:4px 9px 4px 10px; color:#C7D6B4; }
.tn-strip .mt b { font-family:'JetBrains Mono',monospace; color:#fff; }
.tn-strip .mt em { font-style:normal; color:#7E9670; font-size:10.5px; }
.tn-strip .mt.rest { border-style:dashed; }
.tn-nb { width:18px; height:18px; border-radius:6px; display:inline-grid; place-items:center; font:900 10.5px/1 'Inter',sans-serif; color:#0E1F00; flex:none; }
.tn-rr-cols { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:18px; align-items:start; }
@media (max-width:720px){ .tn-rr-cols { grid-template-columns:minmax(0,1fr); } }
.tn-grid { display:grid; gap:3px; background:#0E1F00; border:1px solid #264018; border-radius:14px; padding:8px; }
.tn-grid .gh { display:grid; place-items:center; height:28px; }
.tn-grid .gc { height:34px; border-radius:7px; background:#132A0D; display:grid; place-items:center; font:800 12px/1 'JetBrains Mono',monospace; color:#EAF3DF; transition:background .35s, box-shadow .35s; }
.tn-grid .gc.x { background:repeating-linear-gradient(45deg,#0E1F00 0 4px,#132A0D 4px 8px); }
.tn-grid .gc.w { background:rgba(93,187,58,.35); color:#D6F59A; }
.tn-grid .gc.l { background:rgba(229,87,75,.22); color:#FFB3AA; }
.tn-grid .gc.t { background:rgba(169,188,149,.2); color:#EAF3DF; }
.tn-grid .gc.live { box-shadow:inset 0 0 0 2px #B6E168; animation:tnPulse 1.2s ease-in-out infinite; }
.tn-grid .gc.new { box-shadow:inset 0 0 0 2px #F2C14E; }
@keyframes tnPulse { 50% { box-shadow:inset 0 0 0 2px rgba(182,225,104,.25); } }

/* Grupos + eliminatoria */
.tn-gk-groups { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; }
@media (max-width:820px){ .tn-gk-groups { grid-template-columns:repeat(2,minmax(0,1fr)); } }
.tn-gk-g { background:linear-gradient(180deg,#132A0D,#0E1F00); border:1px solid #3A5A1A; border-radius:13px; padding:8px; min-width:0; transition:opacity .4s; }
.tn-gk-g.dim { opacity:.55; }
.tn-gk-gh { font-size:9.5px; font-weight:900; letter-spacing:.12em; color:#B6E168; text-transform:uppercase; margin-bottom:4px; }
.tn-gk-gb { position:relative; }
.tn-gk-r { position:absolute; left:0; right:0; top:0; height:24px; display:grid; grid-template-columns:15px minmax(0,1fr) 16px 26px; gap:5px; align-items:center; font-size:11px; color:#A9BC95; transition:transform .5s cubic-bezier(.2,.8,.2,1); }
.tn-gk-r .pos { width:15px; height:15px; border-radius:5px; display:grid; place-items:center; font-size:8.5px; font-weight:900; border:1px solid #3A5A1A; }
.tn-gk-r .fn { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; font-weight:700; }
.tn-gk-r b { text-align:right; font-variant-numeric:tabular-nums; }
.tn-gk-r .v { color:#B6E168; }
.tn-gk-r.q { color:#EAF3DF; } .tn-gk-r.q .pos { background:#B6E168; border-color:transparent; color:#0E1F00; }
.tn-gk-r.out { opacity:.45; }
.tn-gk-line { font-size:10.5px; color:#C7D6B4; margin-top:6px; padding-top:6px; border-top:1px dashed #264018; min-height:31px; line-height:1.35; overflow-wrap:anywhere; }
.tn-gk-line b { font-family:'JetBrains Mono',monospace; color:#fff; }
.tn-gk-line em { font-style:normal; color:#7E9670; }
.tn-gk-line.live { color:#EAF3DF; }
.tn-gk-line .ok { color:#B6E168; font-weight:800; }
.tn-gk-br { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; margin-top:14px; }
.tn-gk-col { display:flex; flex-direction:column; min-width:0; }
.tn-gk-ch { font-size:10px; font-weight:900; letter-spacing:.12em; text-transform:uppercase; color:#B6E168; text-align:center; margin-bottom:6px; }
.tn-gk-list { flex:1; display:flex; flex-direction:column; justify-content:space-around; gap:6px; }
.tn-gk-s { background:rgba(14,31,0,.92); border:1px solid #264018; border-radius:10px; padding:4px 6px; display:flex; flex-direction:column; gap:2px; transition:border-color .35s, box-shadow .35s; }
.tn-gk-s.live { border-color:#B6E168; box-shadow:0 0 14px -4px rgba(182,225,104,.7); }
.tn-gk-s.done { border-color:rgba(182,225,104,.4); }
.tn-gk-s.gold { border-color:#F2C14E; box-shadow:0 0 18px -4px rgba(242,193,78,.8); }
.tn-gk-s .ln { display:grid; grid-template-columns:auto minmax(0,1fr) auto; gap:4px; align-items:center; font-size:10.5px; color:#C7D6B4; min-height:16px; }
.tn-gk-s .sd { font-size:8.5px; font-weight:900; color:#E2A93B; }
.tn-gk-s .fn { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; font-weight:700; }
.tn-gk-s b { font-family:'JetBrains Mono',monospace; font-size:11px; }
.tn-gk-s .ln.tbd .fn::after { content:'—'; color:#3A5A1A; }
.tn-gk-s .ln.w { color:#fff; } .tn-gk-s .ln.w b { color:#B6E168; }
.tn-gk-s .ln.l { opacity:.5; }
.tn-gk-s .ln.champ { color:#F2C14E; } .tn-gk-s .ln.champ b { color:#F2C14E; }
.tn-gk-banner { margin-top:14px; border-radius:16px; padding:12px 14px; background:radial-gradient(80% 90% at 50% 0%,rgba(242,193,78,.22),rgba(14,31,0,.9)); border:1px solid rgba(242,193,78,.55); text-align:center; }
.tn-gk-banner .ch { display:flex; flex-direction:column; align-items:center; gap:2px; }
.tn-gk-banner .ch svg { width:36px; height:22px; color:#F2C14E; }
.tn-gk-banner .ch span { font-size:10.5px; font-weight:900; letter-spacing:.2em; text-transform:uppercase; color:#F2C14E; }
.tn-gk-banner .ch b { font-family:'Space Grotesk',sans-serif; font-size:21px; }
.tn-gk-banner .pl { display:flex; flex-wrap:wrap; justify-content:center; gap:4px 16px; margin-top:6px; font-size:12px; color:#C7D6B4; }

@media (prefers-reduced-motion: reduce) {
  .tn-tbl-body .tn-row, .tn-gk-r, .tn-score, .tn-grid .gc, .tn-gk-s, .tn-gk-g { transition:none !important; }
  .tn-grid .gc.live { animation:none; }
}
@media (max-width:520px){
  .tn-gk-r { grid-template-columns:15px minmax(0,1fr) 14px; }
  .tn-gk-r .d { display:none; }
  .tn-gk-br { gap:5px; }
  .tn-gk-s { padding:4px 5px; }
  .tn-gk-s .fn { white-space:normal; line-height:1.15; overflow-wrap:anywhere; }
  .tn-gk-s .ln { font-size:10px; align-items:start; }
}
