/* Cockfight24 components — colors from theme.css / backend settings */
:root {
    --cf-black: var(--cf-text-color, #232323);
    --cf-red: var(--cf-secondary-color, #c60102);
    --cf-red-dark: #8b0001;
    --cf-gold: var(--cf-accent-color, #c60102);
    --cf-white: var(--cf-card-bg, #ffffff);
    --cf-gray: #f5f5f5;
    --cf-text: var(--cf-text-color, #232323);
}

.cf-page { padding: 24px 16px 48px; }
.cf-page-title, .cf-section-title { font-size: 1.6rem; font-weight: 700; color: var(--cf-black); margin-bottom: 16px; border-left: 4px solid var(--cf-red); padding-left: 12px; }
.cf-section { margin: 32px 0; }
.cf-section-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; flex-wrap: wrap; gap: 10px; }
.cf-section-more { color: var(--cf-red); font-weight: 600; }

.cf-grid { display: grid; gap: 20px; }
.cf-grid > * { min-width: 0; }
.cf-grid-2 { grid-template-columns: repeat(2, 1fr); }
.cf-grid-3 { grid-template-columns: repeat(3, 1fr); }

.cf-card { background: var(--cf-white); border: 1px solid #e8e8e8; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,.06); transition: transform .2s, box-shadow .2s; }
.cf-card:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,.1); }
.cf-card-img { display: block; aspect-ratio: 16/9; overflow: hidden; background: var(--cf-black); }
.cf-card-img img { width: 100%; height: 100%; object-fit: cover; }
.cf-card-body { padding: 16px; }
.cf-card-title { font-size: 1.05rem; margin: 8px 0; line-height: 1.4; }
.cf-card-title a { color: var(--cf-black); }
.cf-card-title a:hover { color: var(--cf-red); }
.cf-card-meta { display: flex; gap: 6px; flex-wrap: wrap; }
.cf-card-date, .cf-card-venue { font-size: .9rem; color: #666; margin: 4px 0; }
.cf-excerpt { color: #555; font-size: .95rem; margin: 8px 0; line-height: 1.5; }

.cf-badge { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: .75rem; font-weight: 600; color: #fff; }
.badge-pending { background: #6c757d; }
.badge-live { background: var(--cf-red); animation: cf-pulse 1.5s infinite; }
.badge-finished { background: #28a745; }
.badge-cancelled { background: #343a40; }
.badge-waiting { background: #ffc107; color: #333; }
.badge-win { background: #28a745; }
.badge-lose { background: var(--cf-red); }
.badge-featured { background: var(--cf-gold); color: var(--cf-black); }

@keyframes cf-pulse { 0%,100%{opacity:1} 50%{opacity:.7} }

.cf-vs-box { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 12px 0; padding: 12px; background: var(--cf-gray); border-radius: 6px; }
.cf-vs { font-weight: 900; color: var(--cf-gold); font-size: 1.1rem; }
.cf-side { flex: 1; text-align: center; font-weight: 600; }
.cf-red { color: var(--cf-red); }
.cf-blue { color: #0056b3; }

/* Program card — arena theme */
.cf-program-card {
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--cf-border-color, #e3e8ef);
    border-radius: 16px;
    background: var(--cf-white);
    box-shadow: 0 8px 24px rgba(6, 34, 71, .07);
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.cf-program-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(6, 34, 71, .12);
    border-color: rgba(198, 1, 2, .18);
}
.cf-program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--cf-red) 0%, var(--cf-primary-color, #062247) 50%, #1565c0 100%);
    z-index: 3;
}
.cf-program-card--live {
    border-color: rgba(198, 1, 2, .35);
    box-shadow: 0 8px 28px rgba(198, 1, 2, .14);
}
.cf-program-card--live::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    box-shadow: inset 0 0 0 1px rgba(198, 1, 2, .12);
}
.cf-program-card .cf-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 0;
    gap: 0;
}
.cf-program-media {
    position: relative;
    display: block;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: linear-gradient(135deg, var(--cf-primary-color, #062247), #0a1555);
}
.cf-program-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.cf-program-card:hover .cf-program-media img {
    transform: scale(1.05);
}
.cf-program-media-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6, 34, 71, .15) 0%, rgba(6, 34, 71, .55) 100%);
    pointer-events: none;
}
.cf-program-media-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .2);
}
.cf-program-head {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px 18px 14px;
    background: linear-gradient(180deg, #fafbfd 0%, #fff 100%);
    border-bottom: 1px solid #eef1f5;
}
.cf-program-head-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.cf-program-title {
    margin: 0;
    font-size: clamp(1rem, 2.4vw, 1.08rem);
    font-weight: 700;
    line-height: 1.45;
    color: var(--cf-black);
}
.cf-program-meta {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.cf-program-meta li { margin: 0; }
.cf-program-meta-pill {
    display: inline-flex;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 7px 12px;
    border-radius: 10px;
    background: #f4f6f9;
    border: 1px solid #e8ecf2;
    font-size: .84rem;
    color: var(--cf-muted-text, #5a6472);
    line-height: 1.45;
}
.cf-program-meta-icon {
    flex-shrink: 0;
    line-height: 1.45;
}
.cf-program-arena {
    padding: 14px 16px 16px;
    background:
        radial-gradient(circle at 50% 0%, rgba(198, 1, 2, .04), transparent 55%),
        radial-gradient(circle at 50% 100%, rgba(21, 101, 192, .05), transparent 55%),
        #fff;
}
.cf-program-matchup {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: stretch;
    gap: 8px;
    padding: 0;
    border: 0;
    background: transparent;
}
.cf-fighter {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    min-width: 0;
    min-height: 88px;
    padding: 12px 10px;
    border-radius: 12px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cf-fighter::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: .55;
    pointer-events: none;
}
.cf-fighter-red {
    background: linear-gradient(145deg, #fff5f5 0%, #ffecec 100%);
    border: 1px solid rgba(198, 1, 2, .16);
    box-shadow: inset 3px 0 0 var(--cf-red);
}
.cf-fighter-red::before {
    background: linear-gradient(135deg, rgba(198, 1, 2, .08), transparent 70%);
}
.cf-fighter-blue {
    background: linear-gradient(145deg, #f3f8ff 0%, #e8f1ff 100%);
    border: 1px solid rgba(21, 101, 192, .16);
    box-shadow: inset -3px 0 0 #1565c0;
}
.cf-fighter-blue::before {
    background: linear-gradient(225deg, rgba(21, 101, 192, .08), transparent 70%);
}
.cf-fighter-corner,
.cf-fighter-name {
    position: relative;
    z-index: 1;
}
.cf-fighter-corner {
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.cf-fighter-red .cf-fighter-corner { color: var(--cf-red); }
.cf-fighter-blue .cf-fighter-corner { color: #1565c0; }
.cf-fighter-name {
    font-size: clamp(.82rem, 2.2vw, 1rem);
    font-weight: 800;
    line-height: 1.3;
    word-break: break-word;
    overflow-wrap: anywhere;
}
.cf-fighter-red .cf-fighter-name { color: #9b0001; }
.cf-fighter-blue .cf-fighter-name { color: #0d47a1; }
.cf-match-center {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}
.cf-vs-ring {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .04em;
    color: #fff;
    background: linear-gradient(145deg, var(--cf-red) 0%, var(--cf-primary-color, #062247) 52%, #1565c0 100%);
    box-shadow:
        0 6px 16px rgba(6, 34, 71, .22),
        inset 0 1px 0 rgba(255, 255, 255, .25);
    border: 2px solid #fff;
}
.cf-vs-ring span {
    display: block;
    transform: translateY(1px);
}
.cf-program-price-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding: 12px 18px;
    background: linear-gradient(90deg, var(--cf-primary-color, #062247) 0%, #0a1f45 100%);
    color: #fff;
}
.cf-program-price-bar .cf-program-price-label {
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    opacity: .82;
    color: #fff;
}
.cf-program-price-bar .cf-program-price-value {
    font-size: clamp(.88rem, 2.4vw, 1.02rem);
    font-weight: 800;
    color: #ffd76a;
    line-height: 1.2;
    text-align: right;
    word-break: break-word;
}
.cf-program-btn {
    margin-left: auto;
    padding: 10px 20px;
    box-shadow: 0 4px 14px rgba(198, 1, 2, .25);
    transition: transform .2s, box-shadow .2s;
}

/* Homepage — program match cards (vertical list) */
.cf-program-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.cf-match-card,
.cf-match-card-link {
    display: block;
    background: #fff;
    border: 1px solid #e4e4e4;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .06);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
    color: inherit;
    text-decoration: none;
}
a.cf-match-card-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .1);
    border-color: rgba(198, 1, 2, .18);
    color: inherit;
    text-decoration: none;
}
.cf-match-card--live {
    border-color: rgba(198, 1, 2, .28);
    box-shadow: 0 6px 20px rgba(198, 1, 2, .12);
}
.cf-match-card-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: linear-gradient(90deg, #2f2f2f 0%, var(--cf-primary-color, #062247) 100%);
    color: #fff;
}
.cf-match-card-head-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    opacity: .95;
}
.cf-match-card-head-text {
    font-size: .92rem;
    font-weight: 600;
    line-height: 1.4;
}
.cf-match-card-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 1.35fr) minmax(0, 1fr);
    align-items: stretch;
    gap: 12px;
    padding: 22px 18px 20px;
    background: #fff;
}
.cf-match-card-side {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 8px 6px;
}
.cf-match-card-team {
    font-size: clamp(.95rem, 2.2vw, 1.12rem);
    font-weight: 800;
    line-height: 1.35;
    text-align: center;
    word-break: break-word;
}
.cf-match-card-side-red .cf-match-card-team { color: var(--cf-red, #c60102); }
.cf-match-card-side-blue .cf-match-card-team { color: #1565c0; }
.cf-match-card-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-width: 0;
    text-align: center;
}
.cf-match-card-vs {
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .12em;
    color: #b0b0b0;
}
.cf-match-card-venue {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 6px;
    margin: 0;
    max-width: 100%;
    font-size: .8rem;
    line-height: 1.45;
    color: #777;
}
.cf-match-card-pin {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--cf-red, #c60102);
}
.cf-match-card-prize {
    display: inline-block;
    max-width: 100%;
    padding: 8px 18px;
    border-radius: 999px;
    background: #ffc400;
    color: #111;
    font-size: clamp(.82rem, 2vw, .95rem);
    font-weight: 800;
    line-height: 1.3;
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .08);
    word-break: break-word;
}
.cf-match-card-result {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 4px;
    padding: 9px 16px;
    border: 1px solid #d8d8d8;
    border-radius: 10px;
    background: #fafafa;
    font-size: .82rem;
    color: #666;
    line-height: 1.35;
}
.cf-match-card-clock {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: #888;
}
.cf-match-card--live .cf-match-card-result {
    border-color: rgba(198, 1, 2, .25);
    background: #fff5f5;
    color: var(--cf-red, #c60102);
}
.cf-match-card--finished .cf-match-card-result {
    border-color: rgba(40, 167, 69, .25);
    background: #f4fff7;
    color: #1e7e34;
}

/* Homepage — 3-column single row sections */
.cf-home-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.cf-home-row > .cf-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}
.cf-home-row > .cf-card .cf-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.cf-home-row > .cf-card .cf-btn {
    margin-top: auto;
    align-self: flex-start;
}
.cf-home-row > .cf-tip-card .cf-tip-card-pick { margin-top: auto; }

/* Tips — grouped list + card redesign */
.cf-tips-page-head { margin-bottom: 20px; }
.cf-tips-page-title { margin-bottom: 8px; }
.cf-tips-page-desc { margin: 0; color: #666; font-size: .98rem; line-height: 1.55; }
.cf-programs-page-head { margin-bottom: 20px; }
.cf-programs-page-desc { margin: 0; color: #666; font-size: .98rem; line-height: 1.55; }
.cf-programs-filter { margin-bottom: 20px; }
.cf-programs-date-head { margin-bottom: 16px; }
.cf-section--programs .cf-programs-date-head { margin-bottom: 14px; }
.cf-tips-filter { margin-bottom: 24px; }
.cf-tips-grouped-list { display: flex; flex-direction: column; gap: 28px; }
.cf-tips-date-group { margin-bottom: 4px; }
.cf-tips-date-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    margin-bottom: 16px;
    padding: 12px 16px;
    border-left: 4px solid var(--cf-red, #c60102);
    background: linear-gradient(90deg, #fff5f5 0%, #fff 100%);
    border-radius: 0 10px 10px 0;
}
.cf-tips-date-title {
    margin: 0;
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--cf-black, #232323);
}
.cf-tips-date-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--cf-red, #c60102);
    color: #fff;
    font-size: .78rem;
    font-weight: 700;
}
.cf-tips-date-count {
    margin-left: auto;
    font-size: .86rem;
    color: #777;
}
.cf-tips-grid { gap: 18px; }
.cf-tip-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid #ececec;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .05);
}
.cf-tip-card-accent {
    height: 4px;
    background: #ddd;
}
.cf-tip-card--red .cf-tip-card-accent { background: linear-gradient(90deg, #c60102, #ff4d4d); }
.cf-tip-card--blue .cf-tip-card-accent { background: linear-gradient(90deg, #0047ab, #3d8bfd); }
.cf-tip-card--draw .cf-tip-card-accent { background: linear-gradient(90deg, #856404, #ffc107); }
.cf-tip-card--neutral .cf-tip-card-accent { background: linear-gradient(90deg, #666, #999); }
.cf-tip-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 16px 16px 18px;
}
.cf-tip-card-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
}
.cf-tip-side-tag {
    margin-left: auto;
    padding: 2px 10px;
    border-radius: 999px;
    font-size: .74rem;
    font-weight: 700;
}
.cf-tip-side-tag--red { background: #ffe8e8; color: #c60102; }
.cf-tip-side-tag--blue { background: #e8f0ff; color: #0047ab; }
.cf-tip-side-tag--draw { background: #fff8e1; color: #856404; }
.cf-tip-side-tag--neutral { background: #f0f0f0; color: #555; }
.cf-tip-card-title { margin: 0 0 8px; font-size: 1rem; line-height: 1.45; }
.cf-tip-card-expert { margin: 0 0 12px; font-size: .9rem; }
.cf-tip-card-pick {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    margin: 0 0 14px;
    padding: 10px 12px;
    border-radius: 10px;
    background: #f8f9fb;
    border: 1px solid #eceff3;
    font-size: .92rem;
}
.cf-tip-card-pick-label { color: #777; }
.cf-tip-card-pick-side { color: var(--cf-black, #232323); }
.cf-tip-card--red .cf-tip-card-pick-side { color: #c60102; }
.cf-tip-card--blue .cf-tip-card-pick-side { color: #0047ab; }
.cf-tip-card--draw .cf-tip-card-pick-side { color: #856404; }
.cf-tip-card-confidence {
    margin-left: auto;
    font-size: .82rem;
    font-weight: 700;
    color: #555;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 999px;
    padding: 2px 10px;
}
.cf-tip-card-btn { margin-top: auto; align-self: flex-start; }
.cf-section--tips .cf-tips-date-head { margin-bottom: 14px; }
.cf-section--tips .cf-tips-date-group + .cf-tips-date-group { margin-top: 8px; }

.cf-program-card:hover .cf-program-btn {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(198, 1, 2, .32);
}
.cf-detail-price {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    margin: 16px 0;
    padding: 10px 16px;
    border-radius: 10px;
    background: linear-gradient(135deg, #fff8e6 0%, #fff3cd 100%);
    border: 1px solid rgba(198, 1, 2, .15);
    font-size: 1rem;
}
.cf-detail-price strong {
    font-weight: 600;
    color: var(--cf-muted-text, #666);
}
.cf-vs-large { flex-wrap: wrap; }
.cf-side-block { flex: 1; min-width: 200px; text-align: center; padding: 16px; border-radius: 8px; }
.cf-side-block.cf-red { background: #fff0f0; border: 2px solid var(--cf-red); }
.cf-side-block.cf-blue { background: #f0f4ff; border: 2px solid #0056b3; }
.cf-side-block h2 { font-size: 1.2rem; margin-bottom: 8px; }

.cf-btn { display: inline-block; padding: 8px 18px; border-radius: 25px; font-weight: 600; font-size: .9rem; border: 2px solid transparent; cursor: pointer; text-align: center; }
.cf-btn-primary { background: var(--cf-red); color: #fff; border-color: var(--cf-red); }
.cf-btn-primary:hover { background: var(--cf-red-dark); color: #fff; }
.cf-btn-outline { background: transparent; color: var(--cf-red); border-color: var(--cf-red); }
.cf-btn-outline:hover { background: var(--cf-red); color: #fff; }
.cf-btn-gold { background: var(--cf-gold); color: var(--cf-black); }

.cf-filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; padding: 16px; background: var(--cf-gray); border-radius: 8px; }
.cf-filter-bar input, .cf-filter-bar select { padding: 8px 12px; border: 1px solid #ddd; border-radius: 6px; font-family: inherit; }

.cf-empty { text-align: center; padding: 48px 20px; background: var(--cf-gray); border-radius: 12px; border: 2px dashed #ccc; }
.cf-empty-icon { font-size: 3rem; margin-bottom: 12px; }
.cf-empty h2 { color: #666; font-size: 1.2rem; }

.cf-hero { position: relative; background: linear-gradient(135deg, var(--cf-primary-color) 0%, #000080 50%, var(--cf-secondary-color) 100%); background-size: cover; background-position: center; color: #fff; padding: 48px 24px; border-radius: var(--cf-border-radius, 12px); margin-top: 28px; margin-bottom: 32px; text-align: center; overflow: hidden; }
.cf-hero-left { text-align: left; }
.cf-hero-right { text-align: right; }
.cf-hero-center { text-align: center; }
.cf-hero-overlay { position: absolute; inset: 0; background: #000; pointer-events: none; }
.cf-hero-inner { position: relative; z-index: 1; }
.cf-hero h1 { font-size: 2rem; margin-bottom: 12px; color: #fff; }
.cf-hero p { font-size: 1.1rem; opacity: .95; margin-bottom: 20px; }
.cf-hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cf-hero-left .cf-hero-cta { justify-content: flex-start; }
.cf-hero-right .cf-hero-cta { justify-content: flex-end; }
.cf-btn-hero-secondary { color: #fff !important; border-color: #fff !important; }
.cf-btn-hero-secondary:hover { background: #fff !important; color: var(--cf-primary-color) !important; }
.cf-section-desc { color: var(--cf-muted-text); margin: -8px 0 16px; }
.cf-live-cta { text-align: center; padding: 24px; background: var(--cf-gray); border-radius: var(--cf-border-radius); }

/* Static pages — live, contact (spacing below site header) */
.cf-static-page {
    padding-top: 28px;
    padding-bottom: 48px;
}
.cf-page-hero,
.cf-live-hero {
    position: relative;
    margin: 0 0 20px;
    padding: 32px 28px;
    border-radius: 16px;
    color: #fff;
    box-shadow: 0 10px 32px rgba(0, 0, 0, .12);
    overflow: hidden;
}
.cf-page-hero--live,
.cf-live-hero {
    background: linear-gradient(135deg, #1a0000 0%, var(--cf-red) 45%, #1a1a1a 100%);
    box-shadow: 0 10px 32px rgba(198, 1, 2, .22);
}
.cf-page-hero--contact,
.cf-contact-hero {
    background: linear-gradient(135deg, var(--cf-primary-color) 0%, #0a1555 55%, #1a1a1a 100%);
    box-shadow: 0 10px 32px rgba(0, 0, 162, .18);
}
.cf-page-hero::after,
.cf-live-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 85% 15%, rgba(255,255,255,.12), transparent 45%);
    pointer-events: none;
}
.cf-page-hero-inner,
.cf-live-hero-inner { position: relative; z-index: 1; }
.cf-page-hero-badge,
.cf-live-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(0, 0, 0, .35);
    border: 1px solid rgba(255, 255, 255, .25);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .08em;
    margin-bottom: 14px;
}
.cf-page-hero-title,
.cf-live-hero-title {
    margin: 0 0 10px;
    font-size: 2rem;
    line-height: 1.25;
    color: #fff;
    border: 0;
    padding: 0;
}
.cf-page-hero-desc,
.cf-live-hero-desc {
    margin: 0 0 18px;
    max-width: 640px;
    opacity: .95;
    line-height: 1.6;
}
.cf-page-hero-nav,
.cf-live-quick-nav { display: flex; flex-wrap: wrap; gap: 10px; }
.cf-page-body,
.cf-live-intro {
    margin-bottom: 20px;
}
.cf-page-body .cf-rich-content,
.cf-live-intro .cf-rich-content { padding: 24px 28px; }
.cf-page-body .cf-rich-content > h2:first-child,
.cf-page-body .cf-rich-content > h3:first-child,
.cf-live-intro .cf-rich-content > h2:first-child,
.cf-live-intro .cf-rich-content > h3:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

/* Live broadcast page */
.cf-live-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ff3b3b;
    box-shadow: 0 0 0 0 rgba(255, 59, 59, .7);
    animation: cf-live-pulse 1.6s infinite;
}
@keyframes cf-live-pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 59, 59, .65); }
    70% { box-shadow: 0 0 0 10px rgba(255, 59, 59, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 59, 59, 0); }
}
.cf-live-section { margin-bottom: 24px; }
.cf-live-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding: 20px 24px 0;
}
.cf-live-section-head .cf-section-title { margin: 0; }
.cf-live-count {
    font-size: .88rem;
    color: #666;
    padding: 4px 12px;
    border-radius: 999px;
    background: #f3f3f3;
}
.cf-live-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    padding: 16px 24px 24px;
}
.cf-live-card {
    padding: 18px;
    border: 1px solid #ececec;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .05);
}
.cf-live-card-top { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.cf-badge-stream { background: #111; color: #fff; }
.cf-live-matchup { margin: 0 0 12px; padding: 12px; }
.cf-live-meta { margin: 0 0 14px; }
.cf-live-watch { width: 100%; text-align: center; padding: 11px 16px; }
.cf-live-no-url {
    display: block;
    text-align: center;
    padding: 10px 12px;
    border-radius: 10px;
    background: #f5f5f5;
    color: #777;
    font-size: .92rem;
}
.cf-live-featured .cf-live-embed,
.cf-live-card .cf-live-embed { margin-bottom: 14px; }
.cf-live-embed {
    position: relative;
    aspect-ratio: 16/9;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
}
.cf-live-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.cf-live-channels-section { margin-bottom: 24px; }
.cf-live-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 24px 16px;
    border-bottom: 1px solid var(--cf-border-color, #e8e8e8);
}
.cf-live-tab {
    appearance: none;
    border: 1px solid var(--cf-border-color, #e0e0e0);
    background: #fff;
    color: var(--cf-text, #232323);
    font: inherit;
    font-weight: 600;
    font-size: .95rem;
    padding: 10px 18px;
    border-radius: 999px;
    cursor: pointer;
    transition: background .2s, color .2s, border-color .2s, box-shadow .2s;
}
.cf-live-tab:hover {
    border-color: var(--cf-primary, #0000a2);
    color: var(--cf-primary, #0000a2);
}
.cf-live-tab.is-active {
    background: var(--cf-primary, #0000a2);
    border-color: var(--cf-primary, #0000a2);
    color: #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 162, .22);
}
.cf-live-tab-panels { padding: 20px 24px 24px; }
.cf-live-tab-panel { display: none; }
.cf-live-tab-panel.is-active { display: block; }
.cf-live-tab-panel .cf-live-embed { margin: 0; }
.cf-live-embed--facebook iframe { min-height: 100%; }
.cf-live-featured { margin-bottom: 24px; }
.cf-live-featured .cf-live-card-compact {
    margin: 0 24px 24px;
    border: 0;
    box-shadow: none;
    padding: 0;
}
.cf-live-note {
    margin-bottom: 24px;
    padding: 16px 20px;
    background: #fff8e6;
    border-left: 4px solid var(--cf-gold);
}
.cf-live-note p { margin: 0; color: #6c5a00; line-height: 1.6; }
.cf-live-empty { margin-bottom: 24px; }
.cf-live-empty-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 16px;
}

.cf-breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 16px; font-size: .9rem; }
.cf-breadcrumb li:not(:last-child)::after { content: '/'; margin-left: 6px; color: #999; }
.cf-breadcrumb a { color: var(--cf-red); }
.cf-breadcrumb li.active { color: #666; }

.cf-detail-title { font-size: 1.8rem; margin: 12px 0; line-height: 1.35; }
.cf-detail-meta { color: #666; margin-bottom: 16px; display: flex; flex-wrap: wrap; gap: 8px 16px; }
.cf-detail-meta-item { display: inline-flex; align-items: center; gap: 4px; }
.cf-detail-img img { width: 100%; border-radius: 8px; margin-bottom: 20px; }

/* Detail pages — shared article shell */
.cf-detail {
    background: var(--cf-white);
    border: 1px solid var(--cf-border-color, #e8e8e8);
    border-radius: 16px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, .06);
    overflow: hidden;
}
.cf-detail-header {
    padding: 24px 28px 20px;
    background: linear-gradient(180deg, #fafafa 0%, #fff 100%);
    border-bottom: 1px solid #eee;
}
.cf-detail-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.cf-badge-tip { background: #1a1a1a; color: #fff; }
.cf-detail-byline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 20px;
}
.cf-detail-expert {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px 8px 8px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #eee;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .04);
}
.cf-detail-expert-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}
.cf-detail-expert-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fff8e6, #fff3cd);
    font-size: 1.1rem;
}
.cf-detail-expert-name { font-weight: 700; color: var(--cf-black); font-size: .95rem; }
.cf-detail-hero {
    margin: 0;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--cf-black);
}
.cf-detail-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Article detail — hero under meta, full block width */
.cf-article-detail .cf-detail-header .cf-detail-meta { margin-bottom: 0; }
.cf-article-detail .cf-detail-header .cf-cat { margin-bottom: 0; }
.cf-article-detail .cf-detail-meta-cat { line-height: 1; }
.cf-article-hero {
    width: 100%;
    margin: 0;
    aspect-ratio: 16 / 9;
    max-height: 520px;
    overflow: hidden;
    background: #111;
    border-bottom: 1px solid #eee;
}
.cf-article-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Tip detail */
.cf-tip-detail .cf-tip-matchup { margin: 0; border-radius: 0; border-left: 0; border-right: 0; }
.cf-fighter-pick {
    box-shadow: 0 0 0 2px rgba(198, 1, 2, .25);
    position: relative;
}
.cf-fighter-blue.cf-fighter-pick { box-shadow: 0 0 0 2px rgba(0, 86, 179, .3); }
.cf-fighter-pick-badge {
    display: inline-block;
    margin-top: 6px;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
    background: var(--cf-red);
    color: #fff;
}
.cf-fighter-blue .cf-fighter-pick-badge { background: #0056b3; }
.cf-tip-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
    padding: 20px 28px;
    background: #f8f9fb;
    border-bottom: 1px solid #eee;
}
.cf-tip-summary-card {
    padding: 16px 18px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #e8e8e8;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .04);
}
.cf-tip-summary-label {
    display: block;
    font-size: .78rem;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: 6px;
}
.cf-tip-summary-value {
    display: block;
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--cf-black);
}
.cf-tip-pick-red .cf-tip-summary-value { color: var(--cf-red); }
.cf-tip-pick-blue .cf-tip-summary-value { color: #0056b3; }
.cf-tip-pick-draw .cf-tip-summary-value { color: #856404; }
.cf-confidence-bar {
    margin-top: 10px;
    height: 8px;
    border-radius: 999px;
    background: #ececec;
    overflow: hidden;
}
.cf-confidence-fill {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--cf-red) 0%, #ff6b35 100%);
}
.cf-tip-draw-note {
    margin: 0;
    padding: 12px 28px;
    background: #fff8e6;
    border-bottom: 1px solid #f0e6c8;
    color: #6c5a00;
    font-size: .95rem;
}

/* Rich article body */
.cf-rich-content {
    padding: 28px;
    line-height: 1.85;
    font-size: 1.02rem;
    color: #333;
}
.cf-content { line-height: 1.8; }
.cf-content img { max-width: 100%; height: auto; border-radius: 10px; }
.cf-rich-content > h2:first-child,
.cf-rich-content > h3:first-child { margin-top: 0; }
.cf-rich-content h2 {
    font-size: 1.4rem;
    margin: 32px 0 14px;
    padding: 0 0 10px 14px;
    border-left: 4px solid var(--cf-red);
    border-top: 0;
    line-height: 1.35;
    color: var(--cf-black);
}
.cf-rich-content h2:first-child { margin-top: 0; }
.cf-rich-content h3 {
    font-size: 1.15rem;
    margin: 24px 0 10px;
    color: #222;
    font-weight: 700;
}
.cf-rich-content h4 {
    font-size: 1.02rem;
    margin: 18px 0 8px;
    color: #444;
}
.cf-rich-content p { margin-bottom: 16px; }
.cf-rich-content p:last-child { margin-bottom: 0; }
.cf-rich-content ul,
.cf-rich-content ol {
    margin: 0 0 18px;
    padding-left: 1.4em;
}
.cf-rich-content li { margin-bottom: 8px; }
.cf-rich-content li::marker { color: var(--cf-red); }
.cf-rich-content a {
    color: var(--cf-red);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.cf-rich-content a:hover { color: var(--cf-red-dark); }
.cf-rich-content blockquote {
    margin: 20px 0;
    padding: 16px 20px;
    border-left: 4px solid var(--cf-red);
    background: #fafafa;
    border-radius: 0 10px 10px 0;
    color: #555;
    font-style: italic;
}
.cf-rich-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 18px 0 24px;
    font-size: .95rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .05);
    border-radius: 10px;
    overflow: hidden;
}
.cf-rich-content th,
.cf-rich-content td {
    padding: 12px 14px;
    border: 1px solid #e5e5e5;
    text-align: left;
    vertical-align: top;
}
.cf-rich-content th {
    background: linear-gradient(180deg, #f5f5f5, #ececec);
    font-weight: 700;
    color: #444;
}
.cf-rich-content tr:nth-child(even) td { background: #fafafa; }
.cf-rich-content hr {
    border: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #ddd, transparent);
    margin: 28px 0;
}
.cf-rich-content strong { color: #1a1a1a; }
.cf-program-article .cf-rich-content,
.cf-program-article-body.cf-rich-content { padding: 36px 40px; }

.cf-lead {
    font-size: 1.08rem;
    color: #444;
    background: linear-gradient(135deg, #fff8e6 0%, #fff 100%);
    padding: 18px 22px;
    margin: 0;
    border-bottom: 1px solid #f0e6c8;
    border-left: 4px solid var(--cf-gold);
    line-height: 1.65;
}

.cf-program-article .cf-detail-title { font-size: 1.65rem; line-height: 1.35; }
.cf-program-toc { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; padding: 12px 14px; background: #f8f9fa; border-radius: 8px; margin: 16px 0 20px; font-size: .92rem; }
.cf-program-toc a { color: var(--cf-red); text-decoration: underline; }
.cf-program-hero-vs { margin-bottom: 16px; }
.cf-fighter-corner { display: block; font-size: .75rem; font-weight: 700; text-transform: uppercase; opacity: .75; margin-bottom: 4px; }
.cf-detail-result { margin-bottom: 12px; }

/* Program detail page */
.cf-page--program-detail {
    padding: 32px 20px 64px;
}
.cf-program-article {
    position: relative;
    border-radius: 18px;
    box-shadow: 0 14px 42px rgba(6, 34, 71, .08);
    border-color: #e3e8ef;
}
.cf-program-article::before {
    content: '';
    display: block;
    height: 4px;
    background: linear-gradient(90deg, var(--cf-red) 0%, var(--cf-primary-color, #062247) 50%, #1565c0 100%);
}
.cf-program-article--live {
    box-shadow: 0 14px 42px rgba(198, 1, 2, .12);
    border-color: rgba(198, 1, 2, .22);
}
.cf-program-detail-head {
    padding: 36px 40px 28px;
    background: linear-gradient(180deg, #fafbfd 0%, #fff 100%);
    border-bottom: 1px solid #eef1f5;
}
.cf-program-detail-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}
.cf-program-detail-badges .cf-cat { margin-bottom: 0; }
.cf-program-detail-pair {
    margin: 0 0 8px;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--cf-muted-text, #5a6472);
}
.cf-program-detail-title {
    margin: 0 0 10px;
    font-size: clamp(1.45rem, 3.2vw, 2rem);
    line-height: 1.35;
    color: var(--cf-black);
}
.cf-program-detail-vs {
    display: inline-block;
    margin: 0 .15em;
    font-size: .72em;
    font-weight: 900;
    letter-spacing: .08em;
    color: #b0b0b0;
    vertical-align: middle;
}
.cf-program-detail-subtitle {
    margin: 0 0 18px;
    font-size: 1.02rem;
    line-height: 1.55;
    color: #555;
}
.cf-program-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.cf-program-detail-meta-pill {
    display: inline-flex;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 12px;
    background: #f4f6f9;
    border: 1px solid #e5eaf0;
    font-size: .88rem;
    line-height: 1.45;
    color: var(--cf-muted-text, #5a6472);
}
.cf-program-detail-meta-pill svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--cf-red, #c60102);
}
.cf-program-detail-cover {
    margin: 0;
    aspect-ratio: 16 / 9;
    max-height: 420px;
    overflow: hidden;
    background: #111;
    border-bottom: 1px solid #eef1f5;
}
.cf-program-detail-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.cf-program-detail-arena {
    padding: 32px 40px;
    background:
        radial-gradient(circle at 50% 0%, rgba(198, 1, 2, .04), transparent 55%),
        radial-gradient(circle at 50% 100%, rgba(21, 101, 192, .05), transparent 55%),
        #fff;
    border-bottom: 1px solid #eef1f5;
}
.cf-program-detail-match {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: stretch;
    gap: 16px;
}
.cf-program-detail-fighter {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    min-width: 0;
    min-height: 120px;
    padding: 22px 18px;
    border-radius: 16px;
    text-align: center;
}
.cf-program-detail-fighter h2 {
    margin: 0;
    font-size: clamp(1rem, 2.4vw, 1.35rem);
    line-height: 1.35;
    word-break: break-word;
}
.cf-program-detail-fighter p {
    margin: 0;
    font-size: .88rem;
    line-height: 1.55;
    color: #666;
}
.cf-program-detail-fighter-red {
    background: linear-gradient(145deg, #fff5f5 0%, #ffecec 100%);
    border: 1px solid rgba(198, 1, 2, .16);
    box-shadow: inset 4px 0 0 var(--cf-red);
}
.cf-program-detail-fighter-red h2 { color: #9b0001; }
.cf-program-detail-fighter-red .cf-fighter-corner { color: var(--cf-red); opacity: 1; }
.cf-program-detail-fighter-blue {
    background: linear-gradient(145deg, #f3f8ff 0%, #e8f1ff 100%);
    border: 1px solid rgba(21, 101, 192, .16);
    box-shadow: inset -4px 0 0 #1565c0;
}
.cf-program-detail-fighter-blue h2 { color: #0d47a1; }
.cf-program-detail-fighter-blue .cf-fighter-corner { color: #1565c0; opacity: 1; }
.cf-program-detail-center {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
}
.cf-program-detail-ring {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    font-size: .82rem;
    font-weight: 900;
    letter-spacing: .06em;
    color: #fff;
    background: linear-gradient(145deg, var(--cf-red) 0%, var(--cf-primary-color, #062247) 52%, #1565c0 100%);
    box-shadow: 0 8px 22px rgba(6, 34, 71, .2);
    border: 3px solid #fff;
}
.cf-program-detail-facts {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
}
.cf-program-detail-prize {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 999px;
    background: #ffc400;
    color: #111;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.3;
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .08);
}
.cf-program-detail-result {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border: 1px solid #d8dde4;
    border-radius: 12px;
    background: #fafbfc;
    font-size: .88rem;
    color: #666;
    line-height: 1.35;
}
.cf-program-detail-result svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: #888;
}
.cf-program-article--live .cf-program-detail-result {
    border-color: rgba(198, 1, 2, .22);
    background: #fff5f5;
    color: var(--cf-red);
}
.cf-program-article--finished .cf-program-detail-result {
    border-color: rgba(40, 167, 69, .22);
    background: #f4fff7;
    color: #1e7e34;
}
.cf-program-detail-result--extra {
    background: #fff;
}
.cf-program-detail-body {
    padding: 32px 40px 40px;
}
.cf-program-article .cf-program-toc {
    display: block;
    margin: 0 0 28px;
    padding: 20px 22px;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f4f8 100%);
    border: 1px solid #e3e8ef;
    border-radius: 14px;
}
.cf-program-toc-label {
    display: block;
    margin-bottom: 12px;
    font-size: .92rem;
    color: var(--cf-black);
}
.cf-program-toc-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.cf-program-article .cf-program-toc a {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #dde3ea;
    color: var(--cf-primary-color, #062247);
    font-size: .86rem;
    font-weight: 600;
    text-decoration: none;
    transition: background .2s, border-color .2s, color .2s;
}
.cf-program-article .cf-program-toc a:hover {
    background: var(--cf-red);
    border-color: var(--cf-red);
    color: #fff;
}
.cf-program-article-body.cf-rich-content {
    padding: 36px 40px;
    background: #fff;
    border: 1px solid #eef1f5;
    border-radius: 16px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
}
.cf-program-article-body.cf-rich-content > h2:first-child,
.cf-program-article-body.cf-rich-content > h3:first-child {
    margin-top: 0;
}
.cf-program-live-cta {
    margin-top: 28px;
    padding-top: 28px;
    border-top: 1px dashed #dde3ea;
    text-align: center;
}
.cf-btn-live {
    padding: 12px 28px;
    font-size: 1rem;
    box-shadow: 0 6px 18px rgba(198, 1, 2, .22);
}
.cf-program-detail-related {
    margin-top: 48px;
    padding-top: 32px;
}
.cf-program-detail-related .cf-section-head {
    margin-bottom: 20px;
}

.cf-compare-table-wrap, .cf-history-table-wrap { overflow-x: auto; margin: 12px 0 20px; }
.cf-compare-table, .cf-history-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.cf-compare-table th, .cf-history-table th { background: var(--cf-gray); text-align: left; padding: 10px 12px; border: 1px solid #ddd; white-space: nowrap; }
.cf-compare-table td, .cf-history-table td { padding: 10px 12px; border: 1px solid #ddd; vertical-align: top; }
.cf-compare-table th { width: 34%; color: #555; }

.cf-program-compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 12px 0 20px; }
.cf-program-compare-col { padding: 14px; border-radius: 8px; background: #fafafa; border: 1px solid #eee; }
.cf-program-compare-col.cf-red { border-top: 3px solid var(--cf-red); }
.cf-program-compare-col.cf-blue { border-top: 3px solid #1565c0; }
.cf-program-compare-col h3 { margin-top: 0; font-size: 1rem; }

.cf-program-tip-block { padding: 14px 0; border-bottom: 1px dashed #ddd; }
.cf-program-tip-block:last-child { border-bottom: 0; }
.cf-program-tip-meta { color: #666; font-size: .92rem; margin-bottom: 8px; }
.cf-program-related-list { padding-left: 18px; margin: 12px 0 16px; }
.cf-program-related-list li { margin-bottom: 8px; }
.cf-program-live-cta { margin-top: 24px; text-align: center; }
.cf-program-custom-content { margin: 12px 0 20px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

@media (max-width: 768px) {
    .cf-program-compare-grid { grid-template-columns: 1fr; }
}

.cf-cat { display: inline-block; background: var(--cf-red); color: #fff; padding: 2px 10px; border-radius: 4px; font-size: .8rem; margin-bottom: 8px; }
.cf-cat-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.cf-cat-nav a { padding: 6px 14px; border-radius: 20px; background: var(--cf-gray); color: var(--cf-text); }
.cf-cat-nav a.active, .cf-cat-nav a:hover { background: var(--cf-red); color: #fff; }

.cf-expert { display: flex; align-items: center; gap: 8px; margin: 8px 0; }
.cf-expert-avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.cf-tip-match { display: none; }
.cf-price { font-size: .9rem; color: var(--cf-gold); font-weight: 600; }

.cf-pagination ul { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 20px 0; justify-content: center; }
.cf-pagination a { display: block; padding: 6px 12px; border: 1px solid #ddd; border-radius: 4px; }
.cf-pagination li.active a { background: var(--cf-red); color: #fff; border-color: var(--cf-red); }

.cf-related { margin-top: 40px; padding-top: 24px; border-top: 2px solid var(--cf-gray); }
.cf-related-section { margin-top: 36px; padding-top: 0; border-top: 0; }
.cf-related-section .cf-section-title { margin-bottom: 20px; }
.cf-seo-content { background: var(--cf-gray); padding: 24px; border-radius: 8px; margin: 32px 0; line-height: 1.8; }
.cf-seo-content h2 { font-size: 1.3rem; margin: 16px 0 8px; color: var(--cf-black); }
.cf-seo-content a { color: var(--cf-red); text-decoration: underline; }

.cf-menu-toggle { display: none; background: var(--cf-secondary-color); color: #fff; border: none; padding: 8px 14px; border-radius: 6px; cursor: pointer; font-family: inherit; font-size: 1rem; }

.footer-cf-links { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 12px; }
.footer-cf-links a { color: var(--cf-red); }

@media (max-width: 890px) {
    .cf-hero h1 { font-size: 1.5rem; }
    .cf-menu-toggle { display: inline-block; float: right; margin-top: 4px; }
    .top-menu { width: 100%; text-align: left; display: none; }
    .top-menu.cf-open { display: block; }
    .top-menu li { display: block; width: 100%; }
    .top-menu li a { border-radius: 0; padding: 10px 15px; }
    .cf-detail-header { padding: 18px 16px 16px; }
    .cf-detail-title { font-size: 1.45rem; }
    .cf-tip-summary { padding: 16px; grid-template-columns: 1fr; }
    .cf-rich-content { padding: 20px 16px; }
    .cf-detail-byline { flex-direction: column; align-items: flex-start; }
    .cf-static-page { padding-top: 20px; padding-bottom: 36px; }
    .cf-page-hero,
    .cf-live-hero { padding: 24px 18px; border-radius: 12px; margin-bottom: 16px; }
    .cf-page-hero-title,
    .cf-live-hero-title { font-size: 1.55rem; }
    .cf-page-body .cf-rich-content,
    .cf-live-intro .cf-rich-content { padding: 20px 16px; }
    .cf-live-section-head { padding: 16px 16px 0; }
    .cf-live-tabs { padding: 0 16px 12px; gap: 6px; }
    .cf-live-tab { padding: 8px 14px; font-size: .88rem; }
    .cf-live-tab-panels { padding: 16px; }
    .cf-side-block { min-width: 0; flex: 1 1 140px; padding: 12px; }
    .cf-vs-large { gap: 8px; }
    .cf-match-card-head { padding: 10px 12px; }
    .cf-match-card-head-text { font-size: .82rem; }
    .cf-match-card-body {
        grid-template-columns: minmax(0, 1fr) minmax(118px, 1.15fr) minmax(0, 1fr);
        gap: 8px;
        padding: 16px 10px 14px;
    }
    .cf-match-card-team { font-size: .78rem; }
    .cf-match-card-venue { font-size: .72rem; }
    .cf-match-card-prize { padding: 6px 10px; font-size: .72rem; }
    .cf-match-card-result { padding: 7px 10px; font-size: .74rem; }
    a.cf-match-card-link:hover { transform: none; }
    .cf-page--program-detail { padding: 24px 16px 48px; }
    .cf-program-detail-head { padding: 24px 20px 20px; }
    .cf-program-detail-arena { padding: 24px 20px; }
    .cf-program-detail-body { padding: 24px 20px 28px; }
    .cf-program-article-body.cf-rich-content { padding: 24px 20px; }
    .cf-program-article .cf-program-toc { padding: 16px 18px; }
    .cf-program-detail-match {
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
        gap: 10px;
    }
    .cf-program-detail-fighter { min-height: 96px; padding: 16px 12px; }
    .cf-program-detail-ring { width: 46px; height: 46px; font-size: .72rem; }
}

@media (min-width: 591px) and (max-width: 890px) {
    .cf-match-card-body {
        grid-template-columns: minmax(0, 1fr) minmax(180px, 1.25fr) minmax(0, 1fr);
        gap: 10px;
        padding: 18px 12px 16px;
    }
    .cf-match-card-team { font-size: .88rem; }
    .cf-match-card-prize { padding: 7px 14px; font-size: .8rem; }
}

@media (max-width: 589px) {
    .cf-grid-2,
    .cf-grid-3 { grid-template-columns: 1fr; gap: 16px; }
    .cf-tips-date-head { padding: 10px 12px; }
    .cf-tips-date-count { margin-left: 0; width: 100%; }
    .cf-tip-side-tag { margin-left: 0; }
    .cf-live-grid { grid-template-columns: 1fr; padding: 16px; }
}

@media (min-width: 590px) and (max-width: 890px) {
    .cf-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cf-live-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 16px; }
}

/* ── Program cards — responsive ── */
@media (min-width: 1200px) {
    .cf-grid-3 .cf-program-head { padding: 18px 20px 14px; }
    .cf-grid-3 .cf-program-arena { padding: 16px 18px 18px; }
}

@media (min-width: 590px) and (max-width: 890px) {
    .cf-grid-2 .cf-program-title,
    .cf-grid-3 .cf-program-title { font-size: .98rem; }
    .cf-grid-2 .cf-fighter,
    .cf-grid-3 .cf-fighter { min-height: 76px; padding: 10px 6px; }
    .cf-grid-2 .cf-fighter-name,
    .cf-grid-3 .cf-fighter-name { font-size: .86rem; }
    .cf-grid-2 .cf-vs-ring,
    .cf-grid-3 .cf-vs-ring { width: 38px; height: 38px; font-size: .62rem; }
    .cf-grid-2 .cf-program-matchup,
    .cf-grid-3 .cf-program-matchup { gap: 6px; }
    .cf-grid-2 .cf-program-meta-pill,
    .cf-grid-3 .cf-program-meta-pill { font-size: .78rem; padding: 6px 10px; }
    .cf-grid-2 .cf-program-price-bar,
    .cf-grid-3 .cf-program-price-bar { padding: 10px 14px; }
    .cf-grid-2 .cf-program-price-value,
    .cf-grid-3 .cf-program-price-value { font-size: .9rem; }
    .cf-live-matchup { padding: 10px; }
}

@media (max-width: 589px) {
    .cf-page { padding: 16px 12px 36px; }
    .cf-page-title,
    .cf-section-title { font-size: 1.35rem; padding-left: 10px; }
    .cf-filter-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding: 14px;
    }
    .cf-filter-bar input,
    .cf-filter-bar select,
    .cf-filter-bar .cf-btn { width: 100%; box-sizing: border-box; }
    .cf-program-head { padding: 14px 14px 12px; }
    .cf-program-arena { padding: 12px 14px 14px; }
    .cf-program-meta-pill { font-size: .82rem; padding: 8px 11px; }
    .cf-fighter { min-height: 68px; padding: 10px 8px; }
    .cf-fighter-corner { font-size: .6rem; }
    .cf-vs-ring { width: 40px; height: 40px; font-size: .65rem; }
    .cf-program-matchup { gap: 6px; }
    .cf-program-price-bar { padding: 11px 14px; }
    .cf-program-media-badge { top: 10px; left: 10px; font-size: .7rem; }
    .cf-program-card:hover { transform: none; box-shadow: 0 8px 24px rgba(6, 34, 71, .07); }
    .cf-program-card:hover .cf-program-media img { transform: none; }
    .cf-program-detail-match {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .cf-program-detail-center { order: -1; padding: 4px 0 8px; }
    .cf-program-detail-fighter { min-height: auto; padding: 18px 16px; }
    .cf-program-detail-prize { font-size: .88rem; padding: 9px 16px; }
}

@media (max-width: 480px) {
    .cf-program-head { padding: 12px 12px 10px; gap: 8px; }
    .cf-program-arena { padding: 10px 12px 12px; }
    .cf-fighter { min-height: 62px; padding: 8px 6px; gap: 4px; }
    .cf-fighter-name { font-size: .84rem; }
    .cf-vs-ring { width: 36px; height: 36px; font-size: .58rem; border-width: 1.5px; }
    .cf-program-price-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    .cf-program-price-bar .cf-program-price-value { text-align: left; }
    .cf-program-card { border-radius: 14px; }
}

@media (max-width: 360px) {
    .cf-program-matchup {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .cf-match-center { order: -1; padding: 0 0 2px; }
    .cf-fighter-red {
        box-shadow: inset 0 3px 0 var(--cf-red);
    }
    .cf-fighter-blue {
        box-shadow: inset 0 -3px 0 #1565c0;
    }
    .cf-fighter { min-height: 56px; }
}

@media (max-width: 896px) and (orientation: landscape) and (max-height: 460px) {
    .cf-program-head { padding: 10px 14px 8px; gap: 6px; }
    .cf-program-arena { padding: 8px 14px 10px; }
    .cf-fighter { min-height: 56px; padding: 8px 6px; }
    .cf-program-price-bar { padding: 8px 14px; }
}

@media (prefers-reduced-motion: reduce) {
    .cf-program-card,
    .cf-program-card:hover,
    .cf-program-media img,
    .cf-program-card:hover .cf-program-media img,
    .cf-program-btn,
    .cf-program-card:hover .cf-program-btn,
    .badge-live { animation: none; transition: none; }
    .cf-program-card:hover { transform: none; }
}
