/* AAA is the master. Shared public UI and adapters for the legacy sport templates. */
.aaa-home-hero-mobile {display:none}
body #aaa-footer .to-pagetop a,body footer.kr-footer .to-pagetop a {white-space:nowrap}
body #main .directory-tabs,body #main.site-directory .site-tabs,body #aaa-contents main.ks-catalog .ks-tabs {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:16px 0;padding:0}
body #main .directory-tabs a,body #main.site-directory .site-tabs a,body #aaa-contents main.ks-catalog .ks-tabs a {display:flex;align-items:center;justify-content:center;gap:6px;box-sizing:border-box;min-width:0;max-width:none;min-height:44px;margin:0;padding:8px 6px;font-size:13px;line-height:1.4;text-align:center;text-decoration:none}
body #main.site-directory .site-tabs a span,body #aaa-contents main.ks-catalog .ks-tabs a b {display:inline;margin:0;padding:0;font-size:inherit;font-weight:400;line-height:inherit}
@media(max-width:719px) {
    body #aaa-contents.aaa-page-columns:has(>main.ks-catalog) {width:auto;margin-left:15px;margin-right:15px}
    body #aaa-contents.aaa-page-columns>main.ks-catalog {width:100%;margin-left:0;margin-right:0;padding-left:0;padding-right:0}
    body.data-directory #aaa-contents #main,body #aaa-contents #main.site-directory {box-sizing:border-box;width:auto;max-width:none;margin-left:15px;margin-right:15px;padding-left:0;padding-right:0}
}
/* List menus share a left text edge; navigation tabs use centered labels. */
body #aaa-contents #side #side-menu ul li {padding:0;font-size:13px;line-height:1.5}
body #aaa-contents #side #side-menu ul li a {display:flex;align-items:center;box-sizing:border-box;min-height:44px;padding:10px 2px;text-align:left;font-size:13px;line-height:1.5}
@media(max-width:719px) {
    /* The directory link already has bottom padding; do not add desktop block spacing. */
    body #aaa-contents #side > #side-top20,body #aaa-contents #side > #side-sites {margin-bottom:0}
    body #aaa-contents #side > #side-top20 + #side-menu,body #aaa-contents #side > #side-sites + #side-menu {margin-top:0}
}
body #aaa-footer .footer-menu,body footer.kr-footer .aaa-original-footer-menu {font-size:12px;line-height:1.5;text-align:left}
body #aaa-footer .footer-menu a,body footer.kr-footer .aaa-original-footer-menu a {text-align:left;line-height:1.5}
@media(min-width:720px) {
    body #aaa-footer .footer-menu dl {display:grid;grid-template-columns:166px minmax(0,1fr);gap:16px 29px}
    body footer.kr-footer .aaa-original-footer-menu>div {display:grid;grid-template-columns:166px minmax(0,1fr);gap:29px;margin:0 0 16px}
    body #aaa-footer .footer-menu dl dt,body footer.kr-footer .aaa-original-footer-menu strong {box-sizing:border-box;align-self:start;width:166px;height:auto;min-height:32px;margin:0;padding:7px 12px;text-align:left;border-radius:0;font-size:12px;line-height:1.5}
    body #aaa-footer .footer-menu dl dt:after {display:none}
    body #aaa-footer .footer-menu dl dd {margin:0;padding:0 0 8px;line-height:1.5}
    body #aaa-footer .footer-menu dl dd ul,body footer.kr-footer .aaa-original-footer-menu p {display:flex;flex-wrap:wrap;gap:4px 22px;margin:0;padding:0}
    body #aaa-footer .footer-menu dl dd ul li {float:none;margin:0;padding:0}
    body #aaa-footer .footer-menu dl dd a,body footer.kr-footer .aaa-original-footer-menu p a {display:flex;align-items:center;box-sizing:border-box;min-height:30px;padding:6px 0 6px 12px;background:url('/img/common/arrow-footer_link.png') no-repeat 0 50%;font-size:12px;line-height:1.5;text-align:left}
}
@media(max-width:719px) {
    body footer.kr-footer {padding-left:0;padding-right:0}
    body #aaa-footer .footer-menu dl,body footer.kr-footer .aaa-original-footer-menu {width:100%;max-width:none;margin:0;padding:0}
    body #aaa-footer .footer-menu dl dt,body footer.kr-footer .aaa-original-footer-menu strong {display:block;box-sizing:border-box;width:100%;min-height:32px;height:auto;margin:0;padding:7px 15px;border-radius:0;text-align:left;font-size:12px;line-height:1.5}
    body #aaa-footer .footer-menu dl dt:after {display:none}
    body #aaa-footer .footer-menu dl dd,body footer.kr-footer .aaa-original-footer-menu>div {display:block;margin:0;padding:0;border:0;line-height:1.5}
    body #aaa-footer .footer-menu dl dd ul,body footer.kr-footer .aaa-original-footer-menu p {display:block;margin:0;padding:0}
    body #aaa-footer .footer-menu dl dd ul li {float:none;margin:0;padding:0;border:0}
    body #aaa-footer .footer-menu dl dd a,body footer.kr-footer .aaa-original-footer-menu p a {display:flex;align-items:center;box-sizing:border-box;min-height:44px;margin:0;padding:12px 15px 12px 25px;border:0;border-bottom:1px solid #0002;background:url('/img/sp/common/arrow-footer_link.png') no-repeat 15px 50% / 5px auto;font-size:12px;line-height:1.5;text-align:left;text-decoration:none}
    body footer.kr-footer .aaa-original-footer-note {margin:24px 15px 15px}
}
@media(max-width:719px) {
    body #aaa-contents #main #billboard #b1 {height:auto;min-height:0}
    /* Keep the original desktop art and exactly one accessible H1. */
    body #aaa-contents #main #billboard #b1>.aaa-home-hero-desktop {position:relative;width:100%;height:0;min-height:0;aspect-ratio:auto;margin:0;padding:0;background:none;border:0;overflow:visible}
    body #aaa-contents #main #billboard #b1>.aaa-home-hero-desktop>:not(h1) {display:none}
    body #aaa-contents #main #billboard #b1>.aaa-home-hero-desktop>h1 {position:absolute;width:1px;height:1px;margin:0;padding:0;left:0;top:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
    body #main #billboard .aaa-home-hero-mobile {--hero-bg:#26cddd;--hero-ink:#083f62;--hero-paper:#fff000;display:block;color:#fff;background:var(--hero-bg);font-family:inherit;line-height:1.4;text-align:center}
    body #main #billboard .aaa-home-hero-mobile[data-sport=kyotei] {--hero-bg:#017482;--hero-ink:#00545e;--hero-paper:#d9eeea}
    body #main #billboard .aaa-home-hero-mobile[data-sport=keirin] {--hero-bg:#922d35;--hero-ink:#75232b;--hero-paper:#f7dda3}
    body #main #billboard .aaa-home-hero-mobile * {box-sizing:border-box}
    body #main #billboard .aaa-home-hero-mobile__strap {position:static;width:auto;height:auto;margin:0;padding:7px 8px;background:var(--hero-paper);color:var(--hero-ink);font-size:clamp(11px,3vw,17px);font-weight:700;line-height:1.4;text-align:center;text-indent:0}
    body #main #billboard .aaa-home-hero-mobile__body {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;align-items:center;max-width:480px;margin:auto;padding:14px 15px}
    body #main #billboard .aaa-home-hero-mobile__brand p {position:static;width:auto;height:auto;margin:0 0 5px;padding:0;background:none;font-size:clamp(10px,2.8vw,14px);font-weight:400;line-height:1.4;text-indent:0;white-space:nowrap}
    body #main #billboard .aaa-home-hero-mobile__logo {display:block;width:94%;max-width:180px;aspect-ratio:450/196;margin:0 auto;background:url('/img/common/aaa-logo-mark.svg?v=20261014') no-repeat center / contain}
    body #main #billboard .aaa-home-hero-mobile__name {display:block;margin-top:3px;font-size:clamp(13px,3.7vw,18px);font-weight:600;line-height:1.3;letter-spacing:.08em}
    body #main #billboard .aaa-home-hero-mobile__summary dl {position:static;width:auto;margin:0;padding:0}
    body #main #billboard .aaa-home-hero-mobile__summary dt {height:auto;margin:0 0 4px;padding:0;font-size:clamp(10px,2.8vw,14px);font-weight:700;line-height:1.4;text-indent:0;text-align:center}
    body #main #billboard .aaa-home-hero-mobile__summary dd {display:flex;align-items:flex-end;justify-content:center;gap:4px;margin:0;padding:0;letter-spacing:0}
    body #main #billboard .aaa-home-hero-mobile__digits {display:flex;gap:3px;min-width:0}
    body #main #billboard .aaa-home-hero-mobile__digits b {display:flex;align-items:center;justify-content:center;min-width:0;width:clamp(23px,6.5vw,34px);height:clamp(36px,10vw,48px);background:#fffaf2;color:var(--hero-ink);font-family:Arial,sans-serif;font-size:clamp(29px,8vw,40px);font-weight:700;line-height:1}
    body #main #billboard .aaa-home-hero-mobile__summary small {position:static;font-size:10px;line-height:1.4;white-space:nowrap}
    body #main #billboard .aaa-home-hero-mobile__summary a {display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:44px;margin:8px 0 0;padding:5px 3px;border:1px solid #ffffff99;border-radius:4px;background:var(--hero-paper);color:var(--hero-ink);font-size:clamp(10px,2.6vw,14px);font-weight:700;line-height:1.4;text-decoration:none;text-align:center}
    body #main #billboard .aaa-home-hero-mobile__summary a:hover {text-decoration:underline}
    body #main #billboard .aaa-home-hero-mobile__summary a:focus-visible {outline:2px solid #fff;outline-offset:2px}
}
#main #billboard .aaa-home-ticker {
    display:flex;align-items:center;position:relative;box-sizing:border-box;
    height:40px;min-height:0;padding:0;margin:0;overflow:hidden;
    background:#333 url('/img/home/billboard-ticker.png') no-repeat left center;
    color:#fff;font-size:15px;font-weight:bold;line-height:1.4;
}
#main #billboard .aaa-home-ticker__viewport {
    flex:1;min-width:0;overflow:hidden;white-space:nowrap;margin:0 15px 0 65px;
}
#main #billboard .aaa-home-ticker__track {
    display:inline-block;box-sizing:content-box;padding-left:100%;
    animation:aaa-home-ticker-scroll 30s linear infinite;will-change:transform;
}
#main #billboard .aaa-home-ticker:hover .aaa-home-ticker__track {animation-play-state:paused}
@keyframes aaa-home-ticker-scroll {from{transform:translateX(0)}to{transform:translateX(-100%)}}
body.kr-editorial #main #billboard .aaa-home-ticker {background-color:#51282a;background-blend-mode:screen}

