/* Estilos da área: clube, competições, competição, liga, mundo e calendário (prefixo cl-). */

/* ---------- base das telas ---------- */
.cl-page { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.cl-page > .page-head { margin-bottom: 0; }
.cl-page [hidden] { display: none !important; }
.cl-section > h4 { margin: 0 0 10px; }
.cl-ellipsis { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.cl-empty-sm { padding: 18px 12px; text-align: center; color: var(--muted); font-size: 13px; border: 1px dashed var(--line2); border-radius: 8px; }
.cl-mb { margin-bottom: 8px; }
.cl-arrow { color: var(--faint); font-size: 22px; line-height: 1; flex-shrink: 0; }
.cl-dots { display: inline-flex; flex-wrap: wrap; align-items: center; min-width: 0; }
.cl-dots > * + *::before { content: '·'; margin: 0 6px; color: var(--faint); }
.cl-you { margin-left: 6px; font-size: 10px; padding: 1px 6px; vertical-align: middle; }

/* ---------- cores das famílias de competição ---------- */
.cl-emb-league, .cl-hero-league, .cl-fam-league { --e1: #12c97a; --e2: #045c3c; }
.cl-emb-youth, .cl-hero-youth, .cl-fam-youth { --e1: #2ec4b6; --e2: #0d4f4a; }
.cl-emb-est, .cl-hero-est, .cl-fam-est { --e1: #f0b429; --e2: #6b4400; }
.cl-emb-cup, .cl-hero-cup, .cl-fam-cup { --e1: #ff6b4a; --e2: #7a1f10; }
.cl-emb-ucl, .cl-hero-ucl, .cl-fam-ucl { --e1: #3b63f0; --e2: #0b1b55; }
.cl-emb-uel, .cl-hero-uel, .cl-fam-uel { --e1: #ff7a1a; --e2: #7a2e00; }
.cl-emb-uecl, .cl-hero-uecl, .cl-fam-uecl { --e1: #19c37d; --e2: #04583a; }
.cl-emb-lib, .cl-hero-lib, .cl-fam-lib { --e1: #d9ad35; --e2: #5f4200; }
.cl-emb-sula, .cl-hero-sula, .cl-fam-sula { --e1: #3b82f6; --e2: #1e2f7a; }
.cl-emb-ccc, .cl-hero-ccc, .cl-fam-ccc { --e1: #7c5cff; --e2: #2a1873; }
.cl-emb-acl, .cl-hero-acl, .cl-fam-acl { --e1: #12b5c9; --e2: #08405a; }
.cl-emb-caf, .cl-hero-caf, .cl-fam-caf { --e1: #f59e0b; --e2: #6e2a0d; }
.cl-emb-intercontinental, .cl-hero-intercontinental, .cl-fam-intercontinental { --e1: #f5c542; --e2: #7a5600; }
.cl-emb-nt, .cl-hero-nt, .cl-fam-nt { --e1: #e5484d; --e2: #5f0f15; }
.cl-emb-friendly, .cl-hero-friendly, .cl-fam-friendly { --e1: #8ea3b8; --e2: #2b3a4d; }

.cl-emb { width: var(--s, 40px); height: var(--s, 40px); border-radius: 28%; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  color: #fff; background: linear-gradient(140deg, var(--e1, #33455c), var(--e2, #141c26));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), inset 0 -2px 0 rgba(0, 0, 0, 0.18), 0 2px 8px rgba(0, 0, 0, 0.35); }
.cl-emb svg { width: 56%; height: 56%; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.35)); }

/* ---------- cabeçalhos ---------- */
.cl-hero { display: flex; align-items: center; gap: 16px; padding: 18px 20px; position: relative; overflow: hidden;
  background: radial-gradient(520px 170px at 0% 0%, color-mix(in srgb, var(--e1, #33455c) 24%, transparent), transparent 70%), linear-gradient(180deg, var(--panel), var(--bg2));
  border-color: color-mix(in srgb, var(--e1, #33455c) 35%, var(--line)); }
.cl-hero-main { flex: 1; min-width: 0; }
.cl-hero h1 { margin: 2px 0 8px; line-height: 1.15; }
.cl-kicker { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 0; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.9px; font-weight: 600; }
.cl-kicker .flag span { text-transform: none; letter-spacing: 0; }
.cl-tags { gap: 6px; }
.cl-tags a.badge { position: relative; }
.cl-tags a.badge::after { content: ""; position: absolute; inset: -9px -2px; } /* área de toque de ~40px */
@media (hover: hover) { .cl-tags a.badge:hover { text-decoration: none; filter: brightness(1.15); } }
.cl-back { align-self: flex-start; }

.cl-club-hero { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 18px; padding: 18px 22px; position: relative; overflow: hidden;
  background: linear-gradient(105deg, color-mix(in srgb, var(--c1) 34%, var(--panel)) 0%, var(--panel) 48%, var(--bg2) 100%);
  border-color: color-mix(in srgb, var(--c1) 45%, var(--line)); }
.cl-club-hero::after { content: ''; position: absolute; top: -40%; bottom: -40%; right: 18%; width: 46px; transform: rotate(18deg); pointer-events: none;
  background: linear-gradient(180deg, color-mix(in srgb, var(--c2) 22%, transparent), transparent); }
.cl-club-hero > * { position: relative; z-index: 1; }
.cl-club-hero h1 { margin: 2px 0 8px; line-height: 1.15; }
.cl-club-crest { width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; background: rgba(0, 0, 0, 0.22); border: 1px solid rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 18px rgba(0, 0, 0, 0.25); }
.cl-club-ovr { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.cl-kpi-link { color: inherit; display: block; }
@media (hover: hover) { .cl-kpi-link[href]:hover { text-decoration: none; border-color: var(--accent2); } }
.cl-kpis .v small { font-size: 13px; font-weight: 600; }

/* ---------- abas e painéis ---------- */
.cl-page > .cl-tabs { margin-bottom: -4px; }
.cl-tabs .tab { min-height: 42px; display: inline-flex; align-items: center; gap: 6px; }
.cl-count { font-size: 11px; background: var(--panel3); color: var(--muted); padding: 0 7px; border-radius: 9px; font-weight: 700; }
.cl-tabs .tab.active .cl-count { background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent); }
.cl-panel { display: flex; flex-direction: column; gap: 16px; min-width: 0; }

/* ---------- jogos ---------- */
.cl-fx-list { display: flex; flex-direction: column; }
.cl-fx { padding: 9px 10px; margin: 0 -10px; border-radius: 8px; border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent); }
.cl-fx:last-child { border-bottom-color: transparent; }
.cl-fx.mine { background: color-mix(in srgb, var(--accent) 5%, transparent); }
.cl-fx-meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.cl-fx-meta a { color: var(--text); }
.cl-fx-meta .result { width: 20px; height: 20px; flex-shrink: 0; }
.cl-fx-row { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 10px; }
.cl-fx-team { display: flex; align-items: center; gap: 8px; min-width: 0; }
.cl-fx-team.home { justify-content: flex-end; text-align: right; }
.cl-fx-team .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.cl-fx-team.win .nm { font-weight: 700; }
.cl-fx-team.us .nm { color: var(--accent); font-weight: 700; }
.cl-fx-score { display: flex; flex-direction: column; align-items: center; min-width: 58px; }
.cl-fx-score .sc { display: inline-flex; align-items: center; gap: 6px; background: var(--panel3); border: 1px solid var(--line2); border-radius: 6px; padding: 2px 10px; font-weight: 800; font-size: 15px; font-variant-numeric: tabular-nums; }
.cl-fx-score .sc i { font-style: normal; color: var(--faint); font-weight: 400; }
.cl-fx-score.tbd .sc { background: transparent; border-color: transparent; color: var(--faint); font-weight: 600; }
.cl-stack { display: none; flex-direction: column; gap: 5px; }
.cl-stack .ln { display: flex; align-items: center; gap: 8px; min-height: 22px; }
.cl-stack .ln .nm { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cl-stack .ln b { min-width: 20px; text-align: right; font-weight: 800; font-size: 15px; font-variant-numeric: tabular-nums; }
.cl-stack .ln .cl-pen { margin: 0; }
.cl-stack .ln.us .nm { color: var(--accent); font-weight: 700; }
.cl-stack .ln.win .nm { font-weight: 700; }
.cl-stack:has(.win) .ln:not(.win) { opacity: 0.6; }
.cl-pen { font-size: 10px; color: var(--warn); font-weight: 700; margin-top: 2px; white-space: nowrap; }

/* ---------- mata-mata ---------- */
.cl-stages { display: flex; gap: 6px; overflow-x: auto; margin-bottom: 14px; padding-bottom: 2px; scrollbar-width: thin; }
.cl-stage { min-height: 36px; padding: 6px 14px; border-radius: 18px; border: 1px solid var(--line2); background: var(--panel2); color: var(--muted); font: inherit; font-weight: 600; cursor: pointer; white-space: nowrap; }
@media (hover: hover) { .cl-stage:hover { color: var(--text); border-color: var(--faint); } }
.cl-stage.active { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.cl-ties { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 10px; }
.cl-tie { border: 1px solid var(--line); background: var(--bg2); border-radius: 9px; padding: 8px 12px 6px; min-width: 0; }
.cl-tie.mine { border-color: color-mix(in srgb, var(--accent) 55%, transparent); background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 6%, transparent), var(--bg2)); }
.cl-tie-h, .cl-tie-row { display: grid; grid-template-columns: 22px minmax(0, 1fr) repeat(var(--n, 1), 28px); gap: 8px; align-items: center; }
.cl-tie-h { font-size: 10px; color: var(--faint); text-transform: uppercase; letter-spacing: 0.6px; text-align: center; margin-bottom: 2px; }
.cl-tie-h span:first-child { grid-column: span 2; }
.cl-tie-row { padding: 4px 0; }
.cl-tie-row .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cl-tie-row .g { text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--muted); }
.cl-tie-row .g.agg { background: var(--panel3); border-radius: 4px; color: var(--text); }
.cl-tie-row.win .nm, .cl-tie-row.win .g { color: var(--text); font-weight: 800; }
.cl-tie-row.lose { opacity: 0.55; }
.cl-tie-row.us .nm { color: var(--accent); }
.cl-tie-foot { display: flex; justify-content: space-between; gap: 8px; border-top: 1px solid var(--line); margin-top: 4px; padding-top: 5px; font-size: 11px; color: var(--faint); }

/* ---------- tabelas ---------- */
.cl-table .cl-rank { color: var(--muted); font-weight: 700; width: 34px; }
.cl-table .cl-pts { font-weight: 800; }
.cl-team-cell { white-space: nowrap; }
.cl-team-cell .team .nm { max-width: 240px; }
.cl-table.compact { table-layout: fixed; }
.cl-table.compact th:first-child { width: 30px; }
.cl-table.compact th.num:not(:first-child) { width: 28px; }
.cl-table.compact th:last-child { width: 36px; }
.cl-table.compact th, .cl-table.compact td { padding-left: 4px; padding-right: 4px; }
.cl-table:not(.compact):not(.cl-squad) th.num:not(:first-child) { width: 58px; }
.cl-table.compact .cl-team-cell { overflow: hidden; }
.cl-table.compact .cl-team-cell .team { max-width: 100%; }
.table tr.cl-zone-alt td:first-child { box-shadow: inset 3px 0 0 #ff8a3d; }
.table tr.cl-zone-alt2 td:first-child { box-shadow: inset 3px 0 0 #22c3a6; }
.cl-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 10px; font-size: 12px; color: var(--muted); }
.cl-legend span { display: inline-flex; align-items: center; gap: 6px; }
.cl-legend i { width: 10px; height: 10px; border-radius: 2px; display: inline-block; }
.cl-legend i.zone-ucl { background: var(--accent2); }
.cl-legend i.zone-up { background: var(--good); }
.cl-legend i.zone-down { background: var(--danger); }
.cl-legend i.cl-zone-alt { background: #ff8a3d; }
.cl-legend i.cl-zone-alt2 { background: #22c3a6; }
.cl-groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 12px; }
.cl-group { padding: 12px 12px 6px; }
.cl-group .card-h { margin-bottom: 4px; }
.cl-medal { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; font-size: 12px; font-weight: 800; background: var(--panel3); color: var(--muted); }
.cl-medal.m1 { background: var(--gold); color: #2a1f00; }
.cl-medal.m2 { background: var(--silver); color: #1a1f26; }
.cl-medal.m3 { background: var(--bronze); color: #2a1405; }
.cl-sm-crest .team .nm { max-width: 200px; }
.cl-champ { display: inline-flex; align-items: center; gap: 6px; }
.cl-tally h4 { margin-bottom: 8px; }
.cl-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.cl-chip { display: inline-flex; align-items: center; gap: 8px; padding: 4px 11px 4px 6px; border-radius: 20px; background: var(--panel2); border: 1px solid var(--line); font-size: 13px; }
.cl-chip b { color: var(--gold); }

/* ---------- competição ---------- */
.cl-section.grid { align-items: start; }
.cl-stage-info { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; font-size: 13px; }
.cl-panel[data-group="ko"] { gap: 10px; }
.cl-table:not(.compact) th.num:first-child { width: 44px; }

/* ---------- clube ---------- */
.cl-squad .cl-grp td { background: var(--bg2); font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); font-weight: 700; padding: 9px 8px 7px; }
.cl-squad .cl-grp td span + span { float: right; text-transform: none; letter-spacing: 0; font-weight: 400; }
.cl-squad .cl-grp.GK td { box-shadow: inset 3px 0 0 #b8920a; }
.cl-squad .cl-grp.DEF td { box-shadow: inset 3px 0 0 #2f6fc4; }
.cl-squad .cl-grp.MID td { box-shadow: inset 3px 0 0 #23a064; }
.cl-squad .cl-grp.ATT td { box-shadow: inset 3px 0 0 #c43a3a; }
@media (hover: hover) { .cl-squad tr.cl-grp:hover td { background: var(--bg2); } }
.cl-squad { table-layout: fixed; }
.cl-squad .c-pos { width: 58px; }
.cl-squad .c-age, .cl-squad .c-ovr, .cl-squad .c-form { width: 72px; }
.cl-player-in { display: flex; align-items: center; gap: 7px; min-width: 0; }
.cl-player-in b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.cl-player-in .flag, .cl-player-in .badge { flex-shrink: 0; }
.cl-player-in .badge { font-size: 10px; padding: 1px 6px; }
.cl-side { gap: 16px; }
.cl-coach { display: flex; align-items: center; gap: 12px; }
.cl-coach-ico { width: 46px; height: 46px; border-radius: 50%; background: var(--panel3); border: 1px solid var(--line2); display: grid; place-items: center; font-size: 20px; flex-shrink: 0; }
.cl-coach-main { min-width: 0; }
.cl-coach-main b { font-size: 16px; }
.cl-coach-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.cl-coach-facts > div { background: var(--panel2); border: 1px solid var(--line); border-radius: 7px; padding: 8px 10px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cl-coach-facts .k { font-size: 10px; text-transform: uppercase; letter-spacing: 0.9px; color: var(--muted); }
.cl-pitch { width: 100%; max-width: 320px; margin: 0 auto;
  background: repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.035) 0 10%, transparent 10% 20%), linear-gradient(180deg, #156036, #0f4626); }
.cl-pitch-box { position: absolute; left: 30%; right: 30%; height: 12%; border: 2px solid rgba(255, 255, 255, 0.22); }
.cl-pitch-box.top { top: 8%; border-top: 0; }
.cl-pitch-box.bottom { bottom: 8%; border-bottom: 0; }
.cl-pitch-circle { position: absolute; left: 50%; top: 50%; width: 26%; aspect-ratio: 1; border: 2px solid rgba(255, 255, 255, 0.22); border-radius: 50%; transform: translate(-50%, -50%); }
.cl-slot { position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; z-index: 1; }
.cl-slot b { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 800; color: #fff; letter-spacing: 0.3px;
  background: var(--panel3); border: 2px solid rgba(255, 255, 255, 0.85); box-shadow: 0 3px 8px rgba(0, 0, 0, 0.4); }
.cl-slot.GK b { background: #8a6d00; }
.cl-slot.DEF b { background: #1d4f91; }
.cl-slot.MID b { background: #1d7a4d; }
.cl-slot.ATT b { background: #9a2a2a; }
.cl-slot.me b { background: var(--accent); color: var(--accent-ink); border-color: #fff; box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 35%, transparent), 0 3px 10px rgba(0, 0, 0, 0.45); }
.cl-slot em { position: absolute; top: 100%; margin-top: 3px; font-style: normal; font-size: 10px; font-weight: 800; white-space: nowrap; background: color-mix(in srgb, var(--accent-ink) 80%, transparent); color: var(--accent); padding: 0 6px; border-radius: 8px; }
.cl-noclub { text-align: center; padding: 40px 24px; display: flex; flex-direction: column; align-items: center; gap: 10px; max-width: 560px; width: 100%; margin: 24px auto; }
.cl-noclub-ico { font-size: 40px; width: 84px; height: 84px; border-radius: 50%; background: var(--panel2); border: 1px solid var(--line2); display: grid; place-items: center; margin-bottom: 4px; }

/* ---------- competições ---------- */
.cl-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.cl-comp-card { display: flex; align-items: center; gap: 14px; padding: 14px 16px; min-height: 84px; color: var(--text); border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(135deg, color-mix(in srgb, var(--e1, #33455c) 17%, var(--panel)), var(--bg2)); box-shadow: var(--shadow); }
@media (hover: hover) { .cl-comp-card:hover { text-decoration: none; border-color: color-mix(in srgb, var(--e1, #33455c) 70%, var(--line)); } }
.cl-comp-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.cl-comp-main b { font-size: 15px; }
.cl-comp-main .badge { align-self: flex-start; }
.cl-list { display: flex; flex-direction: column; }
.cl-list-row { display: flex; align-items: center; gap: 12px; padding: 7px 10px; margin: 0 -10px; min-height: 48px; border-radius: 8px; color: var(--text); }
@media (hover: hover) { a.cl-list-row:hover { background: var(--panel2); text-decoration: none; } }
.cl-list-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.cl-list-main b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cl-list-main .small { display: inline-flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.cl-subhead { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--faint); margin: 12px 0 2px; font-weight: 700; }
.cl-subhead:first-of-type { margin-top: 0; }
.cl-more { margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--line); }
.cl-champs { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.cl-champ-card { display: flex; flex-direction: column; gap: 10px; padding: 14px; min-width: 0; color: var(--text); border-radius: var(--radius); border: 1px solid var(--line);
  background: radial-gradient(240px 90px at 100% 0, color-mix(in srgb, var(--gold) 10%, transparent), transparent), linear-gradient(180deg, var(--panel), var(--bg2)); }
@media (hover: hover) { .cl-champ-card:hover { text-decoration: none; border-color: color-mix(in srgb, var(--gold) 45%, transparent); } }
.cl-champ-top { display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: 0.7px; min-width: 0; }
.cl-champ-team { display: flex; align-items: center; gap: 12px; min-width: 0; }
.cl-champ-team > div { display: flex; flex-direction: column; min-width: 0; }
.cl-champ-team b { font-size: 16px; }

/* ---------- liga ---------- */
.cl-season { min-width: 70px; color: var(--muted); font-variant-numeric: tabular-nums; font-size: 13px; }
.cl-clubs { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.cl-club-tile { display: flex; align-items: center; gap: 12px; padding: 10px 12px; min-width: 0; border: 1px solid var(--line); background: linear-gradient(180deg, var(--panel), var(--bg2)); border-radius: var(--radius); }
.cl-club-tile.me { border-color: color-mix(in srgb, var(--accent) 60%, transparent); background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 8%, transparent), var(--bg2)); }
.cl-club-tile-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }

.cl-last-champ { background: radial-gradient(320px 140px at 100% 0, color-mix(in srgb, var(--gold) 12%, transparent), transparent), linear-gradient(180deg, var(--panel), var(--bg2)); }
.cl-last-champ-main { display: flex; align-items: center; gap: 14px; margin: 4px 0 14px; min-width: 0; }
.cl-last-champ-main > div { display: flex; flex-direction: column; min-width: 0; }
.cl-last-champ-main b { font-size: 20px; line-height: 1.2; }
.cl-last-champ-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cl-last-champ-facts > div { display: flex; flex-direction: column; gap: 3px; min-width: 0; padding: 8px 10px; background: var(--panel2); border: 1px solid var(--line); border-radius: 7px; }
.cl-last-champ-facts .k { font-size: 10px; text-transform: uppercase; letter-spacing: 0.9px; color: var(--muted); }

/* ---------- mundo ---------- */
.cl-search { display: flex; align-items: center; gap: 8px; min-height: 42px; min-width: 280px; padding: 0 14px; border-radius: 22px; background: var(--bg2); border: 1px solid var(--line2); }
.cl-search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 15%, transparent); }
.cl-search input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 8px 0; box-shadow: none !important; }
.cl-confed-h { display: none; margin: 4px 0 -4px; }
.cl-countries { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; align-items: start; }
.cl-country { display: flex; flex-direction: column; padding: 10px 12px 6px; min-width: 0; background: linear-gradient(180deg, var(--panel), var(--bg2)); border: 1px solid var(--line); border-radius: var(--radius); }
.cl-country.me { border-color: color-mix(in srgb, var(--accent) 50%, transparent); }
.cl-country-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-bottom: 7px; margin-bottom: 2px; border-bottom: 1px solid var(--line); font-weight: 700; }
.cl-league-link { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 4px 6px; margin: 0 -6px; border-radius: 6px; color: var(--text); }
@media (hover: hover) { .cl-league-link:hover { background: var(--panel2); text-decoration: none; } }
.cl-league-link .nm { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.cl-league-link .nm b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cl-tier { width: 22px; height: 22px; border-radius: 5px; display: grid; place-items: center; font-size: 11px; font-weight: 800; background: var(--panel3); color: var(--muted); flex-shrink: 0; }
.cl-tier.t1 { background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); }
.cl-live { display: inline-flex; align-items: center; gap: 6px; font-size: 10px; text-transform: uppercase; letter-spacing: 0.6px; color: var(--good); font-weight: 700; white-space: nowrap; }
.cl-live::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 3px color-mix(in srgb, var(--good) 15%, transparent); }
.cl-world.searching .cl-tabs { display: none; }
.cl-world.searching .cl-confed-h { display: block; }
.cl-world.searching .cl-panel[hidden] { display: flex !important; }
.cl-world.searching .cl-panel.nomatch { display: none !important; }

/* ---------- calendário ---------- */
.cl-next { display: flex; flex-direction: column; justify-content: center;
  background: radial-gradient(520px 200px at 50% 0, color-mix(in srgb, var(--accent) 12%, transparent), transparent), linear-gradient(180deg, var(--panel), var(--bg2)); border-color: color-mix(in srgb, var(--accent) 40%, transparent); }
.cl-next-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 10px; font-size: 13px; }
.cl-next-meta a { color: var(--text); font-weight: 600; }
.cl-next-match { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 12px; margin-top: 16px; }
.cl-next-team { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; min-width: 0; }
.cl-next-team b { font-size: 17px; overflow-wrap: anywhere; }
.cl-next-team.us b { color: var(--accent); }
.cl-next-vs { font-size: 22px; font-weight: 800; color: var(--faint); }
.cl-rec-nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 10px; }
.cl-rec-nums > div { display: flex; flex-direction: column; align-items: center; padding: 8px 4px; background: var(--panel2); border: 1px solid var(--line); border-radius: 8px; }
.cl-rec-nums b { font-size: 24px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.cl-rec-nums span { font-size: 10px; text-transform: uppercase; letter-spacing: 0.8px; color: var(--muted); }
.cl-rec-nums .V b { color: var(--good); }
.cl-rec-nums .E b { color: var(--silver); }
.cl-rec-nums .D b { color: var(--danger); }
.cl-form { display: flex; gap: 4px; margin-top: 10px; flex-wrap: wrap; }
.cl-month { display: flex; flex-direction: column; gap: 8px; }
.cl-month + .cl-month { margin-top: 4px; }
.cl-month-h { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.cl-month-h h3 { margin: 0; }
.cl-cal-card { padding: 2px 14px; }
.cl-cal-row { display: grid; grid-template-columns: 50px minmax(0, 1fr) 40px; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent); }
.cl-cal-row:last-child { border-bottom: 0; }
.cl-day { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 52px; background: var(--panel2); border: 1px solid var(--line); border-radius: 8px; }
.cl-day b { font-size: 19px; line-height: 1; font-variant-numeric: tabular-nums; }
.cl-day span { font-size: 10px; text-transform: uppercase; color: var(--muted); letter-spacing: 0.5px; margin-top: 3px; }
.cl-cal-row.today .cl-day { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, transparent); }
.cl-cal-row.res-V .cl-day { box-shadow: inset 0 -3px 0 #2e9e5b; }
.cl-cal-row.res-E .cl-day { box-shadow: inset 0 -3px 0 #7a8794; }
.cl-cal-row.res-D .cl-day { box-shadow: inset 0 -3px 0 #c0392b; }
.cl-cal-body { min-width: 0; }
@media (min-width: 1000px) {
  .cl-cal-body { display: grid; grid-template-columns: 250px minmax(0, 1fr); align-items: center; gap: 16px; }
  .cl-cal-body .cl-cal-meta { margin-bottom: 0; }
}
.cl-cal-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 6px; font-size: 12px; color: var(--muted); margin-bottom: 7px; }
.cl-cal-meta a { color: var(--text); font-weight: 600; }
.cl-cal-res { display: flex; justify-content: flex-end; align-items: center; }

/* ---------- interações sutis ---------- */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .cl-comp-card, .cl-champ-card, .cl-club-tile, .cl-kpi-link[href], .cl-tie { transition: transform 0.15s ease-out; }
  .cl-comp-card:hover, .cl-champ-card:hover, .cl-kpi-link[href]:hover { transform: translateY(-2px); }
  .cl-club-tile:hover, .cl-tie:hover { transform: translateY(-1px); }
  .cl-arrow { transition: transform 0.15s ease-out; }
  a:hover > .cl-arrow { transform: translateX(2px); }
}
@media (prefers-reduced-motion: no-preference) {
  @keyframes cl-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
  .cl-panel:not([hidden]) { animation: cl-in 0.18s ease-out; }
  /* Só na primeira visita à tela: ao voltar à aba ou depois de uma ação, nada entra de novo. */
  .main:not([data-enter="first"]) .cl-panel { animation: none; }
}

/* ---------- responsivo ---------- */
@media (max-width: 1100px) and (min-width: 761px) {
  .cl-side { display: grid; grid-template-columns: 1fr 1fr; align-items: start; }
}
@media (max-width: 760px) {
  .hide-sm { display: none !important; }
  .cl-page { gap: 14px; }
  .cl-hero { padding: 14px; gap: 12px; align-items: flex-start; }
  .cl-hero > .cl-emb { --s: 48px !important; }
  .cl-back { display: none; }
  .cl-club-hero { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; gap: 10px; padding: 18px 14px; }
  .cl-club-hero::after { right: 6%; }
  .cl-club-hero .cl-kicker, .cl-club-hero .cl-tags { justify-content: center; }
  .cl-club-crest { width: 84px; height: 84px; }
  .cl-club-ovr { flex-direction: row; gap: 10px; }
  .cl-club-ovr .ovr.lg { min-width: 48px; height: 42px; font-size: 22px; }
  .cl-cards, .cl-champs, .cl-clubs, .cl-countries, .cl-ties, .cl-groups { grid-template-columns: minmax(0, 1fr); }
  .cl-group { padding: 12px 10px 6px; }
  .cl-stage { min-height: 40px; }
  .cl-search { min-width: 0; width: 100%; }
  .page-head > .btn { width: 100%; }
  .cl-team-cell .team .nm { max-width: 42vw; }
  .cl-squad .c-pos { width: 46px; }
  .cl-squad .c-age { width: 34px; }
  .cl-squad .c-ovr, .cl-squad .c-form { width: 46px; }
  .cl-squad .ovr { min-width: 32px; height: 26px; font-size: 13px; }
  .cl-squad .pos { min-width: 30px; padding: 2px 4px; }
  .cl-sm-crest .team .nm { max-width: 26vw; }
  .cl-fx > .cl-fx-row, .cl-cal-body > .cl-fx-row { display: none; }
  .cl-stack { display: flex; }
  .cl-fx-score { min-width: 50px; }
  .cl-fx-score .sc { padding: 2px 8px; font-size: 14px; }
  .cl-cal-card { padding: 2px 12px; }
  .cl-cal-row { grid-template-columns: 42px minmax(0, 1fr) 22px; gap: 8px; }
  .cl-cal-res .small { display: none; }
  .cl-day { height: 48px; }
  .cl-next-team b { font-size: 14px; }
  .cl-list-row { min-height: 52px; }
  .cl-tabs .tab { padding: 9px 12px; }
  /* Links de texto pequenos: área de toque maior sem mudar o layout. */
  .cl-cal-meta a, .cl-fx-meta a, .cl-next-meta a, .cl-more a, .card-h a.small { padding: 12px 0; margin: -12px 0; }
}

