/* Analize (.az), Live (.lv) și Meciuri azi / program (.mz). Pe lângă tips.css (antet, cutii, rânduri). */
.az, .lv, .mz { display: grid; gap: 22px; min-width: 0; }
.az > *, .lv > *, .mz > * { min-width: 0; }
.az h1, .az h2, .az h3, .lv h1, .lv h2, .lv h3, .mz h1, .mz h2 { margin: 0; letter-spacing: -.01em; }

/* analize */
.az-hero { grid-template-columns: minmax(0, 1fr) auto; }
.az-upd { margin: 10px 0 0; }
.az-upd .upd, .az-upd * { color: #8EA0B4; }
.az-days { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; align-self: end; }
.az-days a { display: grid; justify-items: center; min-width: 56px; padding: 8px 10px; border-radius: 12px; background: rgba(255, 255, 255, .06); color: #C9D4DF; }
.az-days a b { font: 800 17px var(--f-num); color: #fff; }
.az-days a span { font-size: 11px; font-weight: 600; }
.az-days a:hover { background: rgba(255, 255, 255, .12); }
.az-days a.is-on { background: var(--lime); color: #3C4A2A; }
.az-days a.is-on b { color: var(--navy); }
.az-lead { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 28px; align-items: center; padding: 26px 28px; border-radius: 26px; background: var(--panel); box-shadow: var(--sh); }
.az-lead:hover h2 { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.az-crests { display: flex; align-items: center; }
.az-crests .crest + .crest { margin-left: -14px; }
.az-crests.sm .crest + .crest { margin-left: -8px; }
.az-lead-copy { display: grid; gap: 10px; min-width: 0; }
.az-lead-copy small, .az-card small { display: flex; align-items: center; gap: 6px; color: var(--mute); font-size: 12px; font-weight: 600; }
.az-lead h2 { font: 800 clamp(22px, 2.4vw, 30px)/1.15 var(--f-num); }
.az-lead p { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.55; max-width: 70ch; }
.az-go { display: inline-flex; align-items: center; gap: 4px; color: var(--green-3); font-weight: 700; font-size: 14px; }
.az-go svg { width: 16px; height: 16px; }
.az-ft { position: absolute; top: 18px; right: 18px; padding: 6px 12px; border-radius: 10px; background: var(--navy); color: #fff; font: 800 20px var(--f-num); }
.az-ft.sm { position: static; padding: 3px 9px; font-size: 15px; }
.az-tip { padding: 3px 9px; border-radius: 8px; background: var(--lime-soft); color: var(--green-3); font-weight: 700; font-size: 12px; }
.az-split { display: flex; gap: 2px; height: 6px; margin-top: 2px; border-radius: 3px; overflow: hidden; }
.az-split i.s1 { background: var(--navy); }
.az-split i.sx { background: #C5D0D8; }
.az-split i.s2 { background: #3FAE5C; }
.az-split-l { display: flex; justify-content: space-between; gap: 8px; color: var(--mute); font-size: 12px; font-weight: 600; }
.az-split-l span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.az-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.az-card { display: grid; gap: 8px; align-content: start; padding: 18px; border-radius: 20px; background: var(--panel); box-shadow: var(--sh); }
.az-card:hover h3 { text-decoration: underline; text-underline-offset: 3px; }
.az-card-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 2px; }
.az-card h3 { font: 800 18px/1.25 var(--f-num); }
.az-card p { margin: 0; color: var(--ink-2); font-size: 13px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
html[data-theme="dark"] .az-split i.s1 { background: #E7EEE9; }
html[data-theme="dark"] .az-ft { background: var(--lime); color: var(--navy); }

@media (max-width: 900px) {
  .az-hero { grid-template-columns: minmax(0, 1fr); }
  .az-days { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .az-days::-webkit-scrollbar { display: none; }
  .az-days a { flex: 0 0 auto; }
}
@media (max-width: 720px) {
  .az, .lv, .mz { gap: 16px; }
  .az-lead { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 18px 16px; border-radius: 20px; }
  .az-lead .crest-xl { width: 64px; height: 64px; }
  .az-grid { grid-template-columns: minmax(0, 1fr); }
}
.az-card, .az-lead-copy { grid-template-columns: minmax(0, 1fr); }
.az-card h3, .az-lead h2 { overflow-wrap: anywhere; }

/* live */
.lv-auto { display: inline-flex; align-items: center; gap: 8px; margin: 14px 0 0; color: #8EA0B4; font-size: 13px; font-weight: 600; }
.lv-feat { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.lv-board { display: grid; gap: 12px; padding: 16px 18px; border-radius: 20px; background: var(--panel); box-shadow: var(--sh); }
.lv-board:hover em { text-decoration: underline; text-underline-offset: 3px; }
.lv-board-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; color: var(--mute); font-size: 12px; font-weight: 600; }
.lv-board-top > span { display: inline-flex; align-items: center; gap: 6px; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lv-board-top b { flex: 0 0 auto; color: var(--green-3); font: 800 13px var(--f-num); }
.lv-teams { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 10px; align-items: center; }
.lv-teams > span { display: grid; justify-items: start; gap: 6px; min-width: 0; }
.lv-teams > span.is-away { justify-items: end; text-align: right; }
.lv-teams em { max-width: 100%; font-style: normal; font-weight: 700; font-size: 14px; line-height: 1.25; overflow-wrap: anywhere; }
.lv-teams strong { font: 800 34px/1 var(--f-num); letter-spacing: -.02em; white-space: nowrap; }
.lv-teams strong i { font-style: normal; color: var(--mute); margin: 0 3px; }
.lv-bar { height: 4px; border-radius: 2px; background: var(--soft); overflow: hidden; }
.lv-bar i { display: block; height: 100%; background: #3FAE5C; }
.lv-tag { justify-self: start; padding: 3px 9px; border-radius: 8px; background: var(--lime-soft); color: var(--green-3); font-weight: 700; font-size: 12px; }
.lv-list { padding: 6px 0; }
.lv-group + .lv-group { border-top: 6px solid var(--soft); }
.lv-group-h { display: flex; align-items: center; gap: 8px; padding: 12px 18px 6px; color: var(--ink-2); font-weight: 700; font-size: 13px; }
.lv-group-h a:hover { text-decoration: underline; }
.lv-group-h em { margin-left: auto; font-style: normal; color: var(--mute); font-family: var(--f-num); }
.lv-row { display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 9px 18px; border-top: 1px solid var(--line); }
.lv-row:hover { background: var(--soft); }
.lv-min { display: grid; gap: 5px; }
.lv-min b { color: var(--green-3); font: 800 14px var(--f-num); }
.lv-min.is-ht b { color: var(--mute); font-size: 12px; }
.lv-min i { height: 3px; border-radius: 2px; background: linear-gradient(90deg, #3FAE5C var(--p), var(--soft) var(--p)); }
.lv-m { display: grid; gap: 4px; min-width: 0; }
.lv-m > span { display: flex; align-items: center; gap: 8px; min-width: 0; font-weight: 600; }
.lv-m em { min-width: 0; font-style: normal; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lv-m b { margin-left: auto; font: 800 15px var(--f-num); }
.lv-row .lv-tag { max-width: 180px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 720px) {
  .lv-feat { grid-template-columns: minmax(0, 1fr); }
  .lv-row { grid-template-columns: 46px minmax(0, 1fr); gap: 10px; padding: 9px 14px; }
  .lv-row .lv-tag { grid-column: 2; max-width: none; }
  .lv-group-h { padding: 12px 14px 6px; }
}

/* meciuri azi / program */
.mz-upd { margin-top: 10px; }
.mz-upd * { color: #8EA0B4; }
.mz-arch { margin: 10px 0 0; }
.mz-arch a { color: var(--lime); font-weight: 700; font-size: 14px; }
.mz-hero .tp-stats small a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.mz-days { display: grid; gap: 8px; }
.mz .days { gap: 6px; }
.mz .day { width: 74px; border-radius: 14px; background: var(--panel); }
.mz .day.is-on { background: var(--navy); }
.mz .day-filter { margin: 0; color: var(--mute); font-size: 13px; }
.mz .day-filter a { color: var(--green-3); font-weight: 700; }
.mz-prev { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.mz-prev .az-card h3 { font-size: 16px; }
.mz-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; font-size: 13px; font-weight: 700; }
.mz-links a { color: var(--green-3); }
.mz-bar { position: sticky; top: 8px; z-index: 5; display: flex; align-items: center; gap: 12px; padding: 6px; border-radius: 16px; background: var(--panel); box-shadow: var(--sh); overflow: hidden; }
.mz-bar .seg { flex: 0 0 auto; box-shadow: none; background: var(--soft); }
.mz-chips { flex: 1 1 auto; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; min-width: 0; }
.mz-chips::-webkit-scrollbar { display: none; }
.mz-chips .chip { flex: 0 0 auto; box-shadow: none; background: var(--soft); }
.mz-chips .chip.is-on { background: var(--navy); }
.mz .mlist { border-radius: 22px; }
.mz .mgroup + .mgroup { border-top: 6px solid var(--soft); }
.mz .mgroup-h { padding: 14px 18px 8px; font-size: 13px; }
.mz .mgroup-h a:hover { text-decoration: underline; }
.mz .mrow2 { border-top: 1px solid var(--line); }
.mz .mrow2:hover { background: var(--soft); }
html[data-theme="dark"] .mz .day { background: var(--panel); }
html[data-theme="dark"] .mz .day.is-on { background: var(--lime); color: var(--navy); }
html[data-theme="dark"] .mz .day.is-on span, html[data-theme="dark"] .mz .day.is-on small, html[data-theme="dark"] .mz .day.is-on em { color: var(--navy); }
@media (max-width: 900px) { .mz-prev { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 720px) {
  .mz-bar { flex-wrap: wrap; top: 4px; border-radius: 14px; }
  .mz-chips { flex-basis: 100%; }
  .mz .mrow2 { padding: 10px 14px; }
  .mz .mgroup-h { padding: 12px 14px 6px; }
}
@media (max-width: 720px) {
  .mz-prev { gap: 8px; }
  .mz-prev .az-card { grid-template-columns: auto minmax(0, 1fr); gap: 2px 12px; align-items: center; padding: 12px 14px; border-radius: 16px; }
  .mz-prev .az-card .az-crests { grid-row: 1 / span 2; }
  .mz-prev .az-card h3 { font-size: 15px; }
}

/* live: coloanele Activitate, Pauză, Final (doar pe desktop) */
.lv-cols { display: none; }
.lv-act, .lv-ht { display: none; }
.lv-ft { display: grid; gap: 4px; justify-items: end; }
.lv-ft b, .lv-ht b { font: 800 15px/1.25 var(--f-num); }
.lv-ht b { color: var(--mute); font-weight: 700; }
.lv-m small.lv-tag { margin-top: 2px; }
@media (min-width: 1100px) {
  .lv-cols, .lv-row { grid-template-columns: 58px minmax(0, 1fr) 400px 56px 56px; }
  .lv-cols { display: grid; gap: 14px; align-items: end; padding: 10px 18px 8px; color: var(--mute); font-size: 11px; font-weight: 700; }
  .lv-cols span:nth-child(n+4) { text-align: right; }
  .lv-ht { display: grid; gap: 4px; justify-items: end; }
  .lv-act { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 14px; align-items: center; }
  .lv-spark { width: 170px; height: 40px; overflow: visible; }
  .lv-spark .h { fill: var(--navy); }
  .lv-spark .a { fill: #3FAE5C; }
  .lv-spark .mid { stroke: var(--line-2); stroke-width: 1; }
  .lv-spark .half { stroke: var(--line-2); stroke-width: 1; stroke-dasharray: 2 2; }
  .lv-spark .now { stroke: var(--ink); stroke-width: 1.5; }
  .lv-stats { display: grid; gap: 3px; }
  .lv-stat { display: grid; grid-template-columns: 74px 20px minmax(0, 1fr) 20px; gap: 6px; align-items: center; font-size: 11px; }
  .lv-stat span { color: var(--mute); font-weight: 600; white-space: nowrap; }
  .lv-stat b { font: 700 12px var(--f-num); text-align: center; }
  .lv-stat i { display: flex; height: 5px; border-radius: 3px; overflow: hidden; background: var(--soft); }
  .lv-stat i em { display: block; height: 100%; background: var(--navy); }
  .lv-stat i em + em { background: #3FAE5C; }
  .lv-stat.is-none b, .lv-stat.is-none span { opacity: .45; }
  .lv-noact { color: var(--mute); font-size: 12px; }
}
html[data-theme="dark"] .lv-spark .h, html[data-theme="dark"] .lv-stat i em:first-child { fill: #E7EEE9; background: #E7EEE9; }
html[data-theme="dark"] .lv-spark .now { stroke: var(--lime); }
@media (max-width: 720px) { .lv-row { grid-template-columns: 46px minmax(0, 1fr) auto; } .lv-m .lv-tag { justify-self: start; } }
.lv-cols small { margin-left: 6px; font-weight: 500; }
.lv-head { display: grid; gap: 4px; }
.lv-head h1 { font: 800 30px/1.1 var(--f-num); }
.lv-head p { margin: 0; color: var(--ink-2); }
.lv-head a { color: var(--green-3); font-weight: 700; }
.lv-head .lv-auto { margin: 0 0 0 10px; color: var(--mute); font-size: 13px; }