/* Narrow tablet widths must scale the legacy horse art with its content. */
@media(min-width:720px) and (max-width:750px) {
    body #aaa-contents #main #billboard #b1 {height:auto;min-height:0}
    body #aaa-contents #main #billboard #b1>.aaa-home-hero-desktop {height:auto;aspect-ratio:696/298;background-size:100% 100%}
    body:not(.aaa-original):not(.kr-editorial) #main #billboard #b1 .visual dl {left:56.752874%;top:43.959732%}
    body:not(.aaa-original):not(.kr-editorial) #main #billboard #b1 .visual dl.aaa-count-four {width:31.321839%}
    body:not(.aaa-original):not(.kr-editorial) #main #billboard #b1 .visual dl.aaa-count-four dd {height:41.284404cqw;gap:1.376147cqw}
    body:not(.aaa-original):not(.kr-editorial) #main #billboard #b1 .visual dl.aaa-count-four dd b {font-size:29.357798cqw}
    body:not(.aaa-original):not(.kr-editorial) #main #billboard #b1 .visual .more {left:56.752874%;top:78.187919%;width:40.229885%;height:18.120805%}
    body:not(.aaa-original):not(.kr-editorial) #main #billboard #b1 .visual .more a {width:100%;height:100%;background-size:100% 200%}
    body #aaa-contents #main #review>h2 {height:auto;aspect-ratio:700/92}
}

