/* KK Sūduva – rungtynių protokolas. Spalvos: raudona #ff0000, juoda, balta; šriftai Staff / Amusaf. */
.sdp { font-family: Staff, sans-serif; color: #000; }
.sdp-empty { padding: 20px 0; }
.sdp-head { text-align: center; padding: 10px 0 24px; border-bottom: 2px solid #ff0000; margin-bottom: 8px; }
.sdp-head__meta { font: 700 14px/1.2 Staff, sans-serif; text-transform: uppercase; letter-spacing: .04em; color: #555; margin-bottom: 14px; }
.sdp-head__row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.sdp-head__team { display: flex; flex-direction: column; align-items: center; gap: 10px; font: 700 16px/1.25 Staff, sans-serif; }
.sdp-head__team img { width: 96px; height: 96px; object-fit: contain; }
.sdp-head__score { display: flex; align-items: center; gap: 10px; }
.sdp-head__score b { display: inline-flex; align-items: center; justify-content: center; min-width: 90px; height: 70px; padding: 0 10px; background: #ff0000; color: #fff; font: 400 56px/1 Amusaf, Staff, sans-serif; }
.sdp-head__score i { font: 400 44px/1 Amusaf, Staff, sans-serif; font-style: normal; }
.sdp-state { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; padding: 6px 10px 5px; font: 700 12px/1 Staff, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: #000; }
.sdp-state--live { background: #ff0000; }
.sdp-state--live i { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: sdp-pulse 1.2s infinite; }
@keyframes sdp-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }

.sdp-h { font: 700 18px/1.25 Staff, sans-serif; text-transform: uppercase; margin: 30px 0 12px; display: flex; align-items: center; gap: 10px; }
.sdp-team img { width: 34px; height: 34px; object-fit: contain; }
.sdp-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.sdp-table { width: 100%; border-collapse: collapse; font-size: 14px; white-space: nowrap; margin: 0; }
.sdp-table th { background: #ff0000; color: #fff; font-weight: 700; text-transform: uppercase; font-size: 12px; padding: 8px 6px; text-align: center; border: 0; }
.sdp-table td { padding: 7px 6px; text-align: center; border: 0; border-bottom: 1px solid #e6e6e6; font-variant-numeric: tabular-nums; }
.sdp-table .sdp-l { text-align: left; }
.sdp-table tbody tr:nth-child(even) td { background: #f7f7f7; }
.sdp-table small { display: block; font-size: 11px; color: #888; }
.sdp-periods td.sdp-l { font-weight: 700; }
.sdp-total, .sdp-pts { font-weight: 700; }
.sdp-box .is-starter .sdp-name { font-weight: 700; }
.sdp-box sup { color: #ff0000; margin-left: 2px; }
.sdp-box .is-dnp td { color: #999; }
.sdp-dnp { font-style: italic; text-align: left !important; }
.sdp-sum td { font-weight: 700; border-top: 2px solid #000; background: #fff !important; }
.sdp-eff { font-weight: 700; }

.sdp-pbp details { border: 1px solid #e6e6e6; margin-bottom: 8px; }
.sdp-pbp summary { cursor: pointer; padding: 10px 12px; font: 700 14px/1.2 Staff, sans-serif; text-transform: uppercase; background: #f4f4f4; list-style: none; }
.sdp-pbp summary::-webkit-details-marker { display: none; }
.sdp-pbp summary::after { content: "+"; float: right; color: #ff0000; }
.sdp-pbp details[open] summary::after { content: "–"; }
.sdp-pbp ul { list-style: none; margin: 0; padding: 0; }
.sdp-act { display: grid; grid-template-columns: 54px 26px 1fr auto; gap: 8px; align-items: center; padding: 7px 12px; border-top: 1px solid #eee; font-size: 14px; margin: 0; }
.sdp-act::before { display: none !important; }
.sdp-act__t { color: #777; font-variant-numeric: tabular-nums; }
.sdp-act__logo img { width: 22px; height: 22px; object-fit: contain; display: block; }
.sdp-act__s { font-weight: 700; font-variant-numeric: tabular-nums; }
.sdp-act--score .sdp-act__txt { font-weight: 700; }
.sdp-act--period { background: #fafafa; }
.sdp-act--period .sdp-act__txt { color: #ff0000; font-weight: 700; text-transform: uppercase; }

.sdp-source { color: #888; font-size: 12px; margin-top: 18px; }
.sdp-back a { color: #ff0000; font-weight: 700; text-transform: uppercase; font-size: 13px; letter-spacing: .05em; text-decoration: none; }

.sdp-list { list-style: none; margin: 0; padding: 0; }
.sdp-list li { margin: 0; border-bottom: 1px solid #e6e6e6; }
.sdp-list li::before { display: none !important; }
.sdp-list a { display: grid; grid-template-columns: 110px 1fr auto; gap: 12px; padding: 12px 4px; color: #000; text-decoration: none; }
.sdp-list a:hover { background: #f7f7f7; }
.sdp-list__score { font-weight: 700; color: #ff0000; }

@media (max-width: 767px) {
    .sdp-head__team img { width: 60px; height: 60px; }
    .sdp-head__team { font-size: 13px; }
    .sdp-head__score b { min-width: 64px; height: 52px; font-size: 40px; }
    .sdp-list a { grid-template-columns: 1fr auto; }
    .sdp-list__date { grid-column: 1 / -1; color: #777; font-size: 12px; }
}

/* Skirtukai */
.sdp-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 22px 0 18px; }
.sdp-tab {
    appearance: none; border: 0; cursor: pointer; border-radius: 0;
    padding: 10px 20px; background: #f4f4f4; color: #1e1e1e;
    font: 700 14px/1.2 Staff, sans-serif; text-transform: uppercase; letter-spacing: .04em;
}
.sdp-tab:hover { background: #e6e6e6; }
.sdp-tab.is-active { background: #ff0000; color: #fff; }
.sdp-pane { display: none; }
.sdp-pane.is-active { display: block; }
.sdp-pane .sdp-h:first-child, .sdp-periods-wrap + .sdp-h { margin-top: 26px; }
.sdp-head { padding-bottom: 20px; }

/* Komandos statistika */
.sdp-teamtabs .sdp-tabs { margin-top: 0; }
.sdp-stats__bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; }
.sdp-stats__title { font: 700 16px/1.25 Staff, sans-serif; text-transform: uppercase; }
.sdp-modes { display: inline-flex; gap: 4px; }
.sdp-mode { appearance: none; border: 1px solid #000; background: #fff; color: #000; cursor: pointer; border-radius: 0; padding: 6px 12px; font: 700 12px/1.2 Staff, sans-serif; text-transform: uppercase; letter-spacing: .04em; }
.sdp-mode.is-active { background: #000; color: #fff; }
.sdp-stat[hidden] { display: none; }
.sdp-box .sdp-name a { color: inherit; text-decoration: none; font-weight: 700; }
.sdp-box .sdp-name a:hover { color: #ff0000; }

/* Rūšiuojami stulpeliai */
.sdp-stat th.is-sortable { cursor: pointer; user-select: none; white-space: nowrap; }
.sdp-stat th.is-sortable:hover { background: #d90000; }
.sdp-stat th.is-sortable::after { content: ""; display: inline-block; width: 0; height: 0; margin-left: 4px; vertical-align: middle; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid rgba(255,255,255,.45); }
.sdp-stat th.is-sorted::after { border-top-color: #fff; }
.sdp-stat th.is-sorted.is-asc::after { border-top: 0; border-bottom: 5px solid #fff; }
.sdp-stat th.is-sorted { background: #000; }
.sdp-stat td.is-sorted { font-weight: 700; }

/* Komandos sudėtis – mažesnis tarpas po skirtukais */
.sdp-teamtabs .sdp-pane > :first-child,
.sdp-teamtabs .sdp-pane > .snkl-standings-wrap:first-of-type { margin-top: 0 !important; }
.sdp-teamtabs .sdp-pane > br:first-child { display: none; }

/* Protokole paryškinti tik startinio penketo žaidėjai (nuorodos – be atskiro paryškinimo) */
.sdp-box .sdp-name a { font-weight: inherit; }
.sdp-box .is-starter .sdp-name, .sdp-box .is-starter .sdp-name a { font-weight: 700; }
.sdp-stat .sdp-box .sdp-name a { font-weight: 700; }
