/* Championship tables share the results directory's calm green palette. */
.mela-championship-section{margin:18px 0 4px}
.mela-championship-section .mela-championship-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:0}
.mela-championship-section .mela-championship-row:before,.mela-championship-section .mela-championship-row:after{display:none}
.mela-championship-section .mela-championship-col{width:auto;min-width:0;float:none;padding:0;margin:0}
.mela-championship-section .mela-champ-card{--champ:#247c89;--champ-soft:#e9f4f5;border:1px solid #d9e4df;border-top:3px solid var(--champ);border-radius:12px;box-shadow:0 4px 14px #204b3610;transform:none}
.mela-championship-section .school-card{--champ:#267d65;--champ-soft:#e9f5ef}
.mela-championship-section .mela-champ-card:hover{transform:none;box-shadow:0 7px 20px #204b361a}
.mela-championship-section .mela-champ-header{background:linear-gradient(130deg,var(--champ-soft),#fff);padding:15px 16px;min-height:82px;border-bottom:1px solid #dce8e1;gap:10px}
.mela-championship-section .mela-champ-title{color:#244c3e!important;font-size:16px;font-weight:750;text-shadow:none;line-height:1.3}
.mela-championship-section .mela-champ-sub{color:#6a8074!important;font-size:11px;margin-top:4px;line-height:1.4}
.mela-championship-section .mela-champ-icon{width:40px;height:40px;background:#ffffffb3;border:1px solid #fff;border-radius:11px;box-shadow:none;color:var(--champ)}
.mela-championship-section .mela-champ-pill{background:#fff;border:1px solid #d3e1d8;color:var(--champ)!important;box-shadow:none;font-size:10px;padding:5px 9px;letter-spacing:.4px}
.mela-championship-section .mela-champ-table-wrap{scrollbar-color:#afc8b9 #f4f8f5}
.mela-championship-section .mela-champ-table th{background:#f0f6f2!important;color:#426354!important;border:1px solid #dce7df!important;font-size:10px;font-weight:700;text-shadow:none;padding:9px 5px;line-height:1.4}
.mela-championship-section .mela-champ-table thead .mela-champ-th-sub th{background:#f7faf8!important;color:#628171!important;font-size:10px;padding:5px 4px}
.mela-championship-section .mela-champ-table td{border-color:#e8eee9!important;padding:10px 7px;color:#365345;font-size:12px;line-height:1.45;vertical-align:middle}
.mela-championship-section .mela-champ-table tbody tr:nth-child(even){background:#f8fbf9}
.mela-championship-section .mela-champ-table tbody tr:hover{background:var(--champ-soft)}
.mela-championship-section .mela-champ-table .border-right-bold{border-right:2px solid #d5e2d9!important}
.mela-championship-section .mela-champ-table .td-name,.mela-championship-section .mela-champ-table .td-school{color:#294b3d;font-weight:600}
.mela-championship-section .mela-champ-table .td-code{color:#6b8175;font-size:11px}
.mela-championship-section .mela-points-pill{background:var(--champ-soft);border:1px solid #d5e4da;color:var(--champ);font-size:12px;padding:4px 9px;border-radius:7px;min-width:40px}
.mela-championship-section .mela-champ-footer{padding:12px 16px;background:#fcfdfc;border-top:1px solid #e2ebe5;margin-top:auto}
.mela-championship-section .mela-champ-btn{color:var(--champ)!important;background:var(--champ-soft);border:1px solid #d0e2d6;border-radius:7px;box-shadow:none;min-height:40px;padding:9px 16px;font-size:11px;gap:16px}
.mela-championship-section .mela-champ-btn:hover{color:#fff!important;background:var(--champ);border-color:var(--champ);box-shadow:0 3px 9px #204b3615}
.mela-championship-section .mela-champ-btn:focus-visible{outline:2px solid var(--champ);outline-offset:3px}
.mela-championship-section .mela-mobile-scroll-cue{background:#f6faf7;color:#688172;border-color:#e0eae3;font-size:10px;padding:8px}
.mela-championship-section .mela-mobile-scroll-cue svg{color:var(--champ)}
@media(max-width:991.98px){.mela-championship-section .mela-championship-row{grid-template-columns:1fr;gap:16px}.mela-championship-section .mela-champ-table{min-width:480px}.mela-championship-section .school-card .mela-champ-table{min-width:540px}.mela-championship-section .mela-mobile-scroll-cue{display:flex}}
@media(max-width:479.98px){.mela-championship-section .mela-champ-header{padding:12px;min-height:78px}.mela-championship-section .mela-champ-title{font-size:14px}.mela-championship-section .mela-champ-sub{font-size:10px}.mela-championship-section .mela-champ-title-wrap{gap:9px}.mela-championship-section .mela-champ-pill{font-size:9px;padding:4px 7px}.mela-championship-section .mela-champ-btn{min-height:44px;width:100%;justify-content:space-between}}
@media(prefers-reduced-motion:reduce){.mela-championship-section .mela-champ-card,.mela-championship-section .mela-champ-btn,.mela-championship-section .mela-arrow-icon{transition:none;transform:none}}

/* Dark backgrounds keep the championship header text clearly readable. */
.mela-championship-section .mela-champ-header{background:linear-gradient(120deg,#164f58,#247583);border-bottom:1px solid #ffffff24}
.mela-championship-section .school-card .mela-champ-header{background:linear-gradient(120deg,#175442,#28785f)}
.mela-championship-section .mela-champ-title{color:#fff!important}
.mela-championship-section .mela-champ-sub{color:#e0f0e9!important}
.mela-championship-section .mela-champ-icon{background:#ffffff18;border-color:#ffffff45;color:#fff}
.mela-championship-section .mela-champ-pill{background:#ffffff18;border-color:#ffffff55;color:#fff!important}
.mela-championship-section .mela-champ-table thead .mela-champ-th-main th{background:#275a54!important;color:#fff!important;border-color:#ffffff26!important}
.mela-championship-section .mela-champ-table thead .mela-champ-th-sub th{background:#387367!important;color:#fff!important;border-color:#ffffff26!important}