/* All editions use the horse edition's single 700px column at tablet widths. */
@media(min-width:720px) and (max-width:1059.98px) {
    body.kr-editorial #aaa-contents.aaa-page-columns {
        display:block;box-sizing:border-box;width:calc(100% - 32px);max-width:700px;
        margin-left:auto;margin-right:auto;gap:0;
    }
    body #aaa-contents #side {float:none;width:100%;margin-top:35px;padding-top:40px}
    body.kr-editorial #aaa-contents.aaa-page-columns>#side {width:100%;margin-top:35px;padding-top:40px}
    body.kr-editorial #main #billboard #change-board {width:100%;max-width:none;height:49px;margin:0}
    body.kr-editorial #main #billboard #change-board ul {display:flex;gap:10px;padding:0 24px}
    body.kr-editorial #main #billboard #change-board ul:after {display:none}
    body.kr-editorial #main #billboard #change-board ul li {flex:0 0 210px;height:49px;position:relative}
    body.kr-editorial #main #billboard #change-board ul li a {width:210px;height:49px;aspect-ratio:auto;background-image:url('/img/home/billboard-tabs.png');background-size:auto}
    body.kr-editorial #main #billboard #change-board ul li.cb1 a {background-position:0 10px}
    body.kr-editorial #main #billboard #change-board ul li.cb2 a {background-position:-210px 10px}
    body.kr-editorial #main #billboard #change-board ul li.cb3 a {background-position:-420px 10px}
    body.kr-editorial #main #billboard #change-board ul li.cb1 a:hover,
    body.kr-editorial #main #billboard.b1 #change-board ul li.cb1 a {background-position:0 -40px}
    body.kr-editorial #main #billboard #change-board ul li.cb2 a:hover,
    body.kr-editorial #main #billboard.b2 #change-board ul li.cb2 a {background-position:-210px -40px}
    body.kr-editorial #main #billboard #change-board ul li.cb3 a:hover,
    body.kr-editorial #main #billboard.b3 #change-board ul li.cb3 a {background-position:-420px -40px}
    body.kr-editorial #aaa-contents #main #billboard #change-board ul li a[aria-selected=true] {height:60px;position:absolute;z-index:2}
    body.kr-editorial #aaa-contents #side .aaa-home-site-list>:nth-child(n+11) {display:none}
}
@media(min-width:720px) and (max-width:750px) {
    body.kr-editorial #main #billboard #change-board ul {justify-content:space-between;gap:6px;padding:0 12px}
}
/* Use the existing AAA page-top artwork and the same action in the cycle footer. */
footer.kr-footer .to-pagetop {width:1000px;max-width:100%;margin:0 auto 30px;text-align:right}
footer.kr-footer .to-pagetop a {display:inline-block;width:116px;height:48px;text-indent:-10000px;overflow:hidden;background:url('/img/common/pagetop.png') no-repeat}
footer.kr-footer .to-pagetop a:hover {background-position:0 100%}
footer.kr-footer .to-pagetop a:focus-visible {outline:2px solid var(--aaa-ui-accent);outline-offset:3px}

