/* Reference homepage; shared component overrides are scoped to page-home. */
.page-home{background:#0c0b10;--home-border:#514049;font-weight:400;line-height:1.4}
.page-home .site-header{position:relative;background:linear-gradient(110deg,#151215,#08090c 68%);border-color:#463137}
.page-home .site-header:before,.home-footer:after{content:"";position:absolute;left:-24px;top:0;width:65px;height:100%;transform:skewX(-39deg);border-left:9px solid #ee2336;border-right:13px solid #a70e1d;background:linear-gradient(90deg,#2e0b12 44%,#e52234 45%,#e52234 58%,#190b10 59%);pointer-events:none}
.page-home .header-inner{max-width:1540px;height:62px;padding:0 26px 0 68px;gap:20px}
.page-home .brand{gap:10px}.page-home .brand .emblem{background:none;box-shadow:none;color:white;width:56px;height:44px}.page-home .brand .emblem svg{width:52px;height:44px}
.page-home .brand-text b{font-size:27px;font-style:italic;letter-spacing:-.8px;white-space:nowrap}.page-home .brand-text span{color:white;text-align:center;font-size:10px;letter-spacing:.65em;margin-top:5px}
.page-home .main-nav{border-left:1px solid #62585e;margin-left:10px;padding-left:15px;gap:9px;flex:1;justify-content:space-evenly}
.page-home .main-nav a{font-size:17px;padding:17px 10px;color:#f0edf0;white-space:nowrap}.page-home .main-nav a.active{background:radial-gradient(ellipse at bottom,#7f0a2366,transparent 75%);border-radius:0}
.page-home .main-nav a.active:after{bottom:4px;left:7px;right:7px;box-shadow:0 0 7px 2px #f52b48;height:2px}
.page-home .header-tools{gap:20px}.page-home .search-box,.page-home .search-box:focus-within{width:218px;height:34px;border-color:#696169;border-radius:6px;background:linear-gradient(#202024,#17171c)}
.page-home .header-tools .btn{height:34px;font-size:16px;min-width:111px;border-radius:5px;padding:4px 15px;color:#ff6573}.page-home .header-tools .btn svg{display:none}
.home-hero{position:relative;height:278px;overflow:hidden;border-bottom:1px solid #6c5056;background:#09090c}.hero-photo{position:absolute;width:100%;height:100%;object-fit:cover;object-position:center 47%}.hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(6,8,13,.45),rgba(6,8,13,.15) 37%,transparent 65%)}
.home-hero-inner{position:relative;max-width:1400px;margin:auto;padding:31px 55px;z-index:1}.home-hero h1{position:relative;font-size:clamp(36px,4.1vw,61px);font-weight:800;font-style:italic;line-height:1.04;letter-spacing:-1.4px;text-shadow:0 3px 8px #0009;overflow-wrap:normal}.home-hero h1:before{content:"";position:absolute;left:-24px;top:8px;width:8px;height:91%;background:linear-gradient(#f1253b,#97132333);transform:skewX(-14deg)}
.home-hero p{font-size:19px;margin:10px 0 17px;color:#e1dce1;font-weight:300}.hero-actions{display:flex;gap:20px}.page-home .hero-actions .btn{font-size:19px;padding:8px 22px;min-height:44px}
.page-home .btn{border-radius:6px}.home-primary{border:1px solid #ff354a;background:linear-gradient(#f12237,#b90017);box-shadow:inset 0 1px 2px #ff81844d,0 3px 10px #0005;color:#fff}.home-primary:hover{background:linear-gradient(#ff3549,#d40925);box-shadow:0 0 20px #ec193833}.home-secondary{border:1px solid #dad6db;background:#0b0b0e99}.home-secondary:hover{background:#252029}.home-outline{border:1px solid #ff334a;background:linear-gradient(#4b1019,#140c10);box-shadow:inset 0 0 6px #ed153733}.home-outline:hover{background:#641324}
.home-dashboard{max-width:1500px;margin:auto;padding:13px 18px 12px;background:radial-gradient(ellipse at 12% 80%,#5b162217,transparent 45%)}
.home-top-grid{display:grid;grid-template-columns:2.15fr 1fr;gap:14px}.home-middle-grid{display:grid;grid-template-columns:1.19fr 2fr;gap:14px;margin-top:12px}.home-top-grid>*,.home-middle-grid>*{min-width:0}
.home-panel{overflow:hidden;border:1px solid var(--home-border);border-radius:9px;background:radial-gradient(ellipse at 100% 115%,#6c172025,transparent 40%),linear-gradient(120deg,#17141a,#100f14 65%,#17141b);box-shadow:0 1px 0 #e1274266}
.panel-heading{height:40px;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 17px;border-bottom:1px solid #51424d;background:linear-gradient(105deg,#7e17273d,#251b23 30%,#19161d 90%)}
.panel-heading h2{display:flex;align-items:center;gap:10px;font-size:23px;font-weight:600;white-space:nowrap}.panel-heading h2:before{content:"";height:25px;width:7px;flex-shrink:0;transform:skewX(-14deg);background:#f02a3f;box-shadow:-4px 0 14px #df103747}.panel-heading>a{font-size:14px;display:flex;align-items:center;gap:4px;white-space:nowrap}.panel-heading>a:hover{color:#ff6d7e}
.home-events{display:grid;grid-template-columns:1fr 1fr;gap:19px;padding:11px}.home-event{display:grid;grid-template-columns:1.55fr 1fr;gap:13px;min-width:0}.event-picture{height:194px;overflow:hidden;border:1px solid #77626a;border-radius:6px;position:relative}.event-picture img{width:100%;height:100%;object-fit:cover;transition:transform .25s}.event-picture:hover img,.home-news-picture:hover img{transform:scale(1.04)}.event-info{display:flex;flex-direction:column;align-items:flex-start;padding:7px 0;min-width:0}.registration-badge{font-size:13px;font-weight:500;line-height:1.4;padding:2px 10px;border:1px solid #ff4052;border-radius:5px;background:linear-gradient(#e92236,#a60014);box-shadow:inset 0 1px 1px #ffb9b44a;white-space:nowrap}.event-info h3{font-size:20px;line-height:1.1;font-weight:500;margin:9px 0 8px;overflow-wrap:normal}.event-info p{font-size:14px;display:flex;align-items:center;gap:7px;margin-bottom:4px}.event-info p svg{flex-shrink:0}.event-info .btn{margin-top:auto;width:100%;font-size:15px;padding:5px 8px;height:35px}
.home-rank-filters{display:grid;grid-template-columns:1fr 1.05fr .9fr;gap:12px;margin:7px 20px 2px}.page-home select{width:100%;height:29px;font-size:14px;font-weight:400;border:1px solid #a49aa4;border-radius:5px;background:linear-gradient(#303036,#1c1b21);padding:1px 10px;color:#f7f5f6;cursor:pointer}.page-home select option{background:#242027}
.home-rank-list{margin:0 20px;min-height:147px}.home-rank-row{display:flex;align-items:center;gap:13px;width:100%;height:49px;text-align:left;border-bottom:1px solid #6b586366}.home-rank-row:hover{background:#ffffff06}.home-medal{position:relative;display:grid;place-items:center;flex-shrink:0;width:52px;height:42px;font:italic 800 26px Georgia,serif;color:#e4b634;background:url('../img/rankings/laurel.svg') center/contain no-repeat}.medal-1{filter:grayscale(1);color:#d8d4de}.medal-2{filter:hue-rotate(338deg);color:#cb8b53}
.home-avatar{width:39px;height:39px;flex-shrink:0;display:block;border:1px solid #a89ca3;border-radius:50%;background-image:url('../img/rankings/demo-athletes.webp');background-size:300% 100%;background-repeat:no-repeat}.portrait-0{background-position:0 center}.portrait-1{background-position:50% center}.portrait-2{background-position:100% center}.rank-person{flex:1;line-height:1.16}.rank-person b{font-size:19px;font-style:italic;font-weight:600}.rank-person small{display:block;color:#d9d2da;font-size:13px;margin-top:2px}.home-rank-row>svg{color:#8d727f;opacity:0}.home-rank-row:hover>svg{opacity:1}.home-rank-all{height:29px;display:flex;align-items:center;justify-content:center;gap:5px;font-size:15px}.home-rank-all:hover{color:#ff6377}.rank-empty{min-height:147px;display:grid;place-content:center;text-align:center;color:#bcb2be;font-size:14px;gap:6px}.rank-empty strong{color:white;font-weight:500}
.home-province-body{height:208px;display:grid;grid-template-columns:1.4fr 1fr;gap:12px;padding:7px 18px 0 16px}.home-map-wrap{position:relative;min-width:0;display:flex;justify-content:center;overflow:hidden}.home-map{width:100%;height:208px;filter:drop-shadow(0 5px 15px #0007)}.home-map path{stroke:#312b38;stroke-width:3;transition:fill .15s}.home-map a:hover path,.home-map a:focus path,.home-map a.selected path{fill:#ef243a;stroke:#fff;stroke-width:6}.map-selection{position:absolute;z-index:1;left:12%;top:12px;font-size:12px;line-height:1.4;color:#17131a;background:white;border-radius:4px;padding:2px 8px;font-weight:600;box-shadow:0 2px 5px #0005;pointer-events:none}.map-selection:after{content:"";position:absolute;right:-6px;top:8px;border-left:7px solid white;border-top:4px solid transparent;border-bottom:4px solid transparent}.home-province-side{padding-top:3px}.home-province-side label{display:block;font-size:13px;margin-bottom:3px}.home-province-side .btn{width:100%;margin-top:10px;padding:5px;font-size:16px;min-height:35px}.home-legend{display:flex;flex-direction:column;gap:2px;margin-top:9px}.home-legend span{font-size:11px;display:flex;align-items:center;gap:10px;line-height:1.3}.home-legend i{width:13px;height:10px;border-radius:2px;flex-shrink:0}
.demo-tag{font:500 9px Arial,sans-serif;letter-spacing:1.2px;color:#b79ca6;border:1px solid #63424f;padding:3px 5px;border-radius:3px}.home-results-scroll{padding:0 15px 15px;overflow-x:auto}.home-results-table{width:100%;border-collapse:collapse;font-size:13px;text-align:left;white-space:nowrap}.home-results-table th{font-weight:400;color:#dcd3dd;font-size:13px;padding:7px 5px;border-bottom:1px solid #6b5c67}.home-results-table td{height:51px;border-bottom:1px solid #635661;padding:5px}.home-results-table td:nth-child(3),.home-results-table th:nth-child(3){text-align:center}.home-results-table small{display:block;font-size:12px;color:#d2cbd3;line-height:1.25}.match-pair{display:flex;align-items:center;gap:13px}.match-pair em{font-size:14px;font-weight:600}.match-athlete{display:flex;align-items:center;gap:8px;text-align:left;min-width:135px}.match-athlete b{font-size:16px;line-height:1.2;font-weight:600}.match-athlete:hover b{color:#ff5b71}.match-athlete small{font-size:11px}.match-score{display:inline-block;min-width:75px;padding:1px 12px;border:1px solid #fb4255;border-radius:6px;background:linear-gradient(#e31d36,#a5061c);font-size:21px;font-weight:600;font-style:italic;line-height:1.2}.match-date{font-size:13px}
.home-news{margin-top:12px}.home-news .panel-heading{height:36px}.home-news-grid{padding:8px 11px;display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.home-news-card{display:grid;grid-template-columns:1.2fr 1fr;gap:13px;min-width:0}.home-news-picture{position:relative;border:1px solid #b0a2a9;border-radius:6px;height:139px;overflow:hidden}.home-news-picture img{width:100%;height:100%;object-fit:cover;transition:transform .25s}.home-news-copy{display:flex;flex-direction:column;padding:6px 0 3px;min-width:0}.home-news-copy h3{font-size:16px;font-weight:500;line-height:1.4}.home-news-copy h3 button{text-align:left;line-height:inherit}.home-news-copy h3 button:hover{color:#ff7383}.home-news-copy p{font-size:12px;line-height:1.45;margin-top:5px;color:#ded8e1}.home-news-date{display:flex;align-items:center;gap:6px;font-size:12px;margin-top:auto;padding-top:9px}.home-play{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:48px;height:48px;border-radius:50%;border:2px solid white;background:#08090b99;box-shadow:0 3px 15px #0008}.home-play svg{fill:white;stroke-width:1;margin-left:3px}
.home-footer{position:relative;overflow:hidden;border-top:1px solid #5e4853;background:linear-gradient(110deg,#0b0b0f,#141217);min-height:61px}.home-footer-inner{max-width:1210px;display:flex;align-items:center;gap:30px;padding:9px 20px;margin:auto}.home-footer .brand-text b{font-size:21px}.home-footer .brand-text span{font-size:8px}.home-footer .brand .emblem{height:35px;width:45px}.home-footer .brand .emblem svg{width:40px}.home-social{display:flex;gap:22px;align-items:center;padding:0 28px;border-inline:1px solid #766673}.home-social button{display:grid;place-items:center;width:26px;height:26px;border-radius:6px}.social-fb{background:#2271e6;border-radius:50%!important}.social-tiktok{background:#020203}.social-yt{background:#ec1324}.social-ig{background:linear-gradient(30deg,#ffc45a,#df256c,#7523bf)}.home-footer p{color:#bcb0bc;font-size:12px}.home-footer:after{left:auto;right:-20px;width:50px;transform:skewX(-40deg)}
.home-dialog{color:#f4eff4;background:#17131b;border:1px solid #80414f;border-radius:12px;padding:0;width:min(620px,calc(100% - 30px));max-height:90dvh;box-shadow:0 25px 100px #000c}.home-dialog::backdrop{background:#050409cc;backdrop-filter:blur(5px)}.home-dialog>img{width:100%;max-height:300px;object-fit:cover}.dialog-close{position:absolute;right:12px;top:12px;display:grid;place-items:center;width:36px;height:36px;border-radius:50%;border:1px solid #ffffff55;background:#070609d9;color:white;z-index:2}.dialog-copy{padding:27px}.dialog-copy h2{font-size:29px;margin:12px 0 16px}.dialog-copy p{font-size:16px;line-height:1.75;color:#d4c9d5;margin:12px 0}.dialog-copy .btn{margin-top:18px}.dialog-notice{padding:12px 14px;border-left:3px solid #f03950;background:#de244e0d;font-size:13px;color:#c4b5c3;margin-top:18px}.dialog-kicker{color:#ff5d76;font-size:12px;letter-spacing:.05em}body:has(.home-dialog[open]){overflow:hidden}
@media(min-width:1600px){.home-hero{height:320px}.home-hero-inner{padding-top:43px}.home-dashboard{padding-top:17px}.home-events{padding:14px}.event-picture{height:215px}.home-rank-list{min-height:168px}.home-rank-row{height:56px}}
@media(max-width:1250px){.page-home .header-inner{padding-left:40px;gap:10px}.page-home .brand-text b{font-size:23px}.page-home .main-nav{padding-left:9px;gap:0;margin-left:0}.page-home .main-nav a{font-size:15px;padding-inline:8px}.page-home .header-tools{gap:12px}.page-home .search-box,.page-home .search-box:focus-within{width:170px}.home-event{grid-template-columns:1.1fr 1fr;gap:10px}.event-info h3{font-size:18px}.panel-heading h2{font-size:20px}.home-rank-filters{margin-inline:12px;gap:8px}.home-rank-list{margin-inline:12px}.home-rank-row{gap:8px}.home-medal{width:42px}.home-middle-grid{grid-template-columns:1fr 1.75fr}.home-results-table{min-width:730px}.home-news-grid{gap:12px}.home-news-card{gap:10px}.home-news-copy h3{font-size:14px}.home-news-copy p{font-size:11px}.home-province-body{padding-inline:10px;grid-template-columns:1.1fr 1fr}.home-footer-inner{gap:20px}}
@media(max-width:960px){.page-home .header-inner{height:65px;padding:0 18px;gap:12px}.page-home .site-header:before{display:none}.page-home .nav-toggle{display:grid;flex-shrink:0}.page-home .brand-text b{font-size:23px}.page-home .main-nav{justify-content:flex-start;border-left:0;padding:14px;gap:5px}.page-home .main-nav a{padding:10px 15px}.page-home .header-tools .btn{min-width:90px;font-size:14px}.page-home .search-box,.page-home .search-box:focus-within{width:170px}.home-hero{height:300px}.hero-photo{object-position:60% center}.hero-shade{background:linear-gradient(90deg,#090a10d9,#090a1044 65%,transparent)}.home-hero-inner{padding:45px 42px}.home-hero h1{font-size:46px}.home-hero p{font-size:16px}.home-top-grid{grid-template-columns:1.7fr 1fr;gap:12px}.home-events{grid-template-columns:1fr;gap:12px}.event-picture{height:155px}.home-event{grid-template-columns:1.2fr 1fr}.home-rank-row{height:68px}.home-rank-list{min-height:240px}.home-rank-filters{grid-template-columns:1fr 1fr;row-gap:6px}.home-rank-filters select:last-child{grid-column:1/-1}.home-rank-all{height:43px}.home-middle-grid{grid-template-columns:1fr}.home-province-body{grid-template-columns:1fr 1fr;height:235px;padding-inline:30px}.home-map{height:230px}.home-province-side{padding-top:12px}.home-legend{gap:5px;margin-top:12px}.home-legend span{font-size:12px}.home-results-table{min-width:720px}.home-news-card{grid-template-columns:1fr}.home-news-picture{height:150px}.home-news-copy{min-height:130px}.home-news-copy h3{font-size:16px}.home-news-copy p{font-size:13px}.home-footer-inner{flex-wrap:wrap;gap:15px;justify-content:center}.home-footer p{width:100%;text-align:center}.home-footer .home-social{border-right:0}.home-dashboard{padding:12px}}
@media(max-width:620px){.page-home .header-inner{height:63px;padding:0 12px;gap:8px}.page-home .brand .emblem{width:33px}.page-home .brand .emblem svg{width:34px}.page-home .brand{gap:6px}.page-home .brand-text b{font-size:18px;letter-spacing:-.5px}.page-home .brand-text span{font-size:8px;letter-spacing:.45em}.page-home .nav-toggle{width:32px;height:34px}.page-home .header-tools{gap:0}.page-home .header-tools .btn{min-width:70px;padding:5px 7px;font-size:12px}.page-home .header-tools .search-box{display:none}.home-hero{height:365px}.hero-photo{object-position:64% center;opacity:.78}.hero-shade{background:linear-gradient(90deg,#08090ed9,#08090e30),linear-gradient(0deg,#08090ee6,transparent 70%)}.home-hero-inner{padding:106px 24px 25px}.home-hero h1{font-size:40px;letter-spacing:-.8px}.home-hero h1:before{left:-13px;width:5px}.home-hero p{font-size:14px;max-width:310px;margin-top:13px;line-height:1.6}.hero-actions{gap:9px}.page-home .hero-actions .btn{font-size:14px;padding:7px 11px;min-height:42px;gap:7px}.home-top-grid{grid-template-columns:1fr}.panel-heading{padding:0 12px}.panel-heading h2{font-size:20px;gap:8px}.panel-heading>a{font-size:12px}.home-events{gap:14px;padding:10px}.home-event{grid-template-columns:1.1fr 1fr;gap:12px}.event-picture{height:171px}.event-info{padding:3px 0}.event-info h3{font-size:19px}.event-info p{font-size:12px}.event-info .btn{font-size:14px}.registration-badge{font-size:12px}.home-rank-filters{grid-template-columns:1fr 1fr 1fr;gap:10px;margin:12px 16px 3px}.home-rank-filters select:last-child{grid-column:auto}.home-rank-list{margin:0 16px;min-height:168px}.home-rank-row{height:56px;gap:14px}.home-rank-all{height:36px}.home-rank-row>svg{opacity:1}.home-province-body{grid-template-columns:1.12fr 1fr;padding:10px 13px 0;height:235px;gap:10px}.home-province-side{padding-top:0}.home-province-side .btn{font-size:14px}.home-legend span{font-size:10px}.map-selection{left:0}.home-results-scroll{padding:0 10px 12px}.home-news-grid{grid-template-columns:1fr;gap:15px;padding:12px}.home-news-card{grid-template-columns:1.1fr 1fr;gap:12px}.home-news-picture{height:133px}.home-news-copy{min-height:133px;padding-top:0}.home-news-copy h3{font-size:15px}.home-news-copy p{font-size:12px}.home-news-date{font-size:11px}.home-footer-inner{padding:16px 12px;gap:17px}.home-footer .brand-text b{font-size:19px}.home-footer .home-social{padding:0 0 0 15px;gap:14px}.home-footer p{font-size:10px}.dialog-copy{padding:22px}.dialog-copy h2{font-size:24px}.home-dialog>img{max-height:220px}}
@media(max-width:360px){.page-home .brand-text b{font-size:15px}.page-home .brand .emblem{display:none}.home-hero h1{font-size:35px}.hero-actions{gap:6px}.page-home .hero-actions .btn{font-size:12px;padding:8px}.panel-heading h2{font-size:18px}.home-event{gap:9px}.event-info h3{font-size:17px}.home-news-card{grid-template-columns:1fr}.home-news-picture{height:175px}.home-news-copy{min-height:100px}.home-footer .home-social{border:0;padding:0}}
/* Final reference details and overrides for inherited compact-header rules. */
.page-home .brand .emblem img{width:60px;height:44px;object-fit:contain}
.home-medal{background:none}
.home-medal:before{content:"";position:absolute;inset:0;background:currentColor;mask:url('../img/rankings/laurel.svg') center/contain no-repeat;-webkit-mask:url('../img/rankings/laurel.svg') center/contain no-repeat}
.home-avatar{background-size:600% 200%}.portrait-0{background-position:10% 0}.portrait-1{background-position:50% 0}.portrait-2{background-position:90% 0}
@media(min-width:961px){.hero-photo{width:84%;right:0;object-position:center 60%}}
@media(max-width:620px){.page-home .brand .brand-text{display:block}.page-home .header-tools .btn span{display:inline}.page-home .brand .emblem img{width:34px;height:32px}.home-footer .brand .emblem img{width:40px}}
@media(max-width:620px){.page-home .brand .brand-text span{display:block}}
