:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#171717;background:#f6f6f6;font-synthesis:none;--ink:#171717;--muted:#666666;--accent:#766000;--gold:#ffcf32}*{box-sizing:border-box}body{margin:0;font-family:inherit}a{color:inherit}button,input,select{font:inherit}button{cursor:pointer;border:0;border-radius:14px;padding:12px 16px;min-height:44px;background:#fff;color:var(--ink);font-size:13px;font-weight:650}button:hover{background:#fff3c9}button:disabled{opacity:.55;cursor:wait}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid var(--accent);outline-offset:3px}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.skip{position:absolute;top:-70px;left:16px;background:var(--gold);padding:12px;z-index:5}.skip:focus{top:12px}header{background:#000000;color:white;padding:18px 20px;display:flex;align-items:center;justify-content:space-between;gap:12px}header img{display:block;width:146px;height:auto}header nav{display:flex;align-items:center;gap:10px}header button{background:#ffffff14;color:white;border:1px solid #ffffff30;font-size:12px;padding:9px 14px;border-radius:30px}header button:hover{background:#ffffff26}#account{display:none}main{max-width:1220px;margin:0 auto;padding:0 16px 40px}h1,h2,p{margin-top:0}h1{font-size:40px;line-height:1.02;letter-spacing:-.055em;margin-bottom:0;font-weight:850}h2{font-size:18px;letter-spacing:-.025em}.muted{color:var(--muted);font-size:12px;line-height:1.6}.heading{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:22px}#listing>.heading{position:relative;isolation:isolate;overflow:hidden;margin:0 -16px 20px;padding:28px 20px 24px;background:radial-gradient(ellipse at 95% 5%,#3a3a3a 0,transparent 55%),linear-gradient(125deg,#080808,#242424);color:white;border-radius:0 0 32px 32px}#listing>.heading:before{content:'';position:absolute;z-index:-1;width:200px;height:260px;right:-70px;top:-120px;border:26px solid #ffcf32;border-radius:50%;transform:rotate(-30deg);opacity:.9}#listing>.heading:after{content:'';position:absolute;z-index:-1;width:200px;height:300px;right:-70px;top:-125px;border:1px solid #ffffff38;border-radius:50%;transform:rotate(-30deg) translate(-25px,15px)}#listing h1 span{display:block;color:#ffcf32}#search-form{display:flex;gap:6px;width:100%;background:#ffffff13;border:1px solid #ffffff25;border-radius:16px;padding:4px;backdrop-filter:blur(8px)}input{min-width:0;border:1px solid #d9d9d9;border-radius:12px;padding:12px;background:#fff;color:var(--ink)}#search{width:100%;border:0;background:transparent;color:white;font-size:14px;outline-offset:0}#search::placeholder{color:#d0d0d0}#search-form button{border-radius:12px;background:#fff;color:#242424}.schedule-tools{display:flex;align-items:center;gap:6px;margin-bottom:22px}.schedule-tools button{font-size:12px;border-radius:24px;padding:10px 13px;white-space:nowrap}.schedule-tools #open-filters{order:4;margin-left:auto;background:transparent;border:1px solid #dddddd}.schedule-tools #clear-day{display:none}button[aria-pressed=true]{background:var(--ink);color:white}.schedule-tools #live-events:before{content:'';display:inline-block;width:6px;height:6px;border-radius:50%;background:#d6a500;margin-right:6px;vertical-align:middle}#filter-count:not(:empty){display:inline-grid;place-items:center;background:var(--accent);color:white;border-radius:20px;min-width:19px;height:19px;margin-left:3px;font-size:11px}.calendar-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px;gap:8px}.calendar-heading button{width:44px;border-radius:50%;background:transparent;font-size:20px}.calendar-picker{position:relative;padding:12px 24px;font-size:15px;font-weight:750;text-align:center;cursor:pointer}.calendar-picker:after{content:'⌄';margin-left:10px;color:var(--accent)}.calendar-picker input{position:absolute;inset:0;opacity:0;width:100%;cursor:pointer}.calendar-picker:focus-within{outline:3px solid var(--accent);border-radius:12px}.date-strip{display:flex;position:relative;gap:7px;overflow-x:auto;margin:0 -16px;padding:4px 16px 18px;scroll-snap-type:x proximity;scroll-behavior:smooth;scrollbar-width:thin;scrollbar-color:#d6d6d6 transparent}.date-chip{flex:0 0 61px;scroll-snap-align:center;border-radius:18px;display:grid;place-items:center;gap:5px;padding:11px 5px;color:#808080;background:#ededed;font-size:10px;min-height:87px;transition:transform .18s,background .18s}.date-chip strong{font-size:24px;letter-spacing:-.04em;line-height:1.05}.date-chip span:last-child{font-size:8px}.date-chip.has-events{background:white;color:var(--ink);box-shadow:0 3px 10px #00000008}.date-chip[aria-pressed=true]{color:#171717;background:#ffcf32;box-shadow:0 6px 14px #e3b90026;transform:translateY(-3px)}#count{font-size:11px;margin:12px 2px 18px}#events{display:grid;gap:18px}.schedule-group{min-width:0}.schedule-group>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:14px;font-weight:750;padding:5px 2px 12px;cursor:pointer;text-transform:capitalize}.schedule-group>summary::-webkit-details-marker{display:none}.schedule-group>summary:after{content:'−';color:var(--accent);font-size:20px;font-weight:400}.schedule-group:not([open])>summary:after{content:'+'}.event{position:relative;display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:8px 12px;align-items:start;padding:17px 16px;margin-bottom:9px;background:#fff;border:1px solid #ededed;border-radius:20px;text-decoration:none;box-shadow:0 4px 20px #00000005;transition:transform .18s,box-shadow .18s}.event:hover{transform:translateY(-2px);box-shadow:0 7px 25px #00000011}.sport-icon{grid-row:1/3;grid-column:1;display:grid;place-items:center;width:42px;height:46px;border-radius:14px;color:#705600;background:#fff3c9;font-size:29px;line-height:1}.event[data-category=field] .sport-icon{background:#fff3c9;color:#705600}.event[data-category=road] .sport-icon{background:#fff3c9;color:#705600}.event-time{grid-column:2;grid-row:1;font-weight:750;font-size:11px;color:var(--muted);letter-spacing:.02em}.event-info{grid-column:2/4;grid-row:2;min-width:0;padding-right:10px}.event-info h2{font-size:15px;line-height:1.35;margin:0 0 7px;font-weight:750}.event-info p{font-size:10px;line-height:1.6;margin:0;color:#707070}.badge{grid-column:3;grid-row:1;justify-self:end;font-size:9px;font-weight:750;border-radius:20px;padding:4px 8px;text-transform:capitalize;background:#f0f0f0;color:#555555}.badge.live{background:#fff0b3;color:#272000}.badge.live:before{content:'';display:inline-block;width:5px;height:5px;background:currentColor;border-radius:50%;margin-right:5px}.is-live{border-color:#e8cd61}.event-link{display:none}.empty{position:relative;text-align:center;padding:54px 28px;background:white;border:1px dashed #d9d9d9;border-radius:24px;color:var(--muted);font-size:14px;line-height:1.7}.empty:before{content:'◎';display:block;font-size:52px;font-weight:300;color:#b58c00;line-height:1;margin-bottom:20px}.pages{display:flex;justify-content:center;margin:24px 0 0}.pages button{border:1px solid #dddddd;border-radius:25px;padding:12px 28px}#filters-dialog{position:fixed;inset:auto 0 0;width:100%;max-width:560px;max-height:90svh;margin:0 auto;padding:12px 24px 28px;border:0;border-radius:28px 28px 0 0;background:#ffffff;color:var(--ink);box-shadow:0 -15px 60px #00000030;overflow-y:auto}dialog::backdrop{background:#00000080;backdrop-filter:blur(4px)}.sheet-handle{width:36px;height:4px;border-radius:4px;background:#d0d0d0;margin:0 auto 20px}.sheet-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.sheet-heading h2{font-size:25px;margin:0}.sheet-heading button{font-size:26px;background:transparent;padding:0;width:44px}.schedule-filters{display:grid;gap:16px}.schedule-filters label{display:block;font-size:12px;color:var(--muted);font-weight:600;margin-bottom:8px}.schedule-filters select{width:100%;min-width:0;padding:14px;border:1px solid #dddddd;border-radius:14px;background:white;color:var(--ink);font-size:16px}.schedule-filters #reset-filters{justify-self:start;background:transparent;color:var(--accent);padding-left:0}.sheet-done{width:100%;background:var(--ink);color:white;border-radius:18px;margin-top:16px;font-size:15px;min-height:50px}.sheet-done:hover{background:var(--accent)}#detail{padding-top:22px}#detail>a{display:inline-block;color:var(--accent);text-decoration:none;font-size:12px;padding:10px 0}#detail>.heading{position:relative;overflow:hidden;isolation:isolate;background:linear-gradient(125deg,#080808,#292929);color:white;border-radius:26px;padding:24px;margin:10px 0 20px}#detail>.heading:after{content:'';position:absolute;right:-35px;top:-60px;width:140px;height:200px;border:16px solid #ffce3330;border-radius:50%;transform:rotate(35deg);z-index:-1}#competition{font-size:11px;color:#e2e2e2;max-width:85%;margin-bottom:12px}#event-title{font-size:29px;line-height:1.15}#event-meta{font-size:11px;color:#dddddd;margin:14px 0 0}#refresh{border-radius:24px;background:#ffffff18;color:white;font-size:11px;min-height:36px;padding:8px 16px}.view-tabs{display:flex;align-items:center;gap:6px;margin-bottom:18px}.view-tabs button{border-radius:25px;font-size:12px}.view-tabs #print{margin-left:auto;background:transparent;font-size:11px;color:var(--muted)}#updated{font-size:10px;margin-bottom:15px}.table-scroll{max-width:100%}table{width:100%;border-collapse:collapse;font-size:13px}th,td{text-align:left;font-variant-numeric:tabular-nums}table[data-view=results] thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}table[data-view=results],table[data-view=results] tbody{display:block}table[data-view=results] tbody tr{display:grid;grid-template-columns:24px minmax(0,1fr) auto;align-items:center;gap:5px 10px;background:#fff;border-radius:18px;padding:16px 13px;margin-bottom:9px;box-shadow:0 3px 14px #00000004}table[data-view=results] td{min-width:0}table[data-view=results] td:nth-child(1){grid-column:1;grid-row:1/3;align-self:start;font-size:18px;color:#808080;font-weight:750}table[data-view=results] td:nth-child(2){grid-column:2;grid-row:1;font-weight:750;line-height:1.3;font-size:13px}table[data-view=results] td:nth-child(3){grid-column:2;grid-row:2;font-size:10px;letter-spacing:.06em;color:#707070}table[data-view=results] td:nth-child(4){grid-column:3;grid-row:1;font-size:17px;font-weight:800;letter-spacing:-.04em;white-space:nowrap}table[data-view=results] td:nth-child(5){grid-column:3;grid-row:2;justify-self:end;font-size:10px;color:var(--muted)}table[data-view=results] td:nth-child(6){grid-column:2/4;font-size:10px;color:#606060;margin-top:5px}table[data-view=results] td:nth-child(7){grid-column:2;font-size:10px;color:var(--muted)}table[data-view=results] td:nth-child(7):before{content:'Bib ';color:#888888}table[data-view=results] td:nth-child(8){grid-column:3;justify-self:end;font-size:10px;color:var(--muted)}table[data-view=results] td:nth-child(8):before{content:'Lane '}table[data-view=results] td:nth-child(9){grid-column:2/4;font-size:11px;color:#766000}table[data-view=results] tr:has(td[colspan]){display:block;text-align:center;padding:30px}table[data-view=results] tr:has(td[colspan]) td:before{content:none}table[data-view=start-list]{background:#fff;border-radius:18px;overflow:hidden}table[data-view=start-list] th{font-size:9px;color:var(--muted);background:#f0f0f0}table[data-view=start-list] td,table[data-view=start-list] th{padding:14px 10px;border-bottom:1px solid #eeeeee}table[data-view=start-list] td{font-size:12px}#result-rows summary{cursor:pointer;min-height:28px;padding-top:6px}#result-rows details p{margin:7px 0;font-size:11px}#error,#login-error{color:#b42318}#login{max-width:392px}
@media(min-width:760px){header{padding:22px max(32px,calc((100% - 1180px)/2))}header img{width:180px}#account{display:inline;font-size:12px}main{padding:0 32px 60px}#listing>.heading{margin:0 -32px 24px;padding:40px 36px;border-radius:0 0 38px 38px;min-height:205px}h1{font-size:56px}#search-form{width:360px}.schedule-tools #clear-day{display:block;background:transparent;color:var(--muted)}.schedule-tools{justify-content:flex-start;gap:9px}.schedule-tools button{padding:12px 20px}.calendar-heading{justify-content:center;gap:26px}.date-strip{margin:0 -4px;padding:7px 4px 22px;gap:10px}.date-chip{flex-basis:73px;min-height:100px}.date-chip strong{font-size:29px}.date-chip span:last-child{font-size:9px}#count{margin:15px 2px 22px}.schedule-group[open] .group-events{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 14px}.schedule-group>summary{grid-column:1/-1;font-size:17px;padding:7px 2px 12px}.event{margin:0;padding:21px;grid-template-columns:48px minmax(0,1fr) auto;border-radius:22px}.sport-icon{width:48px;height:52px}.event-info h2{font-size:17px}.event-info p{font-size:11px}.event-time{font-size:12px}.badge{font-size:10px}#filters-dialog{inset:0;margin:auto;height:fit-content;border-radius:28px;padding:26px 30px}.sheet-handle{display:none}.schedule-filters{grid-template-columns:1fr 1fr}.schedule-filters #reset-filters{grid-column:1/-1}.table-scroll{background:white;border-radius:20px;overflow-x:auto;padding:4px 10px}table[data-view=results]{display:table;white-space:nowrap}table[data-view=results] tbody{display:table-row-group}table[data-view=results] thead{position:static;width:auto;height:auto;clip-path:none;display:table-header-group}table[data-view=results] tbody tr,table[data-view=results] tr:has(td[colspan]){display:table-row;box-shadow:none}table[data-view=results] td,table[data-view=results] th{display:table-cell;padding:18px 10px;border-bottom:1px solid #eeeeee}table[data-view=results] th{font-size:10px;color:var(--muted);text-transform:uppercase;letter-spacing:.04em}table[data-view=results] td:nth-child(n){font-size:12px}table[data-view=results] td:nth-child(2){font-size:13px}table[data-view=results] td:nth-child(4){font-size:17px}table[data-view=results] td:before{content:none!important}#detail>.heading{padding:34px}#event-title{font-size:38px}#updated{font-size:12px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
@media print{header,.skip,.view-tabs,#refresh,.pages,dialog,#detail>a{display:none!important}body,main{background:white}main{padding:0;max-width:none}.table-scroll{overflow:visible}#detail>.heading{background:white!important;color:black;padding:0}#competition,#event-meta{color:black}table[data-view=results]{display:table;font-size:10px}table[data-view=results] tbody{display:table-row-group}table[data-view=results] thead{position:static;width:auto;height:auto;clip-path:none}table[data-view=results] tbody tr{display:table-row;break-inside:avoid}table[data-view=results] td{display:table-cell;padding:8px;font-size:10px!important}table[data-view=results] td:before{content:none!important}}

#login{position:fixed;inset:0;width:100%;max-width:none;height:100dvh;max-height:none;margin:0;border:0;padding:0;background:#f3f4f6;overflow-y:auto;color:#20242b}
#login[open]{display:block}body:has(#login[open]){overflow:hidden}
#login .auth-link{min-height:0;border-radius:0}#login .auth-back{width:100%;padding:0;min-height:24px;background:transparent;border:0;text-decoration:underline;font-weight:400}
#login .auth-password-toggle{padding:0}#login .auth-progress{font-size:14px;line-height:1.5}
#microsoft-options:not(:has(#microsoft-login:not([hidden]))){display:none}

#login{z-index:10}body:has(#login[open]) > header,body:has(#login[open]) > main,body:has(#login[open]) > .skip{display:none}

@font-face{font-family:ALPH;src:url('/assets/SEIKOTSCalph46-Regular.ttf') format('truetype');font-style:normal;font-weight:400;font-display:swap}
#listing h1{font-family:ALPH,ui-sans-serif,sans-serif;font-weight:400;letter-spacing:0;line-height:1.15}

.competition-logo{max-width:140px;max-height:48px;object-fit:contain;vertical-align:middle;margin-right:12px}.athlete-portrait{width:28px;height:28px;object-fit:cover;border-radius:50%;vertical-align:middle;margin-right:8px}

/* Competition days and event schedules use one full-width row at every viewport. */
.schedule-group[open] .group-events { display:grid; grid-template-columns:minmax(0,1fr); gap:8px; }
.competition-back {display:inline-block;padding:16px 0;color:var(--ink);font-size:13px;text-decoration:none;}
.competition-context {font-size:16px;display:flex;align-items:center;gap:12px;width:100%;margin:0 0 12px;}
#listing > .heading {flex-wrap:wrap;}
.event {border-radius:12px;box-shadow:none;align-items:center;}
.sport-icon {background:transparent!important;border-radius:5px;overflow:hidden;}
.sport-image {width:100%;height:100%;object-fit:contain;}
.logo-fallback {font-size:10px;font-weight:800;color:#272727;letter-spacing:.04em;}
.competition-day {grid-template-columns:72px minmax(0,1fr) auto;gap:10px 12px;}
.row-logo {grid-column:1;grid-row:1/4;width:72px;height:64px;display:grid;place-items:center;}
.row-logo-image {width:100%;height:100%;object-fit:contain;}
.competition-day .event-info {grid-column:2/4;grid-row:1;padding:0;}
.competition-day .event-info h2 {margin-bottom:5px;}
.row-meta {grid-column:2;grid-row:2;display:flex;flex-wrap:wrap;gap:6px 12px;font-size:11px;color:var(--muted);}
.competition-day .badge {grid-column:3;grid-row:2;align-self:center;}
.row-arrow {display:none;}
@media(min-width:760px){
 .event {grid-template-columns:64px 90px minmax(0,1fr) 110px 50px;padding:18px 22px;gap:16px;}
 .sport-icon {grid-column:1;grid-row:1;width:60px;height:56px;}
 .event-time {grid-column:2;grid-row:1;font-size:14px;}
 .event-info {grid-column:3;grid-row:1;}
 .event .badge {grid-column:4;grid-row:1;}
 .event-link {display:block;font-size:12px;grid-column:5;}
 .competition-day {grid-template-columns:110px minmax(0,1fr) 160px 100px 20px;}
 .row-logo {grid-column:1;grid-row:1;width:100px;height:64px;}
 .competition-day .event-info {grid-column:2;grid-row:1;}
 .row-meta {grid-column:3;grid-row:1;display:grid;gap:5px;}
 .competition-day .badge {grid-column:4;grid-row:1;}
 .row-arrow {display:block;grid-column:5;grid-row:1;}
}
