.youle-portal {
    --youle-gap: 14px;
    --youle-card-bg: var(--main-bg-color, #fff);
    --youle-page-bg: var(--body-bg-color, #f5f7fb);
    --youle-border: var(--main-border-color, rgba(125, 133, 149, .18));
    --youle-muted: var(--muted-2-color, #667085);
    --youle-accent: var(--focus-color, #2477f2);
    --youle-danger: var(--youle-global-danger, #ff4d5f);
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 0 0 24px;
}

.youle-home {
    width: 100%;
    max-width: none;
    padding-right: 0;
    padding-left: 0;
    padding-top: 0 !important;
    margin-top: 0 !important;
}

.youle-portal-content {
    width: min(var(--youle-portal-max-width, 1920px), calc(100% - 36px));
    max-width: 100%;
    min-width: 0;
    margin: 0 auto;
}

.youle-portal-page .header {
    margin-bottom: 0;
}

body.youle-floating-header .header {
    box-sizing: border-box;
    right: var(--youle-header-side, 18px);
    left: var(--youle-header-side, 18px);
    width: auto;
    margin-bottom: 0;
    border: 1px solid rgba(255, 255, 255, .42);
    border-radius: var(--youle-header-radius, 8px);
    --header-bg: rgba(255, 255, 255, .82);
    --header-bg: rgb(255 255 255 / var(--youle-header-alpha, .82));
    --header-color: var(--main-color, #4e5358);
    background: var(--header-bg);
    box-shadow: 0 12px 30px -18px rgba(15, 23, 42, .42), inset 0 1px 0 rgba(255, 255, 255, .42);
    -webkit-backdrop-filter: blur(var(--youle-header-blur, 18px)) saturate(155%);
    backdrop-filter: blur(var(--youle-header-blur, 18px)) saturate(155%);
}

body.dark-theme.youle-floating-header .header {
    border-color: rgba(255, 255, 255, .1);
    --header-bg: rgba(50, 51, 53, .82);
    --header-bg: rgb(50 51 53 / var(--youle-header-alpha, .82));
    --header-color: var(--main-color, #e5eef7);
    box-shadow: 0 14px 32px -18px rgba(0, 0, 0, .72), inset 0 1px 0 rgba(255, 255, 255, .08);
}

body.nav-fixed.youle-floating-header .header {
    top: var(--youle-header-top, 12px);
}

body.youle-portal-page.youle-floating-header:not(.nav-fixed) .header {
    position: absolute;
    z-index: 999;
    top: var(--youle-header-top, 12px);
}

body.youle-floating-header:not(.youle-portal-page):not(.nav-fixed) .header {
    margin: var(--youle-header-top, 12px) var(--youle-header-side, 18px) 20px;
}

body.nav-fixed.youle-floating-header:not(.body-scroll):not(.mobile-navbar-show) .header.show-slide {
    --header-bg: rgba(255, 255, 255, .82);
    --header-bg: rgb(255 255 255 / var(--youle-header-alpha, .82));
    --header-color: var(--main-color, #4e5358);
    background: var(--header-bg);
    -webkit-backdrop-filter: blur(var(--youle-header-blur, 18px)) saturate(155%);
    backdrop-filter: blur(var(--youle-header-blur, 18px)) saturate(155%);
}

body.dark-theme.nav-fixed.youle-floating-header:not(.body-scroll):not(.mobile-navbar-show) .header.show-slide {
    --header-bg: rgba(50, 51, 53, .82);
    --header-bg: rgb(50 51 53 / var(--youle-header-alpha, .82));
    --header-color: var(--main-color, #e5eef7);
}

body.admin-bar.nav-fixed.youle-floating-header .header {
    top: calc(var(--youle-header-top, 12px) + 32px);
}

body.youle-floating-header .youle-home-hero {
    padding-top: calc(var(--youle-header-top, 12px) + 94px);
}

body.nav-fixed.youle-portal-page {
    padding-top: 68px;
}

@media (max-width: 767px) {
    body.nav-fixed.youle-portal-page {
        padding-top: 52px;
    }

    body.nav-fixed.youle-portal-page.youle-floating-header {
        padding-top: 0;
    }

    body.nav-fixed.youle-floating-header .header,
    body.youle-portal-page.youle-floating-header:not(.nav-fixed) .header {
        top: min(var(--youle-header-top, 12px), 8px);
        right: min(var(--youle-header-side, 18px), 10px);
        left: min(var(--youle-header-side, 18px), 10px);
        border-radius: min(var(--youle-header-radius, 8px), 8px);
    }

    body.admin-bar.nav-fixed.youle-floating-header .header {
        top: calc(min(var(--youle-header-top, 12px), 8px) + 46px);
    }

    body.youle-floating-header .youle-home-hero {
        padding-top: calc(min(var(--youle-header-top, 12px), 8px) + 74px);
    }
}

.home .youle-home,
.front-page .youle-home,
.page-template-front-page .youle-home {
    padding-top: 0 !important;
}

.youle-loading-fx {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    background: rgba(245, 247, 251, .96);
    opacity: 1;
    visibility: visible;
    transition: opacity .45s ease, visibility .45s ease;
}

.youle-loading-fx.is-blur {
    backdrop-filter: blur(12px);
}

.youle-loading-fx.is-close {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.youle-loading-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 170px;
    min-height: 150px;
    color: var(--main-color, #1f2937);
}

.youle-loading-text {
    margin-top: 28px;
    color: var(--youle-muted, #667085);
    font-size: 13px;
    letter-spacing: 0;
}

.youle-loader-dots {
    position: relative;
    width: 78px;
    height: 24px;
}

.youle-loader-dots i {
    position: absolute;
    top: 2px;
    width: 20px;
    height: 20px;
    border-radius: 20px;
    background: #f1404b;
    animation: youleLoaderDotsA 1.45s infinite ease-in-out;
}

.youle-loader-dots i:first-child {
    left: 4px;
    background: #db448b;
}

.youle-loader-dots i:last-child {
    right: 4px;
    animation-name: youleLoaderDotsB;
}

@keyframes youleLoaderDotsA {
    0%, 100% { transform: translateX(0) rotate(0); border-radius: 20px; }
    50% { transform: translateX(26px) scale(1.15) rotate(260deg); border-radius: 4px; }
}

@keyframes youleLoaderDotsB {
    0%, 100% { transform: translateX(0) rotate(0); border-radius: 20px; }
    50% { transform: translateX(-26px) scale(1.15) rotate(-260deg); border-radius: 4px; }
}

.youle-loader-cubes {
    position: relative;
    width: 78px;
    height: 78px;
    transform: rotateX(60deg) rotateZ(45deg);
    transform-style: preserve-3d;
}

.youle-loader-cubes i {
    position: absolute;
    width: 26px;
    height: 26px;
    background: #f1404b;
    box-shadow: 18px 18px 24px rgba(241, 64, 75, .18);
    animation: youleLoaderCubes .9s infinite ease-in-out;
}

.youle-loader-cubes i:nth-child(1) { left: 26px; top: 0; }
.youle-loader-cubes i:nth-child(2) { left: 0; top: 26px; animation-delay: .12s; }
.youle-loader-cubes i:nth-child(3) { left: 26px; top: 26px; animation-delay: .24s; }
.youle-loader-cubes i:nth-child(4) { left: 52px; top: 0; animation-delay: .36s; }

@keyframes youleLoaderCubes {
    0%, 100% { transform: translateZ(0); opacity: .75; }
    50% { transform: translateZ(22px); opacity: 1; }
}

.youle-loader-track {
    position: relative;
    width: 220px;
    height: 46px;
    color: #f1404b;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0;
    text-align: center;
}

.youle-loader-track::before {
    content: "Loading...";
    line-height: 46px;
}

.youle-loader-track i {
    position: absolute;
    left: 0;
    width: 16px;
    height: 16px;
    background: #f1404b;
    animation: youleLoaderTrack .75s infinite alternate ease-in-out;
}

.youle-loader-track i:first-child { top: 0; }
.youle-loader-track i:last-child { bottom: 0; animation-delay: .15s; }

@keyframes youleLoaderTrack {
    0% { transform: translateX(0) scale(1, 1.6); }
    50% { transform: translateX(102px) scale(2.4, .55); }
    100% { transform: translateX(204px) scale(1, 1.6); }
}

.youle-loader-rays {
    position: relative;
    width: 64px;
    height: 64px;
    animation: youleLoaderSpin 4s linear infinite;
}

.youle-loader-rays i {
    position: absolute;
    left: 29px;
    top: 2px;
    width: 6px;
    height: 20px;
    border-radius: 999px;
    background: #f1404b;
    transform-origin: 3px 30px;
    animation: youleLoaderRay 1.2s infinite ease;
}

.youle-loader-rays i:nth-child(2) { transform: rotate(45deg); animation-delay: .05s; }
.youle-loader-rays i:nth-child(3) { transform: rotate(90deg); animation-delay: .1s; }
.youle-loader-rays i:nth-child(4) { transform: rotate(135deg); animation-delay: .15s; }
.youle-loader-rays i:nth-child(5) { transform: rotate(180deg); animation-delay: .2s; }
.youle-loader-rays i:nth-child(6) { transform: rotate(225deg); animation-delay: .25s; }
.youle-loader-rays i:nth-child(7) { transform: rotate(270deg); animation-delay: .3s; }
.youle-loader-rays i:nth-child(8) { transform: rotate(315deg); animation-delay: .35s; }

@keyframes youleLoaderRay {
    0%, 100% { opacity: .25; }
    50% { opacity: 1; }
}

@keyframes youleLoaderSpin {
    to { transform: rotate(360deg); }
}

.youle-loader-binary {
    position: relative;
    width: 130px;
    height: 150px;
    color: #555;
}

.youle-loader-binary i::before,
.youle-loader-binary i::after {
    position: absolute;
    top: 0;
    font-size: 24px;
    font-style: normal;
    opacity: 0;
}

.youle-loader-binary i:first-child::before { content: "0"; left: 34px; animation: youleLoaderBinary 1.1s linear infinite; }
.youle-loader-binary i:first-child::after { content: "0"; left: 54px; animation: youleLoaderBinary 1.3s linear infinite; }
.youle-loader-binary i:nth-child(2)::before { content: "1"; left: 74px; animation: youleLoaderBinary .9s linear infinite; }
.youle-loader-binary i:nth-child(2)::after { content: "1"; left: 46px; animation: youleLoaderBinary .7s linear infinite; }
.youle-loader-binary span {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    color: var(--youle-muted, #667085);
    font-size: 12px;
    text-align: center;
}

@keyframes youleLoaderBinary {
    0% { transform: translateY(0) rotate(20deg); opacity: 0; }
    100% { transform: translateY(124px) rotate(-45deg); opacity: 1; }
}

.youle-loader-roller {
    position: relative;
    width: 148px;
    height: 80px;
}

.youle-loader-roller i {
    position: absolute;
    top: 8px;
    width: 70px;
    height: 70px;
    border: 4px solid #f1404b;
    border-left-color: transparent;
    border-bottom-color: transparent;
    border-radius: 50%;
    animation: youleLoaderSpin 1.05s infinite linear;
}

.youle-loader-roller i:nth-child(2) {
    right: 0;
    animation-direction: reverse;
}

.youle-loader-roller span {
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 80px;
    height: 8px;
    margin-left: -40px;
    border-radius: 50%;
    background: rgba(100, 100, 100, .18);
    animation: youleLoaderShadow 1.05s infinite ease-in-out;
}

@keyframes youleLoaderShadow {
    0%, 100% { transform: scaleX(.65); opacity: .18; }
    50% { transform: scaleX(1.15); opacity: .35; }
}

.youle-loader-speed {
    position: relative;
    width: 160px;
    height: 70px;
    animation: youleLoaderShake .42s linear infinite;
}

.youle-loader-speed::before {
    content: "";
    position: absolute;
    left: 34px;
    top: 30px;
    border-top: 7px solid transparent;
    border-right: 92px solid #1f2937;
    border-bottom: 7px solid transparent;
}

.youle-loader-speed::after {
    content: "";
    position: absolute;
    right: 18px;
    top: 21px;
    width: 23px;
    height: 23px;
    border-radius: 50%;
    background: #1f2937;
}

.youle-loader-speed i {
    position: absolute;
    left: 0;
    width: 44px;
    height: 2px;
    border-radius: 999px;
    background: #1f2937;
    animation: youleLoaderLine .55s linear infinite;
}

.youle-loader-speed i:nth-child(1) { top: 18px; }
.youle-loader-speed i:nth-child(2) { top: 36px; animation-delay: .12s; }
.youle-loader-speed i:nth-child(3) { top: 54px; animation-delay: .24s; }

@keyframes youleLoaderLine {
    from { transform: translateX(0); opacity: .9; }
    to { transform: translateX(-84px); opacity: 0; }
}

@keyframes youleLoaderShake {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(2px, -1px); }
}

.youle-nav-home {
    color: var(--main-color, #1f2937);
}

.youle-home-hero {
    position: relative;
    min-height: 320px;
    margin: 0 0 18px;
    padding: 24px max(18px, calc((100% - 1460px) / 2)) 34px;
    overflow: hidden;
    background: #16262b var(--youle-hero-bg, linear-gradient(135deg, #183a40, #1d2024)) center/cover no-repeat;
    color: #fff;
}

.youle-home-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(0, 21, 26, .76), rgba(11, 22, 26, .58) 48%, rgba(9, 13, 16, .78));
}

.youle-home-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    z-index: 1;
    height: 48%;
    background: linear-gradient(180deg, rgba(11, 14, 18, 0), rgba(11, 14, 18, .72));
}

.youle-home-hero-video {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.youle-home-hero-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: min(650px, 92vw);
    margin: 0 auto 76px;
}

.youle-home-hero-title {
    max-width: 100%;
    margin: 6px 0 18px;
    text-align: center;
}

.youle-home-hero-title h1 {
    margin: 0;
    color: #fff;
    font-size: 34px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0;
    text-shadow: 0 8px 28px rgba(0, 0, 0, .35);
}

.youle-home-hero-title p {
    margin: 8px 0 0;
    color: rgba(255, 255, 255, .78);
    font-size: 14px;
    line-height: 1.7;
    letter-spacing: 0;
    text-shadow: 0 4px 18px rgba(0, 0, 0, .28);
}

.youle-home-search-tabs {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 2px;
    max-width: 100%;
    padding: 4px;
    overflow-x: auto;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px;
    background: rgba(255, 255, 255, .16);
    backdrop-filter: blur(10px);
    scrollbar-width: none;
}

.youle-home-search-tabs::-webkit-scrollbar {
    display: none;
}

.youle-search-slider {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    width: var(--youle-slider-width, 0);
    height: var(--youle-slider-height, 0);
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .16);
    opacity: 0;
    pointer-events: none;
    transform: translate3d(var(--youle-slider-x, 0), var(--youle-slider-y, 0), 0);
    transition: transform .32s cubic-bezier(.22, 1, .36, 1), width .32s cubic-bezier(.22, 1, .36, 1), height .32s cubic-bezier(.22, 1, .36, 1), opacity .12s ease;
    will-change: transform, width, height;
}

.youle-search-slider.is-ready {
    opacity: 1;
}

.youle-home-search-tab,
.youle-home-search-quick,
.youle-home-ad-head button,
.youle-home-ad-item {
    border: 0;
    font: inherit;
    cursor: pointer;
}

.youle-home-search-tab {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
    min-width: 58px;
    height: 34px;
    padding: 0 18px;
    border-radius: 999px;
    color: rgba(255, 255, 255, .78);
    background: transparent;
    font-weight: 700;
}

.youle-home-search-tab.is-active {
    color: #1f2528;
    background: #fff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .16);
}

.youle-home-search-tabs.has-slider .youle-home-search-tab.is-active {
    background: transparent;
    box-shadow: none;
}

.youle-home-search-form {
    display: flex;
    width: 100%;
    height: 54px;
    margin-top: 10px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 18px 42px rgba(0, 0, 0, .28);
}

.youle-home-search-form input {
    flex: 1 1 auto;
    min-width: 0;
    border: 0;
    padding: 0 22px;
    color: #f4f7f8;
    background: rgba(20, 24, 28, .92);
    font-size: 16px;
    outline: 0;
}

.youle-home-search-form input::placeholder {
    color: rgba(255, 255, 255, .38);
}

.youle-home-search-form button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 56px;
    width: 56px;
    border: 0;
    color: #fff;
    background: #ff9f1a;
    font-size: 19px;
    cursor: pointer;
}

.youle-home-search-quicks {
    display: flex;
    justify-content: center;
    gap: 10px;
    max-width: 100%;
    margin-top: 6px;
    overflow-x: auto;
    padding: 0 4px 4px;
    scrollbar-width: none;
}

.youle-home-search-quicks.is-empty {
    display: none;
}

.youle-home-search-engine-set {
    position: relative;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: max-content;
}

.youle-home-search-engine-set.is-active {
    display: flex;
}

.youle-home-search-quicks::-webkit-scrollbar {
    display: none;
}

.youle-home-search-quick {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
    min-height: 36px;
    padding: 0 15px;
    border-radius: 999px;
    color: rgba(255, 255, 255, .68);
    background: rgba(255, 255, 255, .17);
    font-weight: 700;
}

.youle-home-search-quick.is-active {
    color: #1f2528;
    background: #fff;
}

.youle-home-search-engine-set.has-slider .youle-home-search-quick.is-active {
    background: transparent;
}

@media (prefers-reduced-motion: reduce) {
    .youle-search-slider {
        transition: none;
    }
}

.youle-home-ad-board {
    position: relative;
    z-index: 2;
    width: min(960px, 92vw);
    margin: 0 auto;
    padding: 10px 12px 12px;
    border-radius: 8px;
    background: rgba(39, 39, 39, .86);
    box-shadow: 0 18px 48px rgba(0, 0, 0, .24);
    backdrop-filter: blur(10px);
}

.youle-home-ad-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, .76);
    font-size: 13px;
}

.youle-home-ad-head div {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.youle-home-ad-head strong {
    color: rgba(255, 255, 255, .82);
}

.youle-home-ad-head a {
    color: #ffb21e;
    font-weight: 700;
}

.youle-home-ad-head button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
    height: 30px;
    margin-left: auto;
    padding: 0 12px;
    border: 1px solid rgba(255, 132, 16, .7);
    border-radius: 8px;
    color: #ff8a1a;
    background: rgba(255, 132, 16, .08);
    font-weight: 800;
}

.youle-home-ad-head button span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 16px;
    min-width: 22px;
    border-radius: 4px;
    color: #fff;
    background: #ff8a1a;
    font-size: 10px;
}

.youle-home-ad-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 6px;
}

.youle-home-ad-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
    min-height: 30px;
    padding: 0 9px;
    border-radius: 5px;
    color: rgba(255, 255, 255, .74);
    background: rgba(255, 255, 255, .08);
    text-align: left;
    text-decoration: none;
}

.youle-home-ad-item:hover {
    color: #fff;
    background: rgba(255, 255, 255, .14);
}

.youle-home-ad-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(135deg, #7adf8b, #78b8ff);
    font-size: 12px;
    font-weight: 800;
}

.youle-home-ad-icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.youle-home-ad-item span:not(.youle-home-ad-icon) {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 700;
}

.youle-home-ad-item em {
    position: absolute;
    right: 7px;
    color: rgba(255, 255, 255, .46);
    font-style: normal;
    font-size: 11px;
}

.youle-home-ad-item.is-empty {
    width: 100%;
    color: rgba(255, 255, 255, .35);
}

.youle-ad-modal[hidden] {
    display: none;
}

.youle-ad-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: rgba(10, 14, 18, .58);
}

.youle-ad-modal-panel {
    position: relative;
    width: min(420px, 100%);
    max-height: calc(100vh - 36px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 20px;
    border-radius: 8px;
    background: var(--main-bg-color, #fff);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .25);
}

.youle-ad-modal-panel > strong {
    display: block;
    margin-bottom: 6px;
    font-size: 18px;
}

.youle-ad-modal-panel > p {
    margin: 0 0 14px;
    color: var(--youle-muted);
    font-size: 13px;
}

.youle-ad-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 50%;
    color: var(--youle-muted);
    background: var(--youle-page-bg);
    cursor: pointer;
}

.youle-ad-apply-form {
    display: grid;
    gap: 10px;
}

.youle-ad-apply-form label {
    display: grid;
    gap: 5px;
    color: var(--main-color, #1f2937);
    font-size: 13px;
    font-weight: 700;
}

.youle-ad-apply-form input,
.youle-ad-apply-form textarea {
    width: 100%;
    border: 1px solid var(--youle-border);
    border-radius: 8px;
    padding: 0 10px;
    color: var(--main-color, #1f2937);
    background: var(--youle-page-bg);
}

.youle-ad-apply-form input {
    min-height: 40px;
}

.youle-ad-apply-form textarea {
    min-height: 72px;
    padding-top: 9px;
    resize: vertical;
}

.youle-ad-device-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.youle-ad-device-options label {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 42px;
    padding: 0 10px;
    border: 1px solid var(--youle-border);
    border-radius: 8px;
    color: var(--main-color, #1f2937);
    background: var(--youle-page-bg);
    cursor: pointer;
}

.youle-ad-device-options label.is-active {
    border-color: #ff8a1a;
    background: rgba(255, 138, 26, .1);
}

.youle-ad-device-options input {
    position: absolute;
    width: 1px;
    height: 1px;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    opacity: 0;
    outline: 0;
    box-shadow: none;
    appearance: none;
    pointer-events: none;
}

.youle-ad-device-options input:focus,
.youle-ad-device-options input:focus-visible {
    outline: 0;
    box-shadow: none;
}

.youle-ad-device-options label:has(input:focus-visible) {
    box-shadow: 0 0 0 2px color-mix(in srgb, #ff8a1a 38%, transparent);
}

.youle-ad-device-options span,
.youle-ad-device-options em {
    font-weight: 800;
}

.youle-ad-device-options em {
    color: #f04438;
    font-style: normal;
}

.youle-ad-apply-total {
    color: var(--youle-muted);
    font-size: 13px;
}

.youle-ad-apply-total strong {
    color: #f04438;
    font-size: 18px;
}

.youle-ad-apply-submit {
    min-height: 42px;
    border: 0;
    border-radius: 8px;
    color: #fff;
    background: #ff8a1a;
    font-weight: 800;
    cursor: pointer;
}

.youle-ad-apply-notice {
    min-height: 18px;
    color: var(--youle-muted);
    font-size: 13px;
}

.youle-ad-apply-notice.is-error {
    color: #e5484d;
}

.youle-ad-apply-notice.is-success {
    color: #18a058;
}

.youle-permanent-sponsors {
    position: relative;
    margin: 0 0 18px;
    padding: 0 16px;
    overflow: hidden;
}

.youle-permanent-sponsors::before,
.youle-permanent-sponsors::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 6px;
    z-index: 2;
    width: 42px;
    pointer-events: none;
}

.youle-permanent-sponsors::before {
    left: 0;
    background: linear-gradient(90deg, var(--body-bg-color, #f4f5f7), transparent);
}

.youle-permanent-sponsors::after {
    right: 0;
    background: linear-gradient(270deg, var(--body-bg-color, #f4f5f7), transparent);
}

.youle-permanent-sponsor-track {
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: repeat(var(--youle-permanent-rows, 2), 64px);
    grid-auto-columns: var(--youle-permanent-card-width, 210px);
    gap: 10px 12px;
    overflow-x: auto;
    padding: 2px 24px 8px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
}

.youle-permanent-sponsor-track::-webkit-scrollbar {
    display: none;
}

.youle-permanent-sponsors.is-autoplay-active .youle-permanent-sponsor-track {
    scroll-snap-type: none;
}

.youle-permanent-sponsor-card {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 10px 12px;
    border: 1px solid rgba(125, 133, 149, .08);
    border-radius: 8px;
    color: var(--main-color, #1f2937);
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 2px 8px rgba(15, 23, 42, .05);
    text-decoration: none;
    scroll-snap-align: start;
}

.youle-permanent-sponsor-card:hover {
    color: var(--youle-accent);
    border-color: rgba(129, 215, 66, .4);
    box-shadow: 0 5px 14px rgba(15, 23, 42, .08);
}

.youle-permanent-sponsor-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    overflow: hidden;
    border-radius: 8px;
    color: #fff;
    background: linear-gradient(135deg, #8bd3ff, #ff9ad5);
    font-weight: 800;
}

.youle-permanent-sponsor-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.youle-permanent-sponsor-info {
    display: block;
    min-width: 0;
}

.youle-permanent-sponsor-info strong,
.youle-permanent-sponsor-info small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.youle-permanent-sponsor-info strong {
    font-size: 14px;
    line-height: 1.25;
}

.youle-permanent-sponsor-info small {
    margin-top: 4px;
    color: var(--youle-muted);
    font-size: 12px;
}

.youle-permanent-sponsors.is-compact .youle-permanent-sponsor-card {
    padding-top: 8px;
    padding-bottom: 8px;
}

.youle-friend-links {
    margin: 22px 0 8px;
    padding: 0 2px;
}

.youle-friend-links h2 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px;
    color: var(--main-color, #1f2937);
    font-size: 18px;
}

.youle-friend-link-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    padding: 16px 18px;
    border: 1px solid var(--youle-border);
    border-radius: 8px;
    background: var(--main-bg-color, #fff);
    box-shadow: 0 8px 24px rgba(15, 23, 42, .05);
}

.youle-friend-link-list a {
    color: var(--main-color, #1f2937);
    font-size: 13px;
}

.youle-friend-link-list a:before {
    content: "•";
    margin-right: 6px;
    color: var(--youle-muted);
}

.youle-bottom-float {
    position: fixed;
    z-index: 9999;
    left: 50%;
    bottom: var(--youle-bottom-pc-bottom, 18px);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
    box-sizing: border-box;
    width: min(var(--youle-bottom-width, 640px), calc(100vw - 32px));
    min-height: 78px;
    padding: 11px 48px 11px 12px;
    overflow: hidden;
    isolation: isolate;
    border: 1px solid rgba(255, 255, 255, .38);
    border-radius: var(--youle-bottom-radius, 18px);
    color: var(--youle-bottom-title-color, #fff);
    background: var(--youle-bottom-bg, #4056c5);
    background: color-mix(in srgb, var(--youle-bottom-bg, #4056c5) 78%, transparent);
    box-shadow: 0 16px 38px -16px rgba(15, 23, 42, .34), inset 0 1px 0 rgba(255, 255, 255, .34);
    -webkit-backdrop-filter: blur(20px) saturate(145%);
    backdrop-filter: blur(20px) saturate(145%);
    transform: translateX(-50%);
    transition: opacity .22s ease, transform .22s ease, visibility .22s ease, box-shadow .22s ease;
}

.youle-bottom-float::before {
    position: absolute;
    z-index: -1;
    top: 12px;
    bottom: 12px;
    left: 0;
    width: 4px;
    border-radius: 0 4px 4px 0;
    background: var(--youle-bottom-button-bg, #5268cf);
    content: "";
}

.youle-bottom-float.is-pc-left {
    left: var(--youle-bottom-pc-side, 18px);
    transform: none;
}

.youle-bottom-float.is-pc-right {
    right: var(--youle-bottom-pc-side, 18px);
    left: auto;
    transform: none;
}

.youle-bottom-float.is-no-shadow,
.youle-bottom-float-mini.is-no-shadow {
    box-shadow: none;
}

.youle-bottom-float.is-minimized {
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 24px) scale(.94);
    pointer-events: none;
}

.youle-bottom-float.is-pc-left.is-minimized,
.youle-bottom-float.is-pc-right.is-minimized {
    transform: translateY(24px) scale(.94);
}

.youle-bottom-float-close {
    position: absolute;
    z-index: 2;
    top: 8px;
    right: 8px;
    display: inline-grid;
    width: 26px;
    height: 26px;
    padding: 0;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .26);
    border-radius: 50%;
    color: var(--youle-bottom-title-color, #fff);
    background: rgba(255, 255, 255, .16);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    opacity: .68;
    cursor: pointer;
    transition: opacity .18s ease, transform .18s ease, background-color .18s ease;
}

.youle-bottom-float-close:hover,
.youle-bottom-float-close:focus-visible {
    background: rgba(255, 255, 255, .28);
    opacity: 1;
    transform: rotate(8deg);
}

.youle-bottom-float-brand {
    display: flex;
    flex: 1 1 220px;
    align-items: center;
    gap: 13px;
    min-width: 0;
}

.youle-bottom-float-avatar {
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .52);
    border-radius: 12px;
    background: rgba(255, 255, 255, .34);
    box-shadow: 0 8px 22px -14px rgba(15, 23, 42, .6);
}

.youle-bottom-float-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.youle-bottom-float-text {
    display: block;
    min-width: 0;
    margin-right: auto;
}

.youle-bottom-float-text strong,
.youle-bottom-float-text small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.youle-bottom-float-text strong {
    color: var(--youle-bottom-title-color, #fff);
    font-size: 18px;
    font-weight: 800;
    line-height: 1.3;
}

.youle-bottom-float-text small {
    margin-top: 3px;
    color: var(--youle-bottom-subtitle-color, #fff200);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.45;
}

.youle-bottom-float-actions {
    display: inline-flex;
    position: relative;
    z-index: 1;
    align-items: center;
    gap: 9px;
    flex: 0 0 auto;
    padding-left: 18px;
    border-left: 1px solid rgba(255, 255, 255, .2);
}

.youle-bottom-float .youle-bottom-float-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    flex: 0 0 auto;
    min-width: 112px;
    height: 40px;
    padding: 0 15px;
    border: 1px solid rgba(255, 255, 255, .34);
    border-radius: 10px;
    color: var(--youle-bottom-title-color, #fff);
    background: rgba(255, 255, 255, .18);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2);
    -webkit-backdrop-filter: blur(10px) saturate(135%);
    backdrop-filter: blur(10px) saturate(135%);
    font-size: 13px;
    font-weight: 750;
    line-height: 1;
    text-decoration: none;
    transition: transform .18s ease, filter .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.youle-bottom-float .youle-bottom-float-action.is-primary {
    border-color: color-mix(in srgb, var(--youle-bottom-button-bg, #5268cf) 72%, rgba(255, 255, 255, .38));
    color: var(--youle-bottom-button-color, #fff);
    background: var(--youle-bottom-button-bg, #5268cf);
    background: color-mix(in srgb, var(--youle-bottom-button-bg, #5268cf) 90%, transparent);
    box-shadow: 0 9px 20px -12px var(--youle-bottom-button-bg, #5268cf), inset 0 1px 0 rgba(255, 255, 255, .24);
}

.youle-bottom-float .youle-bottom-float-action:hover,
.youle-bottom-float .youle-bottom-float-action:focus-visible {
    color: inherit;
    filter: brightness(1.06);
    transform: translateY(-1px);
}

.youle-bottom-float .youle-bottom-float-action.is-unconfigured {
    opacity: .68;
    cursor: not-allowed;
    filter: saturate(.72);
}

.youle-bottom-float .youle-bottom-float-action.is-unconfigured:hover,
.youle-bottom-float .youle-bottom-float-action.is-unconfigured:focus-visible {
    filter: saturate(.72);
    transform: none;
}

.youle-bottom-float-mini {
    position: fixed;
    z-index: 9999;
    left: 16px;
    bottom: var(--youle-bottom-pc-bottom, 18px);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-sizing: border-box;
    max-width: 190px;
    height: 44px;
    padding: 4px 13px 4px 5px;
    border: 1px solid rgba(255, 255, 255, .36);
    border-radius: 12px;
    color: var(--youle-bottom-title-color, #fff);
    background: var(--youle-bottom-bg, #4056c5);
    background: color-mix(in srgb, var(--youle-bottom-bg, #4056c5) 78%, transparent);
    box-shadow: 0 12px 28px -14px rgba(15, 23, 42, .42), inset 0 1px 0 rgba(255, 255, 255, .24);
    -webkit-backdrop-filter: blur(16px) saturate(150%);
    backdrop-filter: blur(16px) saturate(150%);
    font-size: 13px;
    font-weight: 750;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease;
}

.youle-bottom-float-mini:hover,
.youle-bottom-float-mini:focus-visible {
    transform: translateY(-2px);
}

.youle-bottom-float-mini img {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: 9px;
}

.youle-bottom-float-mini span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.youle-bottom-float-mini[hidden] {
    display: none;
}

.float-right .youle-bottom-float-toolbar[hidden] {
    display: none;
}

.float-right .youle-bottom-float-toolbar {
    --this-color: var(--youle-on-secondary, #fff);
    --this-bg: var(--youle-secondary, #13836f);
    border: 0;
    font-family: inherit;
    line-height: 1;
    cursor: pointer;
}

.float-right .youle-bottom-float-toolbar > i,
.float-right .youle-bottom-float-toolbar > svg {
    width: 1em;
    height: 1em;
    font-size: 20px;
}

.youle-header-mega-menu {
    position: relative;
}

.navbar-nav li.youle-header-mega-menu {
    max-height: none;
}

.youle-header-mega-menu > .youle-header-mega-trigger {
    display: flex;
    align-items: center;
    gap: 7px;
}

.youle-header-mega-menu > .youle-header-mega-trigger .fa-angle-down {
    opacity: .55;
    transition: transform .18s ease;
}

.youle-header-mega-panel {
    position: absolute;
    z-index: 10020;
    top: 100%;
    right: 0;
    width: min(430px, calc(100vw - 24px));
    box-sizing: border-box;
    padding: 14px;
    visibility: hidden;
    border: 1px solid var(--main-border-color, rgba(50, 50, 50, .09));
    border-radius: 8px;
    background: var(--main-bg-color, #fff);
    box-shadow: 0 18px 42px -16px rgba(15, 23, 42, .28);
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.youle-header-mega-panel::before {
    position: absolute;
    right: 24px;
    bottom: 100%;
    width: 0;
    height: 0;
    border-right: 7px solid transparent;
    border-bottom: 7px solid var(--main-bg-color, #fff);
    border-left: 7px solid transparent;
    content: "";
}

.youle-header-mega-menu.is-open > .youle-header-mega-trigger .fa-angle-down,
.youle-header-mega-menu:hover > .youle-header-mega-trigger .fa-angle-down,
.youle-header-mega-menu:focus-within > .youle-header-mega-trigger .fa-angle-down {
    transform: rotate(180deg);
}

.youle-header-mega-menu.is-open > .youle-header-mega-panel,
.youle-header-mega-menu:hover > .youle-header-mega-panel,
.youle-header-mega-menu:focus-within > .youle-header-mega-panel {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.youle-header-mega-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px 8px;
}

.youle-header-mega-grid > a {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
    padding: 7px 3px;
    border-radius: 6px;
    color: var(--main-color, #374151);
    font-size: 13px;
    text-align: center;
    text-decoration: none;
}

.navbar-nav .youle-header-mega-panel .youle-header-mega-grid > a {
    height: auto;
    max-height: none;
}

.youle-header-mega-grid > a:hover,
.youle-header-mega-grid > a:focus-visible {
    color: var(--theme-color, #2997f7);
    background: var(--muted-bg-color, #f5f6f7);
}

.youle-header-mega-grid > a > span:last-child {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.4;
}

.youle-header-mega-icon {
    display: grid;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    place-items: center;
    overflow: hidden;
    border-radius: 10px;
    color: #fff;
    background: #168c76;
    transition: transform .18s ease, box-shadow .18s ease;
}

.youle-header-mega-grid > a:nth-child(6n+2) .youle-header-mega-icon { background: #3478c9; }
.youle-header-mega-grid > a:nth-child(6n+3) .youle-header-mega-icon { background: #c54f69; }
.youle-header-mega-grid > a:nth-child(6n+4) .youle-header-mega-icon { background: #b7791f; }
.youle-header-mega-grid > a:nth-child(6n+5) .youle-header-mega-icon { background: #7357b5; }
.youle-header-mega-grid > a:nth-child(6n+6) .youle-header-mega-icon { background: #0b9eb7; }

.youle-header-mega-icon .youle-nav-menu-icon {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    margin: 0;
    color: inherit;
    font-size: 18px;
}

.youle-header-mega-letter {
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
}

.youle-header-mega-fallback {
    font-size: 20px;
    line-height: 1;
}

.youle-header-mega-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.youle-header-mega-grid > a:hover,
.youle-header-mega-grid > a:focus-visible {
    color: var(--youle-accent, #2477f2);
}

.youle-header-mega-grid > a:hover .youle-header-mega-icon,
.youle-header-mega-grid > a:focus-visible .youle-header-mega-icon {
    box-shadow: 0 10px 20px -12px rgba(15, 23, 42, .5);
    transform: translateY(-2px);
}

.youle-site-card {
    overflow: visible;
}

.youle-site-desc-popover {
    position: absolute;
    z-index: 80;
    right: 10px;
    bottom: calc(100% + 9px);
    left: 10px;
    padding: 10px 12px;
    visibility: hidden;
    border-radius: 6px;
    color: #fff;
    background: rgba(17, 24, 39, .94);
    box-shadow: 0 12px 28px -12px rgba(0, 0, 0, .52);
    font-size: 12px;
    line-height: 1.65;
    opacity: 0;
    pointer-events: none;
    transform: translateY(5px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.youle-site-desc-popover::after {
    position: absolute;
    top: 100%;
    left: 50%;
    border-top: 6px solid rgba(17, 24, 39, .94);
    border-right: 6px solid transparent;
    border-left: 6px solid transparent;
    content: "";
    transform: translateX(-50%);
}

.youle-site-card:hover .youle-site-desc-popover,
.youle-site-card:focus-within .youle-site-desc-popover {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.dark-theme .youle-bottom-float,
.dark-theme .youle-bottom-float-mini {
    border-color: rgba(255, 255, 255, .16);
    box-shadow: 0 18px 42px -16px rgba(0, 0, 0, .58), inset 0 1px 0 rgba(255, 255, 255, .16);
}

.youle-favorite-tip-host {
    position: relative;
}

.youle-favorite-tip,
.youle-favorite-tip *,
.youle-favorite-tip *::before,
.youle-favorite-tip *::after {
    box-sizing: border-box;
}

.youle-favorite-tip {
    --youle-favorite-tip-anchor-x: 26px;
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    z-index: 1050;
    width: max-content;
    max-width: min(90vw, 480px);
    color: var(--youle-favorite-tip-color, #fff);
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transform: scale(.82) translateY(6px);
    transform-origin: var(--youle-favorite-tip-anchor-x) 0;
    transition: opacity .32s cubic-bezier(.22, 1, .36, 1), transform .36s cubic-bezier(.34, 1.25, .64, 1), visibility 0s linear .36s;
}

.youle-favorite-tip[hidden] {
    display: none;
}

.youle-favorite-tip.is-visible {
    pointer-events: auto;
    opacity: 1;
    visibility: visible;
    transform: scale(1) translateY(0);
    transition: opacity .32s cubic-bezier(.22, 1, .36, 1), transform .36s cubic-bezier(.34, 1.25, .64, 1), visibility 0s;
}

.youle-favorite-tip-arrow {
    position: absolute;
    top: -6px;
    left: var(--youle-favorite-tip-anchor-x);
    width: 12px;
    height: 12px;
    background: var(--youle-favorite-tip-bg, #ff9f0a);
    transform: translateX(-50%) rotate(45deg);
}

.youle-favorite-tip-inner {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 50px;
    padding: 12px 13px 12px 16px;
    border-radius: 6px;
    color: inherit;
    background: var(--youle-favorite-tip-bg, #ff9f0a);
    box-shadow: 0 8px 22px rgba(0, 0, 0, .16);
}

.youle-favorite-tip-text {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 0;
    white-space: nowrap;
}

.youle-favorite-tip-text .is-mobile-text {
    display: none;
}

.youle-favorite-tip-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 4px;
    color: inherit;
    background: transparent;
    font: inherit;
    font-size: 25px;
    font-weight: 300;
    line-height: 1;
    opacity: .72;
    cursor: pointer;
    transition: opacity .18s ease, background .18s ease;
}

.youle-favorite-tip-close:hover,
.youle-favorite-tip-close:focus-visible {
    background: rgba(0, 0, 0, .08);
    opacity: 1;
}

@media (max-width: 767px) {
    .youle-favorite-tip.is-device-pc {
        display: none;
    }

    .youle-favorite-tip.is-device-all {
        --youle-favorite-tip-anchor-x: 50%;
        top: calc(100% + 10px);
        left: 50%;
        width: calc(100vw - 24px);
        max-width: none;
        transform: translateX(-50%) scale(.9) translateY(6px);
        transform-origin: 50% 0;
    }

    .youle-favorite-tip.is-device-all.is-visible {
        transform: translateX(-50%) scale(1) translateY(0);
    }

    .youle-favorite-tip-inner {
        min-height: 48px;
        padding-left: 13px;
    }

    .youle-favorite-tip-text {
        min-width: 0;
        white-space: normal;
    }

    .youle-favorite-tip-text .is-desktop-text {
        display: none;
    }

    .youle-favorite-tip-text .is-mobile-text {
        display: inline;
    }
}

@media (prefers-reduced-motion: reduce) {
    .youle-favorite-tip {
        transition: none;
    }
}

.youle-nav-toolbar,
.youle-nav-card,
.youle-section {
    background: var(--youle-card-bg);
    border: 1px solid var(--youle-border);
    border-radius: 8px;
    box-shadow: var(--box-shadow, 0 8px 24px rgba(15, 23, 42, .06));
}

.youle-header-tools {
    display: flex;
    align-items: center;
    gap: 2px;
    min-height: 34px;
    padding: 0 4px;
    overflow: visible;
}

.youle-radius-tools {
    display: inline-flex;
    align-items: center;
    margin-right: 10px;
    padding-right: 10px;
    border-right: 1px solid var(--main-border-color, rgba(125, 133, 149, .18));
    vertical-align: middle;
}

.youle-header-tool-item {
    position: relative;
    display: flex;
    align-items: center;
}

.youle-header-tool-link {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 7px !important;
    color: var(--main-color, #1f2937) !important;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none !important;
    white-space: nowrap;
    cursor: pointer;
    border-radius: 8px;
}

.youle-header-tool-link:hover,
.youle-header-tool-item:hover > .youle-header-tool-link,
.youle-header-tool-item:focus-within > .youle-header-tool-link {
    color: var(--focus-color, #2477f2) !important;
    background: rgba(125, 133, 149, .08);
}

.youle-header-tool-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    z-index: 9999;
    min-width: 112px;
    padding: 10px 0;
    background: #fff;
    border: 1px solid rgba(125, 133, 149, .12);
    border-radius: 0 0 8px 8px;
    box-shadow: 0 14px 28px rgba(15, 23, 42, .12);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 8px);
    transform-origin: top center;
    transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
}

.youle-header-tool-item:hover > .youle-header-tool-dropdown,
.youle-header-tool-item:focus-within > .youle-header-tool-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.youle-header-tool-dropdown a,
.youle-header-tool-dropdown span {
    display: block;
    padding: 10px 22px;
    color: #666 !important;
    font-size: 15px;
    line-height: 1.35;
    text-align: center;
    text-decoration: none !important;
    white-space: nowrap;
}

.youle-header-tool-dropdown a:hover,
.youle-header-tool-dropdown span:hover {
    color: var(--focus-color, #2477f2) !important;
    background: rgba(36, 119, 242, .06);
}

@media (max-width: 767px) {
    .youle-radius-tools {
        display: none !important;
    }
}
.youle-nav-toolbar {
    position: sticky;
    top: 70px;
    z-index: 9;
    display: grid;
    grid-template-columns: minmax(180px, 260px) minmax(280px, 1fr) auto;
    gap: 12px;
    align-items: center;
    margin-bottom: var(--youle-gap);
    padding: 10px 12px;
}

.youle-nav-brand {
    min-width: 0;
}

.youle-nav-brand strong,
.youle-nav-brand span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.youle-nav-brand strong {
    font-size: 18px;
    line-height: 1.25;
}

.youle-nav-brand span {
    margin-top: 2px;
    color: var(--youle-muted);
    font-size: 12px;
}

.youle-search {
    display: flex;
    width: 100%;
    min-height: 40px;
}

.youle-search input {
    flex: 1;
    min-width: 0;
    border: 1px solid var(--youle-border);
    border-right: 0;
    border-radius: 8px 0 0 8px;
    padding: 0 12px;
    background: var(--youle-page-bg);
    color: var(--main-color, #1f2937);
}

.youle-search button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    border: 0;
    border-radius: 0 8px 8px 0;
    color: #fff;
    background: var(--youle-accent);
    cursor: pointer;
}

.youle-nav-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.youle-nav-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 38px;
    padding: 0 12px;
    border-radius: 8px;
    color: var(--main-color, #1f2937);
    background: var(--youle-page-bg);
    text-decoration: none;
    white-space: nowrap;
}

.youle-nav-actions a:hover,
.youle-nav-menu a:hover,
.youle-nav-custom-links a:hover {
    color: var(--youle-accent);
}

.youle-nav-layout {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    gap: var(--youle-gap);
    align-items: start;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    scroll-margin-top: 96px;
}

.youle-nav-layout.has-right-sidebar {
    grid-template-columns: 190px minmax(0, 1fr) minmax(230px, 270px);
}

.youle-nav-layout.no-left-sidebar {
    grid-template-columns: minmax(0, 1fr);
}

.youle-nav-layout.no-left-sidebar.has-right-sidebar {
    grid-template-columns: minmax(0, 1fr) minmax(230px, 270px);
}

.youle-nav-main,
.youle-nav-sidebar,
.youle-nav-right-sidebar {
    max-width: 100%;
    min-width: 0;
}

.youle-nav-right-sidebar {
    display: grid;
    gap: var(--youle-gap);
}

.youle-nav-right-sidebar .zib-widget {
    margin: 0;
    border: 1px solid var(--main-border-color, rgba(50, 50, 50, .08));
    border-radius: 8px;
    background: var(--main-bg-color, #fff);
    box-shadow: 0 8px 24px -18px rgba(20, 29, 45, .36);
}

.youle-nav-sidebar {
    position: sticky;
    top: 132px;
    display: grid;
    gap: var(--youle-gap);
}

.youle-nav-sidebar > .youle-nav-card {
    margin-bottom: 0;
}

.youle-nav-card {
    max-width: 100%;
    min-width: 0;
    margin-bottom: var(--youle-gap);
    padding: 12px;
}

.youle-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.youle-section-actions {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.youle-recommend-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 30px;
    padding: 0 8px;
    border: 1px solid var(--main-border-color, rgba(50, 50, 50, .08));
    border-radius: 6px;
    color: var(--muted-color, #6b7280);
    background: var(--main-bg-color, #fff);
    font-size: 12px;
    line-height: 1;
    cursor: pointer;
    transition: color .18s ease, border-color .18s ease, background-color .18s ease;
}

.youle-recommend-toggle:hover,
.youle-recommend-toggle:focus-visible {
    border-color: color-mix(in srgb, var(--youle-accent, #2477f2) 32%, var(--main-border-color, rgba(50, 50, 50, .08)));
    color: var(--youle-accent, #2477f2);
    background: color-mix(in srgb, var(--youle-accent, #2477f2) 8%, transparent);
}

.youle-nav-menu {
    display: grid;
    gap: 4px;
    max-width: 100%;
    min-width: 0;
}

.youle-nav-custom-links {
    display: grid;
    gap: 4px;
    max-width: 100%;
    min-width: 0;
}

.youle-nav-menu a,
.youle-nav-custom-links a {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
    min-height: 36px;
    padding: 0 8px;
    border-radius: 8px;
    color: var(--main-color, #1f2937);
    text-decoration: none;
}

.youle-nav-menu-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    color: var(--youle-muted);
    font-size: 15px;
    line-height: 1;
}

.youle-nav-menu-icon img {
    display: block;
    width: 18px;
    height: 18px;
    object-fit: contain;
    border-radius: 4px;
}

.youle-nav-menu-icon > i,
.youle-nav-menu-icon > svg {
    display: block;
    width: 18px;
    height: 18px;
    font-size: 15px;
    line-height: 18px;
}

.youle-nav-menu a > span:not(.youle-nav-menu-icon),
.youle-nav-custom-links a > span:not(.youle-nav-menu-icon) {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.youle-nav-menu em {
    flex: 0 0 auto;
    color: var(--youle-muted);
    font-style: normal;
    font-size: 12px;
}

.youle-section {
    max-width: 100%;
    min-width: 0;
    scroll-margin-top: 132px;
    margin-bottom: var(--youle-gap);
    padding: 14px;
}

.youle-section-head h1,
.youle-section-head h2 {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 16px;
    line-height: 1.35;
}

.youle-section-head h1 .youle-nav-menu-icon,
.youle-section-head h2 .youle-nav-menu-icon {
    color: var(--youle-accent);
}

.youle-more {
    flex: 0 0 auto;
    color: var(--youle-muted);
    font-size: 13px;
}

.youle-site-subterms {
    display: flex;
    align-items: center;
    gap: 4px;
    max-width: 100%;
    margin: -2px 0 12px;
    padding: 4px;
    overflow-x: auto;
    border-radius: 999px;
    background: var(--youle-page-bg);
    scrollbar-width: none;
}

.youle-site-subterms::-webkit-scrollbar {
    display: none;
}

.youle-site-subterms button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-height: 28px;
    padding: 0 14px;
    border: 0;
    border-radius: 999px;
    color: var(--youle-muted);
    background: transparent;
    font-size: 14px;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transition: color .18s ease, background .18s ease;
}

.youle-site-subterms button:hover,
.youle-site-subterms button:focus-visible,
.youle-site-subterms button.is-active {
    color: #fff;
    background: var(--youle-danger);
}

.youle-recommend-subterms {
    align-items: center;
    gap: 8px;
    margin: -4px 0 14px;
    padding: 2px 0 10px;
    overflow-x: auto;
    border-bottom: 1px solid var(--main-border-color, rgba(50, 50, 50, .06));
    border-radius: 0;
    background: transparent;
    scrollbar-width: none;
}

.youle-recommend-subterms::-webkit-scrollbar {
    display: none;
}

.youle-recommend-subterms > button {
    margin-top: 0;
    padding: 0 2px 2px;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    font-size: 13px;
}

.youle-recommend-subterms > button:hover,
.youle-recommend-subterms > button:focus-visible,
.youle-recommend-subterms > button.is-active {
    border-bottom-color: var(--youle-accent, #2477f2);
    color: var(--youle-accent, #2477f2);
    background: transparent;
}

.youle-site-term-status {
    color: var(--youle-danger);
    font-size: 12px;
    line-height: 1.5;
    text-align: center;
}

.youle-site-term-status:empty {
    display: none;
}

.youle-sites-grid,
.youle-shop-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.youle-sites-section.is-term-loading .youle-sites-grid {
    min-height: 76px;
    pointer-events: none;
}

.youle-sites-section.is-term-loading .youle-sites-grid > * {
    opacity: .42;
}

.youle-sites-section.is-term-loading .youle-sites-grid::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 24px;
    margin: -12px 0 0 -12px;
    border: 3px solid rgba(241, 64, 75, .2);
    border-top-color: var(--youle-danger);
    border-radius: 50%;
    content: '';
    animation: youle-site-term-spin .7s linear infinite;
}

.youle-sites-grid.is-updated {
    animation: youle-site-term-in .18s ease;
}

.youle-sites-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    grid-column: 1 / -1;
    gap: 7px;
    min-height: 76px;
    color: var(--youle-muted);
    font-size: 13px;
}

@keyframes youle-site-term-spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes youle-site-term-in {
    from {
        opacity: .45;
        transform: translateY(3px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .youle-sites-grid.is-updated,
    .youle-sites-section.is-term-loading .youle-sites-grid::after {
        animation: none;
    }
}

.youle-site-card {
    position: relative;
    min-width: 0;
    border: 1px solid var(--youle-border);
    border-radius: 8px;
    background: var(--youle-card-bg, var(--youle-page-bg));
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.youle-personal-nav {
    width: 100%;
    min-width: 0;
    margin: 18px 0;
    padding: 16px 0 4px;
}

.youle-personal-nav-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 22px;
}

.youle-personal-nav-tabs {
    display: inline-flex;
    align-items: center;
    padding: 3px;
    border-radius: 22px;
    background: var(--muted-bg-color, #e8e9eb);
}

.youle-personal-nav-tabs button {
    min-height: 34px;
    padding: 6px 14px;
    border: 0;
    border-radius: 18px;
    color: var(--muted-color, #8d9299);
    background: transparent;
    font-size: 14px;
    white-space: nowrap;
    transition: color .2s ease, background .2s ease;
}

.youle-personal-nav-tabs button.is-active {
    color: #fff;
    background: #f1404b;
}

.youle-personal-nav-panel {
    min-width: 0;
}

.youle-personal-nav-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 205px));
    gap: 10px 32px;
    min-width: 0;
}

.youle-personal-nav-item {
    position: relative;
    min-width: 0;
    border: 1px solid rgba(130, 138, 151, .08);
    border-radius: 6px;
    background: var(--main-bg-color, #fff);
    transition: border-color .18s ease, transform .18s ease;
}

.youle-personal-nav-item:hover {
    transform: translateY(-1px);
    border-color: rgba(241, 64, 75, .28);
}

.youle-personal-nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    min-height: 48px;
    padding: 8px 12px;
    color: var(--main-color, #2f3338);
}

.youle-personal-nav-icon {
    display: inline-flex;
    flex: 0 0 28px;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    overflow: hidden;
    border-radius: 50%;
    color: #fff;
    background: transparent;
    font-size: 13px;
    font-weight: 700;
}

.youle-personal-nav-icon img {
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: transparent;
    object-fit: cover;
}

img[data-youle-lazy] {
    opacity: .28;
    background-color: var(--muted-bg-color, #eef1f5);
}

img.is-youle-lazy-loading {
    opacity: .48;
}

img.is-youle-lazy-loaded {
    opacity: 1;
    transition: opacity .22s ease;
}

.youle-personal-nav-icon.is-letter {
    background: linear-gradient(135deg, #7367f0, #23c7a5);
}

.youle-personal-nav-link strong {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.youle-personal-nav-link > i {
    display: inline-flex;
    flex: 0 0 18px;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border: 1px solid var(--muted-border-color, #e2e5e9);
    border-radius: 50%;
    color: var(--muted-color, #a0a6af);
    font-size: 11px;
}

.youle-personal-nav-popover {
    position: absolute;
    z-index: 90;
    right: 10px;
    bottom: calc(100% + 9px);
    left: 10px;
    padding: 10px 12px;
    visibility: hidden;
    border-radius: 6px;
    color: #fff;
    background: rgba(17, 24, 39, .94);
    box-shadow: 0 12px 28px -12px rgba(0, 0, 0, .52);
    font-size: 12px;
    line-height: 1.65;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transform: translateY(5px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.youle-personal-nav-popover::after {
    position: absolute;
    top: 100%;
    left: 50%;
    border-top: 6px solid rgba(17, 24, 39, .94);
    border-right: 6px solid transparent;
    border-left: 6px solid transparent;
    content: "";
    transform: translateX(-50%);
}

.youle-personal-nav-item:hover .youle-personal-nav-popover,
.youle-personal-nav-item:focus-within .youle-personal-nav-popover {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.youle-personal-nav-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 58px;
    color: var(--muted-color, #9298a2);
}

.youle-personal-nav-empty[hidden] {
    display: none;
}

@media (max-width: 1480px) {
    .youle-personal-nav-grid {
        grid-template-columns: repeat(5, minmax(0, 205px));
        gap: 10px 24px;
    }
}

@media (max-width: 1180px) {
    .youle-personal-nav-grid {
        grid-template-columns: repeat(4, minmax(0, 205px));
        gap: 10px 20px;
    }
}

@media (max-width: 920px) {
    .youle-personal-nav-grid {
        grid-template-columns: repeat(3, minmax(0, 205px));
        gap: 10px;
    }
}

@media (max-width: 680px) {
    .youle-personal-nav {
        margin: 12px 0;
        padding-top: 10px;
    }

    .youle-personal-nav-head {
        margin-bottom: 14px;
    }

    .youle-personal-nav-grid {
        display: grid;
        grid-auto-columns: minmax(180px, 76vw);
        grid-auto-flow: column;
        grid-template-columns: none;
        overflow-x: auto;
        padding: 2px 1px 8px;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
    }

    .youle-personal-nav-grid::-webkit-scrollbar {
        display: none;
    }

    .youle-personal-nav-item {
        scroll-snap-align: start;
    }
}

@media (max-width: 380px) {
    .youle-personal-nav-tabs button {
        min-height: 32px;
        padding: 5px 11px;
        font-size: 13px;
    }

    .youle-personal-nav-grid {
        grid-auto-columns: minmax(172px, 82vw);
    }

}

.youle-site-card:hover {
    transform: translateY(-2px);
    border-color: rgba(36, 119, 242, .35);
    box-shadow: 0 10px 22px rgba(15, 23, 42, .08);
}

.youle-site-card.is-confirmed-dead {
    opacity: .78;
}

.youle-site-card.is-confirmed-dead:hover {
    transform: none;
    border-color: var(--youle-border);
    box-shadow: none;
}

.youle-site-main {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 78px;
    padding: 12px;
    color: var(--main-color, #1f2937);
    text-decoration: none;
}

.youle-site-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(125, 133, 149, .14);
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    color: #fff;
    font-weight: 700;
    box-shadow: 0 8px 18px -14px rgba(15, 23, 42, .5);
}

.youle-site-icon.is-letter {
    background: linear-gradient(135deg, #2f80ed, #56ccf2);
}

.youle-site-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.youle-site-body {
    flex: 1 1 0;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
}

.youle-site-title {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0 0 4px;
    font-size: 14px;
    line-height: 1.3;
}

.youle-site-desc {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow: visible;
    white-space: normal;
    color: rgba(100, 111, 128, .92);
    font-size: 12px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.youle-site-dead-mark {
    flex: 0 0 auto;
    padding: 3px 7px;
    border-radius: 4px;
    color: #c42b2b;
    background: #ffe8e8;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
}


.youle-archive {
    --youle-gap: 14px;
    --youle-card-bg: var(--main-bg-color, #fff);
    --youle-page-bg: var(--body-bg-color, #f5f7fb);
    --youle-border: var(--main-border-color, rgba(125, 133, 149, .18));
    --youle-muted: var(--muted-2-color, #667085);
    --youle-accent: var(--focus-color, #2477f2);
    min-width: 0;
}

.youle-site-archive-browser,
.youle-site-archive-browser *,
.youle-site-archive-browser *::before,
.youle-site-archive-browser *::after {
    box-sizing: border-box;
}

.youle-site-archive-browser {
    min-width: 0;
}

.youle-site-archive-taxonomy {
    max-width: 100%;
    min-width: 0;
    margin-bottom: var(--youle-gap);
    padding: 18px 20px;
    border: 1px solid var(--youle-border);
    border-radius: 8px;
    background: var(--youle-card-bg);
    box-shadow: var(--box-shadow, 0 8px 24px rgba(15, 23, 42, .06));
}

.youle-site-archive-level {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 20px;
    max-width: 100%;
    min-width: 0;
}

.youle-site-archive-term {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    color: var(--youle-muted);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
    white-space: nowrap;
    transition: color .18s ease;
}

.youle-site-archive-term:hover,
.youle-site-archive-term:focus-visible,
.youle-site-archive-term.is-active {
    color: var(--youle-accent);
}

.youle-site-archive-sublevels {
    display: grid;
    gap: 6px;
    margin-top: 8px;
    padding: 10px 12px;
    border-radius: 6px;
    background: var(--youle-page-bg);
}

.youle-site-archive-browser.is-loading [data-youle-archive-content] {
    opacity: .56;
    pointer-events: none;
}

.youle-site-archive-status {
    min-height: 20px;
    margin-top: calc(0px - var(--youle-gap) + 2px);
    color: var(--youle-muted);
    font-size: 12px;
    text-align: center;
}

.youle-site-archive-status:empty {
    display: none;
}

@media (max-width: 767px) {
    .youle-site-archive-taxonomy {
        padding: 12px;
    }

    .youle-site-archive-level {
        flex-wrap: nowrap;
        gap: 16px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .youle-site-archive-level::-webkit-scrollbar {
        display: none;
    }

    .youle-site-archive-sublevels {
        gap: 8px;
        padding: 9px 10px;
    }
}

.youle-site-detail-page .content-wrap,
.youle-site-detail-page .content-layout,
.youle-site-single {
    min-width: 0;
}

.youle-site-detail-page,
.youle-site-detail-page *,
.youle-site-detail-page *::before,
.youle-site-detail-page *::after {
    box-sizing: border-box;
}

.youle-site-single {
    display: block;
}

.youle-site-showcase {
    position: relative;
    margin-bottom: var(--youle-gap);
    overflow: hidden;
    border: 1px solid var(--youle-border);
    border-radius: 8px;
    background: var(--youle-card-bg);
    box-shadow: var(--box-shadow, 0 8px 24px rgba(15, 23, 42, .06));
}

.youle-site-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    min-height: 42px;
    padding: 0 16px;
    overflow-x: auto;
    color: var(--youle-muted);
    font-size: 12px;
    white-space: nowrap;
    scrollbar-width: none;
}

.youle-site-breadcrumb::-webkit-scrollbar {
    display: none;
}

.youle-site-breadcrumb a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: inherit;
}

.youle-site-breadcrumb a:hover {
    color: var(--youle-accent);
}

.youle-site-breadcrumb > i {
    color: var(--youle-muted);
    opacity: .65;
}

.youle-site-showcase-media,
.youle-site-showcase-visual {
    position: relative;
    min-width: 0;
}

.youle-site-showcase-visual {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--youle-page-bg);
}

.youle-site-showcase-image-link,
.youle-site-showcase-image {
    display: block;
    width: 100%;
    height: 100%;
}

.youle-site-showcase-image {
    object-fit: cover;
    object-position: top center;
}

.youle-site-showcase-fallback {
    position: absolute;
    inset: 0;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 9px;
    color: var(--youle-muted);
    background: var(--youle-page-bg);
    font-size: 13px;
}

.youle-site-showcase-fallback i {
    font-size: 34px;
    opacity: .6;
}

.youle-site-showcase-media.is-empty .youle-site-showcase-fallback,
.youle-site-showcase-media.is-image-error .youle-site-showcase-fallback {
    display: flex;
}

.youle-site-showcase-media.is-image-error .youle-site-showcase-image {
    display: none;
}

.youle-site-showcase-bar {
    position: absolute;
    z-index: 2;
    right: 18px;
    bottom: 18px;
    left: 18px;
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    min-height: 96px;
    padding: 14px 16px;
    border: 1px solid var(--youle-border);
    border-radius: 8px;
    background: var(--youle-card-bg);
    box-shadow: 0 12px 34px rgba(15, 23, 42, .16);
}

.youle-site-single-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    overflow: hidden;
    border-radius: 8px;
    color: #fff;
    background: transparent;
    font-size: 24px;
    font-weight: 800;
}

.youle-site-single-icon.is-letter {
    background: #16a085;
}

.youle-site-single-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.youle-site-showcase-info {
    min-width: 0;
}

.youle-site-showcase-info h1 {
    margin: 0;
    overflow: hidden;
    color: var(--main-color);
    font-size: 22px;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.youle-site-showcase-info p {
    display: -webkit-box;
    margin: 5px 0 0;
    overflow: hidden;
    color: var(--youle-muted);
    font-size: 13px;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}

.youle-site-showcase-open {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 140px;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 6px;
    color: #fff !important;
    background: var(--youle-accent);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
}

.youle-site-showcase-open:hover {
    color: #fff !important;
    filter: brightness(.96);
}

.youle-site-showcase-open.is-disabled {
    background: #98a2b3;
    cursor: not-allowed;
}

.youle-site-sticky-bar {
    position: fixed;
    z-index: 95;
    top: 76px;
    left: 50%;
    width: min(900px, calc(100vw - 32px));
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, -12px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}

.youle-site-sticky-bar.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

.youle-site-sticky-inner {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 11px;
    align-items: center;
    min-height: 62px;
    padding: 9px 10px;
    border: 1px solid var(--youle-border);
    border-radius: 8px;
    background: var(--youle-card-bg);
    box-shadow: 0 12px 30px rgba(15, 23, 42, .14);
}

.youle-site-sticky-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    overflow: hidden;
    border-radius: 7px;
    color: #fff;
    background: transparent;
    font-weight: 800;
}

.youle-site-sticky-icon.is-letter {
    background: #16a085;
}

.youle-site-sticky-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.youle-site-sticky-info {
    min-width: 0;
}

.youle-site-sticky-info strong,
.youle-site-sticky-info span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.youle-site-sticky-info strong {
    font-size: 14px;
}

.youle-site-sticky-info span {
    margin-top: 3px;
    color: var(--youle-muted);
    font-size: 11px;
}

.youle-site-sticky-inner > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 116px;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 6px;
    color: #fff !important;
    background: var(--youle-accent);
    font-size: 13px;
    font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
    .youle-site-sticky-bar,
    .youle-site-faq-list summary i {
        transition: none;
    }
}

.youle-site-control-panel {
    padding: 18px;
}

.youle-site-control-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    align-items: center;
}

.youle-site-action,
.youle-site-qr-action > summary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 38px;
    padding: 0 13px;
    border: 1px solid currentColor;
    border-radius: 6px;
    background: transparent;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none !important;
    cursor: pointer;
}

.youle-site-action svg {
    width: 1em;
    height: 1em;
}

.youle-site-action count {
    min-width: 12px;
    font-size: 11px;
    text-align: center;
}

.youle-site-action.is-favorite {
    color: #e54870;
}

.youle-site-action.is-like {
    color: #1a9b63;
}

.youle-site-action.is-feedback {
    color: #d84b55;
}

.youle-site-action.is-favorite.actived {
    color: #fff;
    background: #e54870;
}

.youle-site-action.is-like.actived {
    color: #fff;
    background: #1a9b63;
}

.youle-site-qr-action {
    position: relative;
    color: #c58a16;
}

.youle-site-qr-action > summary {
    list-style: none;
}

.youle-site-qr-action > summary::-webkit-details-marker {
    display: none;
}

.youle-site-qr-popover {
    position: absolute;
    z-index: 12;
    top: calc(100% + 9px);
    left: 50%;
    width: 168px;
    padding: 12px;
    border: 1px solid var(--youle-border);
    border-radius: 8px;
    color: var(--main-color);
    background: var(--youle-card-bg);
    box-shadow: var(--box-shadow, 0 8px 24px rgba(15, 23, 42, .12));
    text-align: center;
    transform: translateX(-50%);
}

.youle-site-qr-popover::before {
    content: "";
    position: absolute;
    top: -5px;
    left: 50%;
    width: 9px;
    height: 9px;
    border-top: 1px solid var(--youle-border);
    border-left: 1px solid var(--youle-border);
    background: var(--youle-card-bg);
    transform: translateX(-50%) rotate(45deg);
}

.youle-site-qr-popover .qrcode {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 140px;
}

.youle-site-qr-popover canvas,
.youle-site-qr-popover img {
    width: 140px !important;
    height: 140px !important;
}

.youle-site-qr-popover small {
    display: block;
    margin-top: 7px;
    color: var(--youle-muted);
    font-size: 11px;
}

.youle-site-dead-notice {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    max-width: 720px;
    margin-top: 16px;
    padding: 11px 13px;
    border: 1px solid rgba(196, 43, 43, .2);
    border-radius: 8px;
    color: #a82424;
    background: #fff3f3;
    font-size: 13px;
    line-height: 1.6;
}

.youle-site-dead-notice i {
    margin-top: 3px;
}

.youle-site-term-list {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 17px;
    padding-top: 15px;
    border-top: 1px solid var(--youle-border);
    color: var(--youle-muted);
    font-size: 13px;
}

.youle-site-term-list > span {
    flex: 0 0 auto;
    padding-top: 5px;
}

.youle-site-term-list > div {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    min-width: 0;
}

.youle-site-term-list a {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 14px;
    color: #b7791f;
    background: rgba(210, 150, 32, .1);
    font-size: 12px;
}

.youle-site-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 9px 18px;
    margin-top: 16px;
    padding: 11px 13px;
    border-radius: 6px;
    color: var(--youle-muted);
    background: var(--youle-page-bg);
    font-size: 12px;
}

.youle-site-facts span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.youle-site-fact-host {
    margin-left: auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.youle-site-weight-panel {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--youle-border);
}

.youle-site-weight-head,
.youle-site-weight-heading {
    display: flex;
    align-items: center;
}

.youle-site-weight-head {
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 11px;
}

.youle-site-weight-heading {
    gap: 9px;
    min-width: 0;
}

.youle-site-weight-heading > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    color: #fff;
    background: #4b6cb7;
    font-size: 13px;
}

.youle-site-weight-heading h3 {
    margin: 0;
    color: var(--main-color);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
}

.youle-site-weight-heading small {
    display: block;
    min-height: 16px;
    margin-top: 1px;
    overflow: hidden;
    color: var(--youle-muted);
    font-size: 11px;
    line-height: 1.45;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.youle-site-weight-head button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 1px solid var(--youle-border);
    border-radius: 6px;
    color: var(--youle-muted);
    background: var(--youle-card-bg);
    transition: color .18s ease, border-color .18s ease, background-color .18s ease;
}

.youle-site-weight-head button:hover,
.youle-site-weight-head button:focus-visible {
    border-color: var(--youle-accent);
    color: var(--youle-accent);
    background: var(--youle-page-bg);
}

.youle-site-weight-head button:disabled {
    opacity: .62;
    cursor: wait;
}

.youle-site-weight-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    min-width: 0;
}

.youle-site-weight-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 62px;
    padding: 10px;
    border-radius: 6px;
    color: var(--main-color);
    background: var(--youle-page-bg);
    text-decoration: none;
    transition: color .18s ease, background-color .18s ease;
}

.youle-site-weight-item:hover,
.youle-site-weight-item:focus-visible {
    color: var(--youle-accent);
    background: color-mix(in srgb, var(--youle-accent) 7%, var(--youle-page-bg));
}

.youle-site-weight-badge {
    position: relative;
    display: block;
    flex: 0 0 80px;
    width: 80px;
    height: 28px;
    overflow: hidden;
    border-radius: 3px;
    background: #3b82f6 url("../images/weight/baidupc.png") center / 100% 100% no-repeat;
}

.youle-site-weight-item.is-baidu-mobile .youle-site-weight-badge { background-color: #f0a126; background-image: url("../images/weight/baidumobile.png"); }
.youle-site-weight-item.is-haosou .youle-site-weight-badge { background-color: #22a45d; background-image: url("../images/weight/360.png"); }
.youle-site-weight-item.is-sm .youle-site-weight-badge { background-color: #ed8b0c; background-image: url("../images/weight/sm.png"); }
.youle-site-weight-item.is-toutiao .youle-site-weight-badge { background-color: #f34e62; background-image: url("../images/weight/toutiao.png"); }

.youle-site-weight-badge > strong {
    position: absolute;
    top: 0;
    right: 3px;
    width: 25px;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    line-height: 28px;
    text-align: center;
    text-shadow: 0 1px 1px rgba(0, 0, 0, .16);
}

.youle-site-weight-panel.is-loading .youle-site-weight-item strong {
    animation: youleWeightPulse .8s ease-in-out infinite alternate;
}

.youle-site-weight-panel.is-error .youle-site-weight-heading small {
    color: #c5434c;
}

@keyframes youleWeightPulse {
    from { opacity: .25; }
    to { opacity: .75; }
}

@media (max-width: 920px) {
    .youle-site-weight-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .youle-site-weight-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 7px;
    }

    .youle-site-weight-item {
        grid-column: span 3;
        min-height: 56px;
        padding: 8px;
    }

    .youle-site-weight-item:nth-last-child(-n+3) {
        grid-column: span 2;
    }

}

.youle-site-content-section {
    padding: 0;
    overflow: hidden;
}

.youle-site-desc-section {
    display: grid;
    gap: 10px;
}

.youle-site-desc-section .youle-section-head {
    margin-bottom: 0;
}

.youle-site-desc-section p {
    display: block;
    margin: 0;
    padding: 14px 16px;
    overflow: visible;
    border: 1px solid rgba(78, 115, 223, .12);
    border-radius: 8px;
    color: var(--main-color, #2f3338);
    background: rgba(246, 248, 252, .8);
    font-size: 14px;
    line-height: 1.8;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
    text-overflow: clip;
    -webkit-line-clamp: unset;
    -webkit-box-orient: unset;
}

.youle-site-content-tabs {
    display: flex;
    align-items: center;
    gap: 4px;
    min-height: 52px;
    padding: 0 16px;
    overflow-x: auto;
    border-bottom: 1px solid var(--youle-border);
    scrollbar-width: none;
}

.youle-site-content-tabs::-webkit-scrollbar {
    display: none;
}

.youle-site-content-tabs a {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    flex: 0 0 auto;
    min-height: 52px;
    padding: 0 13px;
    color: var(--youle-muted);
    font-size: 14px;
    font-weight: 600;
}

.youle-site-content-tabs a::after {
    content: "";
    position: absolute;
    right: 11px;
    bottom: 0;
    left: 11px;
    height: 2px;
    border-radius: 2px 2px 0 0;
    background: var(--youle-accent);
    opacity: 0;
}

.youle-site-content-tabs a.active,
.youle-site-content-tabs a:hover {
    color: var(--youle-accent);
}

.youle-site-content-tabs a.active::after {
    opacity: 1;
}

.youle-site-tab-content {
    padding: 20px;
}

.youle-site-tab-content .wp-posts-content {
    padding: 0;
}

.youle-site-tab-content .tab-pane:not(.active) {
    display: none;
}

.youle-site-faq-list details {
    border-bottom: 1px solid var(--youle-border);
}

.youle-site-faq-list details:last-child {
    border-bottom: 0;
}

.youle-site-faq-list summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 52px;
    color: var(--main-color);
    font-size: 14px;
    font-weight: 700;
    list-style: none;
    cursor: pointer;
}

.youle-site-faq-list summary::-webkit-details-marker {
    display: none;
}

.youle-site-faq-list summary i {
    flex: 0 0 auto;
    color: var(--youle-muted);
    transition: transform .2s ease;
}

.youle-site-faq-list details[open] summary i {
    transform: rotate(180deg);
}

.youle-site-faq-list details > div {
    padding: 0 28px 16px 0;
    color: var(--youle-muted);
    font-size: 13px;
    line-height: 1.8;
}

.youle-site-ping-section {
    --youle-ping-color: #6b7280;
    --youle-ping-soft: rgba(107, 114, 128, .1);
    --youle-ping-border: rgba(107, 114, 128, .26);
    margin-top: var(--youle-gap);
    padding: 18px;
    overflow: hidden;
}

.youle-site-ping-section.is-fast,
.youle-site-ping-section.is-online:not(.is-normal):not(.is-slow) {
    --youle-ping-color: #16a56f;
    --youle-ping-soft: rgba(22, 165, 111, .1);
    --youle-ping-border: rgba(22, 165, 111, .28);
}

.youle-site-ping-section.is-normal {
    --youle-ping-color: #d89a10;
    --youle-ping-soft: rgba(216, 154, 16, .11);
    --youle-ping-border: rgba(216, 154, 16, .3);
}

.youle-site-ping-section.is-slow,
.youle-site-ping-section.is-timeout {
    --youle-ping-color: #e56a2e;
    --youle-ping-soft: rgba(229, 106, 46, .11);
    --youle-ping-border: rgba(229, 106, 46, .3);
}

.youle-site-ping-section.is-error {
    --youle-ping-color: #dd4b58;
    --youle-ping-soft: rgba(221, 75, 88, .1);
    --youle-ping-border: rgba(221, 75, 88, .28);
}

.youle-site-ping-head,
.youle-site-ping-heading,
.youle-site-ping-status,
.youle-site-ping-button {
    display: flex;
    align-items: center;
}

.youle-site-ping-head {
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--youle-border);
}

.youle-site-ping-heading {
    gap: 12px;
    min-width: 0;
}

.youle-site-ping-heading-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    color: var(--youle-ping-color);
    background: var(--youle-ping-soft);
    font-size: 18px;
}

.youle-site-ping-heading h2 {
    margin: 0;
    font-size: 17px;
    line-height: 1.35;
}

.youle-site-ping-heading p {
    margin: 4px 0 0;
    color: var(--youle-muted);
    font-size: 12px;
    line-height: 1.5;
}

.youle-site-ping-button {
    justify-content: center;
    gap: 7px;
    flex: 0 0 auto;
    min-width: 104px;
    height: 38px;
    padding: 0 14px;
    border: 1px solid var(--youle-ping-border);
    border-radius: 8px;
    color: var(--youle-ping-color);
    background: var(--youle-ping-soft);
    font-weight: 700;
    cursor: pointer;
}

.youle-site-ping-button:hover:not(:disabled) {
    filter: brightness(.96);
}

.youle-site-ping-button:disabled {
    opacity: .65;
    cursor: wait;
}

.youle-site-ping-body {
    display: grid;
    grid-template-columns: minmax(220px, .82fr) minmax(320px, 1.18fr);
    gap: 18px;
    align-items: center;
    min-height: 108px;
    padding: 18px 0;
}

.youle-site-ping-status {
    gap: 14px;
    min-width: 0;
}

.youle-site-ping-orb {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    border: 1px solid var(--youle-ping-border);
    border-radius: 50%;
    color: var(--youle-ping-color);
    background: var(--youle-ping-soft);
    font-size: 22px;
}

.youle-site-ping-section.is-loading .youle-site-ping-orb::before {
    content: "";
    position: absolute;
    inset: -7px;
    border: 2px solid var(--youle-ping-border);
    border-radius: inherit;
    animation: youle-ping-pulse 1.2s ease-out infinite;
}

@keyframes youle-ping-pulse {
    0% {
        opacity: .85;
        transform: scale(.82);
    }

    100% {
        opacity: 0;
        transform: scale(1.18);
    }
}

.youle-site-ping-status strong {
    display: block;
    color: var(--youle-ping-color);
    font-size: 17px;
}

.youle-site-ping-status p {
    margin: 5px 0 0;
    color: var(--youle-muted);
    font-size: 12px;
    line-height: 1.55;
}

.youle-site-ping-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.youle-site-ping-metrics > div {
    min-width: 0;
    min-height: 82px;
    padding: 12px;
    border: 1px solid var(--youle-border);
    border-radius: 8px;
    background: var(--youle-page-bg);
    text-align: center;
}

.youle-site-ping-metrics > div.is-primary {
    border-color: var(--youle-ping-border);
    background: var(--youle-ping-soft);
}

.youle-site-ping-metrics span {
    display: block;
    color: var(--youle-muted);
    font-size: 11px;
}

.youle-site-ping-metrics strong {
    display: inline-block;
    min-width: 34px;
    margin-top: 7px;
    color: var(--youle-ping-color);
    font-size: 25px;
    line-height: 1;
}

.youle-site-ping-metrics em {
    margin-left: 2px;
    color: var(--youle-muted);
    font-size: 11px;
    font-style: normal;
}

.youle-site-ping-details {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border: 1px solid var(--youle-border);
    border-radius: 8px;
    background: var(--youle-border);
}

.youle-site-ping-details > span {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 2px 8px;
    min-width: 0;
    min-height: 68px;
    padding: 12px;
    background: var(--youle-page-bg);
}

.youle-site-ping-details i {
    grid-row: 1 / 3;
    margin-top: 2px;
    color: var(--youle-ping-color);
}

.youle-site-ping-details b,
.youle-site-ping-details em {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.youle-site-ping-details b {
    color: var(--youle-muted);
    font-size: 11px;
    font-weight: 500;
}

.youle-site-ping-details em {
    color: var(--main-color);
    font-size: 12px;
    font-style: normal;
}

.youle-site-ping-notice {
    min-height: 18px;
    margin-top: 9px;
    color: var(--youle-muted);
    font-size: 11px;
    text-align: right;
}

.youle-site-content-section .wp-posts-content {
    padding: 2px 0 0;
}

.youle-related-sites {
    margin-top: var(--youle-gap);
}

@media (max-width: 920px) {
    .youle-site-ping-body {
        grid-template-columns: 1fr;
    }

    .youle-site-ping-details {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .youle-site-showcase-bar {
        position: relative;
        right: auto;
        bottom: auto;
        left: auto;
        border: 0;
        border-top: 1px solid var(--youle-border);
        border-radius: 0;
        box-shadow: none;
    }
}

@media (max-width: 560px) {
    .youle-site-breadcrumb {
        min-height: 38px;
        padding: 0 12px;
    }

    .youle-site-showcase-bar {
        grid-template-columns: 48px minmax(0, 1fr);
        gap: 11px;
        padding: 13px;
    }

    .youle-site-single-icon {
        width: 48px;
        height: 48px;
        font-size: 19px;
    }

    .youle-site-showcase-info h1 {
        font-size: 18px;
    }

    .youle-site-showcase-info p {
        font-size: 12px;
        -webkit-line-clamp: 2;
    }

    .youle-site-showcase-open {
        grid-column: 1 / -1;
        width: 100%;
    }

    .youle-site-sticky-bar {
        top: 58px;
        width: calc(100vw - 20px);
    }

    .youle-site-sticky-inner {
        grid-template-columns: 38px minmax(0, 1fr) auto;
        min-height: 56px;
        padding: 8px;
    }

    .youle-site-sticky-icon {
        width: 38px;
        height: 38px;
    }

    .youle-site-sticky-info span {
        display: none;
    }

    .youle-site-sticky-inner > a {
        min-width: 40px;
        width: 40px;
        padding: 0;
    }

    .youle-site-sticky-inner > a span {
        display: none;
    }

    .youle-site-control-panel {
        padding: 14px;
    }

    .youle-site-action,
    .youle-site-qr-action {
        flex: 1 1 calc(50% - 5px);
        min-width: 0;
    }

    .youle-site-qr-action > summary {
        width: 100%;
    }

    .youle-site-qr-popover {
        right: auto;
        left: 0;
        transform: none;
    }

    .youle-site-qr-popover::before {
        right: auto;
        left: 36px;
        transform: rotate(45deg);
    }

    .youle-site-term-list {
        display: block;
    }

    .youle-site-term-list > span {
        display: block;
        margin-bottom: 8px;
        padding-top: 0;
    }

    .youle-site-fact-host {
        flex-basis: 100%;
        margin-left: 0;
    }

    .youle-site-content-tabs {
        min-height: 48px;
        padding: 0 8px;
    }

    .youle-site-content-tabs a {
        min-height: 48px;
        padding: 0 10px;
        font-size: 13px;
    }

    .youle-site-tab-content {
        padding: 16px 14px;
    }

    .youle-site-ping-section {
        padding: 14px;
    }

    .youle-site-ping-head {
        align-items: flex-start;
    }

    .youle-site-ping-heading-icon {
        flex-basis: 38px;
        width: 38px;
        height: 38px;
    }

    .youle-site-ping-button {
        width: 38px;
        min-width: 38px;
        padding: 0;
    }

    .youle-site-ping-button span {
        display: none;
    }

    .youle-site-ping-body {
        gap: 14px;
        padding: 15px 0;
    }

    .youle-site-ping-orb {
        flex-basis: 50px;
        width: 50px;
        height: 50px;
    }

    .youle-site-ping-metrics {
        gap: 6px;
    }

    .youle-site-ping-metrics > div {
        min-height: 72px;
        padding: 10px 6px;
    }

    .youle-site-ping-metrics strong {
        font-size: 21px;
    }

    .youle-site-ping-details {
        grid-template-columns: 1fr;
    }

    .youle-site-ping-details > span {
        min-height: 58px;
    }

    .youle-site-ping-notice {
        text-align: left;
    }
}
.youle-latest-posts {
    padding: 16px 14px 14px;
}

.youle-latest-posts-head {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    min-width: 0;
    margin-bottom: 14px;
}

.youle-latest-posts-head h2 {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 0;
    font-size: 19px;
    line-height: 1.35;
}

.youle-latest-posts-head h2 i {
    color: var(--youle-accent);
    font-size: 17px;
}

.youle-latest-posts-nav {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-width: 0;
    overflow: hidden;
}

.youle-latest-posts-tabs {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    min-width: 0;
    max-width: 100%;
    padding: 2px;
    overflow-x: auto;
    border-radius: 22px;
    background: var(--muted-bg-color, #e2e4e7);
    box-shadow: inset 0 0 0 1px rgba(70, 78, 89, .04);
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.youle-latest-posts-tabs::-webkit-scrollbar {
    display: none;
}

.youle-latest-posts-tabs button {
    flex: 0 0 auto;
    min-height: 30px;
    padding: 4px 11px;
    border: 0;
    border-radius: 18px;
    color: var(--muted-color, #878d96);
    background: transparent;
    font-size: 13px;
    line-height: 1.4;
    white-space: nowrap;
    box-shadow: none;
    transition: color .2s ease, background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.youle-latest-posts-tabs button:hover {
    color: var(--main-color, #2f3338);
    background: rgba(255, 255, 255, .58);
}

.youle-latest-posts-tabs button.is-active {
    color: #fff;
    background: #f1404b;
    box-shadow: 0 3px 10px rgba(241, 64, 75, .22);
}

.youle-latest-posts-tabs button.is-active:hover {
    color: #fff;
}

.youle-latest-posts-tabs button:focus-visible {
    outline: 2px solid var(--youle-accent, #f1404b);
    outline-offset: 2px;
}

.youle-latest-posts-more {
    flex: 0 0 auto;
    color: var(--muted-color, #7f8791);
    font-size: 13px;
}

.youle-latest-posts-head:not(.has-tabs) .youle-latest-posts-more {
    grid-column: 3;
}

.youle-latest-posts-panel[hidden] {
    display: none;
}

.youle-latest-posts-panel.is-active {
    animation: youle-latest-posts-in .2s ease;
}

@keyframes youle-latest-posts-in {
    from {
        opacity: .45;
        transform: translateY(3px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.youle-latest-posts-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
    min-width: 0;
}

.youle-nav-layout.has-right-sidebar .youle-latest-posts-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
}

.youle-latest-posts-grid .youle-latest-post-card:nth-child(n+7) {
    display: none;
}

.youle-latest-post-card {
    min-width: 0;
}

.youle-latest-post-thumb {
    display: block;
    width: 100%;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    border-radius: 6px;
    background: var(--muted-bg-color, #eef0f2);
}

.youle-latest-post-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .24s ease;
}

.youle-latest-post-card:hover .youle-latest-post-thumb img {
    transform: scale(1.025);
}

.youle-latest-post-card h3 {
    min-height: 36px;
    margin: 7px 0 5px;
    overflow: hidden;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.38;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.youle-latest-post-card h3 a {
    color: var(--main-color, #2f3338);
}

.youle-latest-post-meta,
.youle-latest-post-author,
.youle-latest-post-views {
    display: flex;
    align-items: center;
}

.youle-latest-post-meta {
    justify-content: space-between;
    gap: 6px;
    min-width: 0;
    color: var(--muted-color, #89909a);
    font-size: 10px;
}

.youle-latest-post-author {
    gap: 5px;
    min-width: 0;
}

.youle-latest-post-author > a:last-child {
    min-width: 0;
    overflow: hidden;
    color: var(--muted-2-color, #667085);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.youle-latest-post-author .avatar-img,
.youle-latest-post-author img {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    object-fit: cover;
}

.youle-latest-post-views {
    flex: 0 0 auto;
    gap: 4px;
}

.youle-latest-post-views svg {
    width: 13px;
    height: 13px;
}

.youle-site-comments {
    min-width: 0;
    margin-bottom: var(--youle-gap);
}

.youle-site-comments #comments {
    margin: 0;
}

@media (max-width: 1500px) {
    .youle-latest-posts-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

@media (max-width: 1180px) {
    .youle-latest-posts-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 920px) {
    .youle-latest-posts-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px 10px;
    }

    .youle-nav-layout.has-right-sidebar .youle-latest-posts-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .youle-latest-posts {
        padding: 14px 12px;
    }

    .youle-latest-posts-head h2 {
        gap: 6px;
        font-size: 15px;
        white-space: nowrap;
    }

    .youle-latest-posts-nav {
        width: auto;
        margin: 0;
    }

    .youle-latest-posts-tabs {
        display: flex;
        width: max-content;
        max-width: 100%;
        margin-right: 0;
    }

    .youle-latest-posts-tabs button {
        min-height: 28px;
        padding: 4px 9px;
        font-size: 12px;
    }

    .youle-latest-posts-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px 10px;
    }

    .youle-nav-layout.has-right-sidebar .youle-latest-posts-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .youle-latest-post-card h3 {
        min-height: 38px;
        margin: 7px 0 5px;
        font-size: 13px;
        line-height: 1.5;
    }

    .youle-latest-post-author > a:last-child {
        max-width: 64px;
    }
}

.youle-forum-list {
    display: grid;
    gap: 12px;
}

.youle-shop-grid .product-item {
    margin: 0;
}

.youle-single-site {
    display: grid;
    gap: 16px;
}

@media (max-width: 1280px) {
    .youle-nav-layout {
        grid-template-columns: 170px minmax(0, 1fr);
    }

    .youle-nav-layout.has-right-sidebar {
        grid-template-columns: 170px minmax(0, 1fr) minmax(220px, 250px);
    }

    .youle-sites-grid,
    .youle-shop-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 920px) {
    .youle-nav-right-sidebar.is-mobile-hidden {
        display: none;
    }

    .youle-nav-toolbar {
        position: static;
        grid-template-columns: 1fr;
    }

    .youle-nav-actions {
        overflow-x: auto;
        padding-bottom: 2px;
    }

    .youle-nav-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .youle-nav-layout.has-right-sidebar {
        grid-template-columns: minmax(0, 1fr);
    }

    .youle-nav-sidebar {
        position: static;
    }

    .youle-nav-menu {
        display: flex;
        max-width: 100%;
        min-width: 0;
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 2px;
        overscroll-behavior-inline: contain;
    }

    .youle-nav-menu a {
        flex: 0 0 auto;
        min-width: 132px;
    }

    .youle-nav-custom-links {
        display: flex;
        max-width: 100%;
        min-width: 0;
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 2px;
        overscroll-behavior-inline: contain;
    }

    .youle-nav-custom-links a {
        flex: 0 0 auto;
        min-width: 118px;
    }

    .youle-section {
        scroll-margin-top: 18px;
    }

}

@media (max-width: 680px) {
    .youle-sites-grid,
    .youle-shop-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .youle-site-main {
        min-height: 68px;
        padding: 10px;
    }

    .youle-nav-brand strong {
        font-size: 16px;
    }
}

@media (max-width: 460px) {
    .youle-shop-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .youle-nav-actions a span {
        display: none;
    }
}
.youle-sponsor-page {
    position: relative;
    overflow-x: hidden;
    overflow-x: clip;
    isolation: isolate;
    --youle-sponsor-accent: var(--youle-success, #12815b);
    --youle-sponsor-hot: var(--youle-danger, #cf3d52);
    --youle-sponsor-blue: var(--youle-primary, #246bd8);
}

.youle-sponsor-shell,
.youle-sponsor-page,
.youle-sponsor-page *,
.youle-sponsor-page *::before,
.youle-sponsor-page *::after {
    box-sizing: border-box;
}

.youle-sponsor-layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 18px;
    align-items: start;
}

.youle-sponsor-main h1 {
    margin: 4px 0 18px;
    font-size: 26px;
    line-height: 1.25;
}

.youle-sponsor-intro,
.youle-sponsor-section,
.youle-sponsor-form-sidebar {
    background: var(--main-bg-color);
    border: 1px solid var(--main-border-color);
    border-radius: 8px;
    box-shadow: var(--box-shadow);
}

.youle-sponsor-intro {
    margin-bottom: 18px;
    padding: 18px;
    color: var(--muted-2-color);
}

.youle-sponsor-intro p:last-child {
    margin-bottom: 0;
}

.youle-sponsor-section {
    margin-bottom: 18px;
    padding: 18px;
}

.youle-sponsor-section h2 {
    margin: 0 0 14px;
    font-size: 17px;
}

.youle-sponsor-card-group {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.youle-sponsor-card {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border-radius: 8px;
    background: var(--main-bg-color);
    border: 1px solid var(--main-border-color);
    box-shadow: 0 2px 8px rgba(15, 23, 42, .04);
    transition: border-color .2s ease, background-color .2s ease;
}

.youle-sponsor-card:hover,
.youle-sponsor-card:focus-within {
    border-color: #7bdc3a;
    background: #7bdc3a;
    box-shadow: none;
}

.youle-sponsor-card-tag {
    display: none;
}

.youle-sponsor-cover {
    display: none !important;
}

.youle-sponsor-preview {
    position: relative;
    display: none;
    aspect-ratio: 16 / 8.8;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(129, 215, 66, .18), rgba(41, 151, 247, .16));
}

.youle-sponsor-card-group.is-ranking .youle-sponsor-preview {
    display: block;
}

.youle-sponsor-preview-image {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    background: var(--muted-bg-color);
}

.youle-sponsor-preview-fallback {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(129, 215, 66, .2), rgba(41, 151, 247, .18));
}

.youle-sponsor-preview-fallback img,
.youle-sponsor-preview-fallback b {
    width: 72px;
    height: 72px;
    border-radius: 50%;
}

.youle-sponsor-preview-fallback img {
    object-fit: cover;
}

.youle-sponsor-preview-fallback b {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(135deg, #70d8ff, #8d6bff);
    font-size: 25px;
}

.youle-sponsor-preview.is-error .youle-sponsor-preview-image {
    display: none;
}

.youle-sponsor-info {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 104px;
    height: 100%;
    padding: 13px 14px;
    color: var(--main-color);
    text-decoration: none;
}

.youle-sponsor-card-group.is-ranking .youle-sponsor-info {
    height: auto;
    min-height: 146px;
}

.youle-sponsor-card-group.is-ranking .youle-sponsor-card:hover,
.youle-sponsor-card-group.is-ranking .youle-sponsor-card:focus-within {
    background: var(--main-bg-color);
}

.youle-sponsor-info > img,
.youle-sponsor-letter {
    flex: 0 0 auto;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--muted-bg-color);
}

.youle-sponsor-letter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(135deg, #70d8ff, #8d6bff);
    font-size: 20px;
    font-weight: 900;
}

.youle-sponsor-card-copy {
    flex: 1 1 auto;
    min-width: 0;
}

.youle-sponsor-card-copy strong,
.youle-sponsor-card-copy small {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.youle-sponsor-card-copy strong {
    color: var(--main-color);
    font-size: 15px;
    line-height: 1.35;
    white-space: nowrap;
}

.youle-sponsor-card-copy small {
    display: -webkit-box;
    margin-top: 5px;
    color: var(--muted-2-color);
    font-size: 12px;
    line-height: 1.55;
    white-space: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.youle-sponsor-card-group.is-ranking .youle-sponsor-card-copy small {
    -webkit-line-clamp: 3;
}

.youle-sponsor-card-meta {
    display: none;
    margin-top: 5px;
    color: var(--youle-sponsor-accent);
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    line-height: 1.35;
}

.youle-sponsor-hover {
    position: absolute;
    inset: 0;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    padding: 13px 16px;
    background: #7bdc3a;
    color: #fff;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .18s ease, transform .18s ease;
    pointer-events: none;
}

.youle-sponsor-hover strong {
    color: #fff;
    font-size: 15px;
    line-height: 1.35;
}

.youle-sponsor-hover small {
    display: -webkit-box;
    margin-top: 5px;
    overflow: hidden;
    color: rgba(255, 255, 255, .9);
    line-height: 1.55;
    white-space: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

.youle-sponsor-card-group.is-ranking .youle-sponsor-hover small {
    -webkit-line-clamp: 5;
}

.youle-sponsor-card:hover .youle-sponsor-info > img,
.youle-sponsor-card:hover .youle-sponsor-letter,
.youle-sponsor-card:hover .youle-sponsor-card-copy,
.youle-sponsor-card:focus-within .youle-sponsor-info > img,
.youle-sponsor-card:focus-within .youle-sponsor-letter,
.youle-sponsor-card:focus-within .youle-sponsor-card-copy {
    opacity: 0;
}

.youle-sponsor-card:hover .youle-sponsor-hover,
.youle-sponsor-card:focus-within .youle-sponsor-hover {
    opacity: 1;
    transform: translateY(0);
}

.youle-sponsor-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.youle-sponsor-list-item {
    min-width: 0;
    border-radius: 8px;
    background: var(--main-bg-color);
    border: 1px solid var(--main-border-color);
}

.youle-sponsor-list-item a {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 104px;
    padding: 13px 14px;
    color: var(--main-color);
}

.youle-sponsor-list-item img {
    flex: 0 0 auto;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    object-fit: cover;
}

.youle-sponsor-form-sidebar {
    position: sticky;
    top: 86px;
    padding: 14px;
}

.youle-sponsor-form-head {
    margin-bottom: 12px;
}

.youle-sponsor-form-head strong,
.youle-sponsor-form-head span {
    display: block;
}

.youle-sponsor-form-head strong {
    font-size: 18px;
}

.youle-sponsor-form-head span,
.youle-sponsor-note {
    color: var(--muted-2-color);
    font-size: 12px;
}

.youle-sponsor-form label {
    display: block;
    margin-bottom: 10px;
    font-size: 13px;
    color: var(--muted-2-color);
}

.youle-sponsor-hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.youle-sponsor-form input[type="text"],
.youle-sponsor-form input[type="url"],
.youle-sponsor-form input[type="email"],
.youle-sponsor-form textarea {
    display: block;
    width: 100%;
    margin-top: 5px;
    border: 1px solid var(--main-border-color);
    border-radius: 8px;
    background: var(--body-bg-color);
    color: var(--main-color);
    padding: 9px 10px;
}

.youle-sponsor-amounts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin: 8px 0;
}

.youle-sponsor-amount {
    min-height: 48px;
    border: 1px solid var(--main-border-color);
    border-radius: 8px;
    background: var(--body-bg-color);
    color: var(--main-color);
    font-weight: 700;
    cursor: pointer;
}

.youle-sponsor-amount span {
    color: var(--muted-2-color);
    font-weight: 400;
}

.youle-sponsor-amount.active,
.youle-sponsor-amount:hover {
    border-color: var(--youle-sponsor-accent);
    color: var(--youle-sponsor-accent);
    background: rgba(129, 215, 66, .1);
}

.youle-sponsor-paid {
    display: flex !important;
    align-items: center;
    gap: 8px;
    padding: 12px;
    border-radius: 8px;
    background: rgba(241, 64, 75, .08);
    color: var(--main-color) !important;
}

.youle-sponsor-paid strong {
    margin-left: auto;
    color: var(--youle-sponsor-hot);
}

.youle-sponsor-paid del {
    color: var(--muted-2-color);
}

.youle-sponsor-note {
    margin: 10px 0;
    line-height: 1.55;
}

.youle-sponsor-total {
    margin: 10px 0;
    padding: 10px 12px;
    border-radius: 8px;
    background: var(--muted-bg-color);
    font-weight: 700;
}

.youle-sponsor-total strong {
    color: var(--youle-sponsor-hot);
    font-size: 18px;
}

.youle-sponsor-submit,
.youle-sponsor-pay-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 42px;
    border: 0;
    border-radius: 8px;
    color: #fff;
    background: var(--youle-sponsor-blue);
    font-weight: 700;
    cursor: pointer;
}

.youle-sponsor-notice {
    margin-top: 10px;
    font-size: 13px;
    color: var(--muted-2-color);
}

.youle-sponsor-notice.is-error {
    color: var(--youle-sponsor-hot);
}

.youle-sponsor-notice.is-success {
    color: var(--youle-sponsor-accent);
}

.youle-sponsor-pay {
    display: grid;
    gap: 8px;
    justify-items: center;
    margin-top: 10px;
    color: var(--main-color);
}

.youle-sponsor-pay img {
    width: 150px;
    height: 150px;
    object-fit: contain;
    border-radius: 8px;
    background: #fff;
}

.youle-sponsor-pay-link {
    margin-top: 10px;
    text-decoration: none;
}
.youle-sponsor-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: rgba(15, 23, 42, .48);
}

.youle-sponsor-modal-panel {
    width: min(430px, 100%);
    padding: 20px;
    border-radius: 8px;
    background: var(--main-bg-color, #fff);
    color: var(--main-color, #1f2937);
    box-shadow: 0 24px 70px rgba(15, 23, 42, .28);
}

.youle-sponsor-modal-title {
    display: block;
    font-size: 20px;
    line-height: 1.3;
}

.youle-sponsor-modal-desc {
    margin: 8px 0 12px;
    color: var(--muted-2-color, #667085);
    line-height: 1.6;
}

.youle-sponsor-modal-total {
    margin-bottom: 14px;
    padding: 10px 12px;
    border-radius: 8px;
    background: var(--muted-bg-color, #f3f6f9);
    font-weight: 700;
}

.youle-sponsor-modal-qr {
    display: grid;
    gap: 8px;
    justify-items: center;
    margin-bottom: 12px;
}

.youle-sponsor-modal-qr img {
    width: 190px;
    height: 190px;
    object-fit: contain;
    border-radius: 8px;
    background: #fff;
}

.youle-sponsor-modal-qr span {
    color: var(--muted-2-color, #667085);
    font-size: 13px;
}

.youle-sponsor-modal-pay-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    margin-bottom: 12px;
    border-radius: 8px;
    color: #fff !important;
    background: var(--youle-sponsor-blue, #2997f7);
    font-weight: 700;
    text-decoration: none;
}

.youle-sponsor-modal-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
    gap: 10px;
}

.youle-sponsor-modal-actions button {
    min-height: 42px;
    border: 0;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
}

.youle-sponsor-modal-close {
    color: var(--main-color, #1f2937);
    background: var(--muted-bg-color, #f3f6f9);
}

.youle-sponsor-modal-confirm {
    color: #fff;
    background: var(--youle-sponsor-hot, #f1404b);
}

.youle-sponsor-modal-confirm:disabled {
    cursor: wait;
    opacity: .72;
}

@media (max-width: 460px) {
    .youle-sponsor-modal-actions {
        grid-template-columns: 1fr;
    }
}


.youle-sponsor-float-full {
    position: absolute;
    inset: 0;
    z-index: 1;
    contain: paint;
    pointer-events: none;
    overflow: hidden;
}

.youle-sponsor-float-word {
    position: absolute;
    left: var(--fx);
    bottom: -48px;
    color: rgba(241, 116, 135, .32);
    font-weight: 700;
    line-height: 1;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-shadow: 0 1px 0 rgba(255, 255, 255, .5);
    animation: youle-sponsor-float var(--fd) linear infinite;
    animation-delay: var(--fdelay);
}

@keyframes youle-sponsor-float {
    from {
        transform: translate3d(0, 0, 0);
        opacity: 0;
    }

    15% {
        opacity: 1;
    }

    to {
        transform: translate3d(0, -110vh, 0);
        opacity: 0;
    }
}

.youle-sponsor-empty {
    padding: 30px;
    border-radius: 8px;
    background: var(--body-bg-color);
    color: var(--muted-2-color);
    text-align: center;
}

#youle-sponsor-bubbles {
    position: fixed;
    right: 78px;
    bottom: 22px;
    z-index: 98;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    width: max-content;
    max-width: min(460px, calc(100vw - 110px));
    contain: layout paint;
    pointer-events: none;
}

.youle-sponsor-bubble {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    max-width: 100%;
    min-height: 50px;
    padding: 0 18px 0 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--bubble-start, #98df36) 0%, var(--bubble-end, #35c56b) 100%);
    color: #fff !important;
    box-shadow: none;
    transform: translate3d(0, 8px, 0);
    opacity: 0;
    pointer-events: auto;
    transition: transform .32s ease, opacity .32s ease;
}

.youle-sponsor-bubble:hover {
    color: #fff !important;
    transform: translate3d(-4px, 0, 0);
    box-shadow: none;
}

.youle-sponsor-bubble.is-visible {
    transform: translate3d(0, 0, 0);
    opacity: 1;
}

.youle-sponsor-bubble.is-leaving {
    transform: translate3d(0, 8px, 0);
    opacity: 0;
}

.youle-sponsor-bubble img,
.youle-sponsor-bubble-letter {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    background: #fff;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, .75);
}

.youle-sponsor-bubble-letter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--bubble-end, #35c56b);
    font-size: 13px;
    font-weight: 800;
}

.youle-sponsor-bubble-text {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    text-shadow: 0 1px 0 rgba(0, 0, 0, .06);
}

.youle-sponsor-bubble-mark {
    position: relative;
    flex: 0 0 auto;
    width: 16px;
    height: 20px;
    margin-left: 2px;
}

.youle-sponsor-bubble-mark::before {
    content: "\1F339";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    line-height: 1;
}

.youle-sponsor-bubble em {
    flex: 0 0 auto;
    font-style: normal;
    line-height: 1;
}
@media (max-width: 768px) {
    #youle-sponsor-bubbles {
        display: none;
    }

    .youle-bottom-float.is-device-pc,
    .youle-bottom-float-mini.is-device-pc {
        display: none;
    }
}

@media (min-width: 769px) {
    .youle-bottom-float.is-device-mobile,
    .youle-bottom-float-mini.is-device-mobile {
        display: none;
    }
}

@media (max-width: 1100px) {
    .youle-home-ad-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .youle-permanent-sponsor-track {
        grid-auto-columns: min(var(--youle-permanent-card-width, 210px), 72vw);
    }

    .youle-sponsor-layout {
        grid-template-columns: 1fr;
    }

    .youle-sponsor-form-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .youle-sponsor-shell {
        width: 100%;
        max-width: 100%;
        padding-right: 12px;
        padding-left: 12px;
    }

    .youle-sponsor-page {
        width: 100%;
    }

    .youle-sponsor-layout {
        gap: 12px;
    }

    .youle-sponsor-main h1 {
        margin: 0 0 12px;
        font-size: 22px;
    }

    .youle-sponsor-intro,
    .youle-sponsor-section {
        margin-bottom: 12px;
        padding: 14px;
    }

    .youle-sponsor-intro {
        font-size: 13px;
        line-height: 1.65;
    }

    .youle-sponsor-section h2 {
        margin-bottom: 12px;
        font-size: 16px;
    }

    .youle-sponsor-form-sidebar {
        padding: 14px;
    }

    .youle-home-hero {
        min-height: 360px;
        padding-top: 20px;
    }

    .youle-home-hero-inner {
        width: 100%;
        margin-bottom: 44px;
    }

    .youle-home-hero-title h1 {
        font-size: 28px;
    }

    .youle-home-search-tab {
        min-width: auto;
        padding: 0 15px;
    }

    .youle-home-ad-board {
        width: 100%;
        padding: 10px;
    }

    .youle-home-ad-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .youle-permanent-sponsors {
        margin-top: 0;
    }

    .youle-sponsor-card-group,
    .youle-sponsor-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .youle-sponsor-card-group.is-ranking .youle-sponsor-preview {
        aspect-ratio: 16 / 9;
    }

    .youle-bottom-float,
    .youle-bottom-float.is-pc-left,
    .youle-bottom-float.is-pc-right {
        left: var(--youle-bottom-mobile-margin, 12px);
        right: var(--youle-bottom-mobile-margin, 12px);
        bottom: calc(var(--youle-bottom-mobile-bottom, 12px) + env(safe-area-inset-bottom));
        gap: 8px;
        width: auto;
        min-height: 64px;
        padding: 9px 40px 9px 9px;
        transform: none;
    }

    .youle-bottom-float::before {
        top: 10px;
        bottom: 10px;
        width: 3px;
    }

    .youle-bottom-float-close {
        top: 6px;
        right: 6px;
    }

    .youle-bottom-float-brand {
        flex: 1 1 0;
        gap: 9px;
    }

    .youle-bottom-float.is-minimized,
    .youle-bottom-float.is-pc-left.is-minimized,
    .youle-bottom-float.is-pc-right.is-minimized {
        transform: translateY(18px) scale(.96);
    }

    .youle-bottom-float-mini {
        left: var(--youle-bottom-mobile-margin, 12px);
        bottom: calc(var(--youle-bottom-mobile-bottom, 12px) + env(safe-area-inset-bottom));
        max-width: min(180px, calc(100vw - var(--youle-bottom-mobile-margin, 12px) * 2));
    }

    .youle-bottom-float-actions {
        gap: 6px;
        padding-left: 8px;
    }

    .youle-bottom-float .youle-bottom-float-action {
        min-width: 40px;
        width: 40px;
        height: 40px;
        padding: 0;
        border-radius: 9px;
    }

    .youle-bottom-float .youle-bottom-float-action span {
        display: none;
    }

    .youle-bottom-float.is-mobile-avatar-hidden .youle-bottom-float-avatar,
    .youle-bottom-float.is-mobile-subtitle-hidden .youle-bottom-float-text small,
    .youle-bottom-float.is-mobile-buttons-hidden .youle-bottom-float-actions {
        display: none;
    }

    .youle-bottom-float.is-mobile-button-text {
        flex-wrap: wrap;
        gap: 8px;
        padding-top: 11px;
        padding-bottom: 11px;
    }

    .youle-bottom-float.is-mobile-button-text .youle-bottom-float-brand {
        flex: 1 0 100%;
        width: 100%;
    }

    .youle-bottom-float.is-mobile-button-text .youle-bottom-float-actions {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: minmax(0, 1fr);
        flex: 1 0 100%;
        box-sizing: border-box;
        width: 100%;
        padding: 8px 0 0;
        border-top: 1px solid rgba(255, 255, 255, .18);
        border-left: 0;
    }

    .youle-bottom-float.is-mobile-button-text .youle-bottom-float-action {
        width: auto;
        min-width: 0;
        height: 38px;
        padding: 0 10px;
    }

    .youle-bottom-float.is-mobile-button-text .youle-bottom-float-action span {
        display: inline;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

@media (max-width: 560px) {
    .youle-ad-modal {
        align-items: flex-end;
        padding: 10px 10px 0;
    }

    .youle-ad-modal-panel {
        width: 100%;
        max-height: calc(100vh - 10px);
        max-height: calc(100dvh - 10px);
        padding: 16px;
        border-radius: 8px 8px 0 0;
    }

    .youle-ad-modal-panel > p {
        margin-bottom: 10px;
    }

    .youle-ad-apply-form {
        gap: 9px;
    }

    .youle-sponsor-shell {
        padding-right: 10px;
        padding-left: 10px;
    }

    .youle-sponsor-card-group,
    .youle-sponsor-list {
        gap: 9px;
    }

    .youle-sponsor-card-group.is-ranking .youle-sponsor-preview {
        aspect-ratio: 16 / 8.5;
    }

    .youle-sponsor-card-group.is-ranking .youle-sponsor-info {
        min-height: 0;
    }

    .youle-sponsor-card {
        box-shadow: none;
    }

    .youle-sponsor-info {
        align-items: flex-start;
        min-height: 0;
        padding: 12px;
    }

    .youle-sponsor-info > img,
    .youle-sponsor-letter {
        width: 48px;
        height: 48px;
    }

    .youle-sponsor-card-copy strong {
        font-size: 14px;
    }

    .youle-sponsor-card-copy small {
        margin-top: 3px;
        font-size: 12px;
        -webkit-line-clamp: 3;
    }

    .youle-sponsor-card-meta {
        display: block;
    }

    .youle-sponsor-form input[type="text"],
    .youle-sponsor-form input[type="url"],
    .youle-sponsor-form input[type="email"],
    .youle-sponsor-form textarea {
        min-height: 42px;
        font-size: 16px;
    }

    .youle-sponsor-form textarea {
        min-height: 86px;
    }

    .youle-sponsor-amounts {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 6px;
    }

    .youle-sponsor-amount {
        min-width: 0;
        min-height: 44px;
        padding: 0 3px;
        font-size: 13px;
    }

    .youle-sponsor-paid {
        flex-wrap: wrap;
        gap: 6px;
        padding: 10px;
    }

    .youle-sponsor-paid strong {
        margin-left: auto;
    }

    .youle-sponsor-note {
        font-size: 12px;
    }

    .youle-sponsor-submit,
    .youle-sponsor-pay-link {
        min-height: 46px;
    }

    .youle-sponsor-modal {
        align-items: flex-end;
        padding: 0;
    }

    .youle-sponsor-modal-panel {
        width: 100%;
        max-height: calc(100vh - 20px);
        padding: 16px;
        overflow-y: auto;
        border-radius: 8px 8px 0 0;
    }

    .youle-sponsor-modal-qr img {
        width: min(180px, 52vw);
        height: min(180px, 52vw);
    }

    .youle-home-hero {
        min-height: 430px;
        padding-left: 12px;
        padding-right: 12px;
    }

    .youle-home-hero-title {
        margin-top: 0;
        margin-bottom: 14px;
    }

    .youle-home-hero-title h1 {
        font-size: 24px;
    }

    .youle-home-hero-title p {
        font-size: 13px;
    }

    .youle-home-search-form {
        height: 50px;
    }

    .youle-home-search-form input {
        padding: 0 14px;
        font-size: 15px;
    }

    .youle-home-search-form button {
        flex-basis: 50px;
        width: 50px;
    }

    .youle-home-ad-head {
        align-items: center;
        flex-direction: row;
        flex-wrap: nowrap;
    }

    .youle-home-ad-head > div {
        flex: 1 1 auto;
        overflow: hidden;
    }

    .youle-home-ad-head strong {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .youle-home-ad-head button {
        margin-left: auto;
    }

    .youle-home-ad-item {
        gap: 7px;
        min-height: 34px;
        padding: 0 8px;
    }

    .youle-home-ad-item em {
        display: none;
    }

    .youle-permanent-sponsor-track {
        grid-template-rows: repeat(var(--youle-permanent-rows, 2), 60px);
        grid-auto-columns: min(var(--youle-permanent-card-width, 210px), 78vw);
        gap: 8px;
    }

    .youle-sponsor-card-group,
    .youle-sponsor-list {
        grid-template-columns: 1fr;
    }

    .youle-ad-device-options {
        grid-template-columns: 1fr;
    }

    .youle-friend-link-list {
        padding: 14px;
        gap: 8px 10px;
    }

    .youle-bottom-float-avatar {
        flex-basis: 42px;
        width: 42px;
        height: 42px;
    }

    .youle-bottom-float-text strong {
        display: -webkit-box;
        overflow: hidden;
        font-size: 15px;
        line-height: 1.3;
        white-space: normal;
        overflow-wrap: anywhere;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .youle-bottom-float-text small {
        display: -webkit-box;
        overflow: hidden;
        font-size: 11.5px;
        line-height: 1.35;
        white-space: normal;
        overflow-wrap: anywhere;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }
}

@media (max-width: 359px) {
    .youle-sponsor-amounts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .youle-bottom-float-text strong {
        font-size: 14px;
    }

    .youle-bottom-float-text small {
        display: none;
    }
}

@media (hover: none), (pointer: coarse) {
    .youle-sponsor-card-meta {
        display: block;
    }

    .youle-sponsor-card:hover,
    .youle-sponsor-card:focus-within {
        border-color: var(--main-border-color);
        background: var(--main-bg-color);
    }

    .youle-sponsor-card:hover .youle-sponsor-info > img,
    .youle-sponsor-card:hover .youle-sponsor-letter,
    .youle-sponsor-card:hover .youle-sponsor-card-copy,
    .youle-sponsor-card:focus-within .youle-sponsor-info > img,
    .youle-sponsor-card:focus-within .youle-sponsor-letter,
    .youle-sponsor-card:focus-within .youle-sponsor-card-copy {
        opacity: 1;
    }

    .youle-sponsor-hover {
        display: none !important;
    }
}

.youle-submit-page {
    max-width: 860px;
}

.youle-submit-box {
    margin: 28px auto;
    padding: 28px;
    border-radius: 8px;
    background: var(--main-bg-color, #fff);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
}

.youle-submit-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.youle-submit-form label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-weight: 700;
}

.youle-submit-form label:nth-of-type(3) {
    grid-column: 1 / -1;
}

.youle-submit-form input,
.youle-submit-form select,
.youle-submit-form textarea {
    width: 100%;
    border: 1px solid rgba(125, 133, 149, .24);
    border-radius: 6px;
    padding: 10px 12px;
    background: rgba(248, 250, 252, .88);
    box-sizing: border-box;
}

.youle-submit-button {
    grid-column: 1 / -1;
    min-height: 42px;
    border: 0;
    border-radius: 6px;
    color: #fff;
    font-weight: 700;
    background: linear-gradient(135deg, #6d3cff, #e62b93);
}

.youle-submit-notice {
    grid-column: 1 / -1;
    min-height: 22px;
    color: #667085;
}

.youle-submit-notice.is-success {
    color: #169b62;
}

.youle-submit-notice.is-error {
    color: #d64242;
}

.youle-profile-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: var(--main-bg-color, #fff);
    border: 1px solid var(--main-border-color, rgba(125, 133, 149, .15));
    box-shadow: 0 14px 36px -30px rgba(15, 23, 42, .45);
}

.widget_youle_profile_card {
    overflow: hidden;
    padding: 0;
}

.youle-profile-cover {
    position: relative;
    height: 92px;
    background-color: #1f6feb;
    background-image:
        radial-gradient(circle at 16% 18%, rgba(255, 255, 255, .34), transparent 28%),
        linear-gradient(135deg, #168c76, #2d6cdf 58%, #e25578);
    background-size: cover;
    background-position: center;
}

.youle-profile-cover:before,
.youle-profile-cover:after {
    position: absolute;
    inset: 0;
    content: "";
    pointer-events: none;
}

.youle-profile-cover:before {
    background:
        linear-gradient(180deg, rgba(15, 23, 42, .02), rgba(15, 23, 42, .26));
}

.youle-profile-cover:after {
    inset: auto 0 0;
    height: 52px;
    background: linear-gradient(180deg, transparent, rgba(15, 23, 42, .24));
}

.youle-profile-body {
    position: relative;
    z-index: 1;
    padding: 0 14px 14px;
}

.youle-profile-identity {
    display: grid;
    justify-items: center;
    gap: 8px;
    min-width: 0;
    text-align: center;
}

.youle-profile-copy {
    width: 100%;
    min-width: 0;
    padding: 0 4px;
}

.youle-profile-avatar {
    position: relative;
    width: 64px;
    height: 64px;
    margin-top: -34px;
    overflow: hidden;
    border: 3px solid var(--main-bg-color, #fff);
    border-radius: 18px;
    background: var(--main-bg-color, #fff);
    box-shadow: 0 13px 30px -18px rgba(15, 23, 42, .62);
}

.youle-profile-avatar img,
.youle-profile-avatar span {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    object-fit: cover;
    color: #fff;
    background:
        linear-gradient(135deg, var(--youle-primary, #2477f2), var(--youle-secondary, #16a085));
    font-size: 26px;
    font-weight: 800;
}

.youle-profile-card h3 {
    margin: 0;
    overflow: hidden;
    color: var(--main-color, #2f3338);
    font-size: 18px;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.youle-profile-card p {
    margin: 5px auto 0;
    max-width: 220px;
    overflow: hidden;
    color: var(--muted-color, #7d838c);
    font-size: 13px;
    line-height: 1.5;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.youle-sponsor-widget {
    padding: 16px;
}

.youle-sponsor-widget-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f1404b;
}

.youle-sponsor-widget-head strong {
    color: var(--main-color, #2f3338);
    font-size: 17px;
}

.youle-sponsor-widget-head a {
    flex: 0 0 auto;
    padding: 6px 9px;
    border-radius: 4px;
    color: #fff;
    background: linear-gradient(135deg, #bd86f8, #ff5d69);
    font-size: 13px;
    line-height: 1;
}

.youle-sponsor-widget-list {
    display: grid;
}

.youle-sponsor-widget-list > a {
    display: grid;
    grid-template-columns: 34px 15px minmax(0, 1fr) auto;
    gap: 6px;
    align-items: center;
    min-width: 0;
    min-height: 47px;
    border-bottom: 1px solid var(--main-border-color, rgba(50, 50, 50, .07));
    color: var(--main-color, #444);
}

.youle-sponsor-widget-list > a:last-child {
    border-bottom: 0;
}

.youle-sponsor-widget-icon,
.youle-sponsor-widget-icon img,
.youle-sponsor-widget-letter {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    object-fit: cover;
    overflow: hidden;
    border-radius: 50%;
}

.youle-sponsor-widget-letter {
    color: #fff;
    background: #2477f2;
    font-weight: 750;
}

.youle-sponsor-widget-list > a > .fa {
    color: #f0a000;
    font-size: 12px;
    text-align: center;
}

.youle-sponsor-widget-list > a > .fa.is-top-2 { color: #7f9aca; }
.youle-sponsor-widget-list > a > .fa.is-top-3 { color: #c08145; }

.youle-sponsor-widget-name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.youle-sponsor-widget-list em {
    padding: 5px 7px;
    border-radius: 4px;
    color: #f26822;
    background: #fff1dc;
    font-size: 11px;
    font-style: normal;
    font-weight: 700;
    white-space: nowrap;
}

.youle-site-search-results {
    padding: 14px;
    border-radius: 8px;
    background: var(--main-bg-color, #fff);
}

.youle-site-search-results .youle-sites-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.youle-profile-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin: 14px 0 0;
    padding: 10px 4px;
    border: 1px solid rgba(125, 133, 149, .12);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .88), rgba(248, 250, 252, .78)),
        rgba(125, 133, 149, .045);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7);
}

.youle-profile-stats span {
    position: relative;
    display: grid;
    justify-items: center;
    align-content: center;
    min-width: 0;
    min-height: 50px;
    padding: 4px;
    text-align: center;
}

.youle-profile-stats span + span {
    border-left: 1px solid rgba(99, 132, 184, .12);
}

.youle-profile-stats i {
    display: grid;
    width: 16px;
    height: 16px;
    place-items: center;
    border-radius: 50%;
    color: var(--youle-primary, var(--youle-accent, #2477f2));
    background: transparent;
    font-size: 10px;
    opacity: .72;
}

.youle-profile-stats strong {
    display: block;
    width: 100%;
    min-width: 0;
    margin-top: 4px;
    overflow: visible;
    color: var(--main-color, #242a35);
    font-size: 18px;
    line-height: 1;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0;
    white-space: nowrap;
}

.youle-profile-stats em {
    display: block;
    width: 100%;
    margin-top: 5px;
    overflow: hidden;
    color: #6d7480;
    font-style: normal;
    font-size: 12px;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 360px) {
    .youle-profile-cover {
        height: 86px;
    }

    .youle-profile-body {
        padding-right: 12px;
        padding-left: 12px;
    }

    .youle-profile-avatar {
        width: 58px;
        height: 58px;
        margin-top: -31px;
    }

    .youle-profile-stats {
        padding: 8px 2px;
    }

    .youle-profile-stats span {
        min-height: 46px;
        padding: 6px 2px;
    }

    .youle-profile-stats i {
        top: 4px;
        width: 16px;
        height: 16px;
        font-size: 10px;
    }

    .youle-profile-stats strong {
        margin-top: 9px;
        font-size: 16px;
    }

    .youle-profile-stats em {
        font-size: 11px;
    }
}

@media (max-width: 560px) {
    .youle-contribute-actions {
        grid-template-columns: 1fr;
    }

    .youle-contribute-actions > div {
        padding: 22px 16px;
    }

    .youle-submit-form {
        grid-template-columns: 1fr;
    }

}

.youle-dailyhot-list {
    display: grid;
}

.youle-dailyhot-list > a {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
    min-width: 0;
    min-height: 38px;
    border-bottom: 1px solid var(--main-border-color, rgba(50, 50, 50, .07));
    color: var(--main-color, #414750);
    font-size: 13px;
}

.youle-dailyhot-list > a:last-child {
    border-bottom: 0;
}

.youle-dailyhot-rank {
    display: grid;
    width: 22px;
    height: 22px;
    place-items: center;
    border-radius: 5px;
    color: var(--muted-color, #888);
    background: var(--muted-bg-2-color, #f6f7f8);
    font-size: 11px;
    font-weight: 700;
}

.youle-dailyhot-list > a:nth-child(-n+3) .youle-dailyhot-rank {
    color: #fff;
    background: #f04494;
}

.youle-dailyhot-title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.youle-dailyhot-list em {
    color: var(--muted-2-color, #999);
    font-size: 11px;
    font-style: normal;
}

.youle-dailyhot-meta {
    margin-top: 9px;
    color: var(--muted-2-color, #999);
    font-size: 11px;
}

.youle-dailyhot-meta i {
    margin-right: 5px;
}

.youle-footer-site-stats {
    margin-top: 12px;
    color: var(--footer-color, var(--muted-2-color, #999));
    font-size: 13px;
    line-height: 1.75;
}

.youle-footer-site-stats i {
    margin-right: 5px;
    color: #35ad73;
}

.youle-footer-site-stats b {
    margin: 0 6px;
    opacity: .45;
    font-weight: 400;
}

.youle-weather-float[hidden],
.youle-weather-header[hidden] {
    display: none !important;
}

.youle-weather-local:not(.is-ready),
.youle-weather-seniverse:not(.is-ready) {
    opacity: .7;
}

.youle-weather-float:focus-visible,
.youle-weather-header:focus-visible {
    outline: 0;
    box-shadow: 0 0 0 2px var(--focus-shadow-color, rgba(36, 119, 242, .28));
}

.youle-weather-float:focus .youle-weather-popover,
.youle-weather-float:focus-within .youle-weather-popover,
.youle-weather-header:hover .youle-weather-popover,
.youle-weather-header:focus .youle-weather-popover,
.youle-weather-header:focus-within .youle-weather-popover {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.youle-weather-header {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-width: 0;
    min-height: 34px;
    margin-right: 10px;
    color: var(--main-color, #414750);
    vertical-align: middle;
}

.youle-weather-header-summary,
.youle-weather-placeholder {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    font-size: 13px;
    line-height: 1;
    white-space: nowrap;
}

.youle-weather-header-summary i,
.youle-weather-placeholder i {
    color: var(--focus-color, #2477f2);
    font-size: 18px;
}

.youle-weather-header-summary span {
    max-width: 72px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.youle-weather-header-summary b {
    color: var(--focus-color, #2477f2);
    font-weight: 700;
}

.youle-weather-header .youle-weather-popover {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    z-index: 10020;
    width: 226px;
    padding: 14px 15px;
    border: 1px solid var(--main-border-color, rgba(50, 50, 50, .08));
    border-radius: 8px;
    color: var(--main-color, #2f3338);
    background: var(--main-bg-color, #fff);
    box-shadow: var(--box-shadow, 0 14px 32px rgba(15, 23, 42, .14));
    visibility: hidden;
    opacity: 0;
    transform: translate(-50%, 8px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.youle-weather-header:hover .youle-weather-popover,
.youle-weather-header:focus .youle-weather-popover,
.youle-weather-header:focus-within .youle-weather-popover {
    transform: translate(-50%, 0);
}

.float-btn .youle-weather-popover {
    width: 226px;
    padding: 14px 15px;
    text-align: left;
    white-space: normal;
}

.youle-weather-popover strong,
.youle-weather-popover span,
.youle-weather-popover small {
    display: block;
}

.youle-weather-popover strong {
    margin-bottom: 8px;
    color: var(--main-color, #2f3338);
    font-size: 14px;
}

.youle-weather-popover span {
    color: var(--main-color, #2f3338);
    font-size: 17px;
    font-weight: 700;
}

.youle-weather-popover em {
    margin-left: 8px;
    color: var(--focus-color, #2477f2);
    font-size: 20px;
    font-style: normal;
}

.youle-weather-popover small {
    margin-top: 7px;
    color: var(--muted-color, #888);
    font-size: 11px;
    line-height: 1.5;
}

.youle-weather-seniverse {
    position: relative;
    overflow: visible !important;
}

.youle-weather-seniverse.is-ready > .youle-weather-placeholder {
    display: none;
}

.youle-weather-seniverse:not(.is-ready) .youle-seniverse-widget {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
}

.youle-weather-header.youle-weather-seniverse {
    min-width: 118px;
    max-width: 210px;
}

.youle-weather-header .youle-seniverse-widget {
    min-width: 118px;
    min-height: 30px;
}

.youle-weather-header .youle-seniverse-widget > div {
    max-width: 210px;
}

.float-right .youle-weather-seniverse {
    --this-color: var(--youle-on-primary, #fff);
    --this-bg: var(--youle-primary, var(--focus-color, #2477f2));
    flex: 0 0 40px;
    box-sizing: border-box;
    width: 40px !important;
    min-width: 40px;
    height: 40px;
    min-height: 40px !important;
    padding: 0 !important;
}

.float-right .youle-weather-seniverse .youle-weather-placeholder {
    justify-content: center;
    width: 100%;
}

.float-right .youle-weather-seniverse .youle-weather-placeholder i {
    color: inherit;
}

.float-right .youle-weather-seniverse .youle-weather-placeholder span {
    position: absolute;
    right: calc(100% + 10px);
    width: max-content;
    max-width: 150px;
    padding: 6px 9px;
    border: 1px solid var(--main-border-color, rgba(50, 50, 50, .08));
    border-radius: 6px;
    color: var(--main-color, #414750);
    background: var(--main-bg-color, #fff);
    box-shadow: var(--box-shadow, 0 8px 20px rgba(15, 23, 42, .12));
    font-size: 12px;
}

.float-right .youle-weather-seniverse.is-ready .youle-seniverse-widget {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    overflow: visible;
}

.float-right .youle-weather-seniverse .youle-seniverse-root,
.float-right .youle-weather-seniverse .youle-seniverse-shell {
    position: relative;
    display: block;
    width: 40px;
    min-width: 40px;
    height: 40px;
    min-height: 40px;
    overflow: visible;
}

.float-right .youle-weather-seniverse .youle-seniverse-trigger {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 40px;
    min-width: 40px;
    height: 40px;
    padding: 0;
    color: var(--this-color) !important;
    cursor: pointer;
}

.float-right .youle-weather-seniverse .youle-seniverse-panel {
    position: absolute !important;
    top: auto !important;
    right: calc(100% + 12px) !important;
    bottom: -4px !important;
    left: auto !important;
    box-sizing: border-box;
    width: min(328px, calc(100vw - 84px)) !important;
    height: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 8px;
    z-index: 10030 !important;
}

.float-right.position-top .youle-weather-seniverse .youle-seniverse-panel {
    top: -4px !important;
    bottom: auto !important;
    transform: none !important;
}

.float-right.position-center .youle-weather-seniverse .youle-seniverse-panel {
    top: 50% !important;
    bottom: auto !important;
    transform: translateY(-50%) !important;
}

.float-right .youle-weather-seniverse .youle-seniverse-card {
    box-sizing: border-box;
    width: 100% !important;
    height: auto !important;
    max-height: min(70vh, 360px);
    padding: 0 !important;
    overflow-x: hidden;
    overflow-y: auto;
    border-radius: 8px !important;
    color: var(--main-color, #414750);
    background: var(--main-bg-color, #fff);
    font-size: 14px;
    line-height: 1.5;
    text-align: left;
}

.float-right .youle-weather-seniverse .youle-seniverse-card.is-youle-compact {
    overflow: hidden !important;
    border: 1px solid var(--main-border-color, rgba(125, 133, 149, .16));
    background:
        radial-gradient(circle at 22% 10%, rgba(36, 119, 242, .1), transparent 34%),
        linear-gradient(145deg, rgba(255, 255, 255, .97), rgba(247, 249, 252, .94)),
        var(--main-bg-color, #fff);
    box-shadow: 0 18px 45px -32px rgba(15, 23, 42, .5);
}

.float-right .youle-weather-seniverse .youle-seniverse-card.is-youle-compact > :not(.youle-seniverse-compact) {
    display: none !important;
}

.youle-seniverse-compact {
    display: block;
    box-sizing: border-box;
    width: 100%;
    padding: 14px;
    color: var(--main-color, #2f3338);
}

.youle-seniverse-compact-head {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    min-width: 0;
}

.youle-seniverse-compact-icon {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 50%;
    color: var(--youle-on-primary, #fff);
    background: linear-gradient(135deg, var(--youle-primary, #2477f2), var(--youle-secondary, #16a085));
    box-shadow: 0 12px 24px -18px rgba(36, 119, 242, .75);
}

.youle-seniverse-compact-icon i {
    font-size: 20px;
}

.youle-seniverse-compact-head strong,
.youle-seniverse-compact-head em,
.youle-seniverse-compact-head b,
.youle-seniverse-compact-head small {
    display: block;
}

.youle-seniverse-compact-head strong {
    color: var(--main-color, #1f2937);
    font-size: 28px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0;
}

.youle-seniverse-compact-head em {
    overflow: hidden;
    color: var(--muted-2-color, #7c8490);
    font-size: 11px;
    font-style: normal;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.youle-seniverse-compact-head small {
    margin-top: 3px;
    overflow: hidden;
    color: var(--muted-color, #6b7280);
    font-size: 12px;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.youle-seniverse-compact-head b {
    align-self: start;
    padding: 4px 7px;
    border-radius: 999px;
    color: var(--youle-primary, #2477f2);
    background: var(--youle-primary-soft, rgba(36, 119, 242, .09));
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
}

.youle-seniverse-compact p {
    margin: 10px 0 0;
    overflow: hidden;
    color: var(--muted-2-color, #8b9199);
    font-size: 11px;
    line-height: 1.45;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.youle-seniverse-compact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    margin-top: 12px;
}

.youle-seniverse-compact-grid span {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-width: 0;
    min-height: 34px;
    padding: 7px 9px;
    border: 1px solid rgba(125, 133, 149, .11);
    border-radius: 7px;
    background: rgba(125, 133, 149, .045);
}

.youle-seniverse-compact-grid i,
.youle-seniverse-compact-grid b {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.youle-seniverse-compact-grid i {
    flex: 0 0 auto;
    color: var(--muted-color, #7d838c);
    font-size: 10px;
    font-style: normal;
    line-height: 1.2;
}

.youle-seniverse-compact-grid b {
    flex: 1 1 auto;
    margin-top: 0;
    color: var(--main-color, #242a35);
    font-size: 12px;
    line-height: 1.2;
    font-weight: 750;
    text-align: right;
}

.float-right .youle-weather-seniverse .sw-bar-slim-location {
    display: none !important;
}

.float-right .youle-weather-seniverse .sw-bar-slim-temperature {
    position: absolute;
    top: -6px;
    right: -5px;
    min-width: 18px;
    padding: 1px 4px;
    border-radius: 8px;
    color: var(--youle-on-danger, #fff) !important;
    background: var(--youle-danger, #e83e52);
    font-size: 10px;
    line-height: 1.35;
}

@media (min-width: 768px) {
    .youle-weather-device-mobile {
        display: none !important;
    }
}

@media (max-width: 767px) {
    .youle-weather-device-pc {
        display: none !important;
    }

    .header .navbar-header {
        position: relative;
    }

    .header .navbar-header > .youle-weather-header {
        position: absolute;
        top: 7px;
        right: 52px;
        z-index: 4;
        min-height: 36px;
        margin-right: 7px;
    }

    .navbar-top.center .navbar-header > .youle-weather-header {
        right: 48px;
    }

    .youle-weather-header-summary span {
        display: none;
    }

    .youle-weather-header.youle-weather-seniverse {
        min-width: 58px;
        max-width: 76px;
    }

    .youle-weather-header .youle-seniverse-widget {
        min-width: 58px;
        max-width: 76px;
    }

    .youle-weather-header .sw-bar-slim-location {
        display: none !important;
    }

    .float-right .youle-weather-seniverse .youle-seniverse-panel {
        position: fixed !important;
        top: auto !important;
        right: 64px !important;
        bottom: calc(12px + env(safe-area-inset-bottom)) !important;
        left: 12px !important;
        width: auto !important;
        max-width: none !important;
        height: auto !important;
    }

    .float-right .youle-weather-seniverse .youle-seniverse-card {
        width: 100% !important;
        max-height: calc(100vh - 24px - env(safe-area-inset-bottom));
        max-height: calc(100dvh - 24px - env(safe-area-inset-bottom));
        padding: 0 !important;
        border-radius: 8px !important;
    }

    .youle-seniverse-compact {
        padding: 14px;
    }

    .youle-seniverse-compact-head {
        grid-template-columns: 38px minmax(0, 1fr);
    }

    .youle-seniverse-compact-head b {
        display: none;
    }

    .youle-seniverse-compact-icon {
        width: 38px;
        height: 38px;
    }

    .youle-seniverse-compact-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px;
    }

    .youle-weather-header .youle-weather-popover {
        position: fixed;
        top: 62px;
        right: 12px;
        left: 12px;
        width: auto;
        transform: translateY(8px);
    }

    .youle-weather-header:hover .youle-weather-popover,
    .youle-weather-header:focus .youle-weather-popover,
    .youle-weather-header:focus-within .youle-weather-popover {
        transform: translateY(0);
    }
}

/* OneNav page templates, rankings and widgets */
.youle-page-shell {
    box-sizing: border-box;
    width: 100%;
    max-width: 1280px;
    padding-top: 18px;
    padding-bottom: 32px;
}

.youle-min-nav-shell {
    max-width: none;
    padding-top: 0;
    padding-bottom: 0;
}

.youle-min-nav-page {
    width: 100%;
    max-width: none;
    min-width: 0;
}

.youle-min-nav-page .youle-portal-content {
    width: min(var(--youle-portal-max-width, 1920px), calc(100% - 36px));
}

.youle-page-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
    padding: 22px 24px;
    border-bottom: 1px solid var(--main-border-color, #e7eaf0);
}

.youle-page-heading h1 {
    margin: 0;
    font-size: 24px;
    line-height: 1.35;
}

.youle-page-heading p {
    margin: 6px 0 0;
    color: var(--muted-color, #6b7280);
    font-size: 14px;
}

.youle-page-content {
    margin-bottom: 20px;
    padding: 18px 22px;
    border: 1px solid var(--main-border-color, #e7eaf0);
    border-radius: 8px;
    background: var(--main-bg-color, #fff);
}

.youle-page-tabs,
.youle-rankings-types,
.youle-widget-tab-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
}

.youle-page-tabs::-webkit-scrollbar,
.youle-rankings-types::-webkit-scrollbar,
.youle-widget-tab-nav::-webkit-scrollbar {
    display: none;
}

.youle-page-tabs {
    margin-bottom: 18px;
    padding: 0 4px 10px;
}

.youle-page-tabs a,
.youle-rankings-types a,
.youle-widget-tab-nav button {
    flex: 0 0 auto;
    border: 0;
    border-radius: 6px;
    padding: 8px 14px;
    background: var(--muted-border-color, #f1f3f6);
    color: var(--muted-color, #6b7280);
    font-size: 13px;
    line-height: 1.2;
    cursor: pointer;
}

.youle-page-tabs a.is-active,
.youle-rankings-types a.is-active,
.youle-widget-tab-nav button.is-active {
    background: var(--focus-color, #2777f6);
    color: #fff;
}

.youle-blog-list .posts-row,
.youle-blog-list > .posts-item,
.youle-blog-list .posts-item {
    min-width: 0;
}

.youle-blog-shell {
    max-width: calc(var(--mian-max-width, 1200px) + 30px);
}

.youle-blog-content-layout {
    min-width: 0;
}

.site-layout-2 .youle-blog-shell.youle-blog-no-sidebar .content-layout,
.site-layout-3 .youle-blog-shell.youle-blog-no-sidebar .content-layout {
    margin-right: 0;
    margin-left: 0;
}

.youle-blog-heading {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    min-height: 112px;
    margin-bottom: 16px;
    padding: 20px 22px;
    overflow: hidden;
    border: 1px solid var(--main-border-color, #e7eaf0);
    border-radius: 8px;
    background: var(--main-bg-color, #fff);
    box-shadow: var(--box-shadow, 0 8px 24px rgba(15, 23, 42, .06));
}

.youle-blog-heading-icon {
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    border-radius: 8px;
    color: var(--youle-on-primary, #fff);
    background: var(--youle-accent, var(--focus-color, #2777f6));
    box-shadow: 0 10px 24px -14px var(--youle-accent, var(--focus-color, #2777f6));
    font-size: 22px;
}

.youle-blog-heading-copy {
    min-width: 0;
}

.youle-blog-heading-copy h1 {
    margin: 0;
    color: var(--main-color, #20242c);
    font-size: 23px;
    line-height: 1.35;
}

.youle-blog-heading-copy p {
    margin: 6px 0 0;
    color: var(--muted-color, #6b7280);
    font-size: 13px;
}

.youle-blog-summary {
    display: flex;
    align-items: stretch;
    min-width: 230px;
    padding: 8px 0;
    border: 1px solid var(--main-border-color, #e7eaf0);
    border-radius: 8px;
    background: var(--muted-bg-2-color, #f6f7f9);
}

.youle-blog-summary > span {
    display: flex;
    flex: 1 1 0;
    min-width: 0;
    padding: 0 14px;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.youle-blog-summary > span + span {
    border-left: 1px solid var(--main-border-color, #e7eaf0);
}

.youle-blog-summary strong,
.youle-blog-summary small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.youle-blog-summary strong {
    color: var(--main-color, #20242c);
    font-size: 15px;
    line-height: 1.35;
}

.youle-blog-summary small {
    margin-top: 3px;
    color: var(--muted-2-color, #8b95a4);
    font-size: 11px;
}

.youle-blog-filter {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    min-width: 0;
    margin-bottom: 16px;
    padding: 12px 14px;
    border: 1px solid var(--main-border-color, #e7eaf0);
    border-radius: 8px;
    background: var(--main-bg-color, #fff);
    box-shadow: 0 7px 22px -20px rgba(15, 23, 42, .35);
}

.youle-blog-filter-title {
    display: flex;
    padding-right: 18px;
    border-right: 1px solid var(--main-border-color, #e7eaf0);
    flex-direction: column;
    white-space: nowrap;
}

.youle-blog-filter-title strong {
    color: var(--main-color, #20242c);
    font-size: 13px;
}

.youle-blog-filter-title strong i {
    margin-right: 5px;
    color: var(--youle-accent, var(--focus-color, #2777f6));
}

.youle-blog-filter-title span {
    margin-top: 3px;
    color: var(--muted-2-color, #8b95a4);
    font-size: 10px;
}

.youle-blog-filter .youle-page-tabs {
    min-width: 0;
    margin: 0;
    padding: 0;
}

.youle-blog-filter .youle-page-tabs a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 32px;
    padding: 6px 11px;
    border: 1px solid transparent;
    border-radius: 6px;
    background: var(--muted-bg-2-color, #f3f5f7);
}

.youle-blog-filter .youle-page-tabs a:hover,
.youle-blog-filter .youle-page-tabs a:focus-visible {
    border-color: var(--main-border-color, #e7eaf0);
    color: var(--main-color, #20242c);
    background: var(--main-bg-color, #fff);
}

.youle-blog-filter .youle-page-tabs a.is-active,
.youle-blog-filter .youle-page-tabs a.is-active:hover,
.youle-blog-filter .youle-page-tabs a.is-active:focus-visible {
    border-color: transparent;
    color: var(--youle-on-primary, #fff);
    background: var(--youle-accent, var(--focus-color, #2777f6));
    box-shadow: 0 7px 16px -11px var(--youle-accent, var(--focus-color, #2777f6));
}

.youle-blog-filter .youle-page-tabs a small {
    color: inherit;
    font-size: 10px;
    opacity: .72;
}

.youle-blog-list {
    min-width: 0;
}

.youle-blog-list .posts-item {
    border: 1px solid var(--main-border-color, #e7eaf0);
    box-shadow: 0 8px 24px -20px rgba(15, 23, 42, .32);
}

.youle-blog-list .posts-item:hover {
    border-color: rgba(36, 119, 242, .22);
    border-color: color-mix(in srgb, var(--youle-accent) 24%, var(--main-border-color));
    box-shadow: 0 14px 32px -22px rgba(15, 23, 42, .42);
}

.youle-blog-list .posts-item.list {
    min-height: 168px;
}

.youle-blog-list .posts-item.list .post-graphic {
    flex: 0 0 220px;
    max-width: 34%;
}

.youle-blog-list .posts-item.list .item-heading {
    font-size: 17px;
}

.youle-blog-list .posts-item.card {
    border-radius: 8px;
}

.youle-blog-list .posts-item.card .item-thumbnail,
.youle-blog-list .posts-item.card .item-thumbnail img {
    border-radius: 6px;
}

.youle-blog-list .posts-item.card .item-heading {
    font-size: 15px;
}

.youle-blog-pagination {
    display: flex;
    width: 100%;
    margin-top: 6px;
    padding: 14px 0 4px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    overflow: visible;
}

.youle-blog-pagination .page-numbers {
    display: inline-flex;
    min-width: 34px;
    min-height: 34px;
    margin: 3px;
    padding: 6px 10px;
    border: 1px solid var(--main-border-color, #e7eaf0);
    border-radius: 6px;
    align-items: center;
    justify-content: center;
    background: var(--main-bg-color, #fff);
}

.youle-blog-pagination .page-numbers.current {
    border-color: transparent;
    color: var(--youle-on-primary, #fff);
    background: var(--youle-accent, var(--focus-color, #2777f6));
}

.youle-page-pagination {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}

.youle-page-pagination .page-numbers {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.youle-page-pagination .page-numbers a,
.youle-page-pagination .page-numbers span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    border-radius: 6px;
    background: var(--main-bg-color, #fff);
    color: var(--muted-color, #6b7280);
}

.youle-page-pagination .page-numbers .current {
    background: var(--focus-color, #2777f6);
    color: #fff;
}

.youle-bulletin-list {
    display: grid;
    gap: 10px;
}

.youle-bulletin-list article > a {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    min-height: 72px;
    padding: 12px 16px;
    border: 1px solid var(--main-border-color, #e7eaf0);
    border-radius: 8px;
    background: var(--main-bg-color, #fff);
}

.youle-bulletin-list article > a > span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: rgba(255, 85, 109, .12);
    color: #f04458;
    font-size: 17px;
}

.youle-bulletin-list strong,
.youle-bulletin-list small {
    display: block;
    min-width: 0;
}

.youle-bulletin-list strong {
    overflow: hidden;
    color: var(--main-color, #20242c);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.youle-bulletin-list small {
    overflow: hidden;
    margin-top: 5px;
    color: var(--muted-color, #6b7280);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.youle-bulletin-list time {
    color: var(--muted-2-color, #9aa1ad);
    font-size: 12px;
    white-space: nowrap;
}

.youle-contribute-actions {
    display: grid;
    grid-template-columns: minmax(260px, .78fr) minmax(0, 1.22fr);
    gap: 18px;
    align-items: stretch;
}

.youle-contribute-actions > div {
    min-width: 0;
    padding: 30px;
    border: 1px solid var(--main-border-color, #e7eaf0);
    border-radius: 8px;
    background: var(--main-bg-color, #fff);
    box-shadow: 0 14px 36px rgba(18, 25, 38, .06);
    text-align: center;
}

.youle-contribute-actions > div > i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--focus-color-opacity1, rgba(39, 119, 246, .12));
    color: var(--focus-color, #2777f6);
    font-size: 26px;
}

.youle-contribute-actions h2 {
    margin: 18px 0 8px;
    font-size: 22px;
}

.youle-contribute-actions p {
    margin: 0 0 22px;
    color: var(--muted-color, #6b7280);
}

.youle-contribute-actions .but i {
    margin-right: 7px;
}

.youle-contribute-site-form .youle-submit-box {
    margin: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    text-align: left;
}

.youle-contribute-site-form .youle-submit-form {
    margin-top: 8px;
}

.youle-disabled-button {
    display: inline-flex;
    padding: 10px 16px;
    border-radius: 6px;
    background: var(--muted-border-color, #f1f3f6);
    color: var(--muted-color, #6b7280);
}

.youle-links-page {
    width: 100%;
    min-width: 0;
    color: var(--main-color, #202733);
}

.youle-links-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    margin-bottom: 20px;
    padding: 20px 22px;
    border-bottom: 1px solid var(--main-border-color, #e7eaf0);
    background: linear-gradient(90deg, var(--youle-primary-soft, rgba(36, 107, 216, .09)), transparent 72%);
}

.youle-links-hero-copy,
.youle-links-hero-side,
.youle-links-list > header,
.youle-links-list > header > div {
    display: flex;
    align-items: center;
}

.youle-links-hero-copy {
    min-width: 0;
    gap: 14px;
}

.youle-links-hero-icon {
    display: grid;
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 8px;
    color: var(--youle-primary, var(--focus-color, #2777f6));
    background: var(--main-bg-color, #fff);
    font-size: 19px;
}

.youle-links-hero h1,
.youle-links-hero p,
.youle-links-guide h2,
.youle-links-guide ul,
.youle-links-guide ol,
.youle-links-guide dl,
.youle-links-list h2 {
    margin: 0;
}

.youle-links-hero h1 {
    font-size: 24px;
    line-height: 1.3;
}

.youle-links-hero p {
    margin-top: 5px;
    color: var(--muted-color, #6b7280);
    font-size: 13px;
}

.youle-links-hero-side {
    flex: 0 0 auto;
    gap: 14px;
}

.youle-links-hero-side > span {
    color: var(--muted-color, #6b7280);
    font-size: 12px;
    white-space: nowrap;
}

.youle-links-hero-side > span strong {
    margin-right: 3px;
    color: var(--main-color, #202733);
    font-size: 17px;
}

.youle-links-hero-side .but i {
    margin-right: 6px;
}

.youle-links-custom-content {
    margin-right: 6px;
    margin-left: 6px;
}

.youle-links-guide {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 26px;
    border-top: 1px solid var(--main-border-color, #e7eaf0);
    border-bottom: 1px solid var(--main-border-color, #e7eaf0);
}

.youle-links-guide-item {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
    min-width: 0;
    padding: 20px;
}

.youle-links-guide-item + .youle-links-guide-item {
    border-left: 1px solid var(--main-border-color, #e7eaf0);
}

.youle-links-guide-item > span {
    display: grid;
    width: 38px;
    height: 38px;
    overflow: hidden;
    place-items: center;
    border-radius: 8px;
    color: var(--youle-primary, var(--focus-color, #2777f6));
    background: var(--youle-primary-soft, rgba(36, 107, 216, .09));
    font-size: 16px;
}

.youle-links-guide-item > span img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.youle-links-guide h2 {
    margin-bottom: 10px;
    font-size: 15px;
    line-height: 1.4;
}

.youle-links-guide ul {
    padding-left: 17px;
    color: var(--muted-color, #6b7280);
    font-size: 12px;
    line-height: 1.75;
}

.youle-links-guide dl {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 5px 8px;
    font-size: 12px;
    line-height: 1.55;
}

.youle-links-guide dt {
    color: var(--muted-color, #6b7280);
    font-weight: 400;
}

.youle-links-guide dd {
    min-width: 0;
    overflow: hidden;
    margin: 0;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.youle-links-guide dd a {
    color: var(--youle-primary, var(--focus-color, #2777f6));
}

.youle-links-guide ol {
    display: grid;
    gap: 7px;
    padding: 0;
    list-style: none;
}

.youle-links-guide ol li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted-color, #6b7280);
    font-size: 12px;
}

.youle-links-guide ol b {
    display: grid;
    width: 20px;
    height: 20px;
    place-items: center;
    border-radius: 50%;
    color: var(--youle-primary, var(--focus-color, #2777f6));
    background: var(--youle-primary-soft, rgba(36, 107, 216, .09));
    font-size: 10px;
}

.youle-links-list {
    min-width: 0;
}

.youle-links-list > header {
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 13px;
    padding: 0 2px;
}

.youle-links-list > header > div {
    gap: 9px;
}

.youle-links-list > header i {
    color: var(--youle-primary, var(--focus-color, #2777f6));
    font-size: 16px;
}

.youle-links-list h2 {
    font-size: 17px;
}

.youle-links-list > header > span {
    color: var(--muted-color, #6b7280);
    font-size: 12px;
}

.youle-links-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px 12px;
}

.youle-links-grid > a {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 16px;
    align-items: center;
    gap: 11px;
    min-width: 0;
    min-height: 72px;
    padding: 10px 12px;
    border: 1px solid var(--main-border-color, #e7eaf0);
    border-radius: 7px;
    background: var(--main-bg-color, #fff);
    transition: border-color .2s ease, background-color .2s ease, transform .2s ease;
}

.youle-links-grid > a:hover,
.youle-links-grid > a:focus-visible {
    border-color: var(--youle-primary, var(--focus-color, #2777f6));
    background: var(--youle-primary-soft, rgba(36, 107, 216, .055));
    transform: translateY(-1px);
}

.youle-links-grid > a > span {
    display: flex;
    flex: 0 0 44px;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    overflow: hidden;
    border-radius: 50%;
    background: var(--muted-border-color, #f1f3f6);
}

.youle-links-grid > a > span.is-letter {
    background: var(--focus-color-opacity1, rgba(39, 119, 246, .12));
    color: var(--focus-color, #2777f6);
    font-size: 19px;
    font-weight: 700;
}

.youle-links-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.youle-links-grid > a > i {
    color: var(--muted-2-color, #a0a7b2);
    font-size: 14px;
    text-align: right;
    transition: color .2s ease, transform .2s ease;
}

.youle-links-grid > a:hover > i,
.youle-links-grid > a:focus-visible > i {
    color: var(--youle-primary, var(--focus-color, #2777f6));
    transform: translateX(2px);
}

.youle-links-grid div {
    min-width: 0;
}

.youle-links-grid strong,
.youle-links-grid small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.youle-links-grid strong {
    color: var(--main-color, #20242c);
    font-size: 14px;
}

.youle-links-grid small {
    margin-top: 5px;
    color: var(--muted-color, #6b7280);
    font-size: 12px;
}

.youle-blank-page,
.youle-min-nav-page {
    min-width: 0;
}

.youle-rankings-page {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    color: var(--main-color, #20242c);
}

.youle-rankings-page a {
    text-decoration: none;
}

.youle-rankings-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 14px;
    padding: 10px 12px;
    border: 1px solid var(--main-border-color, #e7eaf0);
    border-radius: 8px;
    background: var(--main-bg-color, #fff);
}

.youle-rankings-toolbar nav {
    display: flex;
    align-items: center;
    gap: 5px;
    overflow-x: auto;
    scrollbar-width: none;
}

.youle-rankings-toolbar nav::-webkit-scrollbar {
    display: none;
}

.youle-rankings-toolbar a {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 34px;
    padding: 7px 12px;
    border-radius: 6px;
    color: var(--muted-color, #6b7280);
    font-size: 13px;
    line-height: 1.2;
}

.youle-rankings-types a i {
    font-size: 14px;
}

.youle-bookmark-page {
    position: relative;
    min-height: calc(100vh - 70px);
    overflow: hidden;
    padding: clamp(34px, 5vw, 62px) clamp(16px, 5vw, 72px) clamp(44px, 7vw, 86px);
    color: #fff;
    background:
        radial-gradient(ellipse at 38% 40%, rgba(255, 213, 111, .95) 0 11%, transparent 11.5%),
        radial-gradient(ellipse at 70% 42%, rgba(255, 208, 108, .86) 0 12%, transparent 12.5%),
        linear-gradient(168deg, transparent 0 46%, rgba(252, 183, 76, .94) 46.3% 72%, rgba(177, 78, 26, .95) 72.4%),
        linear-gradient(14deg, rgba(180, 74, 24, .96) 0 20%, transparent 20.4%),
        linear-gradient(180deg, #36b9e6 0 43%, #f7bd52 43.4% 100%);
}

.youle-bookmark-page::before {
    position: absolute;
    inset: 48% -8% -22% 8%;
    content: "";
    border-radius: 55% 45% 0 0;
    background: linear-gradient(160deg, rgba(255, 237, 136, .95), rgba(250, 197, 80, .86));
}

.youle-bookmark-page::after {
    position: absolute;
    inset: 34% -12% -26% 12%;
    content: "";
    border-radius: 50% 60% 0 0;
    background: linear-gradient(172deg, rgba(142, 54, 28, .74) 0 18%, rgba(247, 188, 82, .78) 18.5% 100%);
    opacity: .78;
}

.youle-bookmark-page > * {
    position: relative;
    z-index: 1;
}

.youle-bookmark-hero {
    display: grid;
    gap: 8px;
    justify-items: center;
    width: min(900px, 100%);
    margin: 0 auto 74px;
}

.youle-bookmark-login {
    display: grid;
    justify-items: center;
    width: min(520px, 100%);
    margin: clamp(50px, 12vh, 120px) auto 0;
    padding: clamp(28px, 5vw, 46px);
    color: var(--main-color, #1f2937);
    text-align: center;
    border: 1px solid var(--main-border-color, rgba(50, 50, 50, .08));
    border-radius: 8px;
    background: var(--main-bg-color, #fff);
    box-shadow: 0 18px 45px rgba(31, 41, 55, .08);
}

.youle-bookmark-login > i {
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    color: #fff;
    border-radius: 18px;
    background: var(--focus-color, #2777f6);
    font-size: 24px;
}

.youle-bookmark-login h1 {
    margin: 18px 0 8px;
    font-size: 26px;
}

.youle-bookmark-login p {
    margin: 0 0 20px;
    color: var(--muted-color, #6b7280);
    line-height: 1.8;
}

.youle-bookmark-login .but {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 0 18px;
}

.youle-bookmark-clock {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: .08em;
    color: #fff;
    font-size: clamp(54px, 8vw, 92px);
    font-weight: 300;
    line-height: 1;
    text-shadow: 0 12px 32px rgba(22, 78, 116, .22);
}

.youle-bookmark-clock b {
    color: inherit;
    font-weight: 300;
}

.youle-bookmark-date {
    margin-bottom: 36px;
    color: rgba(255, 255, 255, .92);
    font-size: 20px;
    font-weight: 700;
}

.youle-bookmark-search {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr) 104px;
    width: 100%;
    max-width: 920px;
    min-height: 58px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: 999px;
    background: rgba(255, 255, 255, .56);
    box-shadow: 0 16px 40px rgba(29, 105, 145, .16);
    backdrop-filter: blur(18px);
}

.youle-bookmark-search select,
.youle-bookmark-search input,
.youle-bookmark-search button {
    min-width: 0;
    height: 58px;
    border: 0;
    outline: 0;
    background: transparent;
}

.youle-bookmark-search select {
    padding: 0 14px;
    color: rgba(42, 78, 98, .72);
    border-right: 1px solid rgba(255, 255, 255, .4);
}

.youle-bookmark-search input {
    padding: 0 18px;
    color: #25445b;
}

.youle-bookmark-search input::placeholder {
    color: rgba(58, 91, 108, .48);
}

.youle-bookmark-search button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    color: #31536a;
    background: rgba(255, 255, 255, .38);
    font-weight: 700;
}

.youle-bookmark-desktop {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 250px;
    gap: 36px;
    width: min(1390px, 100%);
    margin: 0 auto 34px;
}

.youle-bookmark-widgets {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 36px;
    align-items: stretch;
}

.youle-bookmark-widget {
    min-height: 132px;
    overflow: hidden;
    padding: 16px;
    color: #fff;
    border-radius: 14px;
    background: rgba(30, 45, 67, .68);
    box-shadow: 0 18px 40px rgba(95, 66, 29, .16);
    backdrop-filter: blur(12px);
}

.youle-bookmark-widget header {
    font-weight: 800;
}

.youle-bookmark-widget.is-note {
    grid-column: span 2;
    color: #263447;
    background: rgba(255, 255, 255, .88);
    padding: 0;
}

.youle-bookmark-widget.is-note header {
    padding: 14px 18px;
    color: #fff;
    background: #ffba18;
    text-align: center;
    font-size: 20px;
}

.youle-bookmark-widget.is-note p {
    margin: 0;
    padding: 11px 16px;
    border-bottom: 1px solid rgba(31, 41, 55, .08);
}

.youle-bookmark-widget.is-weather {
    grid-column: span 4;
    background: rgba(49, 72, 110, .86);
}

.youle-bookmark-widget.is-weather header {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.youle-bookmark-widget.is-weather b {
    display: block;
    margin-top: 12px;
    font-size: 30px;
}

.youle-bookmark-widget.is-weather div {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    font-size: 14px;
}

.youle-bookmark-widget.is-trend {
    grid-column: span 4;
    background: rgba(30, 38, 43, .66);
}

.youle-bookmark-widget.is-trend header {
    display: flex;
    gap: 10px;
    margin-bottom: 8px;
}

.youle-bookmark-widget.is-trend header span {
    padding: 3px 7px;
    border-radius: 4px;
    background: rgba(255, 255, 255, .16);
}

.youle-bookmark-widget.is-trend ol {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.youle-bookmark-widget.is-trend li {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
}

.youle-bookmark-widget.is-trend li span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.youle-bookmark-widget.is-calendar {
    grid-column: span 2;
    display: grid;
    justify-items: center;
    color: #273142;
    background: rgba(255, 255, 255, .9);
    padding: 0 0 14px;
}

.youle-bookmark-widget.is-calendar strong {
    width: 100%;
    padding: 14px;
    color: #fff;
    background: #ff5361;
    text-align: center;
    font-size: 20px;
}

.youle-bookmark-widget.is-calendar b {
    font-size: 54px;
    line-height: 1.2;
}

.youle-bookmark-widget.is-ai {
    grid-column: span 4;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #39465a;
    background: rgba(255, 255, 255, .86);
}

.youle-bookmark-widget.is-ai i {
    display: grid;
    width: 112px;
    height: 76px;
    place-items: center;
    color: #6d5df7;
    font-size: 38px;
    font-style: normal;
}

.youle-bookmark-widget.is-ai strong,
.youle-bookmark-widget.is-ai span {
    display: block;
}

.youle-bookmark-widget.is-ai strong {
    font-size: 22px;
}

.youle-bookmark-widget.is-ai button {
    min-width: 150px;
    min-height: 46px;
    color: #3270d9;
    border: 0;
    border-radius: 9px;
    background: rgba(230, 241, 255, .9);
    font-weight: 800;
}

.youle-bookmark-widget.is-game {
    grid-column: span 2;
    background: linear-gradient(145deg, #7419cf, #482099);
}

.youle-bookmark-widget.is-game div {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.youle-bookmark-widget.is-game span {
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .18);
}

.youle-bookmark-widget.is-countdown {
    grid-column: span 4;
    color: #686868;
    background: rgba(255, 255, 255, .9);
}

.youle-bookmark-widget.is-weather header b {
    overflow: hidden;
    max-width: 58%;
    margin: 0;
    font-size: 15px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.youle-bookmark-widget.is-weather div span {
    display: grid;
    gap: 3px;
    color: rgba(255, 255, 255, .76);
    text-align: center;
    font-size: 12px;
}

.youle-bookmark-widget.is-weather div strong {
    color: #fff;
    font-size: 20px;
}

.youle-bookmark-widget.is-ai a {
    display: inline-flex;
    min-width: 130px;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    color: #3270d9;
    border-radius: 8px;
    background: rgba(230, 241, 255, .9);
    font-size: 14px;
    font-weight: 800;
}

.youle-bookmark-widget.is-game a {
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    color: #fff;
    border-radius: 50%;
    background: rgba(255, 255, 255, .18);
    font-size: 20px;
}

.youle-bookmark-widget.is-countdown {
    position: relative;
    min-height: 184px;
    padding: 14px 16px 16px;
}

.youle-bookmark-widget.is-countdown header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #595f68;
    font-size: 14px;
}

.youle-bookmark-widget.is-countdown header button {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    color: #7a818b;
    border: 0;
    border-radius: 6px;
    background: rgba(31, 41, 55, .07);
}

.youle-bookmark-widget.is-countdown .youle-countdown-main {
    position: relative;
    display: block;
    margin-top: 5px;
}

.youle-countdown-main > span {
    display: block;
    color: #777d85;
    font-size: 12px;
}

.youle-bookmark-widget.is-countdown .youle-countdown-main > strong {
    display: block;
    max-width: calc(100% - 54px);
    margin: 1px 0 10px;
    color: #535961;
    font-size: clamp(24px, 2.5vw, 34px);
    line-height: 1;
    white-space: nowrap;
}

.youle-countdown-main > i {
    position: absolute;
    right: 5px;
    bottom: 5px;
    color: #f0a735;
    font-size: 42px;
}

.youle-bookmark-widget.is-countdown .youle-countdown-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(72px, 1fr));
    gap: 7px;
    margin-top: 0;
}

.youle-bookmark-widget.is-countdown .youle-countdown-metrics b {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2px 4px;
    min-width: 0;
    padding: 7px 8px;
    font-weight: 400;
}

.youle-countdown-metrics b span {
    grid-column: 1 / -1;
    color: #777d85;
    font-size: 11px;
}

.youle-countdown-metrics b strong {
    overflow: hidden;
    color: #555b63;
    font-size: 15px;
    text-overflow: ellipsis;
}

.youle-countdown-metrics b em {
    align-self: end;
    color: #8a9098;
    font-size: 10px;
    font-style: normal;
}

.youle-countdown-metrics b[hidden] {
    display: none !important;
}

.youle-countdown-modal .youle-bookmark-modal-panel {
    width: min(760px, 100%);
}

.youle-countdown-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.youle-countdown-form fieldset {
    min-width: 0;
    margin: 0;
    padding: 12px;
    border: 1px solid var(--main-border-color, rgba(50, 50, 50, .1));
    border-radius: 8px;
}

.youle-countdown-form legend {
    width: auto;
    margin: 0;
    padding: 0 5px;
    color: var(--muted-color, #6b7280);
    border: 0;
    font-size: 13px;
    font-weight: 700;
}

.youle-countdown-days,
.youle-countdown-options {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.youle-countdown-days label,
.youle-countdown-options label {
    margin: 0;
    cursor: pointer;
}

.youle-countdown-days input,
.youle-countdown-options input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.youle-countdown-days span,
.youle-countdown-options span {
    display: inline-flex;
    min-height: 32px;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    color: var(--muted-color, #6b7280);
    border: 1px solid var(--main-border-color, rgba(50, 50, 50, .1));
    border-radius: 7px;
    background: var(--muted-bg-color, #f3f5f7);
    font-size: 12px;
}

.youle-countdown-days input:checked + span,
.youle-countdown-options input:checked + span {
    color: #fff;
    border-color: var(--focus-color, #2777f6);
    background: var(--focus-color, #2777f6);
}

.youle-countdown-times {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 8px;
}

.youle-countdown-times input {
    width: 100%;
    min-width: 0;
    min-height: 38px;
    color: var(--main-color, #1f2937);
    border: 1px solid var(--main-border-color, rgba(50, 50, 50, .1));
    border-radius: 7px;
    background: var(--main-bg-color, #fff);
    text-align: center;
}

.youle-countdown-form footer {
    display: flex;
    grid-column: 1 / -1;
    justify-content: flex-end;
    gap: 8px;
}

.youle-bookmark-side {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 86px));
    align-content: start;
    justify-content: center;
    gap: 20px 22px;
}

.youle-bookmark-side button,
.youle-bookmark-side label {
    display: grid;
    justify-items: center;
    gap: 8px;
    margin: 0;
    color: #fff;
    border: 0;
    background: transparent;
    text-align: center;
    font-size: 13px;
    font-weight: 800;
    text-shadow: 0 3px 9px rgba(73, 48, 22, .22);
    cursor: pointer;
}

.youle-bookmark-side i {
    display: grid;
    width: 64px;
    height: 64px;
    place-items: center;
    color: #fff;
    border-radius: 16px;
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 12px 25px rgba(117, 76, 28, .14);
    color: #2777f6;
    font-size: 26px;
    text-shadow: none;
}

.youle-bookmark-side input[type="file"] {
    display: none;
}

.youle-bookmark-dock {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    width: min(1180px, 100%);
    margin: 0 auto 22px;
    padding: 14px 16px;
    border: 1px solid var(--main-border-color, rgba(50, 50, 50, .08));
    border-radius: 8px;
    background: var(--main-bg-color, #fff);
    box-shadow: 0 12px 28px rgba(31, 41, 55, .06);
}

.youle-bookmark-dock strong,
.youle-bookmark-dock small {
    display: block;
}

.youle-bookmark-dock small {
    margin-top: 3px;
    color: var(--muted-color, #6b7280);
    font-size: 12px;
}

.youle-bookmark-dock nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.youle-bookmark-dock button,
.youle-bookmark-dock label {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0 12px;
    color: var(--main-color, #1f2937);
    border: 1px solid var(--main-border-color, rgba(50, 50, 50, .08));
    border-radius: 8px;
    background: var(--muted-bg-2-color, #f7f8fa);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.youle-bookmark-dock input[type="file"] {
    display: none;
}

.youle-bookmark-grid {
    width: min(1180px, 100%);
    margin: 0 auto;
}

.youle-bookmark-group {
    margin-top: 0;
}

.youle-bookmark-group h2 {
    margin: 0 0 14px;
    color: var(--main-color, #1f2937);
    font-size: 16px;
}

.youle-bookmark-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(86px, 1fr));
    gap: 24px 22px;
}

.youle-bookmark-card {
    display: grid;
    justify-items: center;
    gap: 9px;
    min-width: 0;
    color: #fff;
    text-align: center;
    text-decoration: none;
}

.youle-bookmark-card:hover,
.youle-bookmark-card:focus-visible {
    color: #fff;
    text-decoration: none;
    transform: translateY(-3px);
}

.youle-bookmark-card.is-dragging {
    opacity: .45;
}

.youle-bookmark-icon {
    display: grid;
    width: 74px;
    height: 74px;
    overflow: hidden;
    place-items: center;
    color: #fff;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--focus-color, #2777f6), #24af7c);
    box-shadow: 0 16px 28px rgba(105, 68, 27, .18);
    font-size: 22px;
    font-weight: 800;
}

.youle-bookmark-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.youle-bookmark-card strong {
    overflow: hidden;
    width: 100%;
    max-width: 92px;
    color: #fff;
    font-size: 14px;
    line-height: 1.35;
    text-shadow: 0 3px 9px rgba(73, 48, 22, .28);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.youle-bookmark-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: rgba(15, 23, 42, .45);
}

.youle-bookmark-modal[hidden] {
    display: none;
}

.youle-bookmark-modal-panel {
    width: min(520px, 100%);
    padding: 18px;
    border-radius: 8px;
    background: var(--main-bg-color, #fff);
    box-shadow: 0 24px 70px rgba(15, 23, 42, .24);
}

.youle-bookmark-modal-panel > header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.youle-bookmark-modal-panel h2 {
    margin: 0;
    font-size: 18px;
}

.youle-bookmark-modal-panel header button {
    width: 34px;
    height: 34px;
    color: var(--muted-color, #6b7280);
    border: 0;
    border-radius: 8px;
    background: var(--muted-bg-color, #f3f5f7);
}

.youle-bookmark-form {
    display: grid;
    gap: 14px;
}

.youle-field {
    display: grid;
    gap: 8px;
    margin: 0;
}

.youle-field span {
    color: var(--muted-color, #6b7280);
    font-size: 13px;
    font-weight: 700;
}

.youle-field input {
    width: 100%;
    min-height: 46px;
    padding: 0 14px;
    color: var(--main-color, #1f2937);
    border: 1px solid var(--main-border-color, rgba(50, 50, 50, .1));
    border-radius: 8px;
    outline: 0;
    background: var(--main-bg-color, #fff);
}

.youle-field input:focus {
    border-color: rgba(39, 119, 246, .42);
    box-shadow: 0 0 0 3px rgba(39, 119, 246, .1);
}

.youle-bookmark-help {
    margin: 2px 0 0;
    padding: 13px 14px;
    color: var(--muted-color, #6b7280);
    font-size: 13px;
    line-height: 1.7;
    border-radius: 8px;
    background: var(--muted-bg-color, #f3f5f7);
}

.youle-bookmark-form footer {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 2px;
}

.youle-rankings-toolbar a:hover,
.youle-rankings-toolbar a:focus-visible {
    color: var(--focus-color, #2777f6);
    background: var(--focus-color-opacity1, rgba(39, 119, 246, .1));
}

.youle-rankings-toolbar a.is-active {
    color: #fff;
    background: var(--focus-color, #2777f6);
    font-weight: 700;
}

.youle-rankings-ranges {
    justify-content: flex-end;
}

.youle-rankings-ranges a {
    min-width: 50px;
    background: var(--muted-bg-color, #f5f7fa);
}

.youle-rankings-board {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    padding: 24px;
    border: 1px solid var(--main-border-color, #e7eaf0);
    border-radius: 8px;
    background: radial-gradient(circle at 82% 1%, rgba(72, 137, 255, .15), transparent 25%), linear-gradient(180deg, #f7fbff 0, var(--main-bg-color, #fff) 450px);
    box-shadow: 0 14px 36px rgba(54, 83, 130, .08);
}

.youle-rankings-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 112px;
}

.youle-rankings-heading {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    min-width: 0;
}

.youle-rankings-trophy {
    display: flex;
    flex: 0 0 54px;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border: 1px solid rgba(244, 166, 24, .25);
    border-radius: 50%;
    background: linear-gradient(145deg, #fff5c7, #ffd45e);
    color: #bb7412;
    box-shadow: 0 9px 22px rgba(185, 116, 18, .15);
    font-size: 23px;
}

.youle-rankings-heading h1 {
    margin: 0;
    color: #16243a;
    font-size: 28px;
    line-height: 1.3;
}

.youle-rankings-heading p {
    margin: 7px 0 8px;
    color: #66758c;
    font-size: 14px;
}

.youle-rankings-heading time {
    color: #8a96a8;
    font-size: 12px;
}

.youle-rankings-heading time i {
    margin-right: 5px;
}

.youle-rankings-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 146px;
    height: 88px;
    margin-right: 24px;
    border-radius: 8px;
    color: rgba(54, 111, 210, .18);
    background: linear-gradient(145deg, rgba(122, 169, 255, .08), rgba(255, 255, 255, .22));
    font-size: 58px;
    transform: rotate(-3deg);
}

.youle-rankings-podium-section {
    margin-top: 16px;
}

.youle-rankings-podium-section > header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    text-align: center;
}

.youle-rankings-podium-section > header > span {
    width: 44px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #d7a74b);
}

.youle-rankings-podium-section > header > span:last-child {
    transform: scaleX(-1);
}

.youle-rankings-podium-section h2 {
    margin: 0;
    color: #8c5c16;
    font-size: 18px;
}

.youle-rankings-podium-section header p {
    margin: 3px 0 0;
    color: #939dab;
    font-size: 12px;
}

.youle-rankings-podium {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-areas: "second first third";
    align-items: stretch;
    gap: 14px;
    max-width: 880px;
    min-height: 0;
    margin: 22px auto 0;
    padding: 34px 12px 2px;
    list-style: none;
}

.youle-rankings-podium > li {
    min-width: 0;
    margin: 0;
}

.youle-rankings-podium > li.is-rank-1 {
    grid-area: first;
}

.youle-rankings-podium > li.is-rank-2 {
    grid-area: second;
}

.youle-rankings-podium > li.is-rank-3 {
    grid-area: third;
}

.youle-rankings-podium > li > a {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 198px;
    padding: 48px 18px 18px;
    border: 1px solid rgba(125, 133, 149, .18);
    border-radius: 8px;
    color: var(--main-color, #1f2937);
    text-align: center;
    background:
        linear-gradient(180deg, rgba(64, 123, 224, .16), rgba(64, 123, 224, 0) 74px),
        var(--main-bg-color, #fff);
    box-shadow: 0 12px 34px rgba(18, 25, 38, .08);
    transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.youle-rankings-podium > li.is-rank-1 > a {
    min-height: 214px;
    border-color: rgba(244, 181, 38, .36);
    background:
        linear-gradient(180deg, rgba(245, 185, 31, .24), rgba(245, 185, 31, 0) 82px),
        var(--main-bg-color, #fff);
    box-shadow: 0 16px 44px rgba(161, 112, 22, .14);
}

.youle-rankings-podium > li.is-rank-3 > a {
    min-height: 198px;
    border-color: rgba(183, 107, 52, .22);
    background:
        linear-gradient(180deg, rgba(183, 107, 52, .18), rgba(183, 107, 52, 0) 74px),
        var(--main-bg-color, #fff);
}

.youle-rankings-podium > li > a:hover,
.youle-rankings-podium > li > a:focus-visible {
    color: var(--main-color, #1f2937);
    border-color: rgba(39, 119, 246, .32);
    box-shadow: 0 18px 46px rgba(18, 25, 38, .13);
    transform: translateY(-3px);
}

.youle-ranking-medal {
    position: absolute;
    top: auto;
    right: -8px;
    bottom: -5px;
    left: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 28px;
    padding: 0 9px;
    border: 3px solid #fff;
    border-radius: 999px;
    color: #fff;
    background: #7394ca;
    box-shadow: 0 6px 14px rgba(48, 70, 112, .18);
    font-size: 15px;
    font-weight: 800;
}

.is-rank-1 .youle-ranking-medal {
    background: #f5ad16;
}

.is-rank-3 .youle-ranking-medal {
    background: #bd7136;
}

.youle-ranking-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #3971ab;
    background: #edf3fb;
}

.youle-ranking-thumb img {
    width: 100%;
    height: 100%;
    border-radius: inherit;
    object-fit: cover;
}

.youle-ranking-thumb b {
    font-size: 18px;
}

.youle-ranking-thumb.is-podium {
    position: relative;
    width: 70px;
    height: 70px;
    overflow: visible;
    margin-top: -84px;
    margin-bottom: 12px;
    border: 5px solid #fff;
    border-radius: 50%;
    box-shadow: 0 8px 18px rgba(56, 70, 97, .17);
}

.youle-rankings-podium .is-rank-1 .youle-ranking-thumb {
    width: 82px;
    height: 82px;
    margin-top: -94px;
    border-color: #ffe28d;
}

.youle-ranking-type-post .youle-ranking-thumb,
.youle-ranking-type-bulletin .youle-ranking-thumb {
    border-radius: 8px;
}

.youle-ranking-type-shop_product .youle-ranking-thumb {
    border-radius: 8px;
}

.youle-rankings-podium strong,
.youle-rankings-podium small,
.youle-rankings-podium em,
.youle-rankings-podium a > span:last-child {
    display: block;
    overflow: hidden;
    width: 100%;
}

.youle-rankings-podium strong {
    color: inherit;
    font-size: 16px;
    line-height: 1.45;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.youle-rankings-podium small {
    display: -webkit-box;
    min-height: 40px;
    margin-top: 5px;
    color: var(--muted-color, #697386);
    font-size: 12px;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.youle-rankings-podium a > b {
    margin-top: 8px;
    color: inherit;
    font-size: 28px;
    line-height: 1.2;
}

.youle-rankings-podium em {
    margin-top: 2px;
    color: var(--muted-color, #697386);
    font-size: 12px;
    font-style: normal;
}

.youle-rankings-podium a > span:last-child {
    margin-top: 8px;
    color: var(--muted-2-color, #8f98a8);
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.youle-rankings-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 18px 0;
    padding: 14px 6px;
    border: 1px solid var(--main-border-color, #edf0f4);
    border-radius: 8px;
    background: var(--main-bg-color, #fff);
    box-shadow: 0 8px 24px rgba(65, 89, 128, .06);
}

.youle-rankings-metrics > div {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    min-width: 0;
    padding: 6px 14px;
}

.youle-rankings-metrics > div + div {
    border-left: 1px solid var(--main-border-color, #edf0f4);
}

.youle-rankings-metrics > div > i {
    display: flex;
    flex: 0 0 38px;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: #3977c9;
    background: #eaf3ff;
}

.youle-rankings-metrics .is-yesterday > i {
    color: #775bc2;
    background: #f0ebff;
}

.youle-rankings-metrics .is-month > i {
    color: #ba7414;
    background: #fff0cf;
}

.youle-rankings-metrics .is-all > i {
    color: #258360;
    background: #e4f7ee;
}

.youle-rankings-metrics span,
.youle-rankings-metrics small,
.youle-rankings-metrics strong,
.youle-rankings-metrics em {
    display: block;
    min-width: 0;
}

.youle-rankings-metrics small {
    color: var(--muted-color, #778397);
    font-size: 11px;
}

.youle-rankings-metrics strong {
    margin: 1px 0;
    color: var(--main-color, #17243a);
    font-size: 19px;
}

.youle-rankings-metrics em {
    overflow: hidden;
    max-width: 125px;
    color: var(--muted-2-color, #9aa2af);
    font-size: 11px;
    font-style: normal;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.youle-rankings-list-section {
    overflow: hidden;
    border: 1px solid var(--main-border-color, #e7eaf0);
    border-radius: 8px;
    background: var(--main-bg-color, #fff);
}

.youle-rankings-list-section > header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
    border-bottom: 1px solid var(--main-border-color, #e7eaf0);
}

.youle-rankings-list-section h2 {
    margin: 0;
    font-size: 17px;
}

.youle-rankings-list-section h2 i {
    margin-right: 7px;
    color: var(--focus-color, #2777f6);
}

.youle-rankings-list-section header p {
    margin: 4px 0 0;
    color: var(--muted-color, #7b8492);
    font-size: 12px;
}

.youle-rankings-list-section > header > span {
    color: var(--focus-color, #2777f6);
    font-size: 12px;
    font-weight: 700;
}

.youle-rankings-table-wrap {
    overflow-x: auto;
}

.youle-rankings-table {
    width: 100%;
    min-width: 820px;
    border: 0;
    border-collapse: collapse;
}

.youle-rankings-table th,
.youle-rankings-table td {
    padding: 12px 16px;
    border: 0;
    border-bottom: 1px solid var(--main-border-color, #edf0f4);
    text-align: left;
    vertical-align: middle;
}

.youle-rankings-table th {
    color: var(--muted-color, #67758a);
    background: var(--muted-bg-color, #f8fafc);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.youle-rankings-table tbody tr:last-child td {
    border-bottom: 0;
}

.youle-rankings-table tbody tr:hover {
    background: var(--muted-bg-color, #fafbfd);
}

.youle-rankings-table th:first-child,
.youle-rankings-table td:first-child {
    width: 72px;
    text-align: center;
}

.youle-rankings-table th:nth-child(n+4),
.youle-rankings-table td:nth-child(n+4) {
    text-align: center;
    white-space: nowrap;
}

.youle-rankings-table .is-primary {
    color: var(--focus-color, #2777f6);
}

.youle-ranking-mobile-metric {
    display: none;
}

.youle-ranking-row-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    color: var(--muted-color, #667085);
    background: var(--muted-bg-color, #f1f3f6);
    font-size: 12px;
    font-weight: 800;
}

.youle-ranking-row-number.is-rank-1 {
    color: #fff;
    background: #efb224;
}

.youle-ranking-row-number.is-rank-2 {
    color: #fff;
    background: #819abb;
}

.youle-ranking-row-number.is-rank-3 {
    color: #fff;
    background: #b8753c;
}

.youle-ranking-item {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 240px;
    max-width: 430px;
    color: var(--main-color, #20242c);
}

.youle-ranking-item:hover,
.youle-ranking-item:focus-visible {
    color: var(--focus-color, #2777f6);
}

.youle-ranking-thumb.is-table {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.youle-ranking-item > span:last-child,
.youle-ranking-item strong,
.youle-ranking-item small {
    display: block;
    min-width: 0;
}

.youle-ranking-item > span:last-child {
    overflow: hidden;
}

.youle-ranking-item strong,
.youle-ranking-item small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.youle-ranking-item small {
    margin-top: 3px;
    color: var(--muted-color, #8992a0);
    font-size: 11px;
}

.youle-ranking-category {
    display: inline-block;
    overflow: hidden;
    max-width: 130px;
    padding: 4px 8px;
    border-radius: 4px;
    color: var(--muted-color, #6e7888);
    background: var(--muted-bg-color, #f3f5f8);
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.youle-rankings-note {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 15px;
    color: var(--muted-color, #7b8492);
    font-size: 11px;
}

.youle-rankings-note i {
    margin-right: 5px;
    color: var(--focus-color, #2777f6);
}

.dark-theme .youle-rankings-board {
    background: radial-gradient(circle at 82% 1%, rgba(72, 137, 255, .13), transparent 25%), linear-gradient(180deg, rgba(36, 54, 78, .55) 0, var(--main-bg-color) 450px);
}

.dark-theme .youle-rankings-heading h1 {
    color: var(--main-color);
}

.youle-content-items {
    min-width: 0;
}

.youle-content-items.is-list,
.youle-content-items.is-compact {
    display: grid;
}

.youle-content-item {
    min-width: 0;
}

.youle-content-items.is-list .youle-content-item + .youle-content-item,
.youle-content-items.is-compact .youle-content-item + .youle-content-item {
    border-top: 1px solid var(--main-border-color, #e7eaf0);
}

.youle-content-item > a {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 12px 4px;
}

.youle-content-rank {
    display: inline-flex;
    flex: 0 0 28px;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: var(--muted-border-color, #f1f3f6);
    color: var(--muted-color, #6b7280);
    font-weight: 700;
}

.youle-content-item:nth-child(1) .youle-content-rank {
    background: #ff4d5f;
    color: #fff;
}

.youle-content-item:nth-child(2) .youle-content-rank {
    background: #ff9f28;
    color: #fff;
}

.youle-content-item:nth-child(3) .youle-content-rank {
    background: #f2c94c;
    color: #654d00;
}

.youle-content-thumb {
    display: flex;
    flex: 0 0 58px;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    overflow: hidden;
    border-radius: 8px;
    background: var(--muted-border-color, #f1f3f6);
}

.youle-content-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.youle-content-thumb.is-icon {
    color: var(--focus-color, #2777f6);
    font-size: 20px;
}

.youle-content-copy {
    min-width: 0;
    flex: 1;
}

.youle-content-copy strong,
.youle-content-copy small,
.youle-content-copy em {
    display: block;
    min-width: 0;
}

.youle-content-copy strong {
    overflow: hidden;
    color: var(--main-color, #20242c);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.youle-content-copy small {
    display: -webkit-box;
    overflow: hidden;
    margin-top: 5px;
    color: var(--muted-color, #6b7280);
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.youle-content-copy em {
    margin-top: 6px;
    color: var(--muted-2-color, #9aa1ad);
    font-style: normal;
    font-size: 12px;
}

.youle-content-copy em i {
    margin-right: 4px;
    color: #ff7b36;
}

.youle-content-items.is-compact .youle-content-item > a {
    gap: 9px;
    padding: 9px 2px;
}

.youle-content-items.is-compact .youle-content-thumb {
    flex-basis: 38px;
    width: 38px;
    height: 38px;
    border-radius: 6px;
}

.youle-content-items.is-compact .youle-content-rank {
    flex-basis: 24px;
    width: 24px;
    height: 24px;
    font-size: 12px;
}

.youle-content-items.is-compact .youle-content-copy small {
    display: none;
}

.youle-content-items.is-compact .youle-content-copy em {
    margin-top: 3px;
}

.youle-content-items.is-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.youle-content-items.is-grid .youle-content-item > a {
    align-items: stretch;
    height: 100%;
    padding: 12px;
    border: 1px solid var(--main-border-color, #e7eaf0);
    border-radius: 8px;
}

.youle-content-items.is-grid .youle-content-thumb {
    flex-basis: 72px;
    width: 72px;
    height: 72px;
}

.youle-content-items.is-carousel {
    display: grid;
    grid-auto-columns: minmax(210px, 280px);
    grid-auto-flow: column;
    gap: 12px;
    overflow-x: auto;
    padding: 2px 2px 10px;
    scroll-snap-type: x proximity;
}

.youle-content-items.is-carousel .youle-content-item {
    scroll-snap-align: start;
}

.youle-content-items.is-carousel .youle-content-item > a {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    height: 100%;
    padding: 12px;
    border: 1px solid var(--main-border-color, #e7eaf0);
    border-radius: 8px;
}

.youle-widget-carousel.is-big .youle-content-items.is-carousel {
    grid-auto-columns: minmax(280px, 360px);
}

.youle-widget-carousel.is-big .youle-content-thumb {
    width: 96px;
    height: 82px;
}

.youle-widget-more {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 10px;
    padding: 8px 10px;
    border-radius: 6px;
    background: var(--muted-border-color, #f1f3f6);
    color: var(--muted-color, #6b7280);
    font-size: 13px;
}

.youle-widget-tab-nav {
    margin-bottom: 8px;
}

.youle-widget-tab-nav button {
    padding: 6px 10px;
}

.youle-widget-tab-panel {
    display: none;
}

.youle-widget-tab-panel.is-active {
    display: block;
}

.youle-tag-cloud {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 9px 10px;
}

.youle-tag-cloud a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 34px;
    padding: 6px 13px;
    border: 1px solid color-mix(in srgb, currentColor 16%, transparent);
    border-radius: 999px;
    color: var(--youle-tag-color, #2477e8);
    background: linear-gradient(180deg, color-mix(in srgb, var(--youle-tag-bg, rgba(36, 119, 232, .11)) 92%, #fff 8%), var(--youle-tag-bg, rgba(36, 119, 232, .11)));
    box-shadow: 0 3px 10px rgba(31, 41, 55, .04);
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    transition: color .16s ease, background-color .16s ease, box-shadow .16s ease, transform .16s ease, border-color .16s ease;
}

.youle-tag-cloud a:nth-child(6n + 1) {
    --youle-tag-color: #2477e8;
    --youle-tag-bg: rgba(36, 119, 232, .11);
}

.youle-tag-cloud a:nth-child(6n + 2) {
    --youle-tag-color: #cc3f7d;
    --youle-tag-bg: rgba(204, 63, 125, .11);
}

.youle-tag-cloud a:nth-child(6n + 3) {
    --youle-tag-color: #078b81;
    --youle-tag-bg: rgba(7, 139, 129, .11);
}

.youle-tag-cloud a:nth-child(6n + 4) {
    --youle-tag-color: #7656c9;
    --youle-tag-bg: rgba(118, 86, 201, .11);
}

.youle-tag-cloud a:nth-child(6n + 5) {
    --youle-tag-color: #2e8c50;
    --youle-tag-bg: rgba(46, 140, 80, .11);
}

.youle-tag-cloud a:nth-child(6n) {
    --youle-tag-color: #b66b05;
    --youle-tag-bg: rgba(182, 107, 5, .12);
}

.youle-tag-cloud a:hover,
.youle-tag-cloud a:focus-visible {
    color: var(--youle-tag-color, #2477e8);
    border-color: color-mix(in srgb, var(--youle-tag-color, #2477e8) 34%, transparent);
    background: color-mix(in srgb, var(--youle-tag-color, #2477e8) 14%, transparent);
    box-shadow: 0 6px 16px color-mix(in srgb, var(--youle-tag-color, #2477e8) 10%, transparent);
    transform: translateY(-1px);
}

.youle-tag-cloud small {
    color: inherit;
    opacity: .72;
}

.dark-theme .youle-tag-cloud a {
    background: color-mix(in srgb, var(--youle-tag-color, #2477e8) 17%, transparent);
}

.dark-theme .youle-tag-cloud a:hover,
.dark-theme .youle-tag-cloud a:focus-visible {
    background: color-mix(in srgb, var(--youle-tag-color, #2477e8) 25%, transparent);
}

.youle-about-site-widget {
    overflow: hidden;
}

.youle-about-site-cover {
    height: 96px;
    border-radius: 7px 7px 0 0;
    background-color: #2878f0;
    background-image: linear-gradient(120deg, #2878f0, #24af7c);
    background-position: center;
    background-size: cover;
}

.youle-about-site-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
}

.youle-about-site-head > img,
.youle-about-site-head > span {
    display: flex;
    flex: 0 0 52px;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-top: -34px;
    border: 3px solid var(--main-bg-color, #fff);
    border-radius: 50%;
    background: var(--main-bg-color, #fff);
    object-fit: cover;
}

.youle-about-site-head div {
    min-width: 0;
}

.youle-about-site-head strong,
.youle-about-site-head small {
    display: block;
}

.youle-about-site-head small {
    overflow: hidden;
    margin-top: 4px;
    color: var(--muted-color, #6b7280);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.youle-about-site-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 10px 8px 14px;
    border-top: 1px solid var(--main-border-color, #e7eaf0);
}

.youle-about-site-stats span {
    min-width: 0;
    text-align: center;
}

.youle-about-site-stats strong,
.youle-about-site-stats small {
    display: block;
}

.youle-about-site-stats small {
    margin-top: 4px;
    color: var(--muted-color, #6b7280);
    font-size: 11px;
}

.youle-about-author-widget {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.youle-about-author-widget .avatar {
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    border-radius: 50%;
}

.youle-about-author-widget > div {
    min-width: 0;
}

.youle-about-author-widget p {
    display: -webkit-box;
    overflow: hidden;
    margin: 5px 0 8px;
    color: var(--muted-color, #6b7280);
    font-size: 12px;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.youle-about-author-widget a {
    color: var(--focus-color, #2777f6);
    font-size: 12px;
}

.youle-about-author-widget a i {
    margin-left: 5px;
}

.youle-code-widget {
    min-width: 0;
    overflow: hidden;
}

.youle-code-widget iframe,
.youle-code-widget img,
.youle-code-widget video {
    max-width: 100%;
}

.youle-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 160px;
    color: var(--muted-color, #6b7280);
    text-align: center;
}

.youle-empty-state i {
    margin-bottom: 10px;
    font-size: 30px;
    opacity: .5;
}

@media (max-width: 900px) {
    .youle-blog-heading {
        grid-template-columns: 48px minmax(0, 1fr) auto;
        min-height: 100px;
        padding: 17px 18px;
    }

    .youle-blog-heading-icon {
        width: 48px;
        height: 48px;
        font-size: 19px;
    }

    .youle-blog-summary {
        min-width: 200px;
    }

    .youle-links-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .youle-links-guide {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .youle-links-guide-item:nth-child(3) {
        grid-column: 1 / -1;
        border-top: 1px solid var(--main-border-color, #e7eaf0);
        border-left: 0;
    }

    .youle-links-guide-item:nth-child(3) ol {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .youle-bookmark-dock {
        align-items: flex-start;
        flex-direction: column;
    }

    .youle-bookmark-search {
        grid-template-columns: 108px minmax(0, 1fr) 72px;
    }

    .youle-bookmark-hero {
        margin-bottom: 34px;
    }

    .youle-bookmark-desktop {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .youle-bookmark-widgets {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 18px;
    }

    .youle-bookmark-widget.is-note,
    .youle-bookmark-widget.is-game,
    .youle-bookmark-widget.is-calendar {
        grid-column: span 2;
    }

    .youle-bookmark-widget.is-weather,
    .youle-bookmark-widget.is-trend,
    .youle-bookmark-widget.is-ai,
    .youle-bookmark-widget.is-countdown {
        grid-column: span 3;
    }

    .youle-bookmark-side {
        grid-template-columns: repeat(4, minmax(0, 86px));
    }

    .youle-rankings-toolbar {
        align-items: stretch;
        flex-direction: column;
        gap: 7px;
    }

    .youle-rankings-ranges {
        justify-content: flex-start;
        padding-top: 7px;
        border-top: 1px solid var(--main-border-color, #e7eaf0);
    }

    .youle-rankings-board {
        padding: 18px;
    }

    .youle-rankings-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .youle-rankings-metrics > div:nth-child(3) {
        border-left: 0;
    }

    .youle-rankings-metrics > div:nth-child(n+3) {
        border-top: 1px solid var(--main-border-color, #edf0f4);
    }
}

@media (max-width: 680px) {
    .youle-page-shell {
        padding-top: 8px;
        padding-right: 10px;
        padding-left: 10px;
    }

    .youle-page-heading {
        align-items: flex-start;
        padding: 18px 8px;
    }

    .youle-page-heading h1 {
        font-size: 21px;
    }

    .youle-links-hero {
        align-items: stretch;
        flex-direction: column;
        gap: 15px;
        margin-bottom: 14px;
        padding: 17px 12px;
    }

    .youle-links-hero-icon {
        flex-basis: 42px;
        width: 42px;
        height: 42px;
        font-size: 17px;
    }

    .youle-links-hero h1 {
        font-size: 21px;
    }

    .youle-links-hero p {
        font-size: 12px;
        line-height: 1.6;
    }

    .youle-links-hero-side {
        justify-content: space-between;
        padding-left: 56px;
    }

    .youle-links-hero-side .but {
        min-height: 34px;
        padding: 7px 11px;
        font-size: 12px;
    }

    .youle-links-custom-content {
        margin-right: 0;
        margin-left: 0;
        padding: 14px;
    }

    .youle-links-guide {
        grid-template-columns: 1fr;
        margin-bottom: 20px;
    }

    .youle-links-guide-item {
        padding: 16px 10px;
    }

    .youle-links-guide-item + .youle-links-guide-item,
    .youle-links-guide-item:nth-child(3) {
        grid-column: auto;
        border-top: 1px solid var(--main-border-color, #e7eaf0);
        border-left: 0;
    }

    .youle-links-guide-item:nth-child(3) ol {
        grid-template-columns: 1fr;
    }

    .youle-links-list > header {
        padding: 0;
    }

    .youle-bookmark-page {
        padding: 24px 12px 56px;
    }

    .youle-bookmark-hero {
        margin-bottom: 16px;
    }

    .youle-bookmark-clock {
        font-size: 52px;
    }

    .youle-bookmark-date {
        margin-bottom: 18px;
        font-size: 14px;
    }

    .youle-bookmark-search {
        grid-template-columns: 1fr;
        overflow: visible;
        border-radius: 8px;
    }

    .youle-bookmark-search select,
    .youle-bookmark-search input,
    .youle-bookmark-search button {
        height: 46px;
    }

    .youle-bookmark-search select {
        border-right: 0;
        border-bottom: 1px solid var(--main-border-color, rgba(50, 50, 50, .08));
    }

    .youle-bookmark-desktop {
        margin-bottom: 24px;
    }

    .youle-bookmark-widgets {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .youle-bookmark-widget.is-note,
    .youle-bookmark-widget.is-weather,
    .youle-bookmark-widget.is-trend,
    .youle-bookmark-widget.is-calendar,
    .youle-bookmark-widget.is-ai,
    .youle-bookmark-widget.is-game,
    .youle-bookmark-widget.is-countdown {
        grid-column: span 1;
    }

    .youle-countdown-form {
        grid-template-columns: 1fr;
    }

    .youle-countdown-form footer {
        grid-column: auto;
    }

    .youle-bookmark-widget.is-countdown .youle-countdown-main > strong {
        font-size: 30px;
    }

    .youle-bookmark-side {
        grid-template-columns: repeat(2, minmax(0, 86px));
    }

    .youle-bookmark-dock {
        padding: 12px;
    }

    .youle-bookmark-dock nav {
        width: 100%;
    }

    .youle-bookmark-dock button,
    .youle-bookmark-dock label {
        flex: 1 1 calc(50% - 4px);
        justify-content: center;
        padding: 0 8px;
    }

    .youle-bookmark-list {
        grid-template-columns: repeat(auto-fill, minmax(74px, 1fr));
        gap: 18px 12px;
    }

    .youle-bookmark-icon {
        width: 52px;
        height: 52px;
        border-radius: 14px;
    }

    .youle-bookmark-card strong {
        max-width: 76px;
        font-size: 12px;
    }

    .youle-blog-heading {
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 11px;
        min-height: 88px;
        margin-bottom: 12px;
        padding: 14px;
    }

    .youle-blog-heading-icon {
        width: 42px;
        height: 42px;
        font-size: 17px;
    }

    .youle-blog-heading-copy h1 {
        font-size: 19px;
    }

    .youle-blog-heading-copy p {
        margin-top: 3px;
        font-size: 12px;
    }

    .youle-blog-summary {
        display: none;
    }

    .youle-blog-filter {
        display: block;
        margin-bottom: 12px;
        padding: 9px;
    }

    .youle-blog-filter-title {
        display: none;
    }

    .youle-blog-filter .youle-page-tabs {
        width: 100%;
    }

    .youle-blog-filter .youle-page-tabs a {
        min-height: 30px;
        padding: 5px 9px;
        font-size: 12px;
    }

    .youle-blog-list .posts-item.list {
        min-height: 0;
    }

    .youle-blog-list .posts-item.list .post-graphic {
        flex-basis: 112px;
        max-width: 38%;
    }

    .youle-blog-list .posts-item.list .item-heading {
        font-size: 14px;
    }

    .youle-blog-list .posts-item.card .item-heading {
        font-size: 13px;
    }

    .youle-bulletin-list article > a {
        grid-template-columns: 38px minmax(0, 1fr);
        gap: 10px;
        padding: 10px;
    }

    .youle-bulletin-list article > a > span {
        width: 38px;
        height: 38px;
    }

    .youle-bulletin-list time {
        grid-column: 2;
    }

    .youle-links-grid,
    .youle-content-items.is-grid {
        grid-template-columns: 1fr;
    }

    .youle-rankings-toolbar {
        margin-bottom: 10px;
        padding: 8px;
    }

    .youle-rankings-toolbar a {
        min-height: 32px;
        padding: 6px 10px;
        font-size: 12px;
    }

    .youle-rankings-types a i {
        display: none;
    }

    .youle-rankings-ranges {
        gap: 4px;
    }

    .youle-rankings-ranges a {
        min-width: 44px;
    }

    .youle-rankings-board {
        padding: 14px 10px;
    }

    .youle-rankings-hero {
        min-height: 92px;
        padding: 3px 5px 8px;
    }

    .youle-rankings-heading {
        gap: 11px;
    }

    .youle-rankings-trophy {
        flex-basis: 42px;
        width: 42px;
        height: 42px;
        font-size: 18px;
    }

    .youle-rankings-heading h1 {
        font-size: 21px;
    }

    .youle-rankings-heading p {
        margin: 4px 0 5px;
        font-size: 12px;
    }

    .youle-rankings-heading time {
        font-size: 10px;
    }

    .youle-rankings-decoration {
        display: none;
    }

    .youle-rankings-podium-section {
        margin-top: 10px;
    }

    .youle-rankings-podium-section h2 {
        font-size: 15px;
    }

    .youle-rankings-podium {
        gap: 12px;
        min-height: 0;
        margin-top: 17px;
        padding: 32px 0 0;
    }

    .youle-rankings-podium > li > a {
        min-height: 176px;
        padding: 42px 12px 14px;
    }

    .youle-rankings-podium > li.is-rank-1 > a {
        min-height: 190px;
    }

    .youle-rankings-podium > li.is-rank-3 > a {
        min-height: 176px;
    }

    .youle-ranking-medal {
        top: auto;
        right: -7px;
        bottom: -5px;
        left: auto;
        min-width: 32px;
        height: 25px;
        border-width: 2px;
        font-size: 11px;
    }

    .youle-ranking-thumb.is-podium {
        width: 58px;
        height: 58px;
        margin-top: -72px;
        margin-bottom: 9px;
        border-width: 3px;
    }

    .youle-rankings-podium .is-rank-1 .youle-ranking-thumb {
        width: 68px;
        height: 68px;
        margin-top: -80px;
    }

    .youle-rankings-podium strong {
        display: -webkit-box;
        min-height: 38px;
        font-size: 13px;
        white-space: normal;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .youle-rankings-podium small,
    .youle-rankings-podium a > span:last-child {
        display: none;
    }

    .youle-rankings-podium a > b {
        margin-top: 6px;
        font-size: 19px;
    }

    .youle-rankings-podium em {
        font-size: 10px;
    }

    .youle-rankings-metrics {
        margin: 12px 0;
        padding: 7px 4px;
    }

    .youle-rankings-metrics > div {
        justify-content: flex-start;
        gap: 8px;
        padding: 8px;
    }

    .youle-rankings-metrics > div > i {
        flex-basis: 32px;
        width: 32px;
        height: 32px;
        font-size: 12px;
    }

    .youle-rankings-metrics strong {
        font-size: 16px;
    }

    .youle-rankings-metrics em {
        max-width: 90px;
    }

    .youle-rankings-list-section > header {
        padding: 12px;
    }

    .youle-rankings-list-section h2 {
        font-size: 15px;
    }

    .youle-rankings-list-section > header > span {
        font-size: 11px;
    }

    .youle-rankings-table {
        min-width: 0;
    }

    .youle-rankings-table thead {
        display: none;
    }

    .youle-rankings-table,
    .youle-rankings-table tbody,
    .youle-rankings-table tr,
    .youle-rankings-table td {
        box-sizing: border-box;
        display: block;
        width: 100%;
    }

    .youle-rankings-table tr {
        position: relative;
        min-height: 76px;
        padding: 10px 86px 10px 44px;
        border-bottom: 1px solid var(--main-border-color, #edf0f4);
    }

    .youle-rankings-table td {
        padding: 0;
        border: 0;
        text-align: left;
    }

    .youle-rankings-table td:first-child {
        position: absolute;
        top: 50%;
        left: 7px;
        width: 32px;
        transform: translateY(-50%);
    }

    .youle-rankings-table td:nth-child(2) {
        display: flex;
        align-items: center;
        min-height: 54px;
    }

    .youle-rankings-table td:nth-child(3) {
        display: none;
    }

    .youle-rankings-table td:nth-child(4) {
        position: absolute;
        top: 15px;
        right: 11px;
        width: 68px;
        color: var(--focus-color, #2777f6);
        font-size: 15px;
        text-align: right;
    }

    .youle-ranking-mobile-metric {
        display: block;
        margin-top: 2px;
        color: var(--muted-color, #8b95a4);
        font-size: 9px;
        font-weight: 400;
    }

    .youle-rankings-table td:nth-child(n+5) {
        display: none;
    }

    .youle-ranking-item {
        min-width: 0;
        max-width: none;
    }

    .youle-ranking-thumb.is-table {
        flex-basis: 42px;
        width: 42px;
        height: 42px;
    }

    .youle-ranking-item strong {
        white-space: normal;
    }

    .youle-ranking-item small {
        max-width: 44vw;
    }

    .youle-rankings-note {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }

    .youle-content-item > a {
        gap: 8px;
        padding: 10px 2px;
    }

    .youle-content-rank {
        flex-basis: 24px;
        width: 24px;
        height: 24px;
        font-size: 12px;
    }

    .youle-content-thumb {
        flex-basis: 46px;
        width: 46px;
        height: 46px;
    }

    .youle-content-copy small {
        -webkit-line-clamp: 1;
    }

    .youle-rankings-content .youle-content-copy strong {
        display: -webkit-box;
        line-height: 1.45;
        white-space: normal;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .youle-rankings-content .youle-content-copy small {
        -webkit-line-clamp: 2;
    }

    .youle-content-items.is-carousel {
        grid-auto-columns: minmax(200px, 76vw);
    }

    .youle-widget-carousel.is-big .youle-content-items.is-carousel {
        grid-auto-columns: minmax(240px, 84vw);
    }
}

@media (max-width: 380px) {
    .youle-rankings-heading p {
        max-width: 230px;
    }

    .youle-rankings-podium > li > a {
        padding-right: 4px;
        padding-left: 4px;
    }

    .youle-rankings-podium strong {
        font-size: 12px;
    }

    .youle-rankings-metrics > div > i {
        display: none;
    }

    .youle-ranking-item small {
        max-width: 40vw;
    }

    .youle-links-grid > a {
        min-height: 70px;
        padding: 10px;
    }

    .youle-about-site-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px 0;
    }
}

/* Portal visual refresh; existing columns and widget areas remain unchanged. */
.youle-nav-home {
    --youle-gap: 16px;
}

.youle-nav-home .youle-portal-content {
    padding-bottom: 18px;
}

.youle-nav-home .youle-nav-layout {
    gap: 18px;
}

.youle-nav-home .youle-nav-card,
.youle-nav-home .youle-section,
.youle-nav-home .youle-friend-link-list {
    border-color: var(--main-border-color, rgba(50, 50, 50, .06));
    background: var(--main-bg-color, #fff);
    box-shadow: 0 8px 24px -18px rgba(20, 29, 45, .28), 0 1px 2px rgba(20, 29, 45, .03);
}

.youle-nav-home .youle-nav-menu-card,
.youle-nav-home .youle-nav-custom-links-card {
    padding: 8px;
}

.youle-nav-home .youle-nav-menu,
.youle-nav-home .youle-nav-custom-links {
    gap: 3px;
    scrollbar-width: none;
}

.youle-nav-home .youle-nav-menu::-webkit-scrollbar,
.youle-nav-home .youle-nav-custom-links::-webkit-scrollbar {
    display: none;
}

.youle-nav-home .youle-nav-menu a,
.youle-nav-home .youle-nav-custom-links a {
    position: relative;
    min-height: 42px;
    padding: 0 10px;
    border-radius: 6px;
    transition: color .18s ease, background-color .18s ease;
}

.youle-nav-home .youle-nav-menu a:hover,
.youle-nav-home .youle-nav-menu a:focus-visible,
.youle-nav-home .youle-nav-menu a.is-active,
.youle-nav-home .youle-nav-custom-links a:hover,
.youle-nav-home .youle-nav-custom-links a:focus-visible {
    color: var(--youle-accent);
    background: rgba(125, 133, 149, .08);
    background: color-mix(in srgb, var(--youle-accent) 8%, transparent);
}

.youle-nav-home .youle-nav-menu a.is-active::before {
    position: absolute;
    top: 9px;
    bottom: 9px;
    left: 0;
    width: 3px;
    border-radius: 3px;
    background: var(--youle-accent);
    content: '';
}

.youle-nav-home .youle-nav-menu-icon {
    flex-basis: 28px;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: var(--muted-bg-2-color, #f6f7f8);
    transition: color .18s ease, background-color .18s ease;
}

.youle-nav-home .youle-nav-menu a:hover .youle-nav-menu-icon,
.youle-nav-home .youle-nav-menu a:focus-visible .youle-nav-menu-icon,
.youle-nav-home .youle-nav-menu a.is-active .youle-nav-menu-icon {
    color: var(--youle-accent);
    background: rgba(125, 133, 149, .1);
    background: color-mix(in srgb, var(--youle-accent) 12%, transparent);
}

.youle-nav-home .youle-nav-menu em {
    min-width: 24px;
    text-align: right;
    transition: color .18s ease;
}

.youle-nav-home .youle-nav-menu a.is-active em {
    color: var(--youle-accent);
}

.youle-nav-home .youle-section {
    padding: 16px;
}

.youle-nav-home .youle-section-head {
    min-height: 30px;
    margin-bottom: 14px;
}

.youle-nav-home .youle-section-head h1,
.youle-nav-home .youle-section-head h2,
.youle-nav-home .youle-latest-posts-head h2 {
    color: var(--main-color, #2f3338);
    font-size: 17px;
    font-weight: 700;
}

.youle-nav-home .youle-section-head h1 .youle-nav-menu-icon,
.youle-nav-home .youle-section-head h2 .youle-nav-menu-icon {
    color: var(--youle-accent);
    background: rgba(125, 133, 149, .08);
    background: color-mix(in srgb, var(--youle-accent) 10%, transparent);
}

.youle-nav-home .youle-more,
.youle-nav-home .youle-latest-posts-more {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--youle-muted);
    transition: color .18s ease, transform .18s ease;
}

.youle-nav-home .youle-more::after,
.youle-nav-home .youle-latest-posts-more::after {
    font-family: FontAwesome;
    font-size: 11px;
    content: '\f105';
}

.youle-nav-home .youle-more:hover,
.youle-nav-home .youle-more:focus-visible,
.youle-nav-home .youle-latest-posts-more:hover,
.youle-nav-home .youle-latest-posts-more:focus-visible {
    color: var(--youle-accent);
    transform: translateX(2px);
}

.youle-nav-home .youle-site-subterms {
    gap: 16px;
    margin: -2px 0 14px;
    padding: 0;
    border-bottom: 1px solid var(--main-border-color, rgba(50, 50, 50, .06));
    border-radius: 0;
    background: transparent;
}

.youle-nav-home .youle-site-subterms button {
    min-height: 34px;
    padding: 0 2px;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    font-size: 13px;
}

.youle-nav-home .youle-site-subterms button:hover,
.youle-nav-home .youle-site-subterms button:focus-visible,
.youle-nav-home .youle-site-subterms button.is-active {
    border-bottom-color: var(--youle-accent);
    color: var(--youle-accent);
    background: transparent;
}

.youle-nav-home .youle-recommend-section.is-collapsible .youle-sites-grid {
    overflow: hidden;
    transition: max-height .24s ease;
}

.youle-nav-home .youle-recommend-section.is-collapsed .youle-sites-grid {
    max-height: 176px;
}

.youle-nav-home .youle-recommend-section:not(.is-collapsed) .youle-sites-grid {
    max-height: none;
}

.youle-nav-home .youle-sites-grid {
    gap: 10px;
}

.youle-nav-home .youle-site-card {
    overflow: hidden;
    border-color: var(--main-border-color, rgba(50, 50, 50, .06));
    background: var(--main-bg-color, #fff);
    box-shadow: 0 4px 12px -12px rgba(20, 29, 45, .22);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background-color .2s ease;
}

.youle-nav-home .youle-site-card:hover,
.youle-nav-home .youle-site-card:focus-within {
    border-color: rgba(36, 119, 242, .24);
    border-color: color-mix(in srgb, var(--youle-accent) 28%, var(--main-border-color));
    background: var(--main-bg-color, #fff);
    box-shadow: 0 10px 24px -16px rgba(20, 29, 45, .34);
    transform: translateY(-2px);
}

.youle-nav-home .youle-site-main {
    box-sizing: border-box;
    align-items: flex-start;
    gap: 12px;
    min-height: 80px;
    padding: 12px;
}

.youle-nav-home .youle-site-icon {
    flex-basis: 38px;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid rgba(125, 133, 149, .14);
    border-radius: 10px;
    background: var(--main-bg-color, #fff);
    box-shadow: 0 8px 18px -16px rgba(20, 29, 45, .42);
}

.youle-nav-home .youle-site-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.youle-nav-home .youle-site-icon.is-letter {
    padding: 0;
    border-color: transparent;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    box-shadow: none;
    background: linear-gradient(135deg, #2f80ed, #56ccf2);
}

.youle-nav-home .youle-site-card:nth-child(6n+1) .youle-site-icon.is-letter { background: linear-gradient(135deg, #2f80ed, #56ccf2); }
.youle-nav-home .youle-site-card:nth-child(6n+2) .youle-site-icon.is-letter { background: linear-gradient(135deg, #0f766e, #14b8a6); }
.youle-nav-home .youle-site-card:nth-child(6n+3) .youle-site-icon.is-letter { background: linear-gradient(135deg, #d94660, #fb7185); }
.youle-nav-home .youle-site-card:nth-child(6n+4) .youle-site-icon.is-letter { background: linear-gradient(135deg, #f59e0b, #fbbf24); }
.youle-nav-home .youle-site-card:nth-child(6n+5) .youle-site-icon.is-letter { background: linear-gradient(135deg, #7c3aed, #a78bfa); }
.youle-nav-home .youle-site-card:nth-child(6n+6) .youle-site-icon.is-letter { background: linear-gradient(135deg, #16a34a, #4ade80); }

@media (max-width: 767px) {
    .youle-nav-home .youle-recommend-section.is-collapsed .youle-sites-grid {
        max-height: 236px;
    }
}

.youle-nav-home .youle-site-title {
    margin-bottom: 4px;
    color: var(--main-color, #2f3338);
    font-size: 14px;
    font-weight: 600;
}

.youle-nav-home .youle-site-desc {
    color: rgba(100, 111, 128, .92);
    font-size: 12px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.youle-nav-home .youle-personal-nav {
    margin: 20px 0;
    padding-top: 4px;
}

.youle-nav-home .youle-personal-nav-head {
    margin-bottom: 16px;
    padding-left: 208px;
}

@media (max-width: 1280px) {
    .youle-nav-home .youle-personal-nav-head {
        padding-left: 188px;
    }
}

@media (max-width: 920px) {
    .youle-nav-home .youle-personal-nav-head {
        padding-left: 0;
    }
}

.youle-nav-home .youle-personal-nav-tabs {
    border: 1px solid var(--main-border-color, rgba(50, 50, 50, .06));
    background: var(--main-bg-color, #fff);
    box-shadow: 0 6px 18px -16px rgba(20, 29, 45, .35);
}

.youle-nav-home .youle-personal-nav-tabs button.is-active,
.youle-nav-home .youle-latest-posts-tabs button.is-active {
    background: var(--youle-accent);
}

.youle-nav-home .youle-personal-nav-item {
    border-color: var(--main-border-color, rgba(50, 50, 50, .06));
    background: var(--main-bg-color, #fff);
    box-shadow: 0 5px 16px -16px rgba(20, 29, 45, .4);
}

.youle-nav-home .youle-personal-nav-item:hover,
.youle-nav-home .youle-personal-nav-item:focus-within {
    border-color: rgba(36, 119, 242, .24);
    border-color: color-mix(in srgb, var(--youle-accent) 28%, var(--main-border-color));
    box-shadow: 0 9px 22px -18px rgba(20, 29, 45, .42);
}

.youle-nav-home .youle-personal-nav-icon img,
.youle-nav-home .youle-permanent-sponsor-icon img {
    object-fit: contain;
}

.youle-nav-home .youle-personal-nav-icon:not(.is-letter) {
    background: transparent;
    box-shadow: none;
}

.youle-nav-home .youle-permanent-sponsor-card {
    border-color: var(--main-border-color, rgba(50, 50, 50, .06));
    background: var(--main-bg-color, #fff);
    box-shadow: 0 5px 16px -16px rgba(20, 29, 45, .35);
}

.youle-nav-home .youle-latest-posts {
    padding: 4px 0 2px;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.youle-nav-home .youle-latest-posts-head {
    margin-bottom: 14px;
}

.youle-nav-home .youle-latest-posts-nav {
    margin: 0;
}

.youle-nav-home .youle-latest-posts-tabs {
    border: 0;
    background: var(--muted-bg-color, #e2e4e7);
}

.youle-nav-home .youle-latest-post-thumb {
    border: 1px solid var(--main-border-color, rgba(50, 50, 50, .06));
    box-shadow: 0 8px 24px -20px rgba(20, 29, 45, .45);
}

@media (min-width: 921px) {
    .youle-nav-home .youle-latest-posts-grid,
    .youle-nav-home .youle-nav-layout.has-right-sidebar .youle-latest-posts-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 10px;
    }
}

.youle-nav-home .youle-friend-links h2 {
    font-size: 17px;
}

.youle-nav-home .youle-friend-link-list {
    padding: 15px 18px;
}

.youle-nav-home .youle-friend-link-list a {
    color: var(--muted-color, #777);
    transition: color .18s ease;
}

.youle-nav-home .youle-friend-link-list a:hover,
.youle-nav-home .youle-friend-link-list a:focus-visible {
    color: var(--youle-accent);
}

.dark-theme .youle-nav-home .youle-nav-card,
.dark-theme .youle-nav-home .youle-section,
.dark-theme .youle-nav-home .youle-friend-link-list {
    box-shadow: 0 8px 24px -18px rgba(0, 0, 0, .6), 0 1px 2px rgba(0, 0, 0, .16);
}

@media (max-width: 920px) {
    .youle-nav-home .youle-nav-layout {
        gap: 14px;
    }

    .youle-nav-home .youle-nav-menu-card,
    .youle-nav-home .youle-nav-custom-links-card {
        padding: 7px;
    }
}

@media (max-width: 680px) {
    .youle-nav-home {
        --youle-gap: 12px;
    }

    .youle-nav-home .youle-portal-content {
        width: min(100% - 20px, 1460px);
    }

    .youle-nav-home .youle-section {
        padding: 13px;
    }

    .youle-nav-home .youle-sites-grid {
        gap: 8px;
    }

    .youle-nav-home .youle-site-main {
        min-height: 64px;
        padding: 9px 10px;
    }

    .youle-nav-home .youle-site-icon {
        flex-basis: 38px;
        width: 38px;
        height: 38px;
    }

    .youle-nav-home .youle-site-title {
        font-size: 14px;
    }
}

@media (hover: none), (prefers-reduced-motion: reduce) {
    .youle-nav-home .youle-site-card:hover,
    .youle-nav-home .youle-site-card:focus-within,
    .youle-nav-home .youle-personal-nav-item:hover,
    .youle-nav-home .youle-personal-nav-item:focus-within {
        transform: none;
    }

}

@media (hover: none), (pointer: coarse) {
    .youle-site-desc-popover,
    .youle-personal-nav-popover {
        display: none;
    }
}

@media (max-width: 991px) {
    .youle-header-mega-menu {
        position: static;
    }

    .youle-header-mega-panel {
        position: static;
        display: none;
        width: 100%;
        margin: 0;
        padding: 10px 8px;
        visibility: visible;
        border: 0;
        box-shadow: none;
        opacity: 1;
        transform: none;
    }

    .youle-header-mega-panel::before {
        display: none;
    }

    .youle-header-mega-menu.is-open > .youle-header-mega-panel {
        display: block;
    }

    .youle-header-mega-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .youle-header-mega-icon {
        flex-basis: 42px;
        width: 42px;
        height: 42px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .youle-bottom-float,
    .youle-bottom-float-close,
    .youle-bottom-float .youle-bottom-float-action,
    .youle-bottom-float-mini {
        transition: none;
    }
}

/* Global semantic palette. New pages should consume these variables instead of hard-coded interface colors. */
body.youle-global-palette {
    accent-color: var(--youle-primary);
}

body.youle-global-palette ::selection {
    color: var(--youle-on-primary);
    background: var(--youle-primary);
}

body.youle-global-palette :where(input:not([type]), input[type="text"], input[type="search"], input[type="email"], input[type="url"], input[type="tel"], input[type="number"], input[type="password"], select, textarea) {
    border-color: var(--youle-border);
    color: var(--youle-text);
    background-color: var(--youle-card-bg);
}

body.youle-global-palette :where(input:not([type]), input[type="text"], input[type="search"], input[type="email"], input[type="url"], input[type="tel"], input[type="number"], input[type="password"], select, textarea):focus {
    border-color: var(--youle-primary);
    outline-color: var(--youle-primary);
}

body.youle-global-palette :where(input, textarea)::placeholder {
    color: var(--youle-muted);
}

body.youle-global-palette .youle-portal,
body.youle-global-palette .youle-archive,
body.youle-global-palette .youle-single-site,
body.youle-global-palette .youle-page-shell,
body.youle-global-palette .youle-sponsor-page,
body.youle-global-palette .youle-submit-page,
body.youle-global-palette .youle-rankings-page {
    --youle-card-bg: var(--main-bg-color);
    --youle-page-bg: var(--body-bg-color);
    --youle-border: var(--main-border-color);
    --youle-muted: var(--muted-2-color);
    --youle-accent: var(--youle-primary);
}

body.youle-global-palette .youle-loading-fx {
    background: var(--youle-page-bg);
    background: color-mix(in srgb, var(--youle-page-bg) 96%, transparent);
}

body.youle-global-palette .youle-loader-dots i,
body.youle-global-palette .youle-loader-cubes i,
body.youle-global-palette .youle-loader-track i,
body.youle-global-palette .youle-loader-rays i {
    background: var(--youle-primary);
}

body.youle-global-palette .youle-loader-dots i:first-child,
body.youle-global-palette .youle-loader-cubes i:nth-child(even) {
    background: var(--youle-secondary);
}

body.youle-global-palette .youle-loader-track,
body.youle-global-palette .youle-loader-binary {
    color: var(--youle-primary);
}

body.youle-global-palette .youle-loader-roller i {
    border-color: var(--youle-primary);
    border-bottom-color: transparent;
    border-left-color: transparent;
}

body.youle-global-palette .youle-loader-speed::before {
    border-right-color: var(--youle-text);
}

body.youle-global-palette .youle-loader-speed::after,
body.youle-global-palette .youle-loader-speed i {
    background: var(--youle-text);
}

body.youle-global-palette .youle-home-search-form button,
body.youle-global-palette .youle-page-tabs a.is-active,
body.youle-global-palette .youle-rankings-types a.is-active,
body.youle-global-palette .youle-widget-tab-nav button.is-active,
body.youle-global-palette .youle-page-pagination .page-numbers .current,
body.youle-global-palette .youle-latest-posts-tabs button.is-active,
body.youle-global-palette .youle-personal-nav-tabs button.is-active,
body.youle-global-palette .youle-rankings-toolbar a.is-active {
    color: var(--youle-on-primary);
    background: var(--youle-primary);
    box-shadow: 0 6px 16px var(--youle-primary-soft);
}

body.youle-global-palette .youle-home-ad-head a,
body.youle-global-palette .youle-home-ad-head button,
body.youle-global-palette .youle-ad-apply-total strong {
    color: var(--youle-warning);
}

body.youle-global-palette .youle-home-ad-head button {
    border-color: var(--youle-warning);
    background: var(--youle-warning-soft);
}

body.youle-global-palette .youle-home-ad-head button span,
body.youle-global-palette .youle-ad-apply-submit {
    color: var(--youle-on-warning);
    background: var(--youle-warning);
}

body.youle-global-palette .youle-ad-device-options label.is-active {
    border-color: var(--youle-warning);
    background: var(--youle-warning-soft);
}

body.youle-global-palette .youle-ad-apply-notice.is-error,
body.youle-global-palette .youle-submit-notice.is-error,
body.youle-global-palette .youle-sponsor-notice.is-error,
body.youle-global-palette .youle-site-weight-panel.is-error .youle-site-weight-heading small {
    color: var(--youle-danger);
}

body.youle-global-palette .youle-ad-apply-notice.is-success,
body.youle-global-palette .youle-submit-notice.is-success,
body.youle-global-palette .youle-sponsor-notice.is-success {
    color: var(--youle-success);
}

body.youle-global-palette .youle-permanent-sponsor-icon,
body.youle-global-palette .youle-personal-nav-icon.is-letter,
body.youle-global-palette .youle-sponsor-letter,
body.youle-global-palette .youle-sponsor-preview-fallback b,
body.youle-global-palette .youle-sponsor-widget-letter,
body.youle-global-palette .youle-profile-avatar span {
    color: var(--youle-on-primary);
    background: var(--youle-primary);
    background-image: linear-gradient(135deg, var(--youle-primary), var(--youle-secondary));
}

body.youle-global-palette .youle-profile-cover {
    background-color: var(--youle-primary);
    background-image: linear-gradient(120deg, var(--youle-secondary), var(--youle-primary) 62%, var(--youle-danger));
}

body.youle-global-palette .youle-about-site-cover {
    background-color: var(--youle-primary);
    background-image: linear-gradient(120deg, var(--youle-primary), var(--youle-secondary));
}

body.youle-global-palette .youle-profile-stats em {
    color: var(--youle-muted);
}

body.youle-global-palette .youle-dailyhot-list > a:nth-child(1) .youle-dailyhot-rank {
    color: var(--youle-on-danger);
    background: var(--youle-danger);
}

body.youle-global-palette .youle-dailyhot-list > a:nth-child(2) .youle-dailyhot-rank {
    color: var(--youle-on-warning);
    background: var(--youle-warning);
}

body.youle-global-palette .youle-dailyhot-list > a:nth-child(3) .youle-dailyhot-rank {
    color: var(--youle-on-primary);
    background: var(--youle-primary);
}

body.youle-global-palette .youle-footer-site-stats i {
    color: var(--youle-success);
}

body.youle-global-palette .youle-submit-form input,
body.youle-global-palette .youle-submit-form select,
body.youle-global-palette .youle-submit-form textarea {
    border-color: var(--youle-border);
    color: var(--youle-text);
    background: var(--youle-soft-bg);
}

body.youle-global-palette .youle-submit-button {
    color: var(--youle-on-primary);
    background: linear-gradient(135deg, var(--youle-primary), var(--youle-secondary));
}

body.youle-global-palette .youle-submit-notice {
    color: var(--youle-muted);
}

body.youle-global-palette .youle-sponsor-card:hover,
body.youle-global-palette .youle-sponsor-card:focus-within,
body.youle-global-palette .youle-sponsor-hover {
    border-color: var(--youle-success);
    background: var(--youle-success);
}

body.youle-global-palette .youle-sponsor-card-group.is-ranking .youle-sponsor-card:hover,
body.youle-global-palette .youle-sponsor-card-group.is-ranking .youle-sponsor-card:focus-within {
    background: var(--main-bg-color);
}

body.youle-global-palette .youle-sponsor-amount.active,
body.youle-global-palette .youle-sponsor-amount:hover {
    border-color: var(--youle-success);
    color: var(--youle-success);
    background: var(--youle-success-soft);
}

body.youle-global-palette .youle-sponsor-submit,
body.youle-global-palette .youle-sponsor-pay-link,
body.youle-global-palette .youle-sponsor-modal-pay-link {
    color: var(--youle-on-primary) !important;
    background: var(--youle-primary);
}

body.youle-global-palette .youle-sponsor-modal-confirm,
body.youle-global-palette .youle-sponsor-widget-head a {
    color: var(--youle-on-danger);
    background: var(--youle-danger);
}

body.youle-global-palette .youle-sponsor-widget-head {
    border-bottom-color: var(--youle-danger);
}

body.youle-global-palette .youle-sponsor-widget-list em {
    color: var(--youle-warning);
    background: var(--youle-warning-soft);
}

body.youle-global-palette .youle-site-dead-mark {
    color: var(--youle-danger);
    background: var(--youle-danger-soft);
}

body.youle-global-palette .youle-site-icon.is-letter,
body.youle-global-palette .youle-site-single-icon.is-letter,
body.youle-global-palette .youle-site-sticky-icon.is-letter,
body.youle-global-palette .youle-header-mega-grid > a:nth-child(6n+1) .youle-header-mega-icon,
body.youle-global-palette .youle-nav-home .youle-site-card:nth-child(6n+1) .youle-site-icon.is-letter {
    color: var(--youle-on-secondary);
    background: var(--youle-secondary);
}

body.youle-global-palette .youle-header-mega-grid > a:nth-child(6n+2) .youle-header-mega-icon,
body.youle-global-palette .youle-nav-home .youle-site-card:nth-child(6n+2) .youle-site-icon.is-letter {
    color: var(--youle-on-primary);
    background: var(--youle-primary);
}

body.youle-global-palette .youle-header-mega-grid > a:nth-child(6n+3) .youle-header-mega-icon,
body.youle-global-palette .youle-nav-home .youle-site-card:nth-child(6n+3) .youle-site-icon.is-letter {
    color: var(--youle-on-danger);
    background: var(--youle-danger);
}

body.youle-global-palette .youle-header-mega-grid > a:nth-child(6n+4) .youle-header-mega-icon,
body.youle-global-palette .youle-nav-home .youle-site-card:nth-child(6n+4) .youle-site-icon.is-letter {
    color: var(--youle-on-warning);
    background: var(--youle-warning);
}

body.youle-global-palette .youle-header-mega-grid > a:nth-child(6n+5) .youle-header-mega-icon,
body.youle-global-palette .youle-nav-home .youle-site-card:nth-child(6n+5) .youle-site-icon.is-letter {
    color: var(--youle-on-primary);
    background: color-mix(in srgb, var(--youle-primary) 58%, var(--youle-danger));
}

body.youle-global-palette .youle-header-mega-grid > a:nth-child(6n+6) .youle-header-mega-icon,
body.youle-global-palette .youle-nav-home .youle-site-card:nth-child(6n+6) .youle-site-icon.is-letter {
    color: var(--youle-on-success);
    background: var(--youle-success);
}

body.youle-global-palette .youle-site-action.is-favorite,
body.youle-global-palette .youle-site-action.is-feedback {
    color: var(--youle-danger);
}

body.youle-global-palette .youle-site-action.is-like {
    color: var(--youle-success);
}

body.youle-global-palette .youle-site-action.is-favorite.actived,
body.youle-global-palette .youle-site-action.is-feedback.actived {
    color: var(--youle-on-danger);
    background: var(--youle-danger);
}

body.youle-global-palette .youle-site-action.is-like.actived {
    color: var(--youle-on-success);
    background: var(--youle-success);
}

body.youle-global-palette .youle-site-weight-heading > span,
body.youle-global-palette .youle-content-thumb.is-icon {
    color: var(--youle-on-primary);
    background: var(--youle-primary);
}

body.youle-global-palette .youle-site-ping-section.is-fast,
body.youle-global-palette .youle-site-ping-section.is-online:not(.is-normal):not(.is-slow) {
    --youle-ping-color: var(--youle-success);
    --youle-ping-soft: var(--youle-success-soft);
    --youle-ping-border: var(--youle-success);
}

body.youle-global-palette .youle-site-ping-section.is-normal {
    --youle-ping-color: var(--youle-warning);
    --youle-ping-soft: var(--youle-warning-soft);
    --youle-ping-border: var(--youle-warning);
}

body.youle-global-palette .youle-site-ping-section.is-slow,
body.youle-global-palette .youle-site-ping-section.is-timeout,
body.youle-global-palette .youle-site-ping-section.is-error {
    --youle-ping-color: var(--youle-danger);
    --youle-ping-soft: var(--youle-danger-soft);
    --youle-ping-border: var(--youle-danger);
}

body.youle-global-palette .youle-rankings-board {
    background: radial-gradient(circle at 82% 1%, var(--youle-primary-soft), transparent 25%), linear-gradient(180deg, var(--youle-soft-bg) 0, var(--youle-card-bg) 450px);
    box-shadow: 0 14px 36px var(--youle-shadow-color);
}

body.youle-global-palette .youle-rankings-heading h1 {
    color: var(--youle-text);
}

body.youle-global-palette .youle-rankings-heading p,
body.youle-global-palette .youle-rankings-heading time,
body.youle-global-palette .youle-rankings-podium-section header p {
    color: var(--youle-muted);
}

body.youle-global-palette .youle-rankings-decoration {
    color: var(--youle-primary-soft);
    background: linear-gradient(145deg, var(--youle-primary-soft), transparent);
}

body.youle-global-palette .youle-rankings-metrics > div > i {
    color: var(--youle-primary);
    background: var(--youle-primary-soft);
}

body.youle-global-palette .youle-rankings-metrics .is-yesterday > i {
    color: var(--youle-secondary);
    background: var(--youle-secondary-soft);
}

body.youle-global-palette .youle-rankings-metrics .is-month > i {
    color: var(--youle-warning);
    background: var(--youle-warning-soft);
}

body.youle-global-palette .youle-rankings-metrics .is-all > i {
    color: var(--youle-success);
    background: var(--youle-success-soft);
}

body.dark-theme.youle-global-palette .youle-rankings-board {
    background: radial-gradient(circle at 82% 1%, var(--youle-primary-soft), transparent 25%), linear-gradient(180deg, var(--youle-soft-bg) 0, var(--youle-card-bg) 450px);
}

body.youle-global-palette .b-theme {
    --this-color: var(--youle-on-primary);
}

@media (hover: none), (pointer: coarse) {
    body.youle-global-palette .youle-sponsor-card:hover,
    body.youle-global-palette .youle-sponsor-card:focus-within {
        border-color: var(--youle-border);
        background: var(--youle-card-bg);
    }
}

/* Codernav-inspired tactile navigation layout. */
body.youle-portal-page,
.youle-nav-home {
    --youle-nav-page-bg: #ececec;
    --youle-nav-panel-bg: #f8f8f8;
    --youle-nav-panel-edge: rgba(112, 116, 124, .48);
    --youle-nav-panel-shadow: 0 1px 0 rgba(255, 255, 255, .96) inset, 0 16px 36px rgba(18, 24, 38, .10);
    --youle-nav-card-bg: linear-gradient(180deg, #ffffff 0%, #f4f5f6 100%);
    --youle-nav-card-edge: rgba(112, 116, 124, .38);
    --youle-nav-card-edge-hover: rgba(241, 64, 75, .46);
    --youle-nav-card-shadow: 0 1px 0 rgba(255, 255, 255, .96) inset, 0 8px 18px rgba(20, 29, 45, .06);
    --youle-nav-text: #3f444b;
    --youle-nav-muted: #8a929d;
    --youle-nav-active: #f1404b;
}

body.youle-portal-page {
    background: var(--youle-nav-page-bg);
}

.youle-nav-home .youle-portal-content {
    width: min(100% - 28px, 1730px);
}

.youle-nav-home .youle-nav-layout {
    gap: 24px;
}

.youle-nav-home .youle-section.youle-sites-section {
    margin-bottom: 24px;
    padding: 14px 14px 15px;
    border: 1px solid var(--youle-nav-panel-edge);
    border-radius: 14px;
    background: linear-gradient(180deg, var(--youle-nav-panel-bg) 0%, #f1f2f3 100%);
    box-shadow: var(--youle-nav-panel-shadow);
}

.youle-nav-home .youle-section.youle-sites-section::before {
    pointer-events: none;
}

.youle-nav-home .youle-sites-section .youle-section-head {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    min-height: 44px;
    margin-bottom: 10px;
}

.youle-nav-home .youle-sites-section .youle-section-head h1,
.youle-nav-home .youle-sites-section .youle-section-head h2 {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 8px;
    min-width: max-content;
    margin: 0;
    color: var(--youle-nav-text);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
}

.youle-nav-home .youle-sites-section .youle-section-head h1 .youle-nav-menu-icon,
.youle-nav-home .youle-sites-section .youle-section-head h2 .youle-nav-menu-icon {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    border: 0;
    border-radius: 5px;
    color: #3f8cff;
    background: rgba(63, 140, 255, .12);
}

.youle-nav-home .youle-sites-section .youle-section-head h1 .youle-nav-menu-icon img,
.youle-nav-home .youle-sites-section .youle-section-head h2 .youle-nav-menu-icon img {
    width: 18px;
    height: 18px;
}

.youle-nav-home .youle-sites-section .youle-site-subterms {
    display: inline-flex;
    align-items: center;
    flex: 1 1 auto;
    flex-wrap: wrap;
    gap: 0;
    min-width: 120px;
    max-width: 100%;
    margin: 0;
    padding: 2px;
    overflow: visible;
    border: 1px solid rgba(112, 116, 124, .34);
    border-radius: 9px;
    background: rgba(255, 255, 255, .62);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset;
}

.youle-nav-home .youle-sites-section .youle-site-subterms button {
    min-width: 0;
    min-height: 38px;
    padding: 0 15px;
    border: 0;
    border-radius: 7px;
    color: var(--youle-nav-text);
    background: transparent;
    font-size: 15px;
    font-weight: 500;
    line-height: 38px;
    white-space: nowrap;
    box-shadow: none;
}

.youle-nav-home .youle-sites-section .youle-site-subterms button:hover,
.youle-nav-home .youle-sites-section .youle-site-subterms button:focus-visible {
    color: var(--youle-nav-active);
    background: rgba(241, 64, 75, .08);
}

.youle-nav-home .youle-sites-section .youle-site-subterms button.is-active {
    color: #fff;
    background: linear-gradient(180deg, #ff5964 0%, var(--youle-nav-active) 100%);
    box-shadow: 0 8px 16px rgba(241, 64, 75, .20), 0 1px 0 rgba(255, 255, 255, .22) inset;
}

.youle-nav-home .youle-sites-section .youle-section-actions {
    flex: 0 0 auto;
    margin-left: auto;
}

.youle-nav-home .youle-recommend-toggle {
    display: none;
}

.youle-nav-home .youle-recommend-section.is-collapsible .youle-sites-grid,
.youle-nav-home .youle-recommend-section.is-collapsed .youle-sites-grid,
.youle-nav-home .youle-recommend-section:not(.is-collapsed) .youle-sites-grid {
    max-height: none;
    overflow: visible;
}

.youle-nav-home .youle-sites-section .youle-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 88px;
    min-height: 34px;
    padding: 0 18px;
    border: 1px solid rgba(112, 116, 124, .36);
    border-radius: 18px;
    color: var(--youle-nav-text);
    background: rgba(255, 255, 255, .62);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset;
    font-size: 0;
    font-weight: 700;
    text-decoration: none;
    transform: none;
}

.youle-nav-home .youle-sites-section .youle-more::before {
    font-size: 15px;
    line-height: 1;
    content: 'more+';
}

.youle-nav-home .youle-sites-section .youle-more::after {
    content: none;
}

.youle-nav-home .youle-sites-section .youle-more:hover,
.youle-nav-home .youle-sites-section .youle-more:focus-visible {
    border-color: var(--youle-nav-card-edge-hover);
    color: var(--youle-nav-active);
    background: #fff;
    transform: none;
}

.youle-nav-home .youle-sites-section .youle-sites-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 20px 20px;
}

.youle-nav-home .youle-sites-section .youle-site-card {
    overflow: visible;
    min-height: 77px;
    border: 1px solid var(--youle-nav-card-edge);
    border-radius: 12px;
    background: var(--youle-nav-card-bg);
    box-shadow: var(--youle-nav-card-shadow);
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease, background .18s ease;
}

.youle-nav-home .youle-sites-section .youle-site-card::before {
    position: absolute;
    inset: 1px;
    pointer-events: none;
    border-radius: 10px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .58), rgba(255, 255, 255, 0) 48%);
    content: '';
}

.youle-nav-home .youle-sites-section .youle-site-card:hover,
.youle-nav-home .youle-sites-section .youle-site-card:focus-within {
    border-color: var(--youle-nav-card-edge-hover);
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .96) inset, 0 14px 24px rgba(20, 29, 45, .12);
    transform: translateY(-2px);
}

.youle-nav-home .youle-sites-section .youle-site-main {
    position: relative;
    z-index: 1;
    align-items: center;
    gap: 14px;
    min-height: 76px;
    padding: 10px 14px;
}

.youle-nav-home .youle-sites-section .youle-site-icon {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    padding: 6px;
    border: 0;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 25%, #ffffff 0%, #f4f5f7 54%, #e6e8eb 100%);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .95) inset, 0 8px 16px rgba(20, 29, 45, .08);
}

.youle-nav-home .youle-sites-section .youle-site-icon img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: contain;
}

.youle-nav-home .youle-sites-section .youle-site-icon.is-letter {
    color: #fff;
    background: linear-gradient(135deg, #2f80ed, #56ccf2);
    font-size: 18px;
    box-shadow: 0 8px 18px rgba(47, 128, 237, .22);
}

.youle-nav-home .youle-sites-section .youle-site-body {
    align-self: center;
    min-width: 0;
}

.youle-nav-home .youle-sites-section .youle-site-title {
    margin: 0 0 4px;
    color: var(--youle-nav-text);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.25;
}

.youle-nav-home .youle-sites-section .youle-site-desc {
    display: block;
    overflow: hidden;
    color: var(--youle-nav-muted);
    font-size: 14px;
    line-height: 1.28;
    text-overflow: ellipsis;
    white-space: nowrap;
    -webkit-line-clamp: unset;
}

body.dark-theme.youle-portal-page,
.dark-theme .youle-nav-home {
    --youle-nav-page-bg: #1f2023;
    --youle-nav-panel-bg: #2a2b2f;
    --youle-nav-panel-edge: rgba(255, 255, 255, .16);
    --youle-nav-panel-shadow: 0 1px 0 rgba(255, 255, 255, .06) inset, 0 18px 38px rgba(0, 0, 0, .34);
    --youle-nav-card-bg: linear-gradient(180deg, #34363b 0%, #282a2e 100%);
    --youle-nav-card-edge: rgba(255, 255, 255, .14);
    --youle-nav-card-edge-hover: rgba(255, 91, 103, .62);
    --youle-nav-card-shadow: 0 1px 0 rgba(255, 255, 255, .06) inset, 0 10px 20px rgba(0, 0, 0, .22);
    --youle-nav-text: #f0f2f5;
    --youle-nav-muted: #aeb5bf;
}

.dark-theme .youle-nav-home .youle-section.youle-sites-section {
    background: linear-gradient(180deg, var(--youle-nav-panel-bg) 0%, #232428 100%);
}

.dark-theme .youle-nav-home .youle-sites-section .youle-site-subterms,
.dark-theme .youle-nav-home .youle-sites-section .youle-more {
    background: rgba(255, 255, 255, .06);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .06) inset;
}

.dark-theme .youle-nav-home .youle-sites-section .youle-site-icon {
    background: radial-gradient(circle at 35% 25%, #3f4248 0%, #303238 54%, #24262b 100%);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .06) inset, 0 8px 16px rgba(0, 0, 0, .22);
}

.dark-theme .youle-nav-home .youle-sites-section .youle-site-card:hover,
.dark-theme .youle-nav-home .youle-sites-section .youle-site-card:focus-within {
    background: linear-gradient(180deg, #3a3d43 0%, #2c2e33 100%);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .07) inset, 0 16px 28px rgba(0, 0, 0, .34);
}

@media (max-width: 1560px) {
    .youle-nav-home .youle-sites-section .youle-sites-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

@media (max-width: 1320px) {
    .youle-nav-home .youle-sites-section .youle-sites-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 1080px) {
    .youle-nav-home .youle-sites-section .youle-sites-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .youle-nav-home .youle-portal-content {
        width: min(100% - 20px, 1730px);
    }

    .youle-nav-home .youle-section.youle-sites-section {
        padding: 12px;
        border-radius: 12px;
    }

    .youle-nav-home .youle-sites-section .youle-section-head {
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 10px;
    }

    .youle-nav-home .youle-sites-section .youle-section-head h1,
    .youle-nav-home .youle-sites-section .youle-section-head h2 {
        width: auto;
        font-size: 16px;
    }

    .youle-nav-home .youle-sites-section .youle-site-subterms {
        order: 3;
        flex-basis: 100%;
        overflow-x: auto;
        flex-wrap: nowrap;
        scrollbar-width: none;
    }

    .youle-nav-home .youle-sites-section .youle-site-subterms::-webkit-scrollbar {
        display: none;
    }

    .youle-nav-home .youle-sites-section .youle-site-subterms button {
        min-height: 34px;
        padding: 0 12px;
        font-size: 14px;
        line-height: 34px;
    }

    .youle-nav-home .youle-sites-section .youle-sites-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .youle-nav-home .youle-sites-section .youle-site-main {
        min-height: 68px;
        gap: 10px;
        padding: 9px 10px;
    }

    .youle-nav-home .youle-sites-section .youle-site-icon {
        flex-basis: 42px;
        width: 42px;
        height: 42px;
        padding: 5px;
    }

    .youle-nav-home .youle-sites-section .youle-site-title {
        font-size: 15px;
    }

    .youle-nav-home .youle-sites-section .youle-site-desc {
        font-size: 12px;
    }
}

@media (max-width: 430px) {
    .youle-nav-home .youle-sites-section .youle-sites-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

.youle-home-search-quick-icon,
.youle-home-search-quick-text {
    display: none;
}

.youle-home-search-quick-label {
    display: inline;
}

.youle-home-search-quick-text,
.youle-home-search-quick-text strong {
    font: inherit;
}

@media (max-width: 680px) {
    .youle-home-hero {
        min-height: 0;
        padding: 12px 10px 18px;
    }

    .youle-home-hero-inner {
        width: min(100%, 480px);
        margin: 0 auto 12px;
        align-items: stretch;
    }

    .youle-home-search-tabs {
        justify-content: flex-start;
        width: 100%;
        padding: 4px;
        border: 1px solid #d7d7d7;
        border-radius: 9px;
        background: rgba(255, 255, 255, .96);
        box-shadow: 0 6px 18px rgba(31, 41, 55, .08);
        backdrop-filter: none;
    }

    .youle-home-search-tabs .youle-search-slider,
    .youle-home-search-engine-set .youle-search-slider {
        display: none;
    }

    .youle-home-search-tab {
        min-width: auto;
        height: 36px;
        padding: 0 14px;
        border-radius: 7px;
        color: #424a53;
        font-size: 14px;
        font-weight: 760;
        white-space: nowrap;
    }

    .youle-home-search-tab.is-active,
    .youle-home-search-tabs.has-slider .youle-home-search-tab.is-active {
        color: #fff;
        background: #f34655;
        box-shadow: 0 8px 18px rgba(243, 70, 85, .2);
    }

    .youle-home-search-form {
        height: 46px;
        margin-top: 10px;
        border-radius: 9px;
        box-shadow: 0 8px 18px rgba(31, 41, 55, .14);
    }

    .youle-home-search-quicks {
        display: block;
        width: 100%;
        max-width: none;
        margin-top: 10px;
        padding: 0;
        overflow: visible;
    }

    .youle-home-search-engine-set,
    .youle-home-search-engine-set.is-active {
        width: 100%;
        min-width: 0;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px 12px;
        align-items: stretch;
        justify-content: stretch;
    }

    .youle-home-search-engine-set.is-active {
        display: grid;
    }

    .youle-home-search-quick {
        display: grid;
        grid-template-columns: 46px minmax(0, 1fr);
        align-items: center;
        width: 100%;
        min-width: 0;
        min-height: 76px;
        padding: 9px 10px;
        border: 1px solid rgba(38, 46, 56, .22);
        border-radius: 12px;
        color: #3f4650;
        background: rgba(255, 255, 255, .95);
        box-shadow: 0 8px 18px rgba(31, 41, 55, .08);
        text-align: left;
    }

    .youle-home-search-quick-label {
        display: none;
    }

    .youle-home-search-quick.is-active,
    .youle-home-search-engine-set.has-slider .youle-home-search-quick.is-active {
        color: #2f3640;
        border-color: rgba(243, 70, 85, .38);
        background: #fff;
        box-shadow: 0 9px 20px rgba(31, 41, 55, .1);
    }

    .youle-home-search-quick-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        overflow: hidden;
        border-radius: 50%;
        background: #f2f4f7;
    }

    .youle-home-search-quick-icon img {
        width: 34px;
        height: 34px;
        object-fit: contain;
    }

    .youle-home-search-quick-icon.is-letter {
        color: #fff;
        background: linear-gradient(135deg, #2f80ed, #56ccf2);
        font-size: 18px;
        font-weight: 800;
    }

    .youle-home-search-quick-text {
        display: block;
        min-width: 0;
    }

    .youle-home-search-quick-text strong,
    .youle-home-search-quick-text small {
        display: block;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .youle-home-search-quick-text strong {
        color: inherit;
        font-size: 15px;
        font-weight: 800;
        line-height: 1.25;
    }

    .youle-home-search-quick-text small {
        margin-top: 5px;
        color: #8b929b;
        font-size: 12px;
        font-weight: 500;
        line-height: 1.2;
    }
}

/* Integrated ad manager */
.youle-ad-manager {
    width: 100%;
    min-width: 0;
    margin: 12px 0;
    padding: 14px;
    border: 1px solid var(--youle-border, rgba(125, 133, 149, .18));
    border-radius: 8px;
    color: var(--main-color, #263140);
    background: var(--main-bg-color, #fff);
    box-shadow: 0 3px 14px rgba(31, 41, 55, .05);
}

.youle-ad-manager-head,
.youle-ad-manager-head > strong,
.youle-ad-manager-head > a {
    display: flex;
    align-items: center;
}

.youle-ad-manager-head {
    justify-content: space-between;
    gap: 12px;
    min-height: 30px;
    margin-bottom: 12px;
}

.youle-ad-manager-head > strong {
    gap: 8px;
    min-width: 0;
    font-size: 15px;
}

.youle-ad-manager-head > strong > i,
.youle-ad-manager-head > strong > svg {
    width: 18px;
    height: 18px;
    color: var(--youle-primary, #246bd8);
    fill: currentColor;
}

.youle-ad-manager-head > a {
    flex: 0 0 auto;
    gap: 6px;
    min-height: 30px;
    padding: 0 10px;
    border: 1px solid var(--youle-border, rgba(125, 133, 149, .18));
    border-radius: 6px;
    color: var(--youle-primary, #246bd8);
    background: var(--youle-soft-bg, #f6f8fa);
    font-size: 12px;
    font-weight: 700;
}

.youle-ad-image-grid,
.youle-ad-text-grid {
    display: grid;
    min-width: 0;
    gap: 10px;
}

.youle-ad-image-grid {
    grid-template-columns: repeat(var(--youle-ad-cols, 2), minmax(0, 1fr));
}

.youle-ad-image {
    position: relative;
    display: block;
    aspect-ratio: var(--youle-ad-ratio, 8 / 1);
    overflow: hidden;
    border-radius: 6px;
    background: var(--youle-soft-bg, #f2f5f8);
}

.youle-ad-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .2s ease;
}

.youle-ad-image:hover img {
    transform: scale(1.018);
}

.youle-ad-image > em,
.youle-ad-text > em {
    color: #fff;
    background: #246bd8;
    font-style: normal;
    font-weight: 700;
}

.youle-ad-image > em {
    position: absolute;
    top: 7px;
    left: 7px;
    z-index: 2;
    padding: 2px 7px;
    border-radius: 4px;
    font-size: 10px;
}

.youle-ad-image > em.is-hot,
.youle-ad-text > em.is-hot {
    background: #cf3d52;
}

.youle-ad-image > em.is-recommend,
.youle-ad-text > em.is-recommend {
    color: #422f00;
    background: #f6b51f;
}

.youle-ad-text-grid {
    grid-template-columns: repeat(var(--youle-ad-text-cols, 4), minmax(0, 1fr));
    margin-top: 10px;
}

.youle-ad-text {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    min-height: 42px;
    padding: 7px 9px;
    border: 1px solid var(--youle-border, rgba(125, 133, 149, .18));
    border-radius: 7px;
    color: var(--main-color, #263140);
    background: var(--youle-soft-bg, #f7f9fb);
    transition: border-color .16s ease, transform .16s ease;
}

.youle-ad-text:hover {
    border-color: color-mix(in srgb, var(--youle-primary, #246bd8) 45%, transparent);
    color: var(--youle-primary, #246bd8);
    transform: translateY(-1px);
}

.youle-ad-text-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 26px;
    width: 26px;
    height: 26px;
    overflow: hidden;
    border-radius: 6px;
    color: #fff;
    background: var(--youle-primary, #246bd8);
    font-size: 11px;
    font-weight: 800;
}

.youle-ad-text-icon svg {
    width: 15px;
    height: 15px;
    fill: currentColor;
}

.youle-ad-text > strong {
    min-width: 0;
    overflow: hidden;
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.youle-ad-text > em {
    flex: 0 0 auto;
    margin-left: auto;
    padding: 1px 5px;
    border-radius: 4px;
    font-size: 9px;
}

.dark-theme .youle-ad-manager {
    border-color: rgba(255, 255, 255, .09);
    color: #e7edf5;
    background: #1d242e;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .18);
}

.dark-theme .youle-ad-manager-head > a,
.dark-theme .youle-ad-text {
    border-color: rgba(255, 255, 255, .09);
    background: #252e39;
}

.dark-theme .youle-ad-text {
    color: #e7edf5;
}

@media (max-width: 760px) {
    .youle-ad-manager {
        padding: 11px;
    }

    .youle-ad-image-grid {
        grid-template-columns: repeat(var(--youle-ad-mobile-cols, 1), minmax(0, 1fr));
    }

    .youle-ad-text-grid {
        grid-template-columns: repeat(var(--youle-ad-text-mobile-cols, 2), minmax(0, 1fr));
        gap: 8px;
    }
}

@media (max-width: 430px) {
    .youle-ad-text-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Header mega menu and personal shortcuts: final layout pass. */
@media (min-width: 992px) {
    .youle-header-mega-panel {
        width: min(560px, calc(100vw - 32px));
        padding: 16px;
    }

    .youle-header-mega-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
    }

    .youle-header-mega-grid > a {
        min-height: 74px;
        padding: 10px 8px;
        gap: 8px;
        font-size: 14px;
    }

    .youle-header-mega-icon {
        flex-basis: 52px;
        width: 52px;
        height: 52px;
        border-radius: 9px;
    }

    .youle-header-mega-icon .youle-nav-menu-icon,
    .youle-header-mega-fallback,
    .youle-header-mega-letter {
        font-size: 22px;
    }
}

.youle-nav-home .youle-personal-nav {
    margin: 14px 0 20px;
    padding-top: 0;
}

.youle-nav-home .youle-personal-nav-head {
    margin-bottom: 10px;
    padding-left: 0;
}

.youle-nav-home .youle-personal-nav-tabs {
    border-radius: 8px;
}

.youle-nav-home .youle-personal-nav-tabs button {
    min-height: 36px;
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 14px;
}

.youle-nav-home .youle-personal-nav-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px 14px;
}

.youle-nav-home .youle-personal-nav-item {
    min-height: 62px;
    border-radius: 8px;
}

.youle-nav-home .youle-personal-nav-link {
    min-height: 60px;
    gap: 12px;
    padding: 9px 12px;
}

.youle-nav-home .youle-personal-nav-icon {
    flex-basis: 42px;
    width: 42px;
    height: 42px;
    border-radius: 9px;
}

.youle-nav-home .youle-personal-nav-link strong {
    font-size: 15px;
}

.youle-nav-home .youle-personal-nav-popover {
    right: 8px;
    bottom: calc(100% + 7px);
    left: 8px;
    display: -webkit-box;
    max-height: 88px;
    overflow: hidden;
    padding: 9px 11px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    border-radius: 6px;
    font-size: 12px;
    line-height: 1.45;
    text-align: left;
}

.youle-nav-home .youle-personal-nav-popover::after {
    content: none;
}

@media (max-width: 1280px) {
    .youle-nav-home .youle-personal-nav-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 920px) {
    .youle-nav-home .youle-personal-nav-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .youle-nav-home .youle-personal-nav-grid {
        grid-auto-columns: minmax(210px, 82vw);
        grid-template-columns: none;
    }

    .youle-nav-home .youle-personal-nav-icon {
        flex-basis: 38px;
        width: 38px;
        height: 38px;
    }
}

/* Keep the active card and its description above every transformed sibling. */
.youle-sites-grid > .youle-site-card {
    z-index: 0;
    isolation: isolate;
}

.youle-sites-grid > .youle-site-card:hover,
.youle-sites-grid > .youle-site-card:focus-within {
    z-index: 200;
}

.youle-sites-grid > .youle-site-card .youle-site-desc-popover {
    z-index: 201;
    border: 1px solid #283244;
    color: #fff;
    background: #192231;
    box-shadow: 0 16px 34px rgba(2, 8, 23, .36);
    opacity: 0;
}

.youle-sites-grid > .youle-site-card:hover .youle-site-desc-popover,
.youle-sites-grid > .youle-site-card:focus-within .youle-site-desc-popover {
    visibility: visible;
    opacity: 1;
}

.youle-sites-grid > .youle-site-card .youle-site-desc-popover::after {
    border-top-color: #192231;
}

.dark-theme .youle-sites-grid > .youle-site-card .youle-site-desc-popover {
    border-color: #455167;
    color: #f8fafc;
    background: #101722;
    box-shadow: 0 18px 38px rgba(0, 0, 0, .58);
}

.dark-theme .youle-sites-grid > .youle-site-card .youle-site-desc-popover::after {
    border-top-color: #101722;
}

.youle-seo-page-title {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    margin: -1px !important;
    padding: 0 !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    border: 0 !important;
    white-space: nowrap !important;
}

/* Site-wide compact visual layer. Keep this block last so parent-theme skins
 * cannot restore their larger radius and heavy shadow after child styles. */
body.youle-global-palette {
    --youle-ui-page: #f3f6f9;
    --youle-ui-surface: #fff;
    --youle-ui-surface-soft: #f6f8fa;
    --youle-ui-icon-bg: #f1f4f7;
    --youle-ui-text: #263140;
    --youle-ui-muted: #758194;
    --youle-ui-border: #dfe5ec;
    --youle-ui-border-hover: rgba(36, 107, 216, .38);
    --youle-ui-radius: 8px;
    --youle-ui-control-radius: 6px;
    --youle-ui-shadow: 0 2px 10px rgba(31, 41, 55, .045);
    --youle-ui-shadow-hover: 0 8px 22px rgba(31, 41, 55, .085);
    color: var(--youle-ui-text);
    background-color: var(--youle-ui-page);
}

body.dark-theme.youle-global-palette {
    --youle-ui-page: #151a21;
    --youle-ui-surface: #1d242e;
    --youle-ui-surface-soft: #222a35;
    --youle-ui-icon-bg: #27313d;
    --youle-ui-text: #e7edf5;
    --youle-ui-muted: #9aa6b5;
    --youle-ui-border: rgba(255, 255, 255, .09);
    --youle-ui-border-hover: color-mix(in srgb, var(--youle-primary, #4f8ee8) 58%, transparent);
    --youle-ui-shadow: 0 3px 12px rgba(0, 0, 0, .16);
    --youle-ui-shadow-hover: 0 10px 24px rgba(0, 0, 0, .24);
}

body.youle-global-palette .header {
    border-bottom: 1px solid var(--youle-ui-border);
    box-shadow: 0 3px 14px rgba(31, 41, 55, .035);
}

body.youle-global-palette.youle-floating-header .header {
    border: 1px solid var(--youle-ui-border);
    border-radius: var(--youle-ui-radius);
}

body.youle-global-palette .footer {
    border-top: 1px solid var(--youle-ui-border);
    color: var(--youle-ui-muted);
    background: var(--youle-ui-surface);
}

body.youle-global-palette :where(.main-radius, .radius8) {
    border-radius: var(--youle-ui-radius);
}

body.youle-global-palette :where(.mini-radius, .radius4) {
    border-radius: var(--youle-ui-control-radius);
}

body.youle-global-palette :where(.but:not(.cir):not(.radius), button:not(.cir):not(.radius), .badge:not(.radius)) {
    border-radius: var(--youle-ui-control-radius);
}

body.youle-global-palette :where(
    input:not([type]),
    input[type="text"],
    input[type="search"],
    input[type="email"],
    input[type="url"],
    input[type="tel"],
    input[type="number"],
    input[type="password"],
    select,
    textarea
) {
    border: 1px solid var(--youle-ui-border);
    border-radius: var(--youle-ui-control-radius);
    color: var(--youle-ui-text);
    background: var(--youle-ui-surface);
    box-shadow: none;
}

body.youle-global-palette :where(
    input:not([type]),
    input[type="text"],
    input[type="search"],
    input[type="email"],
    input[type="url"],
    input[type="tel"],
    input[type="number"],
    input[type="password"],
    select,
    textarea
):focus {
    border-color: var(--youle-primary, #246bd8);
    box-shadow: 0 0 0 3px var(--youle-primary-soft, rgba(36, 107, 216, .1));
}

body.youle-global-palette .modal-content,
body.youle-global-palette .popover,
body.youle-global-palette .dropdown-menu:not(.share-button) {
    border: 1px solid var(--youle-ui-border);
    border-radius: var(--youle-ui-radius);
    color: var(--youle-ui-text);
    background: var(--youle-ui-surface);
    box-shadow: 0 14px 34px rgba(31, 41, 55, .14);
}

body.dark-theme.youle-global-palette .modal-content,
body.dark-theme.youle-global-palette .popover,
body.dark-theme.youle-global-palette .dropdown-menu:not(.share-button) {
    box-shadow: 0 16px 36px rgba(0, 0, 0, .34);
}

/* Parent theme content surfaces and sidebars. */
body.youle-global-palette :where(
    .sidebar > .zib-widget,
    .sidebar .widget-area > .zib-widget,
    .content-layout > .zib-widget,
    .article.zib-widget,
    .article.main-bg,
    .user-card.zib-widget,
    .relates > .zib-widget,
    .comments-box,
    .comment-form-theme,
    .author-header
) {
    border: 1px solid var(--youle-ui-border);
    border-radius: var(--youle-ui-radius);
    color: var(--youle-ui-text);
    background-color: var(--youle-ui-surface);
    box-shadow: var(--youle-ui-shadow);
}

body.youle-global-palette .sidebar > .zib-widget {
    padding: 14px;
}

body.youle-global-palette .sidebar > .zib-widget + .zib-widget {
    margin-top: 14px;
}

body.youle-global-palette .sidebar .zib-widget > h3,
body.youle-global-palette .sidebar .title-h-left {
    margin-bottom: 10px;
    color: var(--youle-ui-text);
    font-size: 15px;
}

body.youle-global-palette .sidebar :where(.avatar-img, .item-thumbnail, .graphic, img) {
    border-radius: var(--youle-ui-control-radius);
}

/* Parent tag-cloud widget: compact color tiles with one shared panel. */
body.youle-global-palette .widget-container:has(.widget-tag-cloud.author-tag) {
    overflow: hidden;
    border-radius: 10px;
}

body.youle-global-palette .widget-container:has(.widget-tag-cloud.author-tag) > div > .box-body.notop {
    margin: 0 14px;
    padding: 15px 0 12px;
    border-bottom: 1px solid color-mix(in srgb, var(--youle-ui-border) 85%, transparent);
}

body.youle-global-palette .widget-container:has(.widget-tag-cloud.author-tag) .title-theme {
    min-height: 24px;
    padding: 0 0 0 30px;
    color: var(--youle-ui-text);
    font-size: 18px;
    font-weight: 700;
    line-height: 24px;
}

body.youle-global-palette .widget-container:has(.widget-tag-cloud.author-tag) .title-theme::before {
    top: 0;
    bottom: auto;
    left: 0;
    width: 22px;
    height: 24px;
    color: var(--youle-danger, #f04438);
    background: none;
    box-shadow: none;
    font-family: FontAwesome;
    font-size: 18px;
    line-height: 24px;
    text-align: center;
    content: '\f02c';
}

body.youle-global-palette .widget-tag-cloud.author-tag,
body.youle-global-palette .widget-tag-cloud.author-tag.fixed-width {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 9px 10px;
    margin: 0;
    padding: 14px 14px 15px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

body.youle-global-palette .widget-tag-cloud.author-tag .but,
body.youle-global-palette .widget-tag-cloud.author-tag.fixed-width .but {
    display: block;
    flex: 0 1 auto;
    width: auto;
    min-width: 0;
    min-height: 34px;
    margin: 0;
    padding: 0 14px;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, currentColor 15%, transparent);
    border-radius: 999px;
    color: var(--this-color, var(--youle-primary));
    background: linear-gradient(180deg, color-mix(in srgb, currentColor 10%, #fff 12%), color-mix(in srgb, currentColor 8%, transparent));
    box-shadow: 0 3px 10px rgba(31, 41, 55, .04);
    font-size: 14px;
    font-weight: 700;
    line-height: 34px;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color .16s ease, background-color .16s ease, box-shadow .16s ease, transform .16s ease, border-color .16s ease;
}

body.youle-global-palette .widget-tag-cloud.author-tag .but:nth-child(6n + 1) {
    --this-color: #2477e8;
}

body.youle-global-palette .widget-tag-cloud.author-tag .but:nth-child(6n + 2) {
    --this-color: #cc3f7d;
}

body.youle-global-palette .widget-tag-cloud.author-tag .but:nth-child(6n + 3) {
    --this-color: #078b81;
}

body.youle-global-palette .widget-tag-cloud.author-tag .but:nth-child(6n + 4) {
    --this-color: #7656c9;
}

body.youle-global-palette .widget-tag-cloud.author-tag .but:nth-child(6n + 5) {
    --this-color: #2e8c50;
}

body.youle-global-palette .widget-tag-cloud.author-tag .but:nth-child(6n) {
    --this-color: #b66b05;
}

body.youle-global-palette .widget-tag-cloud.author-tag .but:hover,
body.youle-global-palette .widget-tag-cloud.author-tag .but:focus-visible {
    color: var(--this-color, var(--youle-primary));
    border-color: color-mix(in srgb, currentColor 32%, transparent);
    background: color-mix(in srgb, currentColor 16%, transparent);
    box-shadow: 0 6px 16px color-mix(in srgb, currentColor 10%, transparent);
    transform: translateY(-1px);
}

body.dark-theme.youle-global-palette .widget-tag-cloud.author-tag .but {
    background: color-mix(in srgb, currentColor 16%, transparent);
}

body.dark-theme.youle-global-palette .widget-tag-cloud.author-tag .but:hover,
body.dark-theme.youle-global-palette .widget-tag-cloud.author-tag .but:focus-visible {
    background: color-mix(in srgb, currentColor 24%, transparent);
}

body.youle-global-palette .article.main-bg,
body.youle-global-palette .article.zib-widget {
    padding-right: 24px;
    padding-left: 24px;
}

body.youle-global-palette .article-header .article-title {
    color: var(--youle-ui-text);
    letter-spacing: 0;
}

body.youle-global-palette .article-content {
    color: var(--youle-ui-text);
}

body.youle-global-palette .article-content :where(blockquote, pre, table) {
    border-color: var(--youle-ui-border);
    border-radius: var(--youle-ui-control-radius);
}

body.youle-global-palette .article-content blockquote {
    background: var(--youle-ui-surface-soft);
}

body.youle-global-palette :where(.posts-item, .posts-item.card) {
    overflow: hidden;
    border: 1px solid var(--youle-ui-border);
    border-radius: var(--youle-ui-radius);
    color: var(--youle-ui-text);
    background: var(--youle-ui-surface);
    box-shadow: var(--youle-ui-shadow);
    transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

body.youle-global-palette :where(.posts-item, .posts-item.card):hover {
    border-color: var(--youle-ui-border-hover);
    box-shadow: var(--youle-ui-shadow-hover);
}

body.youle-global-palette .posts-item :where(.item-thumbnail, .item-thumbnail img, .post-graphic, .post-graphic img) {
    border-radius: var(--youle-ui-control-radius);
}

body.youle-global-palette .posts-item .item-heading > a {
    color: var(--youle-ui-text);
}

body.youle-global-palette :where(.posts-item .item-meta, .posts-item .item-excerpt, .posts-item .item-tags) {
    color: var(--youle-ui-muted);
}

body.youle-global-palette .theme-pagination :where(a, span),
body.youle-global-palette .pagination :where(a, span) {
    border: 1px solid var(--youle-ui-border);
    border-radius: var(--youle-ui-control-radius);
    background: var(--youle-ui-surface);
}

/* Forums. */
body.youle-global-palette :where(.plate-lists .plate-item, .scroll-plate .plate-card) {
    border: 1px solid var(--youle-ui-border);
    border-radius: var(--youle-ui-radius);
    color: var(--youle-ui-text);
    background: var(--youle-ui-surface);
    box-shadow: var(--youle-ui-shadow);
}

body.youle-global-palette .plate-lists .plate-item {
    padding: 13px 15px;
}

body.youle-global-palette :where(.plate-thumb, .plate-thumb > img, .plate-item .forum-thumbnail) {
    border-radius: var(--youle-ui-radius);
}

body.youle-global-palette .forum-posts {
    color: var(--youle-ui-text);
    background: var(--youle-ui-surface);
}

body.youle-global-palette .forum-posts.alone,
body.youle-global-palette .forum-posts:first-child:last-child,
body.youle-global-palette .forum-header,
body.youle-global-palette .forum-article {
    border: 1px solid var(--youle-ui-border);
    border-radius: var(--youle-ui-radius);
    box-shadow: var(--youle-ui-shadow);
}

body.youle-global-palette .forum-posts + .forum-posts {
    border-top-color: var(--youle-ui-border);
}

body.youle-global-palette :where(.forum-title, .forum-title a, .forum-posts .content) {
    color: var(--youle-ui-text);
}

body.youle-global-palette :where(.forum-posts .item-meta, .plate-item .excerpt, .plate-item .count-mates) {
    color: var(--youle-ui-muted);
}

body.youle-global-palette .panel.panel-plate {
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

/* Shop. */
body.youle-global-palette .product-item.card {
    border: 1px solid var(--youle-ui-border);
    border-radius: var(--youle-ui-radius);
    background: var(--youle-ui-surface);
    box-shadow: var(--youle-ui-shadow);
}

body.youle-global-palette .product-item.card:hover {
    border-color: var(--youle-ui-border-hover);
    box-shadow: var(--youle-ui-shadow-hover);
    transform: translateY(-1px);
}

body.youle-global-palette .product-item.card :where(.item-thumbnail, .item-thumbnail img) {
    border-radius: var(--youle-ui-control-radius) var(--youle-ui-control-radius) 0 0;
}

body.youle-global-palette :where(.shop-term-header, .post-productbox, .single-product-detail-box, .single-product-cover-box) {
    border-color: var(--youle-ui-border);
    border-radius: var(--youle-ui-radius);
}

body.youle-global-palette .article.product-article {
    border: 1px solid var(--youle-ui-border);
    border-radius: var(--youle-ui-radius);
    background: var(--youle-ui-surface);
    box-shadow: var(--youle-ui-shadow);
}

body.youle-global-palette .product-item .item-heading a,
body.youle-global-palette .single-product-title .article-title {
    color: var(--youle-ui-text);
}

/* Login and account entry. */
body.youle-global-palette .sign-content {
    padding: 28px 14px;
}

body.youle-global-palette .sign.zib-widget {
    padding: 20px;
    border: 1px solid var(--youle-ui-border);
    border-radius: var(--youle-ui-radius);
    color: var(--youle-ui-text);
    background: color-mix(in srgb, var(--youle-ui-surface) 94%, transparent);
    box-shadow: var(--youle-ui-shadow-hover);
}

body.youle-global-palette .sign .line-form-input {
    color: var(--youle-ui-text);
}

body.youle-global-palette .social_loginbar :where(.xh-social-item, .social-login-item) {
    border-radius: var(--youle-ui-control-radius);
}

/* Child-theme pages share the same surface weight. */
body.youle-global-palette :where(
    .youle-page-content,
    .youle-blog-heading,
    .youle-blog-filter,
    .youle-bulletin-list article > a,
    .youle-contribute-actions > div,
    .youle-links-guide-item,
    .youle-links-list,
    .youle-rankings-toolbar,
    .youle-rankings-board,
    .youle-sponsor-intro,
    .youle-sponsor-section,
    .youle-sponsor-form-sidebar,
    .youle-submit-box,
    .youle-site-archive-nav,
    .youle-site-detail-card,
    .youle-bookmark-dock,
    .youle-bookmark-login
) {
    border: 1px solid var(--youle-ui-border);
    border-radius: var(--youle-ui-radius);
    background-color: var(--youle-ui-surface);
    box-shadow: var(--youle-ui-shadow);
}

body.youle-global-palette .youle-rankings-board {
    border: 1px solid var(--youle-ui-border);
    border-radius: var(--youle-ui-radius);
    background: var(--youle-ui-surface);
    box-shadow: var(--youle-ui-shadow);
}

body.youle-global-palette :where(.youle-sponsor-card, .youle-sponsor-list-item, .youle-links-grid > a) {
    border-color: var(--youle-ui-border);
    border-radius: var(--youle-ui-radius);
    background: var(--youle-ui-surface);
    box-shadow: var(--youle-ui-shadow);
}

body.youle-global-palette :where(.youle-sponsor-info > img, .youle-sponsor-letter, .youle-sponsor-list-item img) {
    border-radius: var(--youle-ui-radius);
}

body.youle-global-palette :where(.youle-bookmark-widget, .youle-bookmark-side i) {
    border-radius: var(--youle-ui-radius);
    box-shadow: var(--youle-ui-shadow);
}

body.youle-global-palette .youle-bookmark-search {
    border-radius: var(--youle-ui-radius);
}

body.dark-theme.youle-global-palette :where(
    .sidebar > .zib-widget,
    .content-layout > .zib-widget,
    .article.zib-widget,
    .article.main-bg,
    .user-card.zib-widget,
    .relates > .zib-widget,
    .posts-item,
    .posts-item.card,
    .plate-lists .plate-item,
    .scroll-plate .plate-card,
    .forum-posts,
    .product-item.card,
    .article.product-article,
    .sign.zib-widget
) {
    color: var(--youle-ui-text);
    background-color: var(--youle-ui-surface);
}

body.dark-theme.youle-global-palette :where(
    .sidebar .zib-widget > h3,
    .article-header .article-title,
    .article-content,
    .posts-item .item-heading > a,
    .forum-title,
    .forum-title a,
    .forum-posts .content,
    .product-item .item-heading a,
    .single-product-title .article-title,
    .sign .line-form-input
) {
    color: var(--youle-ui-text);
}

body.dark-theme.youle-global-palette :where(
    .posts-item .item-meta,
    .posts-item .item-excerpt,
    .forum-posts .item-meta,
    .plate-item .excerpt,
    .plate-item .count-mates
) {
    color: var(--youle-ui-muted);
}

@media (max-width: 991px) {
    body.youle-global-palette .article.main-bg,
    body.youle-global-palette .article.zib-widget {
        padding-right: 18px;
        padding-left: 18px;
    }
}

@media (max-width: 767px) {
    body.youle-global-palette {
        --youle-ui-shadow: 0 2px 8px rgba(31, 41, 55, .04);
    }

    body.youle-global-palette .header {
        border-right: 0;
        border-left: 0;
        border-radius: 0;
    }

    body.youle-global-palette .article.main-bg,
    body.youle-global-palette .article.zib-widget {
        padding-right: 14px;
        padding-left: 14px;
    }

    body.youle-global-palette .sidebar > .zib-widget {
        padding: 12px;
    }

    body.youle-global-palette .plate-lists .plate-item {
        width: 100%;
        padding: 12px;
    }

    body.youle-global-palette .modal-content {
        border-radius: var(--youle-ui-radius) var(--youle-ui-radius) 0 0;
    }
}

/* Portal selectors below intentionally outrank the older compatibility layer. */
body.youle-portal-page .youle-nav-home .youle-section.youle-sites-section {
    margin-bottom: 16px;
    padding: 13px;
    border: 1px solid var(--youle-nav-panel-edge);
    border-radius: 8px;
    background: var(--youle-nav-panel-bg);
    box-shadow: var(--youle-nav-panel-shadow);
}

body.youle-portal-page .youle-nav-home .youle-sites-section .youle-sites-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 9px;
}

body.youle-portal-page .youle-nav-home .youle-sites-section .youle-site-card {
    min-height: 68px;
    border: 1px solid var(--youle-nav-card-edge);
    border-radius: 8px;
    background: var(--youle-nav-card-bg);
    box-shadow: var(--youle-nav-card-shadow);
}

body.youle-portal-page .youle-nav-home .youle-sites-section .youle-site-card::before {
    content: none;
}

body.youle-portal-page .youle-nav-home .youle-sites-section .youle-site-card:hover,
body.youle-portal-page .youle-nav-home .youle-sites-section .youle-site-card:focus-within {
    border-color: var(--youle-nav-card-edge-hover);
    background: color-mix(in srgb, var(--youle-nav-active) 3%, #fff);
    box-shadow: 0 8px 20px rgba(31, 41, 55, .08);
    transform: translateY(-1px);
}

body.youle-portal-page .youle-nav-home .youle-sites-section .youle-site-main {
    gap: 11px;
    min-height: 66px;
    padding: 9px 11px;
}

body.youle-portal-page .youle-nav-home .youle-sites-section .youle-site-icon {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    padding: 5px;
    border: 1px solid rgba(31, 41, 55, .06);
    border-radius: 8px;
    background: #f5f7fa;
    box-shadow: none;
}

body.youle-portal-page .youle-nav-home .youle-sites-section .youle-site-icon img {
    border-radius: 6px;
}

body.youle-portal-page .youle-nav-home .youle-sites-section .youle-site-icon.is-letter {
    border: 0;
    border-radius: 8px;
    font-size: 16px;
    box-shadow: none;
}

body.youle-portal-page .youle-nav-home .youle-sites-section .youle-site-title {
    margin: 0 0 3px;
    color: var(--youle-nav-text);
    font-size: 15px;
    font-weight: 650;
    line-height: 1.25;
}

body.youle-portal-page .youle-nav-home .youle-sites-section .youle-site-desc {
    color: var(--youle-nav-muted);
    font-size: 12.5px;
    line-height: 1.3;
}

body.youle-portal-page .youle-nav-home .youle-sites-section .youle-site-subterms button.is-active {
    color: var(--youle-on-primary, #fff);
    background: var(--youle-nav-active);
    box-shadow: 0 3px 9px color-mix(in srgb, var(--youle-nav-active) 22%, transparent);
}

body.youle-portal-page .youle-nav-home .youle-sites-section .youle-more::before {
    font-size: 13px;
    content: '更多';
}

body.dark-theme.youle-portal-page .youle-nav-home .youle-sites-section .youle-site-card:hover,
body.dark-theme.youle-portal-page .youle-nav-home .youle-sites-section .youle-site-card:focus-within {
    background: color-mix(in srgb, var(--youle-primary, #4f8ee8) 8%, #222a35);
    box-shadow: 0 10px 22px rgba(0, 0, 0, .22);
}

body.dark-theme.youle-portal-page .youle-nav-home .youle-sites-section .youle-site-icon,
body.dark-theme.youle-portal-page .youle-nav-home .youle-sites-section .youle-site-subterms,
body.dark-theme.youle-portal-page .youle-nav-home .youle-sites-section .youle-more {
    border-color: rgba(255, 255, 255, .07);
    background: #27313d;
    box-shadow: none;
}

@media (min-width: 1780px) {
    body.youle-portal-page .youle-nav-home .youle-sites-section .youle-sites-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

@media (max-width: 1360px) {
    body.youle-portal-page .youle-nav-home .youle-sites-section .youle-sites-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    body.youle-portal-page .youle-nav-home .youle-sites-section .youle-sites-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }
}

@media (max-width: 430px) {
    body.youle-portal-page .youle-nav-home .youle-sites-section .youle-sites-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Navigation workspace refinement: compact sidebar and quieter site cards. */
.youle-nav-home {
    --youle-nav-page-bg: #f3f6f9;
    --youle-nav-panel-bg: #ffffff;
    --youle-nav-panel-edge: rgba(31, 41, 55, .09);
    --youle-nav-panel-shadow: 0 8px 24px rgba(31, 41, 55, .05);
    --youle-nav-card-bg: #ffffff;
    --youle-nav-card-edge: rgba(31, 41, 55, .10);
    --youle-nav-card-edge-hover: rgba(36, 107, 216, .36);
    --youle-nav-card-shadow: 0 2px 8px rgba(31, 41, 55, .035);
    --youle-nav-text: #263140;
    --youle-nav-muted: #7a8696;
    --youle-nav-active: var(--youle-primary, #246bd8);
}

.youle-nav-home .youle-nav-layout {
    grid-template-columns: 176px minmax(0, 1fr);
    gap: 16px;
}

.youle-nav-home .youle-nav-layout.has-right-sidebar {
    grid-template-columns: 176px minmax(0, 1fr) minmax(224px, 250px);
}

.youle-nav-home .youle-nav-sidebar {
    top: 104px;
    gap: 10px;
}

.youle-nav-home .youle-nav-menu-card,
.youle-nav-home .youle-nav-custom-links-card {
    padding: 7px;
    overflow: hidden;
    border: 1px solid var(--youle-nav-panel-edge);
    border-radius: 8px;
    background: var(--youle-nav-panel-bg);
    box-shadow: var(--youle-nav-panel-shadow);
}

.youle-nav-home .youle-nav-menu,
.youle-nav-home .youle-nav-custom-links {
    gap: 2px;
}

.youle-nav-home .youle-nav-menu a,
.youle-nav-home .youle-nav-custom-links a {
    min-height: 39px;
    gap: 9px;
    padding: 0 9px;
    border: 0;
    border-radius: 7px;
    color: var(--youle-nav-text);
    font-size: 13px;
    font-weight: 500;
}

.youle-nav-home .youle-nav-menu a::after {
    flex: 0 0 5px;
    width: 5px;
    height: 5px;
    margin-left: auto;
    border-radius: 50%;
    background: transparent;
    content: '';
}

.youle-nav-home .youle-nav-menu a:hover,
.youle-nav-home .youle-nav-menu a:focus-visible,
.youle-nav-home .youle-nav-menu a.is-active,
.youle-nav-home .youle-nav-custom-links a:hover,
.youle-nav-home .youle-nav-custom-links a:focus-visible {
    color: var(--youle-nav-active);
    background: color-mix(in srgb, var(--youle-nav-active) 8%, transparent);
}

.youle-nav-home .youle-nav-menu a.is-active::before {
    content: none;
}

.youle-nav-home .youle-nav-menu a.is-active::after {
    background: var(--youle-nav-active);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--youle-nav-active) 12%, transparent);
}

.youle-nav-home .youle-nav-menu-icon {
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    border-radius: 7px;
    color: var(--youle-nav-muted);
    background: #f3f6f9;
    font-size: 14px;
}

.youle-nav-home .youle-nav-menu-icon img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.youle-nav-home .youle-section.youle-sites-section {
    margin-bottom: 16px;
    padding: 13px;
    border: 1px solid var(--youle-nav-panel-edge);
    border-radius: 8px;
    background: var(--youle-nav-panel-bg);
    box-shadow: var(--youle-nav-panel-shadow);
}

.youle-nav-home .youle-sites-section .youle-section-head {
    min-height: 38px;
    margin-bottom: 10px;
}

.youle-nav-home .youle-sites-section .youle-section-head h1,
.youle-nav-home .youle-sites-section .youle-section-head h2 {
    font-size: 16px;
}

.youle-nav-home .youle-sites-section .youle-site-subterms {
    border-color: var(--youle-nav-panel-edge);
    border-radius: 7px;
    background: #f6f8fa;
    box-shadow: none;
}

.youle-nav-home .youle-sites-section .youle-site-subterms button {
    min-height: 32px;
    padding: 0 12px;
    border-radius: 6px;
    font-size: 13px;
    line-height: 32px;
}

.youle-nav-home .youle-sites-section .youle-site-subterms button.is-active {
    color: var(--youle-on-primary, #fff);
    background: var(--youle-nav-active);
    box-shadow: 0 3px 9px color-mix(in srgb, var(--youle-nav-active) 22%, transparent);
}

.youle-nav-home .youle-sites-section .youle-more {
    min-width: 68px;
    min-height: 30px;
    padding: 0 12px;
    border-color: var(--youle-nav-panel-edge);
    border-radius: 7px;
    background: #f6f8fa;
    box-shadow: none;
}

.youle-nav-home .youle-sites-section .youle-more::before {
    font-size: 13px;
    content: '更多';
}

.youle-nav-home .youle-sites-section .youle-sites-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 9px;
}

.youle-nav-home .youle-sites-section .youle-site-card {
    min-height: 68px;
    overflow: visible;
    border: 1px solid var(--youle-nav-card-edge);
    border-radius: 8px;
    background: var(--youle-nav-card-bg);
    box-shadow: var(--youle-nav-card-shadow);
    transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease, background-color .16s ease;
}

.youle-nav-home .youle-sites-section .youle-site-card::before {
    content: none;
}

.youle-nav-home .youle-sites-section .youle-site-card:hover,
.youle-nav-home .youle-sites-section .youle-site-card:focus-within {
    border-color: var(--youle-nav-card-edge-hover);
    background: color-mix(in srgb, var(--youle-nav-active) 3%, #fff);
    box-shadow: 0 8px 20px rgba(31, 41, 55, .08);
    transform: translateY(-1px);
}

.youle-nav-home .youle-sites-section .youle-site-main {
    gap: 11px;
    min-height: 66px;
    padding: 9px 11px;
}

.youle-nav-home .youle-sites-section .youle-site-icon {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    padding: 5px;
    border: 1px solid rgba(31, 41, 55, .06);
    border-radius: 8px;
    background: #f5f7fa;
    box-shadow: none;
}

.youle-nav-home .youle-sites-section .youle-site-icon img {
    border-radius: 6px;
}

.youle-nav-home .youle-sites-section .youle-site-icon.is-letter {
    border: 0;
    border-radius: 8px;
    font-size: 16px;
    box-shadow: none;
}

.youle-nav-home .youle-sites-section .youle-site-title {
    margin: 0 0 3px;
    color: var(--youle-nav-text);
    font-size: 15px;
    font-weight: 650;
    line-height: 1.25;
}

.youle-nav-home .youle-sites-section .youle-site-desc {
    color: var(--youle-nav-muted);
    font-size: 12.5px;
    line-height: 1.3;
}

.youle-nav-home .youle-sites-section .youle-site-desc-popover {
    right: 8px;
    bottom: calc(100% + 6px);
    left: 8px;
    padding: 8px 10px;
    border-radius: 6px;
    font-size: 12px;
    line-height: 1.5;
    transform: translateY(3px);
}

.youle-nav-home .youle-sites-section .youle-site-desc-popover::after {
    content: none;
}

.dark-theme .youle-nav-home {
    --youle-nav-page-bg: #151a21;
    --youle-nav-panel-bg: #1d242e;
    --youle-nav-panel-edge: rgba(255, 255, 255, .09);
    --youle-nav-panel-shadow: 0 10px 26px rgba(0, 0, 0, .20);
    --youle-nav-card-bg: #222a35;
    --youle-nav-card-edge: rgba(255, 255, 255, .08);
    --youle-nav-card-edge-hover: color-mix(in srgb, var(--youle-primary, #4f8ee8) 55%, transparent);
    --youle-nav-card-shadow: 0 2px 8px rgba(0, 0, 0, .10);
    --youle-nav-text: #e7edf5;
    --youle-nav-muted: #98a5b5;
}

.dark-theme .youle-nav-home .youle-nav-menu-icon,
.dark-theme .youle-nav-home .youle-sites-section .youle-site-subterms,
.dark-theme .youle-nav-home .youle-sites-section .youle-more,
.dark-theme .youle-nav-home .youle-sites-section .youle-site-icon {
    border-color: rgba(255, 255, 255, .07);
    background: #27313d;
    box-shadow: none;
}

.dark-theme .youle-nav-home .youle-sites-section .youle-site-card:hover,
.dark-theme .youle-nav-home .youle-sites-section .youle-site-card:focus-within {
    background: color-mix(in srgb, var(--youle-primary, #4f8ee8) 8%, #222a35);
    box-shadow: 0 10px 22px rgba(0, 0, 0, .22);
}

@media (min-width: 1780px) {
    .youle-nav-home .youle-sites-section .youle-sites-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

@media (max-width: 1360px) {
    .youle-nav-home .youle-nav-layout.has-right-sidebar {
        grid-template-columns: 168px minmax(0, 1fr) minmax(214px, 230px);
    }

    .youle-nav-home .youle-sites-section .youle-sites-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1080px) {
    .youle-nav-home .youle-nav-layout,
    .youle-nav-home .youle-nav-layout.has-right-sidebar {
        grid-template-columns: minmax(0, 1fr);
    }

    .youle-nav-home .youle-nav-sidebar {
        position: static;
        display: block;
    }

    .youle-nav-home .youle-nav-menu,
    .youle-nav-home .youle-nav-custom-links {
        display: flex;
        overflow-x: auto;
    }

    .youle-nav-home .youle-nav-menu a,
    .youle-nav-home .youle-nav-custom-links a {
        flex: 0 0 auto;
    }
}

@media (max-width: 760px) {
    .youle-nav-home .youle-sites-section .youle-sites-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .youle-nav-home .youle-sites-section .youle-site-main {
        padding: 8px;
    }

    .youle-nav-home .youle-sites-section .youle-site-icon {
        flex-basis: 38px;
        width: 38px;
        height: 38px;
    }
}

@media (max-width: 430px) {
    .youle-nav-home .youle-sites-section .youle-sites-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Tactile navigation fallback for portal pages rendered outside the nav-home wrapper. */
body.youle-portal-page,
.youle-portal {
    --youle-nav-page-bg: #ececec;
    --youle-nav-panel-bg: #f8f8f8;
    --youle-nav-panel-edge: rgba(112, 116, 124, .48);
    --youle-nav-panel-shadow: 0 1px 0 rgba(255, 255, 255, .96) inset, 0 16px 34px rgba(18, 24, 38, .10);
    --youle-nav-card-bg: linear-gradient(180deg, #ffffff 0%, #f4f5f6 100%);
    --youle-nav-card-edge: rgba(112, 116, 124, .38);
    --youle-nav-card-edge-hover: rgba(241, 64, 75, .46);
    --youle-nav-card-shadow: 0 1px 0 rgba(255, 255, 255, .96) inset, 0 7px 15px rgba(20, 29, 45, .055);
    --youle-nav-text: #3f444b;
    --youle-nav-muted: #8a929d;
    --youle-nav-active: #f1404b;
}

body.youle-portal-page .youle-portal-content,
.youle-portal .youle-portal-content {
    width: min(100% - 28px, 1730px);
}

body.youle-portal-page .youle-section.youle-sites-section,
.youle-portal .youle-section.youle-sites-section {
    margin-bottom: 18px;
    padding: 12px 14px 11px;
    border: 1px solid var(--youle-nav-panel-edge);
    border-radius: 14px;
    background: linear-gradient(180deg, var(--youle-nav-panel-bg) 0%, #f1f2f3 100%);
    box-shadow: var(--youle-nav-panel-shadow);
}

body.youle-portal-page .youle-sites-section .youle-section-head,
.youle-portal .youle-sites-section .youle-section-head {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    min-height: 40px;
    margin-bottom: 8px;
}

body.youle-portal-page .youle-sites-section .youle-section-head h1,
body.youle-portal-page .youle-sites-section .youle-section-head h2,
.youle-portal .youle-sites-section .youle-section-head h1,
.youle-portal .youle-sites-section .youle-section-head h2 {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 8px;
    min-width: max-content;
    margin: 0;
    color: var(--youle-nav-text);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
}

body.youle-portal-page .youle-sites-section .youle-site-subterms,
.youle-portal .youle-sites-section .youle-site-subterms {
    display: inline-flex;
    align-items: center;
    flex: 1 1 auto;
    flex-wrap: wrap;
    gap: 0;
    min-width: 120px;
    max-width: 100%;
    margin: 0;
    padding: 2px;
    overflow: visible;
    border: 1px solid rgba(112, 116, 124, .34);
    border-radius: 9px;
    background: rgba(255, 255, 255, .62);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset;
}

body.youle-portal-page .youle-sites-section .youle-site-subterms button,
.youle-portal .youle-sites-section .youle-site-subterms button {
    min-width: 0;
    min-height: 36px;
    padding: 0 14px;
    border: 0;
    border-radius: 7px;
    color: var(--youle-nav-text);
    background: transparent;
    font-size: 15px;
    font-weight: 500;
    line-height: 36px;
    white-space: nowrap;
    box-shadow: none;
}

body.youle-portal-page .youle-sites-section .youle-site-subterms button:hover,
body.youle-portal-page .youle-sites-section .youle-site-subterms button:focus-visible,
.youle-portal .youle-sites-section .youle-site-subterms button:hover,
.youle-portal .youle-sites-section .youle-site-subterms button:focus-visible {
    color: var(--youle-nav-active);
    background: rgba(241, 64, 75, .08);
}

body.youle-portal-page .youle-sites-section .youle-site-subterms button.is-active,
.youle-portal .youle-sites-section .youle-site-subterms button.is-active {
    color: #fff;
    background: linear-gradient(180deg, #ff5964 0%, var(--youle-nav-active) 100%);
    box-shadow: 0 8px 16px rgba(241, 64, 75, .20), 0 1px 0 rgba(255, 255, 255, .22) inset;
}

body.youle-portal-page .youle-sites-section .youle-section-actions,
.youle-portal .youle-sites-section .youle-section-actions {
    flex: 0 0 auto;
    margin-left: auto;
}

body.youle-portal-page .youle-recommend-toggle,
.youle-portal .youle-recommend-toggle {
    display: none;
}

body.youle-portal-page .youle-recommend-section.is-collapsible .youle-sites-grid,
body.youle-portal-page .youle-recommend-section.is-collapsed .youle-sites-grid,
body.youle-portal-page .youle-recommend-section:not(.is-collapsed) .youle-sites-grid,
.youle-portal .youle-recommend-section.is-collapsible .youle-sites-grid,
.youle-portal .youle-recommend-section.is-collapsed .youle-sites-grid,
.youle-portal .youle-recommend-section:not(.is-collapsed) .youle-sites-grid {
    max-height: none;
    overflow: visible;
}

body.youle-portal-page .youle-sites-section .youle-more,
.youle-portal .youle-sites-section .youle-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 82px;
    min-height: 32px;
    padding: 0 16px;
    border: 1px solid rgba(112, 116, 124, .36);
    border-radius: 18px;
    color: var(--youle-nav-text);
    background: rgba(255, 255, 255, .62);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset;
    font-size: 0;
    font-weight: 700;
    text-decoration: none;
    transform: none;
}

body.youle-portal-page .youle-sites-section .youle-more::before,
.youle-portal .youle-sites-section .youle-more::before {
    font-size: 15px;
    line-height: 1;
    content: 'more+';
}

body.youle-portal-page .youle-sites-section .youle-more::after,
.youle-portal .youle-sites-section .youle-more::after {
    content: none;
}

body.youle-portal-page .youle-sites-section .youle-sites-grid,
.youle-portal .youle-sites-section .youle-sites-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px 20px;
}

body.youle-portal-page .youle-sites-section .youle-site-card,
.youle-portal .youle-sites-section .youle-site-card {
    overflow: visible;
    min-height: 72px;
    border: 1px solid var(--youle-nav-card-edge);
    border-radius: 12px;
    background: var(--youle-nav-card-bg);
    box-shadow: var(--youle-nav-card-shadow);
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease, background .18s ease;
}

body.youle-portal-page .youle-sites-section .youle-site-main,
.youle-portal .youle-sites-section .youle-site-main {
    position: relative;
    z-index: 1;
    align-items: center;
    gap: 12px;
    min-height: 70px;
    padding: 8px 14px;
}

body.youle-portal-page .youle-sites-section .youle-site-icon,
.youle-portal .youle-sites-section .youle-site-icon {
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    padding: 6px;
    border: 0;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 25%, #ffffff 0%, #f4f5f7 54%, #e6e8eb 100%);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .95) inset, 0 7px 15px rgba(20, 29, 45, .08);
}

body.youle-portal-page .youle-sites-section .youle-site-title,
.youle-portal .youle-sites-section .youle-site-title {
    margin: 0 0 3px;
    color: var(--youle-nav-text);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.24;
}

body.youle-portal-page .youle-sites-section .youle-site-desc,
.youle-portal .youle-sites-section .youle-site-desc {
    display: block;
    overflow: hidden;
    color: var(--youle-nav-muted);
    font-size: 14px;
    line-height: 1.24;
    text-overflow: ellipsis;
    white-space: nowrap;
    -webkit-line-clamp: unset;
}

body.dark-theme.youle-portal-page,
body.dark-theme .youle-portal,
.dark-theme .youle-portal {
    --youle-nav-page-bg: #1f2023;
    --youle-nav-panel-bg: #2a2b2f;
    --youle-nav-panel-edge: rgba(255, 255, 255, .16);
    --youle-nav-panel-shadow: 0 1px 0 rgba(255, 255, 255, .06) inset, 0 18px 38px rgba(0, 0, 0, .34);
    --youle-nav-card-bg: linear-gradient(180deg, #34363b 0%, #282a2e 100%);
    --youle-nav-card-edge: rgba(255, 255, 255, .14);
    --youle-nav-card-edge-hover: rgba(255, 91, 103, .62);
    --youle-nav-card-shadow: 0 1px 0 rgba(255, 255, 255, .06) inset, 0 10px 20px rgba(0, 0, 0, .22);
    --youle-nav-text: #f0f2f5;
    --youle-nav-muted: #aeb5bf;
}

body.dark-theme.youle-portal-page .youle-section.youle-sites-section,
body.dark-theme .youle-portal .youle-section.youle-sites-section,
.dark-theme .youle-portal .youle-section.youle-sites-section {
    background: linear-gradient(180deg, var(--youle-nav-panel-bg) 0%, #232428 100%);
}

@media (max-width: 1560px) {
    body.youle-portal-page .youle-sites-section .youle-sites-grid,
    .youle-portal .youle-sites-section .youle-sites-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

@media (max-width: 1320px) {
    body.youle-portal-page .youle-sites-section .youle-sites-grid,
    .youle-portal .youle-sites-section .youle-sites-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 1080px) {
    body.youle-portal-page .youle-sites-section .youle-sites-grid,
    .youle-portal .youle-sites-section .youle-sites-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    body.youle-portal-page .youle-sites-section .youle-section-head,
    .youle-portal .youle-sites-section .youle-section-head {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    body.youle-portal-page .youle-sites-section .youle-site-subterms,
    .youle-portal .youle-sites-section .youle-site-subterms {
        order: 3;
        flex-basis: 100%;
        overflow-x: auto;
        flex-wrap: nowrap;
        scrollbar-width: none;
    }

    body.youle-portal-page .youle-sites-section .youle-sites-grid,
    .youle-portal .youle-sites-section .youle-sites-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
}

@media (max-width: 430px) {
    body.youle-portal-page .youle-sites-section .youle-sites-grid,
    .youle-portal .youle-sites-section .youle-sites-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Final navigation overrides; keep after legacy compatibility rules. */
.youle-nav-home {
    --youle-nav-page-bg: #f3f6f9;
    --youle-nav-panel-bg: #ffffff;
    --youle-nav-panel-edge: rgba(31, 41, 55, .09);
    --youle-nav-panel-shadow: 0 8px 24px rgba(31, 41, 55, .05);
    --youle-nav-card-bg: #ffffff;
    --youle-nav-card-edge: rgba(31, 41, 55, .10);
    --youle-nav-card-edge-hover: rgba(36, 107, 216, .36);
    --youle-nav-card-shadow: 0 2px 8px rgba(31, 41, 55, .035);
    --youle-nav-text: #263140;
    --youle-nav-muted: #7a8696;
    --youle-nav-active: var(--youle-primary, #246bd8);
}

.youle-nav-home .youle-nav-layout {
    grid-template-columns: 176px minmax(0, 1fr);
    gap: 16px;
}

.youle-nav-home .youle-nav-layout.has-right-sidebar {
    grid-template-columns: 176px minmax(0, 1fr) minmax(224px, 250px);
}

.youle-nav-home .youle-nav-sidebar {
    top: 104px;
    gap: 10px;
}

.youle-nav-home .youle-nav-menu-card,
.youle-nav-home .youle-nav-custom-links-card {
    padding: 7px;
    overflow: hidden;
    border: 1px solid var(--youle-nav-panel-edge);
    border-radius: 8px;
    background: var(--youle-nav-panel-bg);
    box-shadow: var(--youle-nav-panel-shadow);
}

.youle-nav-home .youle-nav-menu,
.youle-nav-home .youle-nav-custom-links {
    gap: 2px;
}

.youle-nav-home .youle-nav-menu a,
.youle-nav-home .youle-nav-custom-links a {
    min-height: 39px;
    gap: 9px;
    padding: 0 9px;
    border: 0;
    border-radius: 7px;
    color: var(--youle-nav-text);
    font-size: 13px;
    font-weight: 500;
}

.youle-nav-home .youle-nav-menu a::after {
    flex: 0 0 5px;
    width: 5px;
    height: 5px;
    margin-left: auto;
    border-radius: 50%;
    background: transparent;
    content: '';
}

.youle-nav-home .youle-nav-menu a:hover,
.youle-nav-home .youle-nav-menu a:focus-visible,
.youle-nav-home .youle-nav-menu a.is-active,
.youle-nav-home .youle-nav-custom-links a:hover,
.youle-nav-home .youle-nav-custom-links a:focus-visible {
    color: var(--youle-nav-active);
    background: color-mix(in srgb, var(--youle-nav-active) 8%, transparent);
}

.youle-nav-home .youle-nav-menu a.is-active::before {
    content: none;
}

.youle-nav-home .youle-nav-menu a.is-active::after {
    background: var(--youle-nav-active);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--youle-nav-active) 12%, transparent);
}

.youle-nav-home .youle-nav-menu-icon {
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    border-radius: 7px;
    color: var(--youle-nav-muted);
    background: #f3f6f9;
    font-size: 14px;
}

.youle-nav-home .youle-nav-menu-icon img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.youle-nav-home .youle-section.youle-sites-section {
    margin-bottom: 16px;
    padding: 13px;
    border: 1px solid var(--youle-nav-panel-edge);
    border-radius: 8px;
    background: var(--youle-nav-panel-bg);
    box-shadow: var(--youle-nav-panel-shadow);
}

.youle-nav-home .youle-sites-section .youle-section-head {
    min-height: 38px;
    margin-bottom: 10px;
}

.youle-nav-home .youle-sites-section .youle-section-head h1,
.youle-nav-home .youle-sites-section .youle-section-head h2 {
    font-size: 16px;
}

.youle-nav-home .youle-sites-section .youle-site-subterms {
    border-color: var(--youle-nav-panel-edge);
    border-radius: 7px;
    background: #f6f8fa;
    box-shadow: none;
}

.youle-nav-home .youle-sites-section .youle-site-subterms button {
    min-height: 32px;
    padding: 0 12px;
    border-radius: 6px;
    font-size: 13px;
    line-height: 32px;
}

.youle-nav-home .youle-sites-section .youle-site-subterms button.is-active {
    color: var(--youle-on-primary, #fff);
    background: var(--youle-nav-active);
    box-shadow: 0 3px 9px color-mix(in srgb, var(--youle-nav-active) 22%, transparent);
}

.youle-nav-home .youle-sites-section .youle-more {
    min-width: 68px;
    min-height: 30px;
    padding: 0 12px;
    border-color: var(--youle-nav-panel-edge);
    border-radius: 7px;
    background: #f6f8fa;
    box-shadow: none;
}

.youle-nav-home .youle-sites-section .youle-more::before {
    font-size: 13px;
    content: '更多';
}

.youle-nav-home .youle-sites-section .youle-sites-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 9px;
}

.youle-nav-home .youle-sites-section .youle-site-card {
    min-height: 68px;
    overflow: visible;
    border: 1px solid var(--youle-nav-card-edge);
    border-radius: 8px;
    background: var(--youle-nav-card-bg);
    box-shadow: var(--youle-nav-card-shadow);
    transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease, background-color .16s ease;
}

.youle-nav-home .youle-sites-section .youle-site-card::before {
    content: none;
}

.youle-nav-home .youle-sites-section .youle-site-card:hover,
.youle-nav-home .youle-sites-section .youle-site-card:focus-within {
    border-color: var(--youle-nav-card-edge-hover);
    background: color-mix(in srgb, var(--youle-nav-active) 3%, #fff);
    box-shadow: 0 8px 20px rgba(31, 41, 55, .08);
    transform: translateY(-1px);
}

.youle-nav-home .youle-sites-section .youle-site-main {
    gap: 11px;
    min-height: 66px;
    padding: 9px 11px;
}

.youle-nav-home .youle-sites-section .youle-site-icon {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    padding: 5px;
    border: 1px solid rgba(31, 41, 55, .06);
    border-radius: 8px;
    background: #f5f7fa;
    box-shadow: none;
}

.youle-nav-home .youle-sites-section .youle-site-icon img {
    border-radius: 6px;
}

.youle-nav-home .youle-sites-section .youle-site-icon.is-letter {
    border: 0;
    border-radius: 8px;
    font-size: 16px;
    box-shadow: none;
}

.youle-nav-home .youle-sites-section .youle-site-title {
    margin: 0 0 3px;
    color: var(--youle-nav-text);
    font-size: 15px;
    font-weight: 650;
    line-height: 1.25;
}

.youle-nav-home .youle-sites-section .youle-site-desc {
    color: var(--youle-nav-muted);
    font-size: 12.5px;
    line-height: 1.3;
}

.youle-nav-home .youle-sites-section .youle-site-desc-popover {
    right: 8px;
    bottom: calc(100% + 6px);
    left: 8px;
    padding: 8px 10px;
    border-radius: 6px;
    font-size: 12px;
    line-height: 1.5;
    transform: translateY(3px);
}

.youle-nav-home .youle-sites-section .youle-site-desc-popover::after {
    content: none;
}

.dark-theme .youle-nav-home {
    --youle-nav-page-bg: #151a21;
    --youle-nav-panel-bg: #1d242e;
    --youle-nav-panel-edge: rgba(255, 255, 255, .09);
    --youle-nav-panel-shadow: 0 10px 26px rgba(0, 0, 0, .20);
    --youle-nav-card-bg: #222a35;
    --youle-nav-card-edge: rgba(255, 255, 255, .08);
    --youle-nav-card-edge-hover: color-mix(in srgb, var(--youle-primary, #4f8ee8) 55%, transparent);
    --youle-nav-card-shadow: 0 2px 8px rgba(0, 0, 0, .10);
    --youle-nav-text: #e7edf5;
    --youle-nav-muted: #98a5b5;
}

.dark-theme .youle-nav-home .youle-nav-menu-icon,
.dark-theme .youle-nav-home .youle-sites-section .youle-site-subterms,
.dark-theme .youle-nav-home .youle-sites-section .youle-more,
.dark-theme .youle-nav-home .youle-sites-section .youle-site-icon {
    border-color: rgba(255, 255, 255, .07);
    background: #27313d;
    box-shadow: none;
}

.dark-theme .youle-nav-home .youle-sites-section .youle-site-card:hover,
.dark-theme .youle-nav-home .youle-sites-section .youle-site-card:focus-within {
    background: color-mix(in srgb, var(--youle-primary, #4f8ee8) 8%, #222a35);
    box-shadow: 0 10px 22px rgba(0, 0, 0, .22);
}

@media (min-width: 1780px) {
    .youle-nav-home .youle-sites-section .youle-sites-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

@media (max-width: 1360px) {
    .youle-nav-home .youle-nav-layout.has-right-sidebar {
        grid-template-columns: 168px minmax(0, 1fr) minmax(214px, 230px);
    }

    .youle-nav-home .youle-sites-section .youle-sites-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1080px) {
    .youle-nav-home .youle-nav-layout,
    .youle-nav-home .youle-nav-layout.has-right-sidebar {
        grid-template-columns: minmax(0, 1fr);
    }

    .youle-nav-home .youle-nav-sidebar {
        position: static;
        display: block;
    }

    .youle-nav-home .youle-nav-menu,
    .youle-nav-home .youle-nav-custom-links {
        display: flex;
        overflow-x: auto;
    }

    .youle-nav-home .youle-nav-menu a,
    .youle-nav-home .youle-nav-custom-links a {
        flex: 0 0 auto;
    }
}

@media (max-width: 760px) {
    .youle-nav-home .youle-sites-section .youle-sites-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .youle-nav-home .youle-sites-section .youle-site-main {
        padding: 8px;
    }

    .youle-nav-home .youle-sites-section .youle-site-icon {
        flex-basis: 38px;
        width: 38px;
        height: 38px;
    }
}

@media (max-width: 430px) {
    .youle-nav-home .youle-sites-section .youle-sites-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}
