.hkr-app{
    --hkr-navy:#171e30;
    --hkr-navy-2:#0f1524;
    --hkr-green:#0d8359;
    --hkr-green-2:#069966;
    --hkr-lime:#d8ee25;
    --hkr-beige:#f5f5de;
    --hkr-paper:#f7f8f4;
    --hkr-white:#fff;
    --hkr-ink:#171e30;
    --hkr-muted:#687081;
    --hkr-line:#e3e6df;
    --hkr-shadow:0 18px 45px rgba(20,29,48,.12);
    --hkr-radius:24px;
    position:relative;
    width:100%;
    max-width:1280px;
    margin:0 auto;
    color:var(--hkr-ink);
    font-family:inherit;
    line-height:1.5;
    isolation:isolate;
}
.hkr-app *{box-sizing:border-box}
.hkr-app button,.hkr-app input,.hkr-app select{font:inherit}
.hkr-app button{cursor:pointer}
.hkr-app button:focus-visible,.hkr-app input:focus-visible,.hkr-app select:focus-visible,.hkr-app a:focus-visible{outline:3px solid rgba(216,238,37,.75);outline-offset:3px}
.hkr-initial-loader,.hkr-inline-loader{display:flex;align-items:center;justify-content:center;gap:12px;min-height:180px;color:var(--hkr-muted)}
.hkr-inline-loader{min-height:240px}
.hkr-spinner{width:22px;height:22px;border:3px solid rgba(13,131,89,.2);border-top-color:var(--hkr-green);border-radius:999px;animation:hkr-spin .8s linear infinite}
@keyframes hkr-spin{to{transform:rotate(360deg)}}