@media(max-width:719px) {
    body #aaa-contents #main #billboard {margin-bottom:10px}
    #main #billboard .aaa-home-ticker {height:32px;font-size:12px;background-image:url('/img/sp/home/billboard-ticker_bg.png');background-repeat:repeat;background-size:2px}
    #main #billboard .aaa-home-ticker:before {content:"";position:absolute;left:9px;top:11px;width:14px;height:10px;background:url('/img/sp/home/billboard-ticker_horn.png') no-repeat center / 14px auto}
    #main #billboard .aaa-home-ticker__viewport {margin:0 5px 0 29px}
    body.kr-editorial #aaa-contents.aaa-page-columns:has(#change-board) {width:100%;max-width:none;margin-left:0;margin-right:0}
    body.kr-editorial #main #billboard #b1.aaa-billboard {border:0}
    /* Phone banner: the adopted lettering gets its own readable area. */
    body #aaa-contents #main #review>h2 {--review-paper:#f9fc0e;box-sizing:border-box;width:auto;height:66px;min-height:0;aspect-ratio:auto;margin:0 15px 12px;border:0;border-radius:0;background:none;overflow:visible}
    body.kyotei-theme #aaa-contents #main #review>h2 {--review-paper:#b2f7e5}
    body.kr-editorial #aaa-contents #main #review>h2 {--review-paper:#f9fc0e}
    body #aaa-contents #main #review>h2::before {content:"";left:0;right:0;top:8px;width:auto;height:46px;border:1.5px solid #252525;border-radius:7px;background:var(--review-paper);z-index:0}
    body #aaa-contents #main #review>h2::after {content:"";position:absolute;left:6px;right:auto;top:0;width:188px;height:66px;background:url('/img/home/review-lettering.png?v=20260920-logo-b') no-repeat -20px -20px / 218px auto;z-index:2}
    body #aaa-contents #main #review>h2>.aaa-review-motion-shell {left:6px;top:0;width:188px;height:66px;z-index:2}
    body #aaa-contents #main #review>h2>.aaa-review-motion-shell>svg {width:218px;left:-20px;top:-20px}
    body #aaa-contents #main #review>h2[data-review-animated]::after {display:none}
    body #aaa-contents #main #review>h2 .aaa-review-cloud-shell {display:block;z-index:1}
    body #aaa-contents #main #review>h2 .aaa-review-cloud-base,
    body #aaa-contents #main #review>h2 .aaa-review-cloud-mobile-base,
    body #aaa-contents #main #review>h2 .aaa-review-cloud-shell::before {display:none}
    body #aaa-contents #main #review>h2 .aaa-review-cloud-art {top:12px;right:3px;width:142px;height:47px}
    body #aaa-contents #side {box-sizing:border-box;padding:40px 15px 0}
    body.kr-editorial #aaa-contents.aaa-page-columns>#side {margin-top:0;padding:40px 15px 0}
    footer.kr-footer .to-pagetop {margin:2px auto 30px;text-align:center}
    footer.kr-footer .to-pagetop a {width:82px;height:31px;background:url('/img/sp/common/pagetop.png') no-repeat left top / 82px auto}
}
@media(max-width:359px) {
    body #aaa-contents #main #review>h2 {height:98px}
    body #aaa-contents #main #review>h2::before {height:78px}
    body #aaa-contents #main #review>h2 .aaa-review-cloud-art {top:49px;right:4px;width:136px;height:45px}
}
@media(max-width:719px) and (prefers-reduced-motion:reduce) {
    body #aaa-contents #main #review>h2[data-review-animated]::after {display:block}
    body #aaa-contents #main #review>h2[data-review-animated]::before {background-image:none}
}
@media(prefers-reduced-motion:reduce) {
    #main #billboard .aaa-home-ticker {height:auto;min-height:40px;padding:8px 0}
    #main #billboard .aaa-home-ticker__viewport {white-space:normal}
    #main #billboard .aaa-home-ticker__track {padding-left:0;animation:none;will-change:auto}
}

