/* Reuse the site's official lottery marks at a consistent navigation size. */
html.cailed-type-page body.cailedui-home .cailed-home-nav {
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
}
html.cailed-type-page body.cailedui-home .cailed-home-nav > a {
    gap: 6px;
}
html.cailed-type-page body.cailedui-home .cailed-home-nav-logo {
    display: block;
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    max-width: none;
    object-fit: contain;
    object-position: center;
}
/* Compensate for transparent space inside these unchanged source images. */
html.cailed-type-page body.cailedui-home .cailed-home-nav-logo[src*="/dlt-"],
html.cailed-type-page body.cailedui-home .cailed-home-nav-logo[src*="/qxc-"] { transform: scale(1.18); }
html.cailed-type-page body.cailedui-home .cailed-home-nav-logo[src*="/pl5-"] { transform: scale(1.1); }
@media (max-width: 1060px) {
    html.cailed-type-page body.cailedui-home .cailed-home-header-inner {
        flex-wrap: wrap;
        gap: 0;
        min-height: 120px;
        padding-top: 16px;
    }
    html.cailed-type-page body.cailedui-home .cailed-home-account { margin-left: auto; }
    html.cailed-type-page body.cailedui-home .cailed-home-nav {
        order: 3;
        flex: 1 0 100%;
        height: 48px;
        justify-content: space-between;
        margin-left: 0;
    }
}
@media (max-width: 760px) {
    html.cailed-type-page body.cailedui-home .cailed-home-nav { justify-content: flex-start; }
}
