.mm-results-page{margin:0;background:#f8f9fc;color:#182033;font:15px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.mm-results-page *{box-sizing:border-box}
.mm-results-page{--mm-results-primary:#5db547;--mm-results-primary-dark:#438a32}
.mm-results-brand{display:flex;align-items:center}
.mm-results-brand img{display:block;height:40px;width:auto;max-width:210px;object-fit:contain}
.mm-results-page [hidden]{display:none!important}
.mm-results-page a{color:#438a32;text-decoration:none}
.mm-results-page a:hover{text-decoration:underline}
.mm-results-page h1,.mm-results-page h2,.mm-results-page h3,.mm-results-page h4{font-family:inherit;font-style:normal;letter-spacing:-.03em;line-height:1.2;text-transform:none;margin:0;color:inherit}
.mm-results-nav{max-width:1440px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:20px 32px;gap:20px}
.mm-results-nav>a:first-child{font-weight:900;letter-spacing:.04em;color:#438a32}
.mm-results-nav span{display:block;font-size:10px;color:#768196;letter-spacing:.2em}
.mm-results-page .mm-result-button,.mm-results-pagination button{display:inline-flex;align-items:center;justify-content:center;border:1px solid #5db547;border-radius:12px;padding:11px 18px;background:#5db547;color:#fff;font-family:inherit;font-size:13px;font-weight:600;line-height:1.4;text-decoration:none;cursor:pointer;text-align:center}
.mm-results-page .mm-result-button:hover{background:#438a32;text-decoration:none}
.mm-results-page .secondary{background:#fff;color:#374151;border-color:#e3e6ed}
.mm-results-hero{position:relative;isolation:isolate;min-height:340px;display:grid;place-items:center;background:linear-gradient(120deg,#17351a,#438a32);color:#fff;text-align:center;padding:52px 24px 84px;overflow:hidden}
.mm-results-banner{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}
.mm-results-hero:after{content:"";position:absolute;inset:0;background:linear-gradient(110deg,#102313de,#285c259c);z-index:-1}
.mm-results-logo{height:90px;width:90px;object-fit:contain;background:#fff;border:4px solid #fff;border-radius:50%;margin-bottom:16px}
.mm-results-eyebrow{display:table;margin:0 auto 16px;padding:6px 13px;background:#ffffff24;border:1px solid #ffffff50;border-radius:999px;font-size:11px;font-weight:800;letter-spacing:.1em}
.mm-results-page h1{font-size:clamp(28px,4vw,48px);color:#fff;font-weight:850}
.mm-results-hero p{margin:14px 0 0;color:#edf6e9;font-weight:600}.mm-results-hero p span{margin-left:12px}
.mm-results-content{position:relative;max-width:1320px;margin:-38px auto 0;padding:0 28px}
.mm-results-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:#fff;border:1px solid #e9e9f0;border-radius:20px;box-shadow:0 8px 28px #202b4409;margin-bottom:44px;overflow:hidden}
.mm-results-summary>div{padding:24px 30px}.mm-results-summary>div+div{border-left:1px solid #eceef3}
.mm-results-summary span,.mm-runner-stats span{display:block;font-size:11px;font-weight:700;color:#788294;letter-spacing:.08em}
.mm-results-summary strong{display:block;font-size:28px;margin-top:6px}
.mm-results-heading{display:flex;justify-content:space-between;align-items:center;gap:32px;margin-bottom:32px}.mm-results-heading>div:first-child{flex:1;min-width:0}.mm-results-heading h2{font-size:28px}.mm-results-heading p{color:#768196;margin:10px 0 0}
.mm-results-search{flex:0 1 440px;width:100%;margin:0;max-width:540px}.mm-results-search label{font-size:11px;font-weight:800;letter-spacing:.1em;color:#438a32}
.mm-results-page input[type=search]{display:block;width:100%;border:1px solid #dfe3eb;border-radius:14px;background:#fff;color:#182033;padding:15px 18px;font:inherit;margin-top:8px;min-height:52px}
.mm-results-search p{font-size:12px;color:#788294;margin:8px 0 0}.mm-results-page :focus-visible{outline:3px solid #5db547;outline-offset:3px}
.mm-results-category{margin-bottom:36px}.mm-results-category>header,.mm-results-panel>header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}
.mm-results-category h3{font-size:26px;font-weight:850}.mm-results-category header span{color:#788294;font-size:12px}.mm-results-category h4{font-size:18px;font-weight:750}
.mm-results-podiums{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.mm-results-panel{background:#fff;border:1px solid #e5e7ef;border-radius:24px;padding:26px;box-shadow:0 6px 22px #202b4405;min-width:0}
.mm-results-panel>header>a{font-size:12px;font-weight:650}.mm-results-podium-list{list-style:none;margin:0;padding:0}
.mm-results-podium-list li{display:flex;align-items:center;gap:12px;padding:18px 0;border-top:1px solid #f0f1f5}
.mm-results-medal{flex:0 0 34px;height:34px;display:grid;place-items:center;border-radius:50%;font-weight:800}.medal-1{background:#fff2cd;color:#976400}.medal-2{background:#eef0f5;color:#667084}.medal-3{background:#f9e7db;color:#9b5728}
.mm-results-podium-list li>div{flex:1;min-width:0}.mm-results-podium-list a{font-weight:700;color:#202638;overflow-wrap:anywhere}.mm-results-podium-list small{display:block;color:#788294;font-size:11px;margin-top:4px}
.mm-results-podium-list strong{color:#438a32;font-variant-numeric:tabular-nums;font-size:14px;white-space:nowrap}
.mm-results-table-panel{background:#fff;padding:20px;border:1px solid #e5e7ef;border-radius:24px;margin-bottom:30px}.mm-results-table-scroll{overflow-x:auto}.mm-results-page table{width:100%;border-collapse:collapse;white-space:nowrap;font-size:14px}.mm-results-page th{text-align:left;background:#edf7e9;color:#326c27;font-size:11px;text-transform:uppercase;letter-spacing:.05em}.mm-results-page th,.mm-results-page td{padding:15px;border-bottom:1px solid #eceef3}.mm-results-page tbody tr:hover{background:#f7fcf5}.mm-results-time{font-weight:700;color:#438a32;font-variant-numeric:tabular-nums}.mm-results-match-count{color:#788294;font-size:13px;margin:0 0 16px}
.mm-results-pagination{display:flex;align-items:center;justify-content:center;gap:20px;margin-top:22px}.mm-results-pagination button:disabled{opacity:.4;cursor:default}.mm-results-back{display:inline-block;font-weight:600;margin:0 0 20px}
.mm-runner-detail{text-align:center;max-width:850px;margin:0 auto 30px;padding:40px}.mm-runner-detail h2{font-size:34px;margin:18px 0 0}.mm-results-tag{display:inline-block;padding:7px 15px;border-radius:999px;background:#eaf5e6;color:#438a32;font-weight:650}
.mm-runner-stats{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;margin:28px 0}.mm-runner-stats>div{padding:24px;background:#f3f9f0;border-radius:16px}.mm-runner-stats strong{display:block;font-size:30px;color:#438a32;margin-top:8px}.mm-results-footer{text-align:center;color:#8a93a4;font-size:12px;padding:30px}
@media(max-width:800px){.mm-results-podiums{grid-template-columns:1fr}.mm-results-summary>div{padding:20px}.mm-results-summary strong{font-size:22px}.mm-results-heading{align-items:flex-start;flex-direction:column;gap:20px}.mm-results-search{flex-basis:auto;max-width:none}}
@media(max-width:480px){.mm-results-content{padding:0 16px}.mm-results-nav{padding:16px}.mm-results-nav>a:first-child{font-size:12px}.mm-results-summary{grid-template-columns:1fr}.mm-results-summary>div{padding:14px 22px;display:flex;justify-content:space-between;align-items:center}.mm-results-summary>div+div{border-left:0;border-top:1px solid #eceef3}.mm-results-summary strong{margin:0}.mm-results-panel{padding:20px}.mm-results-category>header{align-items:flex-start}.mm-results-podium-list li{gap:8px}.mm-results-podium-list strong{font-size:12px}.mm-results-podium-list a{font-size:13px}.mm-runner-detail{padding:24px}.mm-runner-stats{grid-template-columns:1fr}}

/* Category leaderboards follow the Runstack reference, with Matutum green accents. */
.mm-results-category{margin:34px 0 0;color:#111827;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;font-size:16px}
.mm-results-category:first-child{margin-top:0}
.mm-results-category>.mm-results-category-bar{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:0 0 14px;padding:10px 20px;border-radius:10px;background:linear-gradient(90deg,var(--mm-results-primary),var(--mm-results-primary-dark));color:#fff}
.mm-results-category-bar h3{margin:0;font-size:30px;font-weight:700;line-height:1;letter-spacing:0}
.mm-results-category-meta{display:flex;align-items:center;gap:5px;font-size:14px;font-weight:700}
.mm-results-category-bar svg{flex-shrink:0;vertical-align:middle}
.mm-results-page .mm-results-overall-link{display:inline-flex;align-items:center;justify-content:flex-end;gap:5px;color:#fff;font-size:16px}
.mm-results-category .mm-results-podiums{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(330px,100%),1fr));gap:18px}
.mm-results-podiums>.mm-results-panel{padding:0;border:1px solid #e5e7eb;border-radius:8px;background:#fff;box-shadow:0 1px 2px rgba(15,23,42,.04);overflow:hidden}
.mm-results-podiums>.mm-results-panel>header{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0;padding:16px;border-bottom:1px solid #e5e7eb;background:#fff}
.mm-results-podiums h4{font-size:20px;font-weight:700;line-height:1.5;letter-spacing:0}
.mm-results-podiums header span{color:#64748b;font-size:13px;font-weight:700}
.mm-results-podiums>.mm-results-panel>header>.mm-results-view-button{display:inline-flex;align-items:center;justify-content:center;min-height:38px;border-radius:8px;padding:0 12px;background:linear-gradient(90deg,var(--mm-results-primary),var(--mm-results-primary-dark));color:#fff;font-size:13px;font-weight:700;white-space:nowrap;box-shadow:0 10px 22px rgba(93,181,71,.22);transition:opacity .16s ease,transform .16s ease}
.mm-results-view-button:hover{opacity:.95;transform:translateY(-1px);text-decoration:none!important}
.mm-results-podium-list li{display:grid;grid-template-columns:44px minmax(0,1fr) 84px;gap:12px;align-items:center;padding:13px 16px;border-top:0;border-bottom:1px solid #eef2f7}
.mm-results-podium-list li:last-child{border-bottom:0}
.mm-results-podium-list .mm-results-medal{position:relative;width:36px;height:36px;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;color:#111827;font-weight:850;font-size:13px;box-shadow:inset 0 0 0 2px rgba(255,255,255,.35),0 5px 14px rgba(15,23,42,.14)}
.mm-results-podium-list .medal-1{background:linear-gradient(135deg,#fde68a,#f59e0b)}
.mm-results-podium-list .medal-2{background:linear-gradient(135deg,#f8fafc,#94a3b8)}
.mm-results-podium-list .medal-3{background:linear-gradient(135deg,#fdba74,#b45309);color:#fff}
.mm-results-podium-list a{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:16px;font-weight:700;color:inherit}
.mm-results-podium-list a:hover{color:var(--mm-results-primary)}
.mm-results-podium-list small{margin-top:3px;color:#64748b;font-size:12px;font-weight:650}
.mm-results-podium-list strong{text-align:right;font-variant-numeric:tabular-nums;font-weight:700;font-size:16px;color:#111827}
.mm-results-podiums>.mm-results-panel>p{padding:0 16px}
@media(max-width:600px){.mm-results-category>.mm-results-category-bar{flex-wrap:wrap}.mm-results-overall-link{margin-left:auto}.mm-results-category-bar h3{font-size:26px}}
@media(max-width:380px){.mm-results-podium-list li{grid-template-columns:36px minmax(0,1fr) 72px;gap:8px;padding:13px 12px}.mm-results-podium-list a,.mm-results-podium-list strong{font-size:14px}.mm-results-podiums>.mm-results-panel>header{padding:14px 12px;gap:8px}.mm-results-podiums h4{font-size:18px}}

.mm-results-summary>.mm-results-certificates{display:flex;align-items:center;justify-content:center}
.mm-results-certificate-button{display:inline-flex;align-items:center;justify-content:center;width:100%;padding:14px 18px;border-radius:12px;background:#237b35;color:#fff;text-decoration:none;font-size:15px;font-weight:700;line-height:1.4;text-align:center;transition:background .15s}
.mm-results-certificate-button:hover{background:#1a6028;color:#fff}
.mm-results-certificate-button:focus-visible{outline:3px solid #237b35;outline-offset:4px}
@media(min-width:481px) and (max-width:800px){.mm-results-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.mm-results-summary>div:nth-child(3){border-left:0}.mm-results-summary>div:nth-child(n+3){border-top:1px solid #eceef3}}

.mm-results-summary .mm-results-certificate-button,
.mm-results-summary .mm-results-certificate-button:visited,
.mm-results-summary .mm-results-certificate-button:hover,
.mm-results-summary .mm-results-certificate-button:focus,
.mm-results-summary .mm-results-certificate-button:active{color:#fff!important;gap:9px}
.mm-results-certificate-button svg{width:22px;height:22px;flex-shrink:0;color:inherit}