/* A quiet, reachable page-top action while reading on a phone. */
body>.aaa-scroll-top {display:none}
@media(max-width:719px) {
    body>.aaa-scroll-top {
        display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;
        position:fixed;right:calc(12px + env(safe-area-inset-right,0px));bottom:calc(16px + env(safe-area-inset-bottom,0px));
        z-index:900;box-sizing:border-box;width:48px;height:48px;margin:0;padding:4px;
        border:1px solid #ffffff80;border-radius:6px;background:rgba(35,45,52,.68);color:#fff;
        font-family:inherit;font-size:11px;font-weight:700;line-height:1;text-align:center;cursor:pointer;
        box-shadow:0 1px 4px #0002;opacity:0;visibility:hidden;pointer-events:none;transform:translateY(6px);
        transition:opacity .18s,transform .18s,visibility .18s;touch-action:manipulation;
    }
    body>.aaa-scroll-top.is-visible {opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0)}
    body>.aaa-scroll-top svg {display:block;width:23px;height:23px;flex:none}
    body>.aaa-scroll-top:focus-visible {outline:2px solid #fff;outline-offset:-4px;background:#33424c}
    body>.aaa-scroll-top:active {background:#33424c}
}
@media(max-width:719px) and (prefers-reduced-motion:reduce) {
    body>.aaa-scroll-top {transition:none;transform:none}
}

/* Preserve the original desktop art; render phone tabs as type and vector marks. */
#change-board .aaa-home-tab-content {display:none}
@media(max-width:719px) {
    body #aaa-contents #main #billboard #change-board {width:100%;max-width:480px;height:52px;margin:0 auto}
    body #aaa-contents #main #billboard #change-board ul {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;box-sizing:border-box;height:52px;padding:0 12px}
    body #aaa-contents #main #billboard #change-board ul:after {display:none}
    body #aaa-contents #main #billboard #change-board ul li {float:none;position:relative;min-width:0;width:auto;height:52px;margin:0}
    body #aaa-contents #main #billboard #change-board ul li a {
        display:flex;align-items:center;justify-content:center;position:relative;box-sizing:border-box;
        width:100%;height:48px;min-height:48px;margin-top:4px;aspect-ratio:auto;padding:2px 3px 4px 13px;
        border:0;border-radius:0;clip-path:none;isolation:isolate;
        overflow:visible;text-indent:0;text-decoration:none;text-align:center;white-space:nowrap;
        color:#fff;background:none;filter:none;
    }
    /* The original artwork has a rectangular face in front of a triangular side. */
    body #aaa-contents #main #billboard #change-board ul li a:before {
        content:"";position:absolute;inset:0 auto 0 0;width:10px;z-index:0;pointer-events:none;
        background:linear-gradient(90deg,#46544d,#87918b);clip-path:polygon(100% 0,100% 100%,0 100%);
    }
    body #aaa-contents #main #billboard #change-board ul li a:after {
        content:"";position:absolute;inset:0 0 0 10px;z-index:0;pointer-events:none;
        background:linear-gradient(180deg,#ffffff0d,transparent 35%,#0000000a),var(--aaa-tab-color);
        box-shadow:inset 1px 0 #ffffff38,inset 0 1px #ffffff40,inset 0 -3px #00000030;filter:drop-shadow(0 1px 1px #0003);
    }
    body #aaa-contents #main #billboard #change-board .cb1 {--aaa-tab-color:#18864a}
    body #aaa-contents #main #billboard #change-board .cb2 {--aaa-tab-color:#207aaf}
    body #aaa-contents #main #billboard #change-board .cb3 {--aaa-tab-color:#ca293c}
    body #aaa-contents #main #billboard #change-board .aaa-home-tab-content {display:flex;align-items:center;justify-content:center;gap:5px;width:100%;min-width:0;z-index:1}
    body #aaa-contents #main #billboard #change-board .aaa-home-tab-title {font-size:13px;font-weight:700;line-height:1.3;letter-spacing:0}
    body #aaa-contents #main #billboard #change-board .aaa-home-tab-title>span {display:block}
    body #aaa-contents #main #billboard #change-board .aaa-home-tab-logo {display:block;flex:none;width:32px;height:20px;object-fit:contain}
    body #aaa-contents #main #billboard #change-board .aaa-home-tab-coin {display:flex;flex:none;align-items:center;justify-content:center;box-sizing:border-box;width:24px;height:24px;border:1.5px solid currentColor;border-radius:50%;font-size:12px;font-weight:700;line-height:1}
    body #aaa-contents #main #billboard #change-board ul li a[aria-selected=true] {height:52px;margin-top:0}
    body #aaa-contents #main #billboard #change-board ul li a[aria-selected=true] .aaa-home-tab-content:after {content:"";position:absolute;bottom:4px;left:calc(50% - 5px);width:20px;height:2px;background:#fff}
    body #aaa-contents #main #billboard #change-board ul li a:focus-visible {outline:0;box-shadow:none}
    body #aaa-contents #main #billboard #change-board ul li a:focus-visible:after {outline:2px solid #fff;outline-offset:-4px;box-shadow:inset 0 0 0 6px #253a48}
}
@media(max-width:359px) {
    body #aaa-contents #main #billboard #change-board ul {gap:4px;padding:0 8px}
    body #aaa-contents #main #billboard #change-board .aaa-home-tab-content {gap:3px}
    body #aaa-contents #main #billboard #change-board .aaa-home-tab-title {font-size:12px}
    body #aaa-contents #main #billboard #change-board .aaa-home-tab-logo {width:28px}
    body #aaa-contents #main #billboard #change-board .aaa-home-tab-coin {width:22px;height:22px;font-size:11px}
}

