:root{color-scheme:light;--ink:#23322e;--muted:#6c7873;--line:#d7e1da;--green:#456b55;--pale:#f0f5f1}*{box-sizing:border-box}body{margin:0;background:#f8faf8;color:var(--ink);font-family:"Meiryo","Yu Gothic",sans-serif;font-size:14px;line-height:1.5}.shell{width:calc(100% - 24px);max-width:800px;margin:0 auto}.masthead{background:white;border-bottom:1px solid var(--line);padding:10px 0}.eyebrow{margin:0 0 2px;font-size:10px;letter-spacing:.2em;color:#758c7d}.brand{display:flex;align-items:center;gap:7px;width:fit-content;color:inherit;text-decoration:none;font-weight:700;font-size:25px;line-height:1.2}.brand img{object-fit:contain;flex:none}.brand small{font-size:.5em;font-weight:400;white-space:nowrap}.age-note{margin:4px 0 0;color:#69756d;font-size:10px}main{padding-top:10px}.page-nav{display:flex;align-items:center;gap:14px;flex-wrap:wrap;font-size:12px;color:var(--muted);margin-bottom:12px}.page-nav a,footer a,.message a{color:var(--green)}.preview-label{margin-left:auto;color:#886731;background:#f4efdf;border:1px solid #e5d9bb;border-radius:4px;padding:2px 6px;font-size:10px}.history-intro h1{font-size:20px;margin:0 0 4px}.history-intro p{color:var(--muted);margin:0 0 14px;font-size:12px}.date-choice{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:10px}.date-choice a{padding:6px 10px;border:1px solid #c9d7cc;border-radius:5px;background:white;color:#596b5e;text-decoration:none;font-size:13px;white-space:nowrap}.date-choice .selected{background:#456b55;color:white;border-color:#456b55;font-weight:700}.archive-board{scroll-margin-top:8px;border:1px solid var(--line);border-radius:7px;background:#fff;padding:10px 10px 6px;margin-bottom:12px}.archive-board h2{font-size:14px;margin:0 0 8px}.venue-row{display:flex;align-items:center;gap:8px;margin-bottom:7px}.venue-row h3{width:2.4em;flex:none;margin:0;font-size:13px;font-weight:700}.race-buttons{flex:1;min-width:0;display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:4px}.race-buttons a,.race-buttons span{min-height:31px;display:flex;align-items:center;justify-content:center;border-radius:4px;border:1px solid #cbd5cd;background:#edf2ee;color:#4b6052;text-decoration:none;font-size:12px;font-variant-numeric:tabular-nums;white-space:nowrap}.race-buttons a:hover,.date-choice a:hover{border-color:#6f947c}.race-buttons .selected{border:2px solid #3f6952;color:#244f38;background:#dceadf;font-weight:700}.race-buttons .unavailable{color:#939c96;background:#dce1dd;border-color:#dce1dd}.availability-note{font-size:10px;color:var(--muted);margin:3px 0 0}.race-card{border:1px solid var(--line);border-radius:7px;overflow:hidden;background:#fff}.race-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 10px 2px}.race-heading h2{font-size:19px;margin:0;scroll-margin-top:8px}.race-heading span{font-size:11px;border-radius:4px;padding:3px 6px;background:#edf4ee;color:#54735e;white-space:nowrap}.odds-note{font-size:11px;color:#68776c;margin:2px 10px 9px;line-height:1.6}.odds-note span{display:inline-block}table{width:100%;table-layout:fixed;border-collapse:collapse;font-size:15px;font-variant-numeric:tabular-nums}.col-no{width:6%}.col-name{width:34%}.col-rank{width:8%}.col-rate{width:13%}.col-odds{width:13%}.col-ev{width:16%}.col-finish{width:10%}th,td{padding:6px 8px;text-align:right;border-bottom:1px solid #dfe6e0;vertical-align:middle;white-space:nowrap}th{background:#eaf0f2;font-size:12px;font-weight:400;color:#52606b;line-height:1.25;height:43px}th a{color:inherit;text-decoration:none;display:inline-block;position:relative}.sort-indicator{font-size:9px;color:#477559;margin-left:2px}.name{text-align:left}.horse-name{text-align:left;overflow-wrap:anywhere;white-space:normal;line-height:1.5}.horse-number{text-align:center;font-weight:700;padding-left:1px;padding-right:1px}.frame-1{background:#fff;color:#222}.frame-2{background:#252525;color:#fff}.frame-3{background:#c5292b;color:#fff}.frame-4{background:#255aa1;color:#fff}.frame-5{background:#f1d747;color:#212a23}.frame-6{background:#208550;color:#fff}.frame-7{background:#e38b2a;color:#222}.frame-8{background:#ed93b2;color:#222}.finish{color:#68746d}.podium{font-weight:700;color:#2c3e33}tbody tr:nth-child(even) td:not(.horse-number){background:#f7faf8}tbody tr:last-child td{border-bottom:0}.retention-note,.usage-note{color:var(--muted);font-size:11px;line-height:1.7;margin:12px 0}.usage-note{border-top:1px solid var(--line);padding-top:10px}footer{padding:9px 0 24px;color:var(--muted);font-size:12px}.message{padding:20px 12px;background:white;border:1px solid var(--line);border-radius:6px}.message h2{font-size:18px}:focus-visible{outline:2px solid #346d89;outline-offset:2px}@media(min-width:1200px){body{font-size:15px}.shell{max-width:850px}table{font-size:17px}th,td{padding-top:7px;padding-bottom:7px}.race-buttons a,.race-buttons span{min-height:35px;font-size:13px}}@media(max-width:600px){.shell{width:calc(100% - 16px)}.brand{font-size:22px}.brand img{width:35px;height:35px}.age-note{font-size:9px;line-height:1.6}.page-nav{gap:10px;font-size:11px}.preview-label{font-size:9px;padding:1px 4px}.history-intro h1{font-size:18px}.history-intro p{font-size:11px;margin-bottom:10px}.date-choice{gap:5px}.date-choice a{font-size:11px;padding:5px 7px}.archive-board{padding:8px 7px 5px}.archive-board h2{font-size:12px}.venue-row{gap:6px;margin-bottom:6px}.venue-row h3{font-size:12px;width:2.1em}.race-buttons{grid-template-columns:repeat(6,minmax(0,1fr));gap:4px}.race-buttons a,.race-buttons span{min-height:28px;font-size:11px}.race-heading{padding:8px 7px 2px}.race-heading h2{font-size:17px}.race-heading span{font-size:10px}.odds-note{font-size:10px;margin:2px 7px 7px}table{font-size:11px}.col-no{width:6%}.col-name{width:32%}.col-rank{width:7%}.col-rate{width:15%}.col-odds{width:13%}.col-ev{width:17%}.col-finish{width:10%}th{font-size:9px;height:37px}th,td{padding:4px 3px}.horse-name{font-size:10.5px;letter-spacing:-.025em}.sort-indicator{position:absolute;right:-2px;top:-9px;font-size:8px}.retention-note,.usage-note{font-size:10px}.availability-note{font-size:9px}footer{font-size:11px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto}}
@media(max-width:600px){th:first-child{padding-left:0;padding-right:0;font-size:8px}}