.hkr-hero{position:relative;overflow:hidden;min-height:420px;border-radius:30px;background:linear-gradient(125deg,var(--hkr-navy-2) 0%,var(--hkr-navy) 48%,#174b43 100%);color:#fff;box-shadow:var(--hkr-shadow)}
.hkr-hero:before{content:"";position:absolute;right:-170px;top:-220px;width:530px;height:530px;border:90px solid rgba(216,238,37,.13);border-radius:50%}
.hkr-hero:after{content:"";position:absolute;left:-110px;bottom:-150px;width:360px;height:360px;background:radial-gradient(circle,rgba(13,131,89,.65),transparent 68%)}
.hkr-hero-pattern{position:absolute;inset:0;opacity:.14;background-image:linear-gradient(45deg,transparent 46%,#fff 47%,#fff 52%,transparent 53%);background-size:34px 34px;mask-image:linear-gradient(90deg,transparent,black 75%)}
.hkr-hero-inner{position:relative;z-index:2;padding:64px 58px 74px;max-width:920px}
.hkr-eyebrow{display:inline-flex;align-items:center;gap:10px;margin:0 0 14px!important;font-size:13px!important;font-weight:800!important;letter-spacing:.19em;text-transform:uppercase;color:var(--hkr-lime)!important}
.hkr-eyebrow:before{content:"";display:inline-block;width:32px;height:3px;border-radius:99px;background:currentColor}
.hkr-hero h1{margin:0!important;max-width:750px;color:#fff!important;font-size:clamp(42px,7vw,82px)!important;line-height:.98!important;letter-spacing:-.055em!important;font-weight:800!important}
.hkr-hero-copy{max-width:700px;margin:24px 0 0!important;color:rgba(255,255,255,.78)!important;font-size:clamp(17px,2vw,22px)!important;line-height:1.55!important}
.hkr-hero-stats{display:grid;grid-template-columns:repeat(3,minmax(140px,1fr));gap:14px;max-width:760px;margin-top:38px}
.hkr-hero-stat{display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;column-gap:12px;align-items:center;padding:16px 18px;border:1px solid rgba(255,255,255,.14);border-radius:18px;background:rgba(255,255,255,.08);backdrop-filter:blur(12px)}
.hkr-hero-stat-icon{grid-row:1/3;display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:var(--hkr-lime);color:var(--hkr-navy);font-size:22px}
.hkr-hero-stat strong{color:#fff;font-size:25px;line-height:1}
.hkr-hero-stat>span:last-child{color:rgba(255,255,255,.68);font-size:12px;text-transform:uppercase;letter-spacing:.08em}
.hkr-finish-line{position:absolute;z-index:3;right:-15px;bottom:25px;width:240px;height:42px;transform:rotate(-5deg);background:repeating-linear-gradient(90deg,#fff 0 18px,var(--hkr-navy) 18px 36px);box-shadow:0 8px 22px rgba(0,0,0,.18)}

.hkr-tabs{position:relative;z-index:5;display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:-27px 28px 0;padding:8px;border:1px solid rgba(23,30,48,.08);border-radius:20px;background:rgba(255,255,255,.93);box-shadow:0 14px 34px rgba(23,30,48,.12);backdrop-filter:blur(14px)}
.hkr-tab{display:flex!important;align-items:center!important;justify-content:center!important;gap:9px!important;min-height:58px!important;padding:12px 16px!important;border:0!important;border-radius:14px!important;background:transparent!important;color:var(--hkr-muted)!important;font-weight:750!important;box-shadow:none!important;transition:.2s ease}
.hkr-tab>span:first-child{font-size:22px;line-height:1}
.hkr-tab:hover{background:var(--hkr-paper)!important;color:var(--hkr-green)!important}
.hkr-tab.is-active{background:var(--hkr-green)!important;color:#fff!important;box-shadow:0 9px 20px rgba(13,131,89,.25)!important}

.hkr-content{padding:30px 0 0}
.hkr-panel{padding:38px;border:1px solid var(--hkr-line);border-radius:var(--hkr-radius);background:var(--hkr-white);box-shadow:0 14px 38px rgba(23,30,48,.07)}
.hkr-section-heading{display:flex;gap:18px;align-items:flex-start;margin-bottom:30px}
.hkr-section-kicker{display:grid;place-items:center;flex:0 0 48px;width:48px;height:48px;border-radius:15px;background:var(--hkr-navy);color:var(--hkr-lime);font-weight:900;letter-spacing:.05em}
.hkr-section-heading h2{margin:0 0 6px!important;color:var(--hkr-navy)!important;font-size:clamp(27px,4vw,42px)!important;line-height:1.1!important;letter-spacing:-.035em!important;font-weight:800!important}
.hkr-section-heading p{margin:0!important;color:var(--hkr-muted)!important;font-size:16px!important}

.hkr-big-search{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:16px;padding:9px 16px 9px 22px;border:2px solid transparent;border-radius:20px;background:var(--hkr-paper);box-shadow:inset 0 0 0 1px var(--hkr-line);transition:.2s ease}
.hkr-big-search:focus-within{border-color:var(--hkr-green);background:#fff;box-shadow:0 0 0 5px rgba(13,131,89,.09)}
.hkr-big-search>span{font-size:34px;color:var(--hkr-green);line-height:1}
.hkr-big-search input{width:100%;min-height:64px!important;padding:0!important;border:0!important;background:transparent!important;color:var(--hkr-navy)!important;font-size:clamp(20px,3vw,29px)!important;font-weight:650!important;box-shadow:none!important;outline:0!important}
.hkr-big-search input::placeholder{color:#9a9eaa}
.hkr-runner-results{margin-top:24px}
.hkr-search-welcome{display:flex;align-items:center;gap:20px;padding:24px;border:1px dashed #cdd2c9;border-radius:20px;background:linear-gradient(135deg,#fff,var(--hkr-beige))}
.hkr-search-welcome h3{margin:0 0 4px!important;font-size:20px!important;color:var(--hkr-navy)!important}
.hkr-search-welcome p{margin:0!important;color:var(--hkr-muted)!important}
.hkr-bib-graphic{display:grid;place-items:center;width:105px;height:82px;border-radius:10px;background:#fff;color:var(--hkr-navy);box-shadow:0 9px 22px rgba(23,30,48,.11);transform:rotate(-3deg)}
.hkr-bib-graphic small{font-size:10px;font-weight:800;letter-spacing:.17em;color:var(--hkr-green)}
.hkr-bib-graphic strong{font-size:39px;line-height:.9}
.hkr-runner-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.hkr-runner-card{margin:0;border:1px solid var(--hkr-line);border-radius:20px;background:#fff;overflow:hidden;transition:.2s ease}
.hkr-runner-card:hover{transform:translateY(-3px);border-color:rgba(13,131,89,.45);box-shadow:0 16px 32px rgba(23,30,48,.1)}
.hkr-runner-card-button{display:grid!important;grid-template-columns:auto 1fr auto!important;align-items:center!important;gap:16px!important;width:100%!important;min-height:126px!important;padding:20px!important;border:0!important;background:transparent!important;color:inherit!important;text-align:left!important;box-shadow:none!important}
.hkr-avatar{display:grid;place-items:center;flex:0 0 auto;width:52px;height:52px;border-radius:17px;background:var(--hkr-navy);color:#fff;font-size:17px;font-weight:850;letter-spacing:.03em}
.hkr-avatar-f{background:linear-gradient(135deg,#e73875,#a80f4a)}
.hkr-avatar-m{background:linear-gradient(135deg,#1480bf,#10456e)}
.hkr-avatar-u{background:linear-gradient(135deg,#7b8190,#3f4655)}
.hkr-runner-card-main{min-width:0}
.hkr-runner-card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.hkr-runner-card h3{margin:0!important;color:var(--hkr-navy)!important;font-size:18px!important;line-height:1.25!important;font-weight:800!important}
.hkr-runner-card p{margin:7px 0 0!important;color:var(--hkr-muted)!important;font-size:13px!important}
.hkr-mini-marks{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
.hkr-mini-marks span{padding:4px 8px;border-radius:8px;background:var(--hkr-paper);color:var(--hkr-muted);font-size:11px}
.hkr-mini-marks b{color:var(--hkr-green)}
.hkr-card-arrow{font-size:24px;color:var(--hkr-green);transition:.2s ease}
.hkr-runner-card:hover .hkr-card-arrow{transform:translateX(4px)}

.hkr-filters,.hkr-gallery-toolbar{display:grid;grid-template-columns:repeat(4,minmax(130px,1fr)) minmax(250px,1.6fr);gap:12px;align-items:end;padding:18px;border-radius:18px;background:var(--hkr-paper);border:1px solid var(--hkr-line);margin-bottom:22px}
.hkr-gallery-toolbar{grid-template-columns:180px 1fr}
.hkr-field{display:grid;gap:7px;margin:0!important}
.hkr-field>span{font-size:11px;font-weight:850;letter-spacing:.08em;text-transform:uppercase;color:var(--hkr-muted)}
.hkr-field input,.hkr-field select{width:100%;min-height:46px!important;padding:0 13px!important;border:1px solid #ccd1c9!important;border-radius:12px!important;background:#fff!important;color:var(--hkr-navy)!important;box-shadow:none!important;outline:0!important}
.hkr-field input:focus,.hkr-field select:focus{border-color:var(--hkr-green)!important;box-shadow:0 0 0 3px rgba(13,131,89,.1)!important}
.hkr-field-search{min-width:0}
.hkr-clear-button{grid-column:1/-1;justify-self:end!important;padding:7px 4px!important;border:0!important;background:transparent!important;color:var(--hkr-green)!important;font-size:13px!important;font-weight:750!important;box-shadow:none!important}
.hkr-result-summary,.hkr-gallery-count{margin:6px 0 12px;color:var(--hkr-muted);font-size:14px}
.hkr-result-summary strong,.hkr-gallery-count strong{color:var(--hkr-navy);font-size:18px}
.hkr-table-wrap{width:100%;overflow:auto;border:1px solid var(--hkr-line);border-radius:18px;background:#fff}
.hkr-results-table{width:100%;margin:0!important;border:0!important;border-collapse:collapse!important;background:#fff;font-size:14px}
.hkr-results-table th{padding:14px 16px!important;border:0!important;border-bottom:1px solid var(--hkr-line)!important;background:var(--hkr-navy)!important;color:#fff!important;font-size:11px!important;letter-spacing:.08em;text-transform:uppercase;text-align:left;white-space:nowrap}
.hkr-results-table td{padding:13px 16px!important;border:0!important;border-bottom:1px solid #edf0eb!important;color:var(--hkr-ink)!important;vertical-align:middle}
.hkr-results-table tbody tr:last-child td{border-bottom:0!important}
.hkr-results-table tbody tr:hover{background:#fbfcf7}
.hkr-position{display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:var(--hkr-paper);color:var(--hkr-navy);font-weight:850}
.hkr-name-button{padding:0!important;border:0!important;background:transparent!important;color:var(--hkr-navy)!important;font-weight:800!important;text-align:left!important;box-shadow:none!important;text-decoration:none!important}
.hkr-name-button:hover{color:var(--hkr-green)!important}
.hkr-distance-tag{display:inline-flex;padding:5px 8px;border-radius:8px;background:#eef7f2;color:var(--hkr-green);font-size:12px;font-weight:800;white-space:nowrap}
.hkr-time{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-weight:800;color:var(--hkr-navy)}
.hkr-sex{display:inline-grid;place-items:center;min-width:29px;height:29px;padding:0 8px;border-radius:9px;color:#fff;font-size:11px;font-weight:900}
.hkr-sex-f{background:#dc2f70}.hkr-sex-m{background:#1978ad}.hkr-sex-u{background:#737986}
.hkr-photo-pill{display:inline-flex!important;align-items:center!important;gap:4px!important;padding:6px 9px!important;border:0!important;border-radius:10px!important;background:var(--hkr-beige)!important;color:var(--hkr-navy)!important;font-size:12px!important;font-weight:850!important;box-shadow:none!important;white-space:nowrap}
.hkr-photo-pill:hover{background:var(--hkr-lime)!important}
.hkr-muted{color:#a4a9b2}
.hkr-pagination{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:18px;padding:12px;border-radius:15px;background:var(--hkr-paper)}
.hkr-pagination button{min-height:42px!important;padding:8px 15px!important;border:1px solid var(--hkr-line)!important;border-radius:11px!important;background:#fff!important;color:var(--hkr-navy)!important;font-size:13px!important;font-weight:800!important;box-shadow:none!important}
.hkr-pagination button:hover:not(:disabled){border-color:var(--hkr-green)!important;color:var(--hkr-green)!important}
.hkr-pagination button:disabled{opacity:.4;cursor:not-allowed}
.hkr-pagination span{color:var(--hkr-muted);font-size:13px}
.hkr-pagination strong{color:var(--hkr-navy)}

.hkr-gallery-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.hkr-gallery-card{margin:0;border:1px solid var(--hkr-line);border-radius:19px;background:#fff;overflow:hidden;transition:.2s ease}
.hkr-gallery-card:hover{transform:translateY(-4px);box-shadow:0 16px 34px rgba(23,30,48,.12)}
.hkr-gallery-card button{display:block!important;width:100%!important;padding:0!important;border:0!important;background:transparent!important;color:inherit!important;text-align:left!important;box-shadow:none!important}
.hkr-gallery-image{position:relative;overflow:hidden;aspect-ratio:4/3;background:linear-gradient(135deg,var(--hkr-navy),#315148)}
.hkr-gallery-image img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .35s ease}
.hkr-gallery-card:hover img{transform:scale(1.045)}
.hkr-gallery-placeholder{display:grid;place-items:center;width:100%;height:100%;font-size:48px}
.hkr-gallery-bib{position:absolute;left:11px;bottom:11px;padding:6px 9px;border-radius:9px;background:rgba(23,30,48,.85);color:#fff;font-size:11px;font-weight:800;backdrop-filter:blur(8px)}
.hkr-gallery-card-body{padding:15px 16px 17px}
.hkr-gallery-card-body h3{margin:0!important;color:var(--hkr-navy)!important;font-size:15px!important;line-height:1.3!important;font-weight:800!important}
.hkr-gallery-card-body p{margin:7px 0 0!important;color:var(--hkr-green)!important;font-size:12px!important;font-weight:800!important}

.hkr-stat-layout{display:grid;grid-template-columns:1.5fr 1fr;gap:18px}
.hkr-stat-card{padding:24px;border:1px solid var(--hkr-line);border-radius:19px;background:linear-gradient(180deg,#fff,#fbfcf8)}
.hkr-stat-card-wide{min-width:0}
.hkr-stat-card:last-child{grid-column:1/-1}
.hkr-stat-card h3{margin:0 0 20px!important;color:var(--hkr-navy)!important;font-size:19px!important;font-weight:850!important}
.hkr-bars{display:grid;gap:8px;max-height:440px;padding-right:8px;overflow:auto}
.hkr-bar-row{display:grid;grid-template-columns:44px 1fr 48px;gap:10px;align-items:center;font-size:12px;color:var(--hkr-muted)}
.hkr-bar-track{height:11px;border-radius:999px;background:#ebeee8;overflow:hidden}
.hkr-bar-track i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--hkr-green),var(--hkr-lime))}
.hkr-bar-row strong{text-align:right;color:var(--hkr-navy)}
.hkr-sex-stat{margin-bottom:17px}
.hkr-sex-stat>div:first-child{display:grid;grid-template-columns:auto 1fr auto;gap:8px;align-items:center;margin-bottom:7px;color:var(--hkr-muted);font-size:13px}
.hkr-sex-stat strong{color:var(--hkr-navy)}
.hkr-sex-bullet{width:10px;height:10px;border-radius:50%}.hkr-sex-bullet.hkr-sex-f{background:#dc2f70}.hkr-sex-bullet.hkr-sex-m{background:#1978ad}.hkr-sex-bullet.hkr-sex-u{background:#737986}
.hkr-sex-track{height:9px;border-radius:999px;background:#ecefe9;overflow:hidden}.hkr-sex-track i{display:block;height:100%;border-radius:inherit}.hkr-sex-fill-f{background:#dc2f70}.hkr-sex-fill-m{background:#1978ad}.hkr-sex-fill-u{background:#737986}
.hkr-stat-total{display:flex;align-items:center;justify-content:space-between;margin-top:26px;padding-top:20px;border-top:1px solid var(--hkr-line);color:var(--hkr-muted)}
.hkr-stat-total strong{font-size:25px;color:var(--hkr-navy)}
.hkr-loyal-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.hkr-loyal-runner{display:grid!important;grid-template-columns:30px auto 1fr auto!important;gap:10px!important;align-items:center!important;padding:11px!important;border:1px solid var(--hkr-line)!important;border-radius:14px!important;background:#fff!important;color:inherit!important;text-align:left!important;box-shadow:none!important}
.hkr-loyal-runner:hover{border-color:var(--hkr-green)!important;transform:translateY(-1px)}
.hkr-loyal-runner .hkr-avatar{width:40px;height:40px;border-radius:12px;font-size:13px}
.hkr-loyal-rank{color:#a1a6b0;font-size:12px;font-weight:900;text-align:center}
.hkr-loyal-runner strong{display:block;color:var(--hkr-navy);font-size:13px;line-height:1.25}
.hkr-loyal-runner small{display:block;margin-top:3px;color:var(--hkr-muted);font-size:11px}
.hkr-loyal-runner>b{color:var(--hkr-green);font-size:18px}

.hkr-empty{display:grid;place-items:center;min-height:210px;padding:30px;text-align:center;color:var(--hkr-muted)}
.hkr-empty-large{min-height:420px;border:1px solid var(--hkr-line);border-radius:var(--hkr-radius);background:#fff;box-shadow:var(--hkr-shadow)}
.hkr-empty-icon{display:grid;place-items:center;width:62px;height:62px;margin-bottom:12px;border-radius:20px;background:var(--hkr-beige);color:var(--hkr-green);font-size:30px;font-weight:900}
.hkr-empty h2{margin:0 0 9px!important;color:var(--hkr-navy)!important}.hkr-empty p{max-width:600px;margin:0!important}.hkr-empty small{margin-top:8px}.hkr-empty .hkr-button{margin-top:18px}
.hkr-error .hkr-empty-icon{background:#ffedf1;color:#b42347}
.hkr-button{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:44px!important;padding:10px 17px!important;border-radius:12px!important;text-decoration:none!important;font-weight:800!important}.hkr-button-primary{background:var(--hkr-green)!important;color:#fff!important}
.hkr-source-note{margin:18px 10px 0;padding:15px 18px;border-top:1px solid var(--hkr-line);color:var(--hkr-muted);font-size:12px;text-align:center}

.hkr-modal-open{overflow:hidden}
.hkr-modal-root{position:relative;z-index:999999}
.hkr-modal-backdrop{position:fixed;inset:0;z-index:999998;background:rgba(10,15,26,.72);backdrop-filter:blur(7px);animation:hkr-fade .2s ease}
.hkr-modal{position:fixed;z-index:999999;left:50%;top:50%;width:min(960px,calc(100vw - 28px));max-height:calc(100vh - 28px);transform:translate(-50%,-50%);overflow:auto;padding:34px;border-radius:25px;background:#fff;box-shadow:0 30px 90px rgba(0,0,0,.35);animation:hkr-modal-in .25s ease}
@keyframes hkr-fade{from{opacity:0}to{opacity:1}}@keyframes hkr-modal-in{from{opacity:0;transform:translate(-50%,-47%) scale(.98)}to{opacity:1;transform:translate(-50%,-50%) scale(1)}}
.hkr-modal-close{position:sticky!important;z-index:4;top:0;float:right;width:44px!important;height:44px!important;padding:0!important;border:0!important;border-radius:14px!important;background:var(--hkr-navy)!important;color:#fff!important;font-size:29px!important;line-height:1!important;box-shadow:0 8px 18px rgba(23,30,48,.17)!important}
.hkr-modal-content{clear:both;padding-top:3px}
.hkr-profile-head{display:flex;align-items:center;gap:20px;padding:6px 56px 25px 0;border-bottom:1px solid var(--hkr-line)}
.hkr-avatar-large{width:86px;height:86px;border-radius:25px;font-size:27px}
.hkr-profile-head h2,.hkr-photo-modal-head h2{margin:0!important;color:var(--hkr-navy)!important;font-size:clamp(27px,4vw,42px)!important;line-height:1.07!important;font-weight:850!important;letter-spacing:-.035em!important}
.hkr-profile-meta{display:flex;flex-wrap:wrap;align-items:center;gap:9px;margin-top:12px;color:var(--hkr-muted);font-size:13px}
.hkr-profile-meta>span:not(.hkr-sex){padding:6px 10px;border-radius:9px;background:var(--hkr-paper)}
.hkr-modal-heading{margin:26px 0 13px!important;color:var(--hkr-navy)!important;font-size:17px!important;font-weight:850!important}
.hkr-best-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:10px}
.hkr-best-card{display:grid;gap:2px;padding:16px;border:1px solid var(--hkr-line);border-radius:15px;background:var(--hkr-paper)}
.hkr-best-card span{color:var(--hkr-green);font-size:12px;font-weight:850;text-transform:uppercase}.hkr-best-card strong{color:var(--hkr-navy);font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:24px}.hkr-best-card small{color:var(--hkr-muted)}
.hkr-profile-table th,.hkr-profile-table td{padding:11px 13px!important}
.hkr-photo-modal-head{padding:4px 56px 22px 0}
.hkr-photo-modal-head p:last-child{margin:10px 0 0!important;color:var(--hkr-muted)!important}
.hkr-modal-photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.hkr-modal-photo{position:relative;display:block;overflow:hidden;aspect-ratio:4/3;border-radius:15px;background:var(--hkr-navy);text-decoration:none!important}
.hkr-modal-photo img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .3s ease}
.hkr-modal-photo:hover img{transform:scale(1.05)}
.hkr-modal-photo span{position:absolute;right:9px;top:9px;display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:rgba(23,30,48,.78);color:#fff;font-size:16px}

@media(max-width:1000px){
    .hkr-filters{grid-template-columns:repeat(3,1fr)}
    .hkr-field-search{grid-column:span 2}
    .hkr-gallery-grid{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:800px){
    .hkr-hero-inner{padding:52px 30px 72px}
    .hkr-hero-stats{grid-template-columns:1fr}
    .hkr-hero-stat{max-width:320px}
    .hkr-finish-line{width:180px}
    .hkr-tabs{margin:-25px 12px 0;gap:4px}
    .hkr-tab{padding:10px 6px!important;font-size:12px!important}
    .hkr-tab>span:first-child{font-size:18px}
    .hkr-panel{padding:25px 18px}
    .hkr-runner-grid{grid-template-columns:1fr}
    .hkr-filters{grid-template-columns:repeat(2,1fr)}
    .hkr-field-search{grid-column:1/-1}
    .hkr-gallery-grid{grid-template-columns:repeat(2,1fr)}
    .hkr-stat-layout{grid-template-columns:1fr}
    .hkr-stat-card:last-child{grid-column:auto}
    .hkr-loyal-grid{grid-template-columns:1fr}
    .hkr-modal{padding:24px 18px}
    .hkr-modal-photo-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:640px){
    .hkr-app{width:calc(100% + 20px);margin-left:-10px}
    .hkr-hero{min-height:auto;border-radius:22px}
    .hkr-hero-inner{padding:42px 22px 84px}
    .hkr-hero h1{font-size:42px!important}
    .hkr-hero-copy{font-size:16px!important}
    .hkr-hero-stats{margin-top:28px}
    .hkr-hero-stat{max-width:none}
    .hkr-finish-line{right:-45px;bottom:22px;width:170px;height:32px}
    .hkr-tabs{grid-template-columns:repeat(4,1fr);margin:-24px 8px 0;padding:5px;border-radius:16px}
    .hkr-tab{min-height:55px!important;flex-direction:column!important;gap:2px!important;font-size:10px!important;line-height:1.1!important;border-radius:12px!important}
    .hkr-content{padding-top:18px}
    .hkr-section-heading{gap:12px}.hkr-section-kicker{width:42px;height:42px;flex-basis:42px;border-radius:13px}.hkr-section-heading h2{font-size:28px!important}
    .hkr-big-search{padding-left:15px}.hkr-big-search>span{font-size:28px}.hkr-big-search input{min-height:56px!important;font-size:18px!important}
    .hkr-search-welcome{align-items:flex-start;padding:18px}.hkr-bib-graphic{width:82px;height:68px}.hkr-bib-graphic strong{font-size:31px}
    .hkr-runner-card-button{grid-template-columns:auto 1fr!important;min-height:auto!important;padding:16px!important}.hkr-card-arrow{display:none}.hkr-runner-card-top{display:block}.hkr-runner-card-top .hkr-sex{margin-top:6px}
    .hkr-filters,.hkr-gallery-toolbar{grid-template-columns:1fr;padding:14px}.hkr-field-search{grid-column:auto}
    .hkr-clear-button{grid-column:auto;justify-self:start!important}
    .hkr-table-wrap{border:0;border-radius:0;overflow:visible;background:transparent}
    .hkr-results-table,.hkr-results-table tbody,.hkr-results-table tr,.hkr-results-table td{display:block;width:100%}
    .hkr-results-table thead{display:none}
    .hkr-results-table tbody{display:grid;gap:11px}
    .hkr-results-table tr{padding:13px 14px;border:1px solid var(--hkr-line);border-radius:16px;background:#fff;box-shadow:0 6px 16px rgba(23,30,48,.05)}
    .hkr-results-table td{display:grid!important;grid-template-columns:92px 1fr;gap:8px;align-items:center;padding:6px 0!important;border:0!important;text-align:left}
    .hkr-results-table td:before{content:attr(data-label);color:var(--hkr-muted);font-size:10px;font-weight:850;letter-spacing:.06em;text-transform:uppercase}
    .hkr-profile-table td:before{content:none}.hkr-profile-table td{display:table-cell!important;padding:9px!important}.hkr-profile-table,.hkr-profile-table tbody{display:table;width:100%}.hkr-profile-table tr{display:table-row;padding:0;border:0;box-shadow:none}.hkr-profile-table thead{display:table-header-group}
    .hkr-position{width:29px;height:29px;border-radius:9px}.hkr-distance-tag{justify-self:start}
    .hkr-pagination{display:grid;grid-template-columns:1fr 1fr}.hkr-pagination span{grid-column:1/-1;grid-row:1;text-align:center}.hkr-pagination button{grid-row:2}
    .hkr-gallery-grid{grid-template-columns:1fr 1fr;gap:10px}.hkr-gallery-card-body{padding:11px}.hkr-gallery-card-body h3{font-size:12px!important}.hkr-gallery-card-body p{font-size:10px!important}
    .hkr-bar-row{grid-template-columns:38px 1fr 42px;gap:7px}
    .hkr-modal{top:auto;bottom:0;left:0;width:100%;max-height:92vh;transform:none;border-radius:24px 24px 0 0;animation:hkr-sheet-in .25s ease}
    @keyframes hkr-sheet-in{from{opacity:0;transform:translateY(25px)}to{opacity:1;transform:translateY(0)}}
    .hkr-profile-head{align-items:flex-start;gap:13px;padding-right:46px}.hkr-avatar-large{width:62px;height:62px;border-radius:18px;font-size:20px}.hkr-profile-head h2,.hkr-photo-modal-head h2{font-size:26px!important}
    .hkr-modal-photo-grid{grid-template-columns:1fr 1fr;gap:8px}
}
@media(max-width:420px){
    .hkr-gallery-grid{grid-template-columns:1fr}
    .hkr-modal-photo-grid{grid-template-columns:1fr}
    .hkr-profile-head{display:block}.hkr-avatar-large{margin-bottom:13px}
}
@media(prefers-reduced-motion:reduce){.hkr-app *{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}


/* Galerías especiales · v1.2.0 */
.hkr-extra-quick-wrap{margin:16px 28px 0;padding:16px;border:1px solid var(--hkr-line);border-radius:20px;background:#fff;box-shadow:0 10px 28px rgba(23,30,48,.07)}
.hkr-extra-quick-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:11px}.hkr-extra-quick-head strong{color:var(--hkr-navy);font-size:15px}.hkr-extra-quick-head span{color:var(--hkr-muted);font-size:12px}
.hkr-extra-section-title{margin:0 0 10px;color:var(--hkr-navy);font-size:14px}
.hkr-extra-buttons{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin-bottom:18px}.hkr-extra-buttons-inline{grid-template-columns:repeat(3,minmax(0,1fr));padding:12px;border:1px solid var(--hkr-line);border-radius:16px;background:var(--hkr-paper)}
.hkr-extra-button{display:flex!important;align-items:center!important;gap:9px!important;min-height:62px!important;padding:10px 12px!important;border:1px solid var(--hkr-line)!important;border-radius:14px!important;background:#fff!important;color:var(--hkr-navy)!important;text-align:left!important;box-shadow:none!important;transition:.2s ease}.hkr-extra-button:hover,.hkr-extra-button.is-active{transform:translateY(-2px);border-color:var(--hkr-green)!important;box-shadow:0 8px 18px rgba(13,131,89,.12)!important}.hkr-extra-button.is-active{background:#eef8f4!important}.hkr-extra-icon{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border-radius:12px;background:var(--hkr-navy);font-size:20px}.hkr-extra-button b{display:block;font-size:12px;line-height:1.15}.hkr-extra-button small{display:block;margin-top:3px;color:var(--hkr-green);font-size:10px}
.hkr-back-gallery{align-self:end!important;min-height:46px!important;padding:0 14px!important;border:1px solid var(--hkr-line)!important;border-radius:12px!important;background:#fff!important;color:var(--hkr-green)!important;font-weight:800!important;box-shadow:none!important}
.hkr-extra-gallery-head{display:flex;align-items:flex-start;gap:14px;margin:6px 0 14px;padding:16px;border-radius:17px;background:linear-gradient(135deg,#f5faf7,#fff7e9);border:1px solid var(--hkr-line)}.hkr-extra-gallery-icon{display:grid;place-items:center;flex:0 0 50px;width:50px;height:50px;border-radius:15px;background:var(--hkr-navy);font-size:25px}.hkr-extra-gallery-head h3{margin:0 0 5px!important;color:var(--hkr-navy)!important;font-size:23px!important}.hkr-extra-gallery-head p{margin:0!important;color:var(--hkr-muted)!important;font-size:13px!important;line-height:1.45!important}
.hkr-extra-sponsor-buttons{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 15px}.hkr-extra-sponsor{padding:7px 10px!important;border:1px solid var(--hkr-line)!important;border-radius:999px!important;background:#fff!important;color:var(--hkr-navy)!important;font-size:11px!important;font-weight:800!important;box-shadow:none!important}.hkr-extra-sponsor:hover,.hkr-extra-sponsor.is-active{border-color:var(--hkr-green)!important;color:var(--hkr-green)!important;background:#eef8f4!important}
.hkr-extra-photo-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.hkr-extra-photo-card{overflow:hidden;margin:0;border:1px solid var(--hkr-line);border-radius:17px;background:#fff;transition:.2s ease}.hkr-extra-photo-card:hover{transform:translateY(-3px);box-shadow:0 14px 28px rgba(23,30,48,.1)}.hkr-extra-photo-card a{display:block;color:inherit;text-decoration:none!important}.hkr-extra-photo-image{position:relative;aspect-ratio:4/3;overflow:hidden;background:var(--hkr-navy)}.hkr-extra-photo-image img{display:block;width:100%;height:100%;object-fit:cover;transition:.25s ease}.hkr-extra-photo-card:hover img{transform:scale(1.04)}.hkr-extra-photo-image>b{position:absolute;right:8px;bottom:8px;padding:4px 7px;border-radius:8px;background:rgba(23,30,48,.82);color:#fff;font-size:10px}.hkr-extra-photo-tags{display:flex;flex-wrap:wrap;gap:4px;padding:9px}.hkr-extra-photo-tags span{padding:3px 6px;border-radius:7px;background:#eef8f4;color:var(--hkr-green);font-size:9px;font-weight:800}
@media(max-width:1000px){.hkr-extra-buttons{grid-template-columns:repeat(3,minmax(0,1fr))}.hkr-extra-photo-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:800px){.hkr-extra-quick-wrap{margin:14px 12px 0}.hkr-extra-quick-head{display:block}.hkr-extra-quick-head span{display:block;margin-top:4px}.hkr-extra-buttons,.hkr-extra-buttons-inline{grid-template-columns:repeat(2,minmax(0,1fr))}.hkr-extra-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.hkr-extra-buttons,.hkr-extra-buttons-inline{grid-template-columns:1fr 1fr}.hkr-extra-button{padding:8px!important}.hkr-extra-icon{width:34px;height:34px;flex-basis:34px}.hkr-extra-photo-grid{grid-template-columns:1fr 1fr;gap:8px}.hkr-extra-photo-tags{display:none}}

.hkr-stat-note{margin:-4px 0 14px;color:var(--hkr-muted);font-size:12px;line-height:1.45}


/* ==========================================================
   Carnet + diploma en ficha de corredor · v1.3.0
   Recomendación B: miniatura + botones + accesos por edición
   ========================================================== */
.hkr-profile-head{
    display:grid;
    grid-template-columns:auto minmax(0,1fr) 220px;
    align-items:center;
    gap:20px;
}
.hkr-profile-main{min-width:0}
.hkr-profile-documents{margin-top:13px}
.hkr-doc-actions{
    display:inline-flex;
    flex-wrap:wrap;
    align-items:center;
    gap:8px;
}
.hkr-doc-link{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:7px!important;
    min-height:38px;
    padding:8px 12px!important;
    border:1px solid var(--hkr-line)!important;
    border-radius:11px!important;
    background:#fff!important;
    color:var(--hkr-navy)!important;
    text-decoration:none!important;
    font-size:12px!important;
    font-weight:850!important;
    line-height:1.1!important;
    box-shadow:0 5px 12px rgba(23,30,48,.06)!important;
    transition:.18s ease;
}
.hkr-doc-link:hover{
    transform:translateY(-1px);
    border-color:var(--hkr-green)!important;
    color:var(--hkr-green)!important;
    box-shadow:0 8px 18px rgba(13,131,89,.12)!important;
}
.hkr-doc-carnet{background:linear-gradient(135deg,#fff,#f3f8ff)!important}
.hkr-doc-diploma{background:linear-gradient(135deg,#fff,#fbfce9)!important}
.hkr-doc-actions-compact{gap:5px;margin-left:4px}
.hkr-doc-actions-compact .hkr-doc-link{
    width:34px;
    min-width:34px;
    height:32px;
    min-height:32px;
    padding:0!important;
    border-radius:9px!important;
    font-size:14px!important;
}
.hkr-doc-actions-compact .hkr-doc-text{
    position:absolute!important;
    width:1px!important;
    height:1px!important;
    padding:0!important;
    margin:-1px!important;
    overflow:hidden!important;
    clip:rect(0,0,0,0)!important;
    white-space:nowrap!important;
    border:0!important;
}
.hkr-row-tools{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:5px;
}
.hkr-mini-carnet{
    position:relative;
    display:block;
    width:220px;
    aspect-ratio:1.58/1;
    overflow:hidden;
    border:1px solid rgba(23,30,48,.12);
    border-radius:15px;
    background:
        linear-gradient(90deg,rgba(255,255,255,.18),rgba(255,255,255,.96) 48%),
        var(--hkr-carnet-bg,linear-gradient(135deg,#dfe9ef,#fff));
    background-size:cover;
    background-position:center;
    color:var(--hkr-navy)!important;
    text-decoration:none!important;
    box-shadow:0 11px 25px rgba(23,30,48,.13);
    transition:.2s ease;
}
.hkr-mini-carnet:hover{
    transform:translateY(-2px) rotate(.25deg);
    box-shadow:0 16px 31px rgba(23,30,48,.17);
}
.hkr-mini-carnet-face{
    position:absolute;
    left:10px;
    top:10px;
    display:grid;
    place-items:center;
    width:58px;
    height:58px;
    overflow:hidden;
    border:3px solid #fff;
    border-radius:13px;
    background:linear-gradient(135deg,#1480bf,#10456e);
    box-shadow:0 4px 11px rgba(23,30,48,.18);
}
.hkr-mini-carnet-face img{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}
.hkr-mini-carnet-initials{
    color:#fff;
    font-size:17px;
    font-weight:900;
}
.hkr-mini-carnet-data{
    position:absolute;
    left:79px;
    right:9px;
    top:14px;
    display:block;
    padding:6px 7px;
    border-radius:9px;
    background:rgba(255,255,255,.84);
    backdrop-filter:blur(4px);
}
.hkr-mini-carnet-data small{
    display:block;
    margin-bottom:2px;
    color:var(--hkr-green);
    font-size:8px;
    font-weight:900;
    line-height:1.1;
    text-transform:uppercase;
    letter-spacing:.06em;
}
.hkr-mini-carnet-data strong{
    display:block;
    overflow:hidden;
    color:var(--hkr-navy);
    font-size:11px;
    font-weight:900;
    line-height:1.12;
    white-space:nowrap;
    text-overflow:ellipsis;
}
.hkr-mini-carnet-data b{
    display:block;
    margin-top:4px;
    color:var(--hkr-muted);
    font-size:9px;
    line-height:1.1;
}
.hkr-mini-carnet-open{
    position:absolute;
    right:8px;
    bottom:8px;
    display:grid;
    place-items:center;
    width:27px;
    height:27px;
    border-radius:8px;
    background:var(--hkr-navy);
    color:#fff;
    font-size:13px;
    font-weight:900;
}
@media(max-width:800px){
    .hkr-profile-head{
        grid-template-columns:auto minmax(0,1fr);
    }
    .hkr-mini-carnet{
        grid-column:1/-1;
        width:min(280px,100%);
        margin-top:2px;
    }
}
@media(max-width:640px){
    .hkr-profile-head{
        display:grid;
        grid-template-columns:auto minmax(0,1fr);
        align-items:start;
    }
    .hkr-profile-main{min-width:0}
    .hkr-profile-documents .hkr-doc-actions{
        display:flex;
        width:100%;
    }
    .hkr-profile-documents .hkr-doc-link{
        flex:1 1 auto;
        min-width:118px;
    }
    .hkr-mini-carnet{
        grid-column:1/-1;
        width:100%;
        max-width:300px;
    }
    .hkr-profile-table{
        min-width:560px;
    }
}
@media(max-width:420px){
    .hkr-profile-head{
        display:block;
    }
    .hkr-profile-main{margin-top:10px}
    .hkr-mini-carnet{max-width:none}
}