/* Results and footer share neutral surfaces and the existing sport accent. */
body #aaa-contents #side #side-result.block {background:#fff;color:#333}
body #aaa-contents #side #side-result.block ul li {background:none;border:0;border-bottom:1px dotted #ccc;margin:0;padding:14px 0}
body #aaa-contents #side #side-result.block .name a,
body #aaa-contents #side #side-result.block .more a,
body #aaa-contents #side #side-result.block .detail dd.refund {color:var(--aaa-ui-accent)}
body #aaa-contents #side #side-result.block .race {color:#555}
body #aaa-contents #side #side-result.block .detail dt[class],
body #aaa-contents #side #side-result.block .detail dd.date,
body #aaa-contents #side #side-result.block :is(.published-results-note,.aaa-side-caption,.side-data-note) {color:#666}
body #aaa-footer,body footer.kr-footer {padding:24px 0 20px;background:#f5f5f5;border-top:1px solid #ddd;color:#333}
body #aaa-footer .footer-menu,body footer.kr-footer .aaa-original-footer-menu {background:transparent;color:#333}
body #aaa-footer .footer-menu dl dt,body footer.kr-footer .aaa-original-footer-menu strong {background:var(--aaa-ui-accent);color:#fff}
body #aaa-footer .footer-menu dl dd,body footer.kr-footer .aaa-original-footer-menu p {border-color:#ddd}
body #aaa-footer .footer-menu dl dd a,body footer.kr-footer .aaa-original-footer-menu p a {color:var(--aaa-ui-accent);border-bottom-color:#ddd}
body #aaa-footer :is(.footer-note,.copy),body footer.kr-footer :is(.aaa-original-footer-note,.aaa-original-copyright) {background:transparent;color:#555}
@media(max-width:719px) {
    body #aaa-contents #side #side-result.block ul li {padding:12px 15px}
}
/* Render the existing AAA mark without the white rectangle of the old bitmap. */
body #aaa-footer .to-pagetop,body footer.kr-footer .to-pagetop {box-sizing:border-box;width:1000px;max-width:calc(100% - 30px);margin:0 auto 24px;text-align:right}
body #aaa-footer .to-pagetop a,body footer.kr-footer .to-pagetop a {display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;box-sizing:border-box;width:auto;height:auto;min-height:52px;margin:0;padding:8px 12px;position:static;overflow:visible;text-indent:0;background:none;border:0;color:var(--aaa-ui-accent);font-size:12px;line-height:1.5;text-decoration:none}
body #aaa-footer .to-pagetop a:before,body footer.kr-footer .to-pagetop a:before {content:"";display:block;width:54px;height:30px;background:currentColor;-webkit-mask:url('/img/common/aaa-logo-small.svg?v=20261014') no-repeat center / contain;mask:url('/img/common/aaa-logo-small.svg?v=20261014') no-repeat center / contain}
body #aaa-footer .to-pagetop a:hover,body footer.kr-footer .to-pagetop a:hover {text-decoration:underline;text-underline-offset:3px}
body #aaa-footer .to-pagetop a:focus-visible,body footer.kr-footer .to-pagetop a:focus-visible {outline:2px solid var(--aaa-ui-accent);outline-offset:3px}
body #aaa-contents #side #side-result.block a:focus-visible,
body #aaa-footer .footer-menu a:focus-visible,
body footer.kr-footer .aaa-original-footer-menu a:focus-visible {outline:2px solid var(--aaa-ui-accent);outline-offset:2px}
@media(max-width:719px) {
    body #aaa-footer .to-pagetop,body footer.kr-footer .to-pagetop {text-align:center;margin-bottom:24px}
}
