:root {
    --t-primary: #ff6a00;
    --t-dark: #14221b;
    --t-green: #0b6d3b;
    --t-lime: #d6ff48;
    --t-bg: #eef4f2;
    --t-surface: #ffffff;
    --t-text: #1d2923;
    --t-muted: #64726b;
    --t-border: #dbe5df;
    --t-shadow: 0 18px 45px rgba(17, 43, 29, .10);
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: var(--t-bg); color: var(--t-text); font: 16px/1.55 "Trebuchet MS", Arial, sans-serif; }
a { color: inherit; }
.t-container { width: min(1140px, calc(100% - 32px)); margin: 0 auto; }
.t-header { color: #fff; background: radial-gradient(circle at top right, rgba(214,255,72,.22), transparent 32%), linear-gradient(135deg, #0b2819, #0a5230); }
.t-nav { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 72px; }
.t-brand { font-weight: 800; text-decoration: none; letter-spacing: .02em; }
.t-nav-link { color: #fff; font-weight: 700; text-decoration: none; }
.t-nav-link:hover, .t-nav-link:focus-visible { text-decoration: underline; }
.t-hero { padding: 62px 0 66px; }
.t-eyebrow { margin: 0 0 10px; color: var(--t-lime); font-weight: 800; font-size: .82rem; letter-spacing: .13em; text-transform: uppercase; }
.t-hero h1 { max-width: 900px; margin: 0; font: clamp(2.55rem, 7vw, 5.2rem)/.96 Impact, "Arial Narrow", sans-serif; letter-spacing: .025em; text-transform: uppercase; }
.t-lead { max-width: 700px; margin: 20px 0 0; color: rgba(255,255,255,.86); font-size: 1.12rem; }
.t-main { padding: 42px 0 76px; }
.t-section-head { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin: 0 0 22px; }
.t-section-head h2 { margin: 0; font-size: clamp(1.6rem, 4vw, 2.2rem); }
.t-section-head p { margin: 5px 0 0; color: var(--t-muted); }
.t-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(265px, 1fr)); gap: 18px; }
.t-card, .t-panel { background: var(--t-surface); border: 1px solid var(--t-border); border-radius: 20px; box-shadow: var(--t-shadow); }
.t-card { display: flex; flex-direction: column; padding: 24px; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease; }
.t-card:hover, .t-card:focus-visible { transform: translateY(-3px); box-shadow: 0 24px 48px rgba(17,43,29,.16); }
.t-card-top, .t-badges, .t-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.t-card-top { align-items: center; justify-content: space-between; }
.t-card h2 { margin: 18px 0 8px; font-size: 1.38rem; line-height: 1.15; }
.t-card p { margin: 0; color: var(--t-muted); }
.t-card-footer { display: flex; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 22px; font-size: .93rem; font-weight: 700; }
.t-badge { display: inline-flex; align-items: center; min-height: 28px; padding: 4px 10px; border-radius: 999px; background: #eaf4ed; color: #155d35; font-size: .8rem; font-weight: 800; }
.t-badge.finished { background: #eef0f3; color: #4c5560; }
.t-button { display: inline-flex; align-items: center; justify-content: center; min-height: 45px; padding: 10px 17px; border: 0; border-radius: 999px; background: var(--t-primary); color: #fff; font: inherit; font-weight: 800; text-decoration: none; cursor: pointer; }
.t-button:hover, .t-button:focus-visible { background: #d95700; }
.t-button.muted { background: #e8efea; color: var(--t-text); }
.t-empty { padding: 30px; border: 2px dashed #c5d2ca; border-radius: 18px; text-align: center; color: var(--t-muted); }
.t-panel { padding: 24px; margin-bottom: 22px; }
.t-detail-head { display: flex; justify-content: space-between; align-items: start; gap: 18px; }
.t-detail-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.t-detail-head h1 { margin: 4px 0 10px; font-size: clamp(2rem, 5vw, 3.3rem); line-height: 1.02; }
.t-detail-head p { margin: 0; color: var(--t-muted); }
.t-meta { margin-top: 18px; }
.t-meta span { padding-right: 12px; border-right: 1px solid var(--t-border); }
.t-meta span:last-child { border-right: 0; }
.t-live-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.t-live-grid div { display: grid; gap: 2px; min-width: 230px; padding: 13px 15px; border-radius: 12px; background: #f0f7e5; border-left: 4px solid var(--t-primary); }
.t-live-grid strong { color: var(--t-green); font-size: .83rem; letter-spacing: .04em; text-transform: uppercase; }
.t-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); gap: 22px; align-items: start; }
.t-list { display: grid; gap: 10px; }
.t-match { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 12px; align-items: center; padding: 15px; border: 1px solid var(--t-border); border-radius: 14px; }
.t-match-team:last-child { text-align: right; }
.t-score { min-width: 64px; padding: 4px 8px; border-radius: 9px; background: #14221b; color: #fff; text-align: center; font-weight: 800; }
.t-score.is-pending { background: #e8efea; color: var(--t-muted); }
.t-match-meta { grid-column: 1 / -1; color: var(--t-muted); font-size: .84rem; }
.t-table-wrap { overflow-x: auto; }
.t-table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.t-table th, .t-table td { padding: 10px 8px; border-bottom: 1px solid var(--t-border); text-align: center; white-space: nowrap; }
.t-table th:nth-child(2), .t-table td:nth-child(2) { text-align: left; }
.t-table th { color: var(--t-muted); font-size: .78rem; letter-spacing: .05em; text-transform: uppercase; }
.t-group-title { margin: 28px 0 12px; font-size: 1.15rem; }
.t-group-title:first-child { margin-top: 0; }
.t-footer { padding: 25px 0; background: #14221b; color: rgba(255,255,255,.78); font-size: .92rem; }

@media (max-width: 720px) {
    .t-hero { padding: 46px 0 50px; }
    .t-layout { grid-template-columns: 1fr; }
    .t-detail-head { display: block; }
    .t-detail-head .t-button { margin-top: 18px; }
    .t-match { gap: 7px; padding: 12px; font-size: .92rem; }
    .t-score { min-width: 52px; }
}

@media print {
    .t-header, .t-footer, .t-detail-actions { display: none !important; }
    body { background: #fff; }
    .t-main { padding: 0; }
    .t-panel, .t-card { box-shadow: none; }
}
