/* NavTX regression fixes loaded last. */

body.navtx-embed-page {
    background: transparent !important;
}

body.navtx-embed-page .navtx-header,
body.navtx-embed-page .navtx-detail-mobile-head,
body.navtx-embed-page .navtx-footer,
body.navtx-embed-page .navtx-footer-tools,
body.navtx-embed-page .navtx-music-player,
body.navtx-embed-page .navtx-music-lyric-bar,
body.navtx-embed-page [data-home-notice-modal] {
    display: none !important;
}

body.navtx-embed-page main:first-of-type,
body.navtx-embed-page section:first-of-type,
body.navtx-embed-page article:first-of-type {
    margin-top: 0 !important;
}

.navtx-soft-page-frame {
    display: block !important;
    width: 100% !important;
    min-height: calc(100vh - 96px) !important;
    border: 0 !important;
    background: transparent !important;
}

/* Douyin-style short video page */
.short-video-page {
    position: relative !important;
    min-height: calc(100vh - 72px) !important;
    margin-top: 0 !important;
    overflow: hidden !important;
    color: #fff !important;
    background: #030305 !important;
}

.navtx-music-player {
    position: fixed !important;
    left: 18px !important;
    bottom: 18px !important;
    z-index: 980 !important;
    width: min(320px, calc(100vw - 28px)) !important;
    pointer-events: none !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", Arial, sans-serif !important;
}

.navtx-music-player button,
.navtx-music-player input {
    font: inherit !important;
}

.navtx-music-mascot {
    width: 92px !important;
    height: 92px !important;
    display: grid !important;
    place-items: center !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    filter: drop-shadow(0 12px 20px rgba(145, 64, 155, .26)) !important;
    isolation: isolate !important;
    transition: transform .22s ease, filter .22s ease !important;
}

.navtx-music-mascot:hover {
    transform: translateY(-3px) scale(1.03) !important;
    filter: drop-shadow(0 16px 26px rgba(236, 72, 153, .34)) !important;
}

.navtx-music-mascot img {
    width: 92px !important;
    height: 92px !important;
    object-fit: contain !important;
    display: block !important;
    pointer-events: none !important;
    background: transparent !important;
}

.navtx-music-mascot span {
    position: absolute !important;
    left: 64px !important;
    bottom: 15px !important;
    width: 18px !important;
    height: 18px !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, #67e8f9, #f9a8d4) !important;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, .88), 0 0 18px rgba(236, 72, 153, .35) !important;
}

.navtx-music-player.is-playing .navtx-music-mascot {
    animation: navtx-music-bounce 1.85s ease-in-out infinite !important;
}

@keyframes navtx-music-bounce {
    0%, 100% { transform: translateY(0) rotate(-1deg); }
    50% { transform: translateY(-5px) rotate(1.5deg); }
}

.navtx-music-panel {
    position: absolute !important;
    left: 0 !important;
    bottom: 88px !important;
    width: min(320px, calc(100vw - 28px)) !important;
    padding: 15px !important;
    border: 1px solid rgba(255, 255, 255, .42) !important;
    border-radius: 24px !important;
    background:
        radial-gradient(circle at 16% 8%, rgba(255, 255, 255, .32), transparent 32%),
        linear-gradient(135deg, rgba(255, 175, 222, .88), rgba(179, 123, 228, .86) 48%, rgba(108, 52, 161, .9)) !important;
    box-shadow: 0 20px 52px rgba(76, 29, 149, .28), inset 0 1px 0 rgba(255, 255, 255, .44) !important;
    color: #fff !important;
    pointer-events: auto !important;
    opacity: 0 !important;
    transform: translate3d(0, 14px, 0) scale(.96) !important;
    transform-origin: 32px 100% !important;
    visibility: hidden !important;
    transition: opacity .22s ease, transform .22s ease, visibility .22s ease !important;
    backdrop-filter: blur(18px) saturate(1.25) !important;
    -webkit-backdrop-filter: blur(18px) saturate(1.25) !important;
}

.navtx-music-player.is-open .navtx-music-panel {
    opacity: 1 !important;
    transform: translate3d(0, 0, 0) scale(1) !important;
    visibility: visible !important;
}

.navtx-music-head {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 10px !important;
    margin-bottom: 12px !important;
}

.navtx-music-head strong,
.navtx-music-cover b {
    display: block !important;
    max-width: 210px !important;
    overflow: hidden !important;
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 850 !important;
    line-height: 1.25 !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
    text-shadow: 0 2px 8px rgba(77, 27, 105, .28) !important;
}

.navtx-music-head span,
.navtx-music-cover em {
    display: block !important;
    margin-top: 4px !important;
    overflow: hidden !important;
    color: rgba(255, 255, 255, .78) !important;
    font-size: 12px !important;
    font-style: normal !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
}

.navtx-music-head button {
    width: 32px !important;
    height: 32px !important;
    flex: 0 0 32px !important;
    border: 1px solid rgba(255, 255, 255, .32) !important;
    border-radius: 50% !important;
    color: #fff !important;
    background: rgba(67, 26, 92, .24) !important;
    cursor: pointer !important;
    transition: transform .16s ease, background .16s ease !important;
}

.navtx-music-head button:hover {
    transform: rotate(8deg) scale(1.04) !important;
    background: rgba(67, 26, 92, .36) !important;
}

.navtx-music-search {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 58px !important;
    gap: 8px !important;
    margin-bottom: 12px !important;
}

.navtx-music-search input {
    min-width: 0 !important;
    height: 36px !important;
    padding: 0 12px !important;
    border: 1px solid rgba(255, 255, 255, .34) !important;
    border-radius: 999px !important;
    color: #fff !important;
    background: rgba(42, 13, 62, .22) !important;
    outline: none !important;
}

.navtx-music-search input::placeholder {
    color: rgba(255, 255, 255, .68) !important;
}

.navtx-music-search button {
    height: 36px !important;
    border: 0 !important;
    border-radius: 999px !important;
    color: #753054 !important;
    background: rgba(255, 255, 255, .82) !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    cursor: pointer !important;
    transition: transform .16s ease, box-shadow .16s ease !important;
}

.navtx-music-search button:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 8px 16px rgba(107, 33, 168, .18) !important;
}

.navtx-music-cover {
    display: grid !important;
    grid-template-columns: 52px minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 10px !important;
    min-height: 58px !important;
    padding: 9px !important;
    border-radius: 18px !important;
    background: rgba(255, 255, 255, .16) !important;
}

.navtx-music-cover img {
    width: 52px !important;
    height: 52px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    background: rgba(255, 255, 255, .35) !important;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .45), 0 8px 18px rgba(107, 33, 168, .25) !important;
}

.navtx-music-player.is-playing .navtx-music-cover img {
    animation: navtx-music-disc 8s linear infinite !important;
}

@keyframes navtx-music-disc {
    to { transform: rotate(360deg); }
}

.navtx-music-progress {
    position: relative !important;
    height: 8px !important;
    margin: 13px 2px 4px !important;
    cursor: pointer !important;
}

.navtx-music-progress::before,
.navtx-music-progress span {
    position: absolute !important;
    left: 0 !important;
    top: 3px !important;
    height: 3px !important;
    border-radius: 999px !important;
    content: "" !important;
}

.navtx-music-progress::before {
    right: 0 !important;
    background: rgba(255, 255, 255, .28) !important;
}

.navtx-music-progress span {
    width: var(--music-progress, 0%) !important;
    background: linear-gradient(90deg, #fff, #ffecfb, #67e8f9) !important;
    box-shadow: 0 0 14px rgba(255, 255, 255, .55) !important;
}

.navtx-music-time {
    display: flex !important;
    justify-content: space-between !important;
    margin: 0 2px 10px !important;
    color: rgba(255, 255, 255, .76) !important;
    font-size: 11px !important;
    font-weight: 700 !important;
}

.navtx-music-controls {
    display: grid !important;
    grid-template-columns: 36px 44px 36px 36px 36px 36px !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 7px !important;
    min-height: 54px !important;
    padding: 7px 9px !important;
    border-radius: 999px !important;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .44), rgba(255, 255, 255, .18)),
        rgba(71, 26, 105, .18) !important;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .42), 0 12px 24px rgba(147, 51, 234, .2) !important;
}

.navtx-music-controls button {
    width: 36px !important;
    height: 36px !important;
    display: grid !important;
    place-items: center !important;
    position: relative !important;
    overflow: hidden !important;
    border: 1px solid rgba(255, 255, 255, .5) !important;
    border-radius: 50% !important;
    color: #fff !important;
    background:
        radial-gradient(circle at 28% 22%, rgba(255, 255, 255, .75), transparent 28%),
        linear-gradient(135deg, rgba(82, 242, 167, .95), rgba(72, 215, 255, .92)) !important;
    box-shadow: 0 7px 15px rgba(59, 130, 246, .2), inset 0 1px 0 rgba(255, 255, 255, .34) !important;
    cursor: pointer !important;
    transition: transform .16s ease, box-shadow .16s ease, filter .16s ease !important;
}

.navtx-music-controls button:hover {
    transform: translateY(-2px) scale(1.045) !important;
    filter: saturate(1.08) brightness(1.03) !important;
    box-shadow: 0 10px 18px rgba(59, 130, 246, .24), inset 0 1px 0 rgba(255, 255, 255, .42) !important;
}

.navtx-music-controls button:active {
    transform: translateY(1px) scale(.96) !important;
}

.navtx-music-controls button svg {
    width: 18px !important;
    height: 18px !important;
    display: block !important;
    fill: currentColor !important;
    pointer-events: none !important;
}

.navtx-music-controls .is-main {
    width: 44px !important;
    height: 44px !important;
    background: linear-gradient(135deg, #f8fbff, #c084fc) !important;
    color: #7c2d8f !important;
    box-shadow: 0 10px 22px rgba(124, 45, 143, .27), inset 0 1px 0 rgba(255, 255, 255, .72) !important;
}

.navtx-music-controls .is-main svg {
    width: 20px !important;
    height: 20px !important;
}

.navtx-music-controls .navtx-icon-pause,
.navtx-music-controls .navtx-icon-muted,
.navtx-music-controls [data-music-play][data-state="playing"] .navtx-icon-play,
.navtx-music-controls [data-music-mute][data-state="muted"] .navtx-icon-volume {
    display: none !important;
}

.navtx-music-controls [data-music-play][data-state="playing"] .navtx-icon-pause,
.navtx-music-controls [data-music-mute][data-state="muted"] .navtx-icon-muted {
    display: block !important;
}

.navtx-music-controls button.is-active,
.navtx-music-controls [data-music-mute][data-state="muted"] {
    background:
        radial-gradient(circle at 28% 22%, rgba(255, 255, 255, .75), transparent 28%),
        linear-gradient(135deg, #ff88ba, #a78bfa) !important;
    color: #fff !important;
}

.navtx-music-lyric-bar[hidden] {
    display: none !important;
}

.navtx-music-lyric-bar {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 970 !important;
    height: 46px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 132px !important;
    overflow: hidden !important;
    pointer-events: none !important;
    background: linear-gradient(90deg, rgba(29, 32, 40, .18), rgba(29, 32, 40, .52) 18%, rgba(29, 32, 40, .56) 82%, rgba(29, 32, 40, .18)) !important;
    border-top: 1px solid rgba(255, 255, 255, .16) !important;
    backdrop-filter: blur(8px) saturate(1.2) !important;
    -webkit-backdrop-filter: blur(8px) saturate(1.2) !important;
    box-sizing: border-box !important;
}

.navtx-music-lyric-track {
    min-width: 0 !important;
    width: min(960px, 100%) !important;
    max-width: min(960px, 100%) !important;
    height: 34px !important;
    display: block !important;
    overflow: hidden !important;
    position: relative !important;
    color: #75ead8 !important;
    font-size: 21px !important;
    font-weight: 900 !important;
    line-height: 34px !important;
    letter-spacing: 0 !important;
    text-align: left !important;
    white-space: nowrap !important;
    text-shadow: 0 2px 0 rgba(18, 84, 82, .34), 0 0 14px rgba(103, 232, 249, .4), 0 0 2px rgba(255, 255, 255, .68) !important;
    animation: navtx-lyric-rise .42s ease both !important;
}

.navtx-music-lyric-track span {
    display: none !important;
}

.navtx-music-lyric-track strong {
    min-width: max-content !important;
    max-width: none !important;
    height: 34px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    overflow: visible !important;
    color: inherit !important;
    font: inherit !important;
    line-height: 34px !important;
    white-space: nowrap !important;
    text-overflow: clip !important;
    transform: translate3d(var(--lyric-shift, 0px), 0, 0) !important;
    transition: transform .08s linear !important;
    will-change: transform !important;
}

.navtx-music-lyric-track strong [data-lyric-char] {
    display: inline-block !important;
    color: rgba(192, 203, 212, .72) !important;
    flex: 0 0 auto !important;
    transform: translateZ(0) scale(1) !important;
    transform-origin: 50% 65% !important;
    transition: transform .22s ease, color .22s ease, text-shadow .22s ease, opacity .22s ease !important;
}

.navtx-music-lyric-track strong [data-lyric-char].is-passed {
    color: #8af8e9 !important;
    opacity: .98 !important;
    text-shadow: 0 0 10px rgba(103, 232, 249, .36) !important;
}

.navtx-music-lyric-track strong [data-lyric-char].is-current {
    color: #fff35a !important;
    transform: translateY(-1px) scale(1.18) !important;
    text-shadow: 0 0 5px rgba(255, 243, 90, .92), 0 0 15px rgba(255, 207, 64, .82), 0 2px 0 rgba(86, 76, 0, .25) !important;
}

@keyframes navtx-lyric-rise {
    0% {
        opacity: 0;
        transform: translate3d(0, 12px, 0);
        filter: blur(2px);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
        filter: blur(0);
    }
}

.navtx-music-list {
    margin-top: 12px !important;
    overflow: hidden !important;
    border: 1px solid rgba(255, 255, 255, .22) !important;
    border-radius: 18px !important;
    background: rgba(34, 10, 58, .32) !important;
}

.navtx-music-list[hidden] {
    display: none !important;
}

.navtx-music-list-head {
    display: flex !important;
    justify-content: space-between !important;
    gap: 10px !important;
    padding: 10px 12px !important;
    color: rgba(255, 255, 255, .88) !important;
    border-bottom: 1px solid rgba(255, 255, 255, .14) !important;
}

.navtx-music-list-head strong {
    font-size: 13px !important;
}

.navtx-music-list-head span {
    color: rgba(255, 255, 255, .66) !important;
    font-size: 12px !important;
}

.navtx-music-items {
    max-height: 220px !important;
    overflow: auto !important;
    padding: 6px !important;
}

.navtx-music-items button {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: 24px minmax(0, 1fr) !important;
    gap: 8px !important;
    align-items: center !important;
    min-height: 38px !important;
    padding: 7px 8px !important;
    border: 0 !important;
    border-radius: 12px !important;
    color: rgba(255, 255, 255, .76) !important;
    background: transparent !important;
    text-align: left !important;
    cursor: pointer !important;
}

.navtx-music-items button:hover,
.navtx-music-items button.is-active {
    color: #fff !important;
    background: rgba(255, 255, 255, .13) !important;
}

.navtx-music-items i {
    font-style: normal !important;
    color: rgba(255, 255, 255, .5) !important;
    font-size: 12px !important;
}

.navtx-music-items span {
    min-width: 0 !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
    font-size: 13px !important;
    font-weight: 700 !important;
}

body.navtx-dark .navtx-music-panel {
    background:
        radial-gradient(circle at 18% 8%, rgba(255, 255, 255, .22), transparent 34%),
        linear-gradient(135deg, rgba(100, 37, 92, .94), rgba(64, 32, 106, .95) 52%, rgba(17, 24, 39, .96)) !important;
}

@media (max-width: 760px) {
    .navtx-music-player {
        left: 10px !important;
        bottom: 12px !important;
        width: min(306px, calc(100vw - 20px)) !important;
        z-index: 960 !important;
    }

    .navtx-music-mascot {
        width: 72px !important;
        height: 72px !important;
    }

    .navtx-music-mascot img {
        width: 70px !important;
        height: 70px !important;
    }

    .navtx-music-mascot span {
        left: 52px !important;
        bottom: 11px !important;
        width: 15px !important;
        height: 15px !important;
    }

    .navtx-music-panel {
        bottom: 72px !important;
        width: min(306px, calc(100vw - 20px)) !important;
        max-height: calc(100vh - 150px) !important;
        overflow-y: auto !important;
        overscroll-behavior: contain !important;
        padding: 12px !important;
        border-radius: 20px !important;
    }

    .navtx-music-head strong,
    .navtx-music-cover b {
        max-width: 190px !important;
    }

    .navtx-music-controls {
        grid-template-columns: 34px 42px 34px 34px 34px 34px !important;
        gap: 6px !important;
        padding: 7px !important;
    }

    .navtx-music-controls button {
        width: 34px !important;
        height: 34px !important;
    }

    .navtx-music-controls .is-main {
        width: 42px !important;
        height: 42px !important;
    }

    .navtx-music-items {
        max-height: 190px !important;
    }

    .navtx-music-lyric-bar {
        height: 40px !important;
        padding: 0 78px 0 96px !important;
    }

    .navtx-music-lyric-track {
        height: 30px !important;
        font-size: 16px !important;
        line-height: 30px !important;
    }

    .navtx-music-lyric-track strong {
        height: 30px !important;
        line-height: 30px !important;
    }

    .navtx-music-lyric-track strong [data-lyric-char].is-current {
        transform: translateY(-1px) scale(1.13) !important;
    }

}

body:has(.short-video-page) .navtx-footer-tools {
    display: none !important;
}

.short-video-bg {
    position: absolute !important;
    inset: 0 !important;
    overflow: hidden !important;
    background: #030305 !important;
}

.short-video-bg video {
    position: absolute !important;
    inset: -6% !important;
    width: 112% !important;
    height: 112% !important;
    object-fit: cover !important;
    filter: blur(34px) saturate(1.15) brightness(.44) !important;
    opacity: .34 !important;
    transform: scale(1.08) !important;
}

.short-video-bg::before,
.short-video-bg::after,
.short-video-page::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    pointer-events: none !important;
}

.short-video-bg::before {
    background: radial-gradient(circle at 78% 18%, rgba(254, 44, 85, .18), transparent 28%), radial-gradient(circle at 12% 76%, rgba(37, 244, 238, .12), transparent 32%) !important;
}

.short-video-bg::after {
    background: linear-gradient(90deg, rgba(0, 0, 0, .96), rgba(0, 0, 0, .58) 24%, rgba(0, 0, 0, .28) 52%, rgba(0, 0, 0, .88)) !important;
}

.short-video-page::after {
    background: linear-gradient(180deg, rgba(3, 3, 5, .7), transparent 18%, rgba(3, 3, 5, .86)) !important;
}

.short-video-shell {
    position: relative !important;
    z-index: 1 !important;
    width: min(1680px, calc(100% - 32px)) !important;
    min-height: calc(100vh - 99px) !important;
    margin: 0 auto !important;
    padding: 12px 0 16px !important;
    display: flex !important;
    flex-direction: column !important;
    box-sizing: border-box !important;
}

.short-video-head {
    height: 50px !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    flex: 0 0 auto !important;
}

.short-video-back,
.short-video-random-top {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, .12) !important;
    background: rgba(255, 255, 255, .08) !important;
    backdrop-filter: blur(16px) !important;
    transition: transform .18s ease, background .18s ease, border-color .18s ease !important;
}

.short-video-back {
    width: 38px !important;
    height: 38px !important;
    border-radius: 999px !important;
    font-size: 28px !important;
    line-height: 1 !important;
    text-decoration: none !important;
}

.short-video-random-top {
    margin-left: auto !important;
    height: 36px !important;
    padding: 0 16px !important;
    border-radius: 999px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
}

.short-video-back:hover,
.short-video-random-top:hover {
    transform: translateY(-1px) !important;
    border-color: rgba(255, 255, 255, .22) !important;
    background: rgba(255, 255, 255, .14) !important;
}

.short-video-head span {
    display: block !important;
    color: rgba(255, 255, 255, .52) !important;
    font-size: 11px !important;
    line-height: 1.2 !important;
    letter-spacing: 0 !important;
}

.short-video-head h1 {
    margin: 2px 0 0 !important;
    color: #fff !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
}

.short-video-main {
    position: relative !important;
    flex: 1 1 auto !important;
    min-height: 0 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 86px !important;
    gap: 14px !important;
    align-items: stretch !important;
}

.short-video-theater {
    position: relative !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}

.short-video-player {
    position: relative !important;
    width: 100% !important;
    height: min(calc(100vh - 150px), 820px) !important;
    min-height: 620px !important;
    overflow: hidden !important;
    border-radius: 14px !important;
    background: #000 !important;
    box-shadow: 0 28px 90px rgba(0, 0, 0, .52), 0 0 0 1px rgba(255, 255, 255, .08) !important;
}

.short-video-player video {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    background: #000 !important;
}

.short-video-player video::-webkit-media-controls {
    display: none !important;
}

.short-video-danmaku {
    position: absolute !important;
    inset: 0 0 auto 0 !important;
    height: 38% !important;
    overflow: hidden !important;
    z-index: 4 !important;
    pointer-events: none !important;
    opacity: 1 !important;
    transition: opacity .2s ease !important;
}

.short-video-danmaku.is-hidden {
    opacity: 0 !important;
}

.short-video-danmaku span {
    position: absolute !important;
    top: var(--top, 18%) !important;
    left: 100% !important;
    white-space: nowrap !important;
    color: var(--color, #fff) !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    text-shadow: 0 2px 7px rgba(0, 0, 0, .82) !important;
    animation: short-video-danmaku-run 13s linear infinite !important;
    animation-delay: var(--delay, 0s) !important;
}

.short-video-danmaku span.is-live {
    animation-duration: 9.5s !important;
}

@keyframes short-video-danmaku-run {
    from { transform: translateX(0); }
    to { transform: translateX(calc(-100vw - 520px)); }
}

.short-video-info {
    position: absolute !important;
    left: 18px !important;
    right: 160px !important;
    bottom: 104px !important;
    z-index: 5 !important;
    max-width: 760px !important;
    color: #fff !important;
    pointer-events: none !important;
}

.short-video-author {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin-bottom: 8px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    text-shadow: 0 2px 9px rgba(0, 0, 0, .86) !important;
}

.short-video-author em {
    color: rgba(255, 255, 255, .82) !important;
    font-size: 13px !important;
    font-style: normal !important;
    font-weight: 500 !important;
}

.short-video-info h2 {
    margin: 0 0 6px !important;
    color: #fff !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    line-height: 1.38 !important;
    text-shadow: 0 2px 9px rgba(0, 0, 0, .86) !important;
}

.short-video-info p {
    margin: 0 0 8px !important;
    color: rgba(255, 255, 255, .88) !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    text-shadow: 0 2px 9px rgba(0, 0, 0, .86) !important;
}

.short-video-topic-row,
.short-video-series {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 8px !important;
}

.short-video-topic-row span {
    color: #ffd84d !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-shadow: 0 2px 9px rgba(0, 0, 0, .86) !important;
}

.short-video-series {
    margin-top: 9px !important;
    pointer-events: auto !important;
}

.short-video-series-btn,
.short-video-next-pill {
    height: 38px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid rgba(255, 255, 255, .16) !important;
    border-radius: 10px !important;
    color: #fff !important;
    background: rgba(255, 255, 255, .18) !important;
    backdrop-filter: blur(12px) !important;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .22) !important;
}

.short-video-series-btn {
    padding: 0 14px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
}

.short-video-next-pill {
    padding: 0 15px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
}

.short-video-play-cover {
    position: absolute !important;
    inset: 0 0 72px !important;
    z-index: 7 !important;
    display: none !important;
    align-items: center !important;
    justify-content: center !important;
    flex-direction: column !important;
    gap: 12px !important;
    color: #fff !important;
    border: 0 !important;
    background: rgba(0, 0, 0, .18) !important;
    cursor: pointer !important;
}

.short-video-play-cover.is-active {
    display: flex !important;
}

.short-video-play-cover i {
    width: 72px !important;
    height: 72px !important;
    display: grid !important;
    place-items: center !important;
    padding-left: 5px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, .18) !important;
    box-shadow: 0 18px 50px rgba(0, 0, 0, .42), inset 0 0 0 1px rgba(255, 255, 255, .28) !important;
    backdrop-filter: blur(16px) !important;
    font-size: 28px !important;
    font-style: normal !important;
}

.short-video-play-cover span {
    padding: 8px 14px !important;
    color: #fff !important;
    border-radius: 999px !important;
    background: rgba(0, 0, 0, .62) !important;
    font-size: 14px !important;
}

.short-video-loading {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    z-index: 8 !important;
    display: none !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 10px 16px !important;
    color: #fff !important;
    border-radius: 999px !important;
    background: rgba(0, 0, 0, .7) !important;
    transform: translate(-50%, -50%) !important;
}

.short-video-loading.is-active {
    display: flex !important;
}

.short-video-loading i {
    width: 16px !important;
    height: 16px !important;
    border-radius: 50% !important;
    border: 2px solid rgba(255, 255, 255, .26) !important;
    border-top-color: #fe2c55 !important;
    animation: short-video-spin .85s linear infinite !important;
}

@keyframes short-video-spin {
    to { transform: rotate(360deg); }
}

.short-video-error {
    position: absolute !important;
    left: 50% !important;
    bottom: 116px !important;
    z-index: 9 !important;
    display: none !important;
    max-width: min(520px, calc(100% - 36px)) !important;
    padding: 10px 14px !important;
    color: #fff !important;
    border-radius: 999px !important;
    background: rgba(0, 0, 0, .7) !important;
    text-align: center !important;
    font-size: 13px !important;
    transform: translateX(-50%) !important;
}

.short-video-error.is-active {
    display: block !important;
}

.short-video-controls {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 6 !important;
    padding: 0 16px 8px !important;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .86) 54%, rgba(0, 0, 0, .98)) !important;
    box-sizing: border-box !important;
}

.short-video-progress {
    position: relative !important;
    width: 100% !important;
    height: 10px !important;
    margin-bottom: 8px !important;
    cursor: pointer !important;
}

.short-video-progress::before,
.short-video-progress span {
    position: absolute !important;
    left: 0 !important;
    top: 4px !important;
    height: 2px !important;
    border-radius: 999px !important;
    content: "" !important;
}

.short-video-progress::before {
    right: 0 !important;
    background: rgba(255, 255, 255, .24) !important;
}

.short-video-progress span {
    width: var(--short-video-progress, 0%) !important;
    background: #fe2c55 !important;
    box-shadow: 0 0 14px rgba(254, 44, 85, .72) !important;
}

.short-video-control-row {
    display: grid !important;
    grid-template-columns: 150px minmax(260px, 560px) auto !important;
    align-items: center !important;
    gap: 12px !important;
    min-height: 34px !important;
}

.short-video-control-left,
.short-video-control-right {
    display: flex !important;
    align-items: center !important;
    gap: 9px !important;
    min-width: 0 !important;
}

.short-video-control-right {
    justify-content: flex-end !important;
}

.short-video-play-mini,
.short-video-icon-btn,
.short-video-text-btn,
.short-video-toggle,
.short-video-comment-bar button {
    border: 0 !important;
    color: rgba(255, 255, 255, .9) !important;
    background: transparent !important;
    cursor: pointer !important;
    transition: color .18s ease, transform .18s ease, background .18s ease !important;
}

.short-video-play-mini,
.short-video-icon-btn {
    width: 30px !important;
    height: 30px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 8px !important;
    font-size: 16px !important;
}

.short-video-play-mini:hover,
.short-video-icon-btn:hover,
.short-video-text-btn:hover,
.short-video-toggle:hover,
.short-video-comment-bar button:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, .12) !important;
}

.short-video-time {
    min-width: 96px !important;
    color: rgba(255, 255, 255, .74) !important;
    font-size: 13px !important;
    line-height: 1 !important;
}

.short-video-time b,
.short-video-time em {
    color: inherit !important;
    font-style: normal !important;
    font-weight: 700 !important;
}

.short-video-toggle {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    min-width: 58px !important;
    height: 28px !important;
    padding: 0 8px !important;
    border-radius: 999px !important;
    font-size: 13px !important;
}

.short-video-toggle i {
    position: relative !important;
    width: 22px !important;
    height: 12px !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, .35) !important;
}

.short-video-toggle i::after {
    content: "" !important;
    position: absolute !important;
    top: 2px !important;
    left: 2px !important;
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    background: #fff !important;
    transition: transform .18s ease !important;
}

.short-video-toggle.is-on i {
    background: #fe2c55 !important;
}

.short-video-toggle.is-on i::after {
    transform: translateX(10px) !important;
}

.short-video-text-btn {
    height: 28px !important;
    padding: 0 8px !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
}

.short-video-text-btn.is-on {
    color: #fff !important;
}

.short-video-comment-bar {
    display: grid !important;
    grid-template-columns: 30px minmax(0, 1fr) 60px !important;
    align-items: center !important;
    gap: 8px !important;
    width: 100% !important;
    height: 36px !important;
    margin: 0 !important;
    padding: 0 6px 0 10px !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, .11) !important;
    border: 1px solid rgba(255, 255, 255, .08) !important;
    backdrop-filter: blur(16px) !important;
    box-sizing: border-box !important;
}

.short-video-comment-bar span {
    color: rgba(255, 255, 255, .58) !important;
    text-align: center !important;
    font-size: 17px !important;
}

.short-video-comment-bar input {
    width: 100% !important;
    min-width: 0 !important;
    height: 28px !important;
    border: 0 !important;
    outline: 0 !important;
    color: #fff !important;
    background: transparent !important;
    font-size: 13px !important;
}

.short-video-comment-bar input::placeholder {
    color: rgba(255, 255, 255, .46) !important;
}

.short-video-comment-bar button {
    height: 26px !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, .16) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
}

.short-video-caption {
    display: none !important;
}

.short-video-actions {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 14px !important;
    padding: 12px 0 !important;
}

.short-video-actions button {
    width: 68px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 5px !important;
    color: rgba(255, 255, 255, .9) !important;
    border: 0 !important;
    background: transparent !important;
    cursor: pointer !important;
    transition: transform .18s ease, color .18s ease !important;
}

.short-video-actions button:hover {
    transform: translateY(-2px) !important;
    color: #fff !important;
}

.short-video-actions i {
    width: 38px !important;
    height: 38px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 0 !important;
    color: #fff !important;
    background: transparent !important;
    box-shadow: none !important;
    font-size: 0 !important;
    font-style: normal !important;
    font-weight: 800 !important;
}

.short-video-actions button.is-active i,
.short-video-actions button[data-short-video-like].is-active i {
    color: #fe2c55 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.short-video-svg-icon svg {
    width: 31px !important;
    height: 31px !important;
    display: block !important;
    fill: currentColor !important;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .68)) !important;
}

.short-video-actions span {
    color: rgba(255, 255, 255, .86) !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
}

.short-video-avatar {
    position: relative !important;
    margin-bottom: 4px !important;
}

.short-video-avatar img {
    width: 48px !important;
    height: 48px !important;
    object-fit: cover !important;
    border-radius: 50% !important;
    border: 2px solid #fff !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .42) !important;
}

.short-video-avatar i {
    position: absolute !important;
    left: 50% !important;
    top: 38px !important;
    width: 18px !important;
    height: 18px !important;
    background: #fe2c55 !important;
    font-size: 16px !important;
    line-height: 18px !important;
    transform: translateX(-50%) !important;
}

.short-video-panel-stack {
    position: absolute !important;
    top: 66px !important;
    right: 96px !important;
    z-index: 20 !important;
    width: min(360px, calc(100vw - 128px)) !important;
    pointer-events: none !important;
}

.short-video-panel {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-height: min(calc(100vh - 160px), 760px) !important;
    padding: 16px !important;
    overflow: auto !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, .1) !important;
    border-radius: 18px !important;
    background: rgba(22, 22, 26, .86) !important;
    box-shadow: 0 22px 90px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .06) !important;
    backdrop-filter: blur(22px) !important;
    box-sizing: border-box !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateX(20px) scale(.98) !important;
    transition: opacity .18s ease, transform .18s ease !important;
}

.short-video-panel.is-active {
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: translateX(0) scale(1) !important;
}

.short-video-panel-head {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 12px !important;
    margin-bottom: 14px !important;
}

.short-video-panel-head span {
    display: block !important;
    color: rgba(255, 255, 255, .48) !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
}

.short-video-panel-head strong {
    display: block !important;
    margin-top: 4px !important;
    color: #fff !important;
    font-size: 15px !important;
    line-height: 1.35 !important;
}

.short-video-panel-head b {
    color: inherit !important;
}

.short-video-panel-head button {
    width: 30px !important;
    height: 30px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 auto !important;
    border: 0 !important;
    border-radius: 999px !important;
    color: rgba(255, 255, 255, .82) !important;
    background: rgba(255, 255, 255, .1) !important;
    cursor: pointer !important;
    font-size: 18px !important;
    line-height: 1 !important;
}

.short-video-search {
    position: relative !important;
    display: block !important;
}

.short-video-search input,
.short-video-select {
    width: 100% !important;
    height: 42px !important;
    box-sizing: border-box !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, .12) !important;
    border-radius: 12px !important;
    outline: 0 !important;
    background: rgba(255, 255, 255, .08) !important;
}

.short-video-search input {
    padding: 0 14px !important;
}

.short-video-search input::placeholder {
    color: rgba(255, 255, 255, .45) !important;
}

.short-video-select {
    margin-top: 10px !important;
    padding: 0 12px !important;
}

.short-video-select option {
    color: #111827 !important;
}

.short-video-tags {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin-top: 14px !important;
    padding-bottom: 14px !important;
    border-bottom: 1px solid rgba(255, 255, 255, .1) !important;
}

.short-video-tags button,
.short-video-list button {
    min-height: 30px !important;
    padding: 0 10px !important;
    color: rgba(255, 255, 255, .88) !important;
    border: 1px solid rgba(255, 255, 255, .08) !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, .08) !important;
    cursor: pointer !important;
    font-size: 12px !important;
}

.short-video-tags button:hover,
.short-video-list button:hover {
    color: #fff !important;
    border-color: rgba(254, 44, 85, .38) !important;
    background: rgba(254, 44, 85, .16) !important;
}

.short-video-list {
    margin-top: 14px !important;
}

.short-video-list strong {
    display: block !important;
    margin-bottom: 10px !important;
    color: rgba(255, 255, 255, .92) !important;
    font-size: 14px !important;
    font-weight: 800 !important;
}

.short-video-list div {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
}

.short-video-empty {
    color: rgba(255, 255, 255, .46) !important;
    font-size: 13px !important;
}

.short-video-comment-panel {
    display: flex !important;
    flex-direction: column !important;
    min-height: 420px !important;
}

.short-video-comment-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    min-height: 0 !important;
    overflow: auto !important;
    padding-right: 3px !important;
}

.short-video-comment-item {
    position: relative !important;
    padding: 12px 12px 12px 42px !important;
    border-radius: 14px !important;
    background: rgba(255, 255, 255, .06) !important;
    border: 1px solid rgba(255, 255, 255, .06) !important;
}

.short-video-comment-item::before {
    content: "" !important;
    position: absolute !important;
    left: 12px !important;
    top: 14px !important;
    width: 20px !important;
    height: 20px !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, #25f4ee, #fe2c55) !important;
}

.short-video-comment-item b {
    display: block !important;
    color: rgba(255, 255, 255, .92) !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
}

.short-video-comment-item p {
    margin: 6px 0 !important;
    color: rgba(255, 255, 255, .78) !important;
    font-size: 13px !important;
    line-height: 1.55 !important;
}

.short-video-comment-item span {
    color: rgba(255, 255, 255, .42) !important;
    font-size: 12px !important;
}

.short-video-comment-compose {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 62px !important;
    gap: 8px !important;
    margin-top: 14px !important;
    padding-top: 12px !important;
    border-top: 1px solid rgba(255, 255, 255, .08) !important;
}

.short-video-comment-compose input {
    min-width: 0 !important;
    height: 38px !important;
    padding: 0 12px !important;
    border: 1px solid rgba(255, 255, 255, .1) !important;
    border-radius: 999px !important;
    outline: 0 !important;
    color: #fff !important;
    background: rgba(255, 255, 255, .08) !important;
}

.short-video-comment-compose button {
    height: 38px !important;
    border: 0 !important;
    border-radius: 999px !important;
    color: #fff !important;
    background: #fe2c55 !important;
    cursor: pointer !important;
    font-weight: 800 !important;
}

@media (max-width: 1180px) {
    .short-video-main {
        grid-template-columns: minmax(0, 1fr) 82px !important;
    }

    .short-video-info {
        right: 170px !important;
    }
}

.search-history-item[href] {
    text-decoration: none !important;
}

@media (max-width: 900px) {
    .short-video-page {
        min-height: calc(100vh - 58px) !important;
    }

    .short-video-shell {
        width: 100% !important;
        min-height: calc(100vh - 58px) !important;
        padding: 8px 10px 12px !important;
    }

    .short-video-head {
        height: 44px !important;
        padding: 0 2px !important;
    }

    .short-video-head h1 {
        font-size: 16px !important;
    }

    .short-video-main {
        display: block !important;
        min-height: 0 !important;
    }

    .short-video-player {
        height: auto !important;
        min-height: 0 !important;
        aspect-ratio: 16 / 9 !important;
        border-radius: 12px !important;
    }

    .short-video-player video {
        object-fit: contain !important;
    }

    .short-video-info {
        position: relative !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        max-width: none !important;
        margin: 12px 4px 0 !important;
        pointer-events: auto !important;
    }

    .short-video-info h2 {
        font-size: 16px !important;
    }

    .short-video-info p {
        font-size: 13px !important;
    }

    .short-video-series-btn,
    .short-video-next-pill {
        height: 34px !important;
        border-radius: 9px !important;
    }

    .short-video-controls {
        padding: 0 8px 6px !important;
    }

    .short-video-play-cover {
        inset: 0 0 102px !important;
    }

    .short-video-control-row {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 7px !important;
        overflow: visible !important;
    }

    .short-video-control-row::-webkit-scrollbar {
        display: none !important;
    }

    .short-video-time {
        min-width: 88px !important;
        font-size: 12px !important;
    }

    .short-video-control-left,
    .short-video-control-right {
        gap: 6px !important;
    }

    .short-video-control-right {
        justify-content: flex-start !important;
        overflow-x: auto !important;
        scrollbar-width: none !important;
    }

    .short-video-control-right::-webkit-scrollbar {
        display: none !important;
    }

    .short-video-text-btn,
    .short-video-toggle {
        flex: 0 0 auto !important;
        font-size: 12px !important;
    }

    .short-video-comment-bar {
        width: 100% !important;
        margin: 0 !important;
        height: 34px !important;
        grid-template-columns: 24px minmax(0, 1fr) 52px !important;
    }

    .short-video-actions {
        position: static !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        gap: 6px !important;
        padding: 12px 2px 0 !important;
    }

    .short-video-actions button {
        width: auto !important;
        min-width: 48px !important;
        gap: 5px !important;
    }

    .short-video-actions i,
    .short-video-avatar img {
        width: 34px !important;
        height: 34px !important;
        font-size: 15px !important;
    }

    .short-video-svg-icon svg {
        width: 27px !important;
        height: 27px !important;
    }

    .short-video-avatar i {
        top: 30px !important;
        width: 16px !important;
        height: 16px !important;
        font-size: 14px !important;
    }

    .short-video-actions span {
        font-size: 11px !important;
    }

    .short-video-panel-stack {
        position: relative !important;
        top: auto !important;
        right: auto !important;
        width: 100% !important;
        margin-top: 12px !important;
        pointer-events: none !important;
    }

    .short-video-panel {
        position: relative !important;
        top: auto !important;
        right: auto !important;
        display: none !important;
        max-height: none !important;
        padding: 12px !important;
        border-radius: 12px !important;
        opacity: 1 !important;
        transform: none !important;
    }

    .short-video-panel.is-active {
        display: block !important;
        pointer-events: auto !important;
    }

    .short-video-tags {
        max-height: 76px !important;
        overflow: auto !important;
    }

    .short-video-comment-panel.is-active {
        display: flex !important;
        min-height: 320px !important;
    }

    .short-video-danmaku span {
        font-size: 14px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .short-video-danmaku span,
    .short-video-loading i {
        animation: none !important;
    }
}

/* legacy short-video styles were replaced by the block above. */
/*
.short-video-page {
    position: relative !important;
    min-height: calc(100vh - 92px) !important;
    margin-top: -10px !important;
    overflow: hidden !important;
    color: #fff !important;
    background: #090f1d !important;
}

.short-video-bg {
    position: absolute !important;
    inset: -70px !important;
    overflow: hidden !important;
    background: radial-gradient(circle at 20% 10%, rgba(59, 130, 246, .26), transparent 32%), linear-gradient(135deg, #090f1d 0%, #10213d 48%, #08111f 100%) !important;
}

.short-video-bg video {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    filter: blur(46px) saturate(1.08) !important;
    opacity: .46 !important;
    transform: scale(1.18) !important;
}

.short-video-bg::before,
.short-video-bg::after,
.short-video-page::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    pointer-events: none !important;
}

.short-video-bg::before {
    background: linear-gradient(90deg, rgba(3, 7, 18, .9), rgba(9, 22, 44, .54) 34%, rgba(9, 22, 44, .42) 58%, rgba(3, 7, 18, .92)) !important;
}

.short-video-bg::after {
    background: radial-gradient(circle at 50% 45%, rgba(96, 165, 250, .14), transparent 36%), linear-gradient(180deg, rgba(5, 9, 18, .5), rgba(5, 9, 18, .82)) !important;
}

.short-video-page::after {
    background: linear-gradient(90deg, rgba(5, 9, 18, .34), rgba(5, 9, 18, .08) 46%, rgba(5, 9, 18, .42)) !important;
}

.short-video-shell {
    position: relative !important;
    z-index: 1 !important;
    width: min(1240px, calc(100% - 32px)) !important;
    min-height: calc(100vh - 92px) !important;
    margin: 0 auto !important;
    padding: 22px 0 26px !important;
    display: flex !important;
    flex-direction: column !important;
}

.short-video-head {
    height: 52px !important;
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
}

.short-video-back,
.short-video-ghost {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 38px !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, .18) !important;
    background: rgba(255, 255, 255, .09) !important;
    backdrop-filter: blur(14px) !important;
}

.short-video-back {
    width: 38px !important;
    border-radius: 50% !important;
    font-size: 28px !important;
}

.short-video-ghost {
    margin-left: auto !important;
    padding: 0 18px !important;
    border-radius: 999px !important;
    font-size: 14px !important;
}

.short-video-head span {
    display: block !important;
    color: rgba(219, 234, 254, .74) !important;
    font-size: 12px !important;
}

.short-video-head h1 {
    margin: 2px 0 0 !important;
    color: #fff !important;
    font-size: 22px !important;
    font-weight: 600 !important;
}

.short-video-main {
    flex: 1 !important;
    display: grid !important;
    grid-template-columns: 280px minmax(300px, 1fr) 84px !important;
    gap: 22px !important;
    align-items: center !important;
}

.short-video-side {
    align-self: stretch !important;
    margin: 28px 0 !important;
    padding: 18px !important;
    overflow: hidden !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, .12) !important;
    border-radius: 18px !important;
    background: rgba(10, 18, 32, .58) !important;
    box-shadow: 0 18px 50px rgba(0, 0, 0, .24) !important;
    backdrop-filter: blur(18px) !important;
}

.short-video-search input,
.short-video-select {
    width: 100% !important;
    height: 42px !important;
    box-sizing: border-box !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, .13) !important;
    border-radius: 12px !important;
    outline: 0 !important;
    background: rgba(255, 255, 255, .1) !important;
}

.short-video-search input {
    padding: 0 38px 0 14px !important;
}

.short-video-select {
    margin-top: 12px !important;
    padding: 0 12px !important;
}

.short-video-select option {
    color: #111827 !important;
}

.short-video-list {
    margin-top: 16px !important;
    padding-top: 15px !important;
    border-top: 1px solid rgba(255, 255, 255, .1) !important;
}

.short-video-list strong {
    display: block !important;
    margin-bottom: 10px !important;
    color: rgba(255, 255, 255, .92) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
}

.short-video-list div {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
}

.short-video-list button {
    min-height: 28px !important;
    padding: 0 10px !important;
    color: rgba(255, 255, 255, .86) !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, .1) !important;
}

.short-video-stage {
    justify-self: center !important;
    width: min(430px, 100%) !important;
}

.short-video-player {
    position: relative !important;
    width: 100% !important;
    min-height: 520px !important;
    max-height: calc(100vh - 190px) !important;
    aspect-ratio: 9 / 16 !important;
    overflow: hidden !important;
    border-radius: 24px !important;
    background: #000 !important;
    box-shadow: 0 28px 90px rgba(0, 0, 0, .46), 0 0 0 1px rgba(255, 255, 255, .14) !important;
}

.short-video-player video {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    background: #000 !important;
}

.short-video-play-cover {
    position: absolute !important;
    inset: 0 !important;
    z-index: 6 !important;
    display: none !important;
    align-items: center !important;
    justify-content: center !important;
    flex-direction: column !important;
    gap: 12px !important;
    color: #fff !important;
    border: 0 !important;
    background: rgba(3, 7, 18, .2) !important;
}

.short-video-play-cover.is-active {
    display: flex !important;
}

.short-video-play-cover i {
    width: 68px !important;
    height: 68px !important;
    display: grid !important;
    place-items: center !important;
    padding-left: 4px !important;
    border-radius: 50% !important;
    background: rgba(15, 23, 42, .72) !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, .34), inset 0 0 0 1px rgba(255, 255, 255, .2) !important;
    font-size: 28px !important;
    font-style: normal !important;
}

.short-video-play-cover span,
.short-video-loading,
.short-video-error {
    color: #fff !important;
    border-radius: 999px !important;
    background: rgba(15, 23, 42, .72) !important;
}

.short-video-play-cover span {
    padding: 8px 14px !important;
    font-size: 14px !important;
}

.short-video-loading {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    display: none !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 10px 16px !important;
    transform: translate(-50%, -50%) !important;
}

.short-video-loading.is-active {
    display: flex !important;
}

.short-video-error {
    position: absolute !important;
    left: 16px !important;
    right: 16px !important;
    bottom: 18px !important;
    display: none !important;
    padding: 10px 14px !important;
    text-align: center !important;
    font-size: 13px !important;
}

.short-video-error.is-active {
    display: block !important;
}

.short-video-caption {
    margin-top: 14px !important;
    padding: 0 4px !important;
    color: #fff !important;
}

.short-video-caption span,
.short-video-caption em {
    display: block !important;
    color: rgba(219, 234, 254, .68) !important;
    font-size: 13px !important;
    font-style: normal !important;
}

.short-video-caption strong {
    display: block !important;
    margin: 4px 0 !important;
    color: #fff !important;
    font-size: 22px !important;
    font-weight: 600 !important;
}

.short-video-actions {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 14px !important;
}

.short-video-actions button {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 6px !important;
    color: rgba(255, 255, 255, .82) !important;
    border: 0 !important;
    background: transparent !important;
}

.short-video-actions i {
    width: 48px !important;
    height: 48px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, .14) !important;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12) !important;
    font-size: 20px !important;
    font-style: normal !important;
}


@media (max-width: 900px) {
    .short-video-page {
        min-height: calc(100vh - 58px) !important;
        margin-top: 0 !important;
    }

    .short-video-shell {
        width: 100% !important;
        min-height: calc(100vh - 58px) !important;
        padding: 10px 12px 14px !important;
        box-sizing: border-box !important;
    }

    .short-video-head {
        height: 46px !important;
    }

    .short-video-head h1 {
        font-size: 18px !important;
    }

    .short-video-main {
        position: relative !important;
        display: block !important;
    }

    .short-video-side {
        position: relative !important;
        z-index: 3 !important;
        margin: 8px 0 10px !important;
        padding: 10px !important;
        border-radius: 14px !important;
    }

    .short-video-list {
        display: none !important;
    }

    .short-video-stage {
        width: min(100%, 430px) !important;
        margin: 0 auto !important;
    }

    .short-video-player {
        height: auto !important;
        min-height: 0 !important;
        max-height: calc(100vh - 180px) !important;
        aspect-ratio: 9 / 16 !important;
        border-radius: 18px !important;
    }

    .short-video-actions {
        position: absolute !important;
        right: 8px !important;
        bottom: 58px !important;
        z-index: 4 !important;
        gap: 10px !important;
    }

    .short-video-actions i {
        width: 42px !important;
        height: 42px !important;
        background: rgba(0, 0, 0, .34) !important;
    }

    .short-video-actions span {
        display: none !important;
    }

    .short-video-caption {
        position: absolute !important;
        left: 14px !important;
        right: 70px !important;
        bottom: 14px !important;
        z-index: 4 !important;
        margin: 0 !important;
        text-shadow: 0 2px 10px rgba(0, 0, 0, .45) !important;
    }
}
*/

@media (max-width: 760px) {
    .navtx-mobile-mask {
        background: transparent !important;
    }

    .navtx-menu-toggle {
        width: 40px !important;
        height: 36px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 4px !important;
        background: #eef2f6 !important;
        border-radius: 6px !important;
        box-shadow: none !important;
    }

    .navtx-menu-toggle span,
    .navtx-menu-toggle span + span,
    .navtx-menu-toggle span:nth-child(3) {
        width: 18px !important;
        height: 2px !important;
        margin: 0 !important;
        background: #344054 !important;
    }

    .navtx-detail-page .navtx-detail-mobile-head {
        display: none !important;
    }

    .navtx-detail-page .navtx-header {
        position: sticky !important;
        top: 0 !important;
        z-index: 30 !important;
        background: #fff !important;
        border-bottom: 1px solid #e8edf3 !important;
        box-shadow: 0 2px 10px rgba(15, 23, 42, .04) !important;
    }

    .navtx-detail-page .navtx-header-inner {
        width: 100% !important;
        height: 48px !important;
        min-height: 48px !important;
        display: flex !important;
        align-items: center !important;
        padding: 0 12px !important;
        overflow: visible !important;
    }

    .navtx-detail-page .navtx-header-inner > .navtx-logo,
    .navtx-detail-page .navtx-header-inner > .navtx-menu-toggle {
        display: flex !important;
    }

    .navtx-detail-page .navtx-header-inner > .navtx-menu {
        display: flex !important;
    }

    .navtx-detail-page .navtx-header-inner > .navtx-header-tools,
    .navtx-detail-page .navtx-header-inner > .navtx-group-link {
        display: none !important;
    }

    .navtx-detail-page .detail-layout {
        width: calc(100% - 16px) !important;
        padding: 12px 0 28px !important;
        overflow-x: hidden !important;
    }

    .navtx-detail-page .site-detail-card {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
        padding: 16px !important;
        margin: 0 0 12px !important;
        border: 1px solid #eef1f5 !important;
        border-radius: 0 !important;
        background: #fff !important;
        box-shadow: none !important;
    }

    .navtx-detail-page .detail-cover {
        width: 100% !important;
        padding: 0 !important;
        border-bottom: 0 !important;
    }

    .navtx-detail-page .detail-mobile-hero {
        display: block !important;
    }

    .navtx-detail-page .detail-mobile-summary {
        display: none !important;
    }

    .navtx-detail-page .detail-cover > img,
    .navtx-detail-page .detail-mobile-hero img {
        display: block !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        height: 190px !important;
        object-fit: cover !important;
        border: 1px solid #edf0f5 !important;
        border-radius: 0 !important;
        background: #f3f6fa !important;
        box-shadow: none !important;
    }

    .navtx-detail-page .detail-mobile-actions {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
        margin-top: 10px !important;
    }

    .navtx-detail-page .detail-primary,
    .navtx-detail-page .detail-secondary {
        width: 100% !important;
        height: 38px !important;
        margin: 0 !important;
        border-radius: 0 !important;
    }

    .navtx-detail-page .detail-info {
        padding: 0 !important;
    }

    .navtx-detail-page .detail-info::before {
        content: none !important;
    }

    .navtx-detail-page .detail-info > h1 {
        display: block !important;
        margin: 0 0 14px !important;
        font-size: 17px !important;
        line-height: 1.45 !important;
        white-space: normal !important;
    }

    .navtx-detail-page .detail-info dl,
    .navtx-detail-page .detail-info .weight-row,
    .navtx-detail-page .detail-info .domain-check-row {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
    }

    .navtx-detail-page .detail-info dl > div,
    .navtx-detail-page .detail-info dl .weight-field,
    .navtx-detail-page .detail-info dl .domain-check-row > div {
        display: flex !important;
        grid-template-columns: none !important;
        justify-content: space-between !important;
        gap: 14px !important;
        min-height: 0 !important;
        padding: 10px 0 !important;
        border-bottom: 1px dashed #edf0f5 !important;
    }

    .navtx-detail-page .detail-info dt {
        max-width: 42% !important;
        color: #9199a7 !important;
        font-size: 13px !important;
        overflow: hidden !important;
        white-space: nowrap !important;
        text-overflow: ellipsis !important;
    }

    .navtx-detail-page .detail-info dd {
        max-width: 58% !important;
        color: #152033 !important;
        font-size: 13px !important;
        overflow: hidden !important;
        white-space: nowrap !important;
        text-align: right !important;
        text-overflow: ellipsis !important;
    }

    .navtx-detail-page .detail-panel,
    .navtx-detail-page .related-nav-panel,
    .navtx-detail-page .detail-layout > .neighbor-log,
    .navtx-detail-page .detail-layout > .comments,
    .navtx-detail-page .detail-layout > .comment-post {
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 16px 14px !important;
        margin-bottom: 12px !important;
        border: 1px solid #eef1f5 !important;
        background: #fff !important;
        box-shadow: none !important;
    }

    .navtx-detail-page .related-nav-grid {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
    }

    .navtx-detail-page .related-nav-item {
        display: grid !important;
        grid-template-columns: 58px minmax(0, 1fr) !important;
        align-items: center !important;
        gap: 12px !important;
        min-height: 0 !important;
        padding: 14px 0 !important;
        border-right: 0 !important;
        border-bottom: 1px solid #f1f3f6 !important;
    }

    .navtx-detail-page .related-nav-item img {
        width: 48px !important;
        height: 48px !important;
        margin: 0 !important;
        object-fit: contain !important;
        border: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        filter: none !important;
    }

    .navtx-ad-banner-grid {
        display: none !important;
    }
}

/* Keep floating weather card hidden after hover leaves. */
.navtx-weather-floating-card:not(.is-open) {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(8px) scale(.98) !important;
    animation: none !important;
}

.navtx-weather-floating-card.is-open {
    visibility: visible !important;
}

@media (max-width: 760px) {
    body.nav-open {
        overflow: hidden !important;
    }

    .navtx-header {
        height: 64px !important;
        z-index: 900 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .navtx-header-inner {
        height: 64px !important;
        min-height: 64px !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    .navtx-menu-toggle {
        position: relative !important;
        z-index: 1205 !important;
    }

    .navtx-mobile-mask {
        position: fixed !important;
        inset: 0 !important;
        z-index: 1100 !important;
        display: none !important;
        background: rgba(17, 24, 39, .38) !important;
        pointer-events: auto !important;
    }

    body.nav-open .navtx-mobile-mask {
        display: block !important;
    }

    .navtx-menu {
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        left: auto !important;
        bottom: auto !important;
        z-index: 1200 !important;
        width: min(68vw, 250px) !important;
        height: 100dvh !important;
        min-height: 100vh !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        gap: 0 !important;
        padding: 58px 28px 24px !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        background: #fff !important;
        opacity: 1 !important;
        border-radius: 0 !important;
        box-shadow: -18px 0 40px rgba(15, 23, 42, .16) !important;
        transform: translate3d(105%, 0, 0) !important;
        transition: transform .24s ease !important;
        -webkit-overflow-scrolling: touch !important;
    }

    body.nav-open .navtx-menu {
        display: flex !important;
        transform: translate3d(0, 0, 0) !important;
    }

    .navtx-menu > a,
    .navtx-menu-dropdown > a {
        width: 100% !important;
        min-height: 44px !important;
        height: 44px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        padding: 0 0 0 36px !important;
        margin: 0 !important;
        color: #111827 !important;
        background: transparent !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        font-size: 14px !important;
        line-height: 44px !important;
        text-align: left !important;
    }

    .navtx-menu > a::before,
    .navtx-menu-dropdown > a::before {
        position: absolute !important;
        left: 0 !important;
        top: 50% !important;
        width: 24px !important;
        display: block !important;
        font-family: Arial, Helvetica, sans-serif !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        line-height: 1 !important;
        text-align: center !important;
        transform: translateY(-50%) !important;
    }

    .navtx-menu > a:nth-child(1)::before { content: "H" !important; color: #22c55e !important; }
    .navtx-menu-dropdown > a::before { content: "C" !important; color: #eab308 !important; }
    .navtx-menu > a:nth-of-type(2)::before { content: "N" !important; color: #60a5fa !important; }
    .navtx-menu > a:nth-of-type(3)::before { content: "T" !important; color: #22c55e !important; }
    .navtx-menu > a:nth-of-type(4)::before { content: "R" !important; color: #f59e0b !important; }
    .navtx-menu > a:nth-of-type(5)::before { content: "S" !important; color: #ef4444 !important; }

    .navtx-menu a:hover,
    .navtx-menu .is-active {
        color: #ff2d2d !important;
        background: transparent !important;
    }

    body.nav-open .navtx-footer-tools {
        display: none !important;
    }

    .navtx-menu .mobile-click-mode {
        flex: 0 0 auto !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        margin-top: 14px !important;
        padding: 18px 0 0 !important;
        border-top: 1px solid #eef2f6 !important;
        color: #344054 !important;
        background: transparent !important;
        font-size: 13px !important;
        line-height: 1.2 !important;
    }

    .navtx-menu .mobile-click-switch {
        position: relative !important;
        width: 50px !important;
        height: 28px !important;
        flex: 0 0 auto !important;
        border: 0 !important;
        border-radius: 999px !important;
        background: #d5dce6 !important;
        cursor: pointer !important;
    }

    .navtx-menu .mobile-click-switch i {
        position: absolute !important;
        top: 3px !important;
        left: 3px !important;
        width: 22px !important;
        height: 22px !important;
        border-radius: 50% !important;
        background: #fff !important;
        box-shadow: 0 2px 5px rgba(15, 23, 42, .22) !important;
        transition: transform .18s ease !important;
    }

    .navtx-menu .mobile-click-switch.is-active {
        background: #31d05f !important;
    }

    .navtx-menu .mobile-click-switch.is-active i {
        transform: translateX(22px) !important;
    }

    .navtx-ad-board + .home-directory,
    .navtx-ad-board + .home-directory .home-link-grid {
        padding-top: 6px !important;
    }

    .search-hero,
    .search-hero.has-bear-bg {
        min-height: 268px !important;
        margin-top: -21px !important;
    }

    .search-hero .navtx-wrap,
    .search-hero.has-bear-bg .navtx-wrap {
        width: 100% !important;
        padding: 0 16px !important;
        box-sizing: border-box !important;
    }

    .search-box,
    .search-hero.has-bear-bg .search-box,
    .search-hero.has-bg .search-box {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        grid-auto-flow: row !important;
        align-items: stretch !important;
        gap: 3px !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 auto !important;
        overflow: visible !important;
    }

    .search-input-shell,
    .search-hero.has-bear-bg .search-input-shell,
    .search-hero.has-bg .search-input-shell {
        grid-column: 1 / -1 !important;
        order: 1 !important;
        width: 100% !important;
        min-width: 0 !important;
        height: 44px !important;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) 48px !important;
        align-items: center !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
        border: 1px solid rgba(255, 255, 255, .86) !important;
        border-radius: 999px !important;
        background: rgba(255, 255, 255, .9) !important;
        box-shadow: 0 10px 24px rgba(30, 45, 68, .13) !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
    }

    .search-input-shell::before,
    .search-input-shell::after {
        content: none !important;
        display: none !important;
    }

    .search-input-shell input,
    .search-hero.has-bear-bg .search-input-shell input,
    .search-hero.has-bg .search-input-shell input {
        grid-column: 1 !important;
        width: 100% !important;
        min-width: 0 !important;
        height: 44px !important;
        padding: 0 16px !important;
        color: #233246 !important;
        background: transparent !important;
        font-size: 14px !important;
        line-height: 44px !important;
    }

    .search-input-shell input::placeholder,
    .search-hero.has-bear-bg .search-input-shell input::placeholder,
    .search-hero.has-bg .search-input-shell input::placeholder {
        color: #8a96a6 !important;
    }

    .search-input-shell > button {
        grid-column: 3 !important;
        width: 44px !important;
        height: 42px !important;
        margin: 0 !important;
        padding: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    .search-input-shell > button::before {
        left: 12px !important;
        top: 10px !important;
        width: 12px !important;
        height: 12px !important;
        border: 3px solid #0b9f8f !important;
        border-radius: 50% !important;
        background: transparent !important;
    }

    .search-input-shell > button::after {
        left: 26px !important;
        top: 25px !important;
        width: 9px !important;
        height: 3px !important;
        border: 0 !important;
        border-radius: 3px !important;
        background: #0b9f8f !important;
        transform: rotate(45deg) !important;
    }

    .search-box .search-engine-row,
    .search-engine-row {
        position: relative !important;
        z-index: 18 !important;
        grid-column: 1 / -1 !important;
        order: 2 !important;
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 2px 0 !important;
        overflow-x: auto !important;
        overflow-y: visible !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
    }

    .search-box .search-engine-row::-webkit-scrollbar,
    .search-engine-row::-webkit-scrollbar {
        display: none !important;
    }

    .search-box .search-engine-row button,
    .search-engine-row button {
        flex: 0 0 auto !important;
        width: auto !important;
        min-width: 50px !important;
        height: 30px !important;
        margin: 0 !important;
        padding: 0 13px !important;
        border: 1px solid rgba(255, 255, 255, .86) !important;
        border-radius: 999px !important;
        background: rgba(255, 255, 255, .92) !important;
        color: #233246 !important;
        font-size: 13px !important;
        font-weight: 500 !important;
        line-height: 28px !important;
        letter-spacing: 0 !important;
        text-shadow: none !important;
        box-shadow: 0 8px 18px rgba(24, 38, 61, .08) !important;
        backdrop-filter: blur(12px) !important;
        -webkit-backdrop-filter: blur(12px) !important;
        opacity: 1 !important;
        white-space: nowrap !important;
    }

    .search-box .search-engine-row button.is-active,
    .search-engine-row button.is-active {
        border-color: rgba(23, 162, 135, .95) !important;
        background: #18a88b !important;
        color: #fff !important;
        box-shadow: 0 8px 18px rgba(24, 168, 139, .22) !important;
    }

    .search-box .search-engine-row .search-engine-setting,
    .search-engine-row .search-engine-setting {
        width: 32px !important;
        min-width: 32px !important;
        padding: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .search-box .search-engine-row .search-engine-setting svg,
    .search-engine-row .search-engine-setting svg {
        width: 16px !important;
        height: 16px !important;
        fill: currentColor !important;
    }

    .navtx-ad-board {
        width: auto !important;
        max-width: none !important;
        margin: 8px 0 0 !important;
        padding: 14px 18px !important;
        border: 1px solid #eef3f7 !important;
        border-radius: 12px !important;
        background: rgba(255, 255, 255, .96) !important;
        box-shadow: 0 10px 24px rgba(33, 49, 73, .06) !important;
        overflow: hidden !important;
    }

    .navtx-ad-text-head {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 10px !important;
        margin: 0 0 10px !important;
    }

    .navtx-ad-text-head strong {
        color: #17233a !important;
        font-size: 15px !important;
        font-weight: 600 !important;
        line-height: 1.25 !important;
    }

    .navtx-ad-text-head button {
        flex: 0 0 auto !important;
        max-width: 150px !important;
        height: 30px !important;
        padding: 0 11px !important;
        border: 0 !important;
        border-radius: 999px !important;
        background: #eefaf6 !important;
        color: #159176 !important;
        font-size: 12px !important;
        font-weight: 500 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .navtx-ad-text-grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px 10px !important;
        width: 100% !important;
        min-width: 0 !important;
    }

    .navtx-ad-text-item {
        display: grid !important;
        grid-template-columns: 24px minmax(0, 1fr) !important;
        align-items: center !important;
        gap: 7px !important;
        min-width: 0 !important;
        min-height: 52px !important;
        height: 48px !important;
        padding: 7px 9px !important;
        border: 1px solid #edf3f1 !important;
        border-radius: 9px !important;
        background: #f2f8f6 !important;
        color: #203047 !important;
        box-shadow: none !important;
        transform: none !important;
        overflow: hidden !important;
    }

    .navtx-ad-text-item img {
        display: block !important;
        width: 24px !important;
        height: 24px !important;
        min-width: 24px !important;
        border: 0 !important;
        border-radius: 7px !important;
        background: #e8f3ef !important;
        object-fit: cover !important;
        box-shadow: none !important;
        filter: none !important;
        opacity: 1 !important;
    }

    .navtx-ad-text-item span {
        display: grid !important;
        gap: 2px !important;
        min-width: 0 !important;
        width: 100% !important;
    }

    .navtx-ad-text-item b,
    .navtx-ad-text-item em {
        display: block !important;
        min-width: 0 !important;
        max-width: 100% !important;
        color: #253348 !important;
        text-align: left !important;
        text-shadow: none !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        opacity: 1 !important;
    }

    .navtx-ad-text-item b {
        font-size: 12px !important;
        font-weight: 600 !important;
        line-height: 1.25 !important;
    }

    .navtx-ad-text-item em {
        color: #758195 !important;
        font-size: 11px !important;
        font-style: normal !important;
        line-height: 1.25 !important;
    }

    body.navtx-dark .search-box .search-engine-row button,
    body.navtx-dark .search-engine-row button {
        background: rgba(28, 37, 51, .92) !important;
        border-color: rgba(76, 91, 112, .8) !important;
        color: #eef5fb !important;
    }

    body.navtx-dark .search-box .search-engine-row button.is-active,
    body.navtx-dark .search-engine-row button.is-active {
        background: #18a88b !important;
        border-color: #18a88b !important;
        color: #fff !important;
    }

    body.navtx-dark .navtx-ad-board {
        border-color: rgba(78, 94, 116, .72) !important;
        background: rgba(22, 29, 41, .96) !important;
    }

    body.navtx-dark .navtx-ad-text-head strong,
    body.navtx-dark .navtx-ad-text-item b {
        color: #eef5fb !important;
    }

    body.navtx-dark .navtx-ad-text-item {
        border-color: rgba(76, 91, 112, .75) !important;
        background: linear-gradient(135deg, rgba(30, 40, 55, .98) 0%, rgba(23, 47, 44, .92) 100%) !important;
    }

    body.navtx-dark .navtx-ad-text-item em {
        color: #aeb9c8 !important;
    }

    .navtx-footer-tools {
        left: auto !important;
        right: 10px !important;
        bottom: 10px !important;
        z-index: 45 !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 6px !important;
        max-width: calc(100vw - 20px) !important;
        padding: 6px !important;
        border: 1px solid rgba(225, 232, 240, .9) !important;
        border-radius: 18px !important;
        background: rgba(255, 255, 255, .86) !important;
        box-shadow: 0 12px 30px rgba(30, 45, 68, .12) !important;
        backdrop-filter: blur(14px) !important;
        -webkit-backdrop-filter: blur(14px) !important;
    }

    .navtx-footer-tools .footer-tool-btn,
    .navtx-footer-tools .footer-tool-wrap {
        width: 36px !important;
        height: 36px !important;
        border-radius: 12px !important;
    }

    .navtx-footer-tools .footer-tool-btn {
        background: rgba(241, 246, 250, .94) !important;
        box-shadow: none !important;
    }

    .navtx-footer-tools .footer-tool-btn svg {
        width: 18px !important;
        height: 18px !important;
    }

    .navtx-footer-tools .footer-tool-btn b {
        font-size: 10px !important;
    }

    .navtx-footer-tools .footer-tool-popover {
        right: 0 !important;
        bottom: 46px !important;
    }

    body.navtx-dark .navtx-footer-tools {
        border-color: rgba(78, 94, 116, .72) !important;
        background: rgba(22, 29, 41, .9) !important;
    }
}

@media (min-width: 761px) {
    body.navtx-detail-page {
        background: #f5f7fb !important;
    }

    .navtx-detail-page .navtx-detail-mobile-head {
        display: none !important;
    }

    .navtx-detail-page .navtx-header {
        position: sticky !important;
        top: 0 !important;
        z-index: 120 !important;
        height: auto !important;
        background: rgba(255, 255, 255, .96) !important;
        border-bottom: 1px solid #e8edf3 !important;
        box-shadow: 0 2px 10px rgba(15, 23, 42, .04) !important;
        backdrop-filter: blur(14px) !important;
        -webkit-backdrop-filter: blur(14px) !important;
    }

    .navtx-detail-page .navtx-header-inner {
        width: min(1260px, calc(100% - 56px)) !important;
        height: 68px !important;
        min-height: 68px !important;
        display: flex !important;
        align-items: center !important;
        padding: 0 !important;
        overflow: visible !important;
    }

    .navtx-detail-page .navtx-header-inner > .navtx-logo,
    .navtx-detail-page .navtx-header-inner > .navtx-menu,
    .navtx-detail-page .navtx-header-inner > .navtx-header-tools,
    .navtx-detail-page .navtx-header-inner > .navtx-group-link {
        display: flex !important;
    }

    .navtx-detail-page .navtx-header-inner > .navtx-menu-toggle {
        display: none !important;
    }

    .navtx-detail-page .detail-layout {
        width: min(1260px, calc(100% - 56px)) !important;
        padding: 16px 0 44px !important;
        overflow: visible !important;
    }

    .navtx-detail-page .site-detail-card {
        display: grid !important;
        grid-template-columns: 270px minmax(0, 1fr) !important;
        align-items: start !important;
        gap: 28px !important;
        width: 100% !important;
        margin: 0 0 14px !important;
        padding: 30px !important;
        box-sizing: border-box !important;
        background: #fff !important;
        border: 1px solid #eef1f5 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        overflow: visible !important;
    }

    .navtx-detail-page .detail-cover {
        width: 252px !important;
        min-width: 252px !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
    }

    .navtx-detail-page .detail-mobile-hero {
        display: block !important;
        width: 252px !important;
    }

    .navtx-detail-page .detail-cover > img,
    .navtx-detail-page .detail-mobile-hero > img {
        display: block !important;
        width: 252px !important;
        min-width: 252px !important;
        max-width: 252px !important;
        height: 180px !important;
        object-fit: cover !important;
        border: 1px solid #edf0f5 !important;
        border-radius: 0 !important;
        background: #f3f6fa !important;
        box-shadow: none !important;
        filter: none !important;
    }

    .navtx-detail-page .detail-mobile-summary {
        display: none !important;
    }

    .navtx-detail-page .detail-mobile-actions {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 12px !important;
        width: 252px !important;
        margin-top: 18px !important;
    }

    .navtx-detail-page .detail-primary,
    .navtx-detail-page .detail-secondary {
        width: 252px !important;
        height: 40px !important;
        min-height: 40px !important;
        display: grid !important;
        place-items: center !important;
        margin: 0 !important;
        border: 1px solid #24bea6 !important;
        border-radius: 0 !important;
        font-size: 14px !important;
        font-weight: 400 !important;
        line-height: 40px !important;
        text-align: center !important;
        text-decoration: none !important;
        box-shadow: none !important;
    }

    .navtx-detail-page .detail-primary {
        color: #fff !important;
        background: #24bea6 !important;
    }

    .navtx-detail-page .detail-secondary {
        color: #16a58f !important;
        background: #fff !important;
    }

    .navtx-detail-page .detail-info {
        min-width: 0 !important;
        padding: 4px 0 0 !important;
        background: transparent !important;
    }

    .navtx-detail-page .detail-info::before {
        content: none !important;
        display: none !important;
    }

    .navtx-detail-page .detail-info > h1 {
        display: block !important;
        margin: 0 0 28px !important;
        color: #172033 !important;
        font-size: 20px !important;
        font-weight: 500 !important;
        line-height: 1.45 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .navtx-detail-page .detail-info > h1 a {
        color: #18bca5 !important;
        text-decoration: none !important;
    }

    .navtx-detail-page .detail-info dl {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 24px 34px !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .navtx-detail-page .detail-info dl > div,
    .navtx-detail-page .detail-info dl .weight-field,
    .navtx-detail-page .detail-info dl .domain-check-row > div {
        display: flex !important;
        grid-template-columns: none !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 10px !important;
        min-width: 0 !important;
        min-height: 22px !important;
        width: auto !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    .navtx-detail-page .detail-info dl > div.weight-row {
        grid-column: 1 / -1 !important;
        display: grid !important;
        grid-template-columns: repeat(5, minmax(118px, 1fr)) !important;
        gap: 16px 20px !important;
        width: 100% !important;
        padding-top: 2px !important;
    }

    .navtx-detail-page .detail-info dl > div.domain-check-row {
        grid-column: 1 / -1 !important;
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 14px 28px !important;
        width: 100% !important;
        padding-top: 2px !important;
    }

    .navtx-detail-page .detail-info dt {
        flex: 0 0 auto !important;
        max-width: none !important;
        color: #9199a7 !important;
        font-size: 14px !important;
        font-weight: 400 !important;
        line-height: 22px !important;
        white-space: nowrap !important;
        overflow: visible !important;
        text-overflow: clip !important;
    }

    .navtx-detail-page .detail-info dd {
        min-width: 0 !important;
        max-width: 100% !important;
        margin: 0 !important;
        color: #152033 !important;
        font-size: 14px !important;
        font-weight: 400 !important;
        line-height: 22px !important;
        text-align: left !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .navtx-detail-page .detail-info dd a {
        color: #152033 !important;
        text-decoration: none !important;
    }

    .navtx-detail-page .detail-info dd.stars,
    .navtx-detail-page .detail-info .stars {
        color: #ffb300 !important;
        letter-spacing: 2px !important;
    }

    .navtx-detail-page .weight,
    .navtx-detail-page .weight i,
    .navtx-detail-page .weight b {
        height: 20px !important;
        line-height: 20px !important;
    }

    .navtx-detail-page .weight-img {
        height: 20px !important;
        width: auto !important;
        max-width: 92px !important;
        vertical-align: middle !important;
        box-shadow: none !important;
        filter: none !important;
    }

    .navtx-detail-page .detail-panel,
    .navtx-detail-page .related-nav-panel,
    .navtx-detail-page .detail-layout > .neighbor-log,
    .navtx-detail-page .detail-layout > .comments,
    .navtx-detail-page .detail-layout > .comment-post {
        width: 100% !important;
        box-sizing: border-box !important;
        margin: 0 0 14px !important;
        padding: 28px 30px 32px !important;
        background: #fff !important;
        border: 1px solid #eef1f5 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }

    .navtx-detail-page .detail-panel h2,
    .navtx-detail-page .related-nav-panel h2 {
        position: relative !important;
        margin: 0 0 22px !important;
        padding: 0 0 0 16px !important;
        color: #172033 !important;
        font-size: 16px !important;
        font-weight: 500 !important;
        line-height: 1.45 !important;
    }

    .navtx-detail-page .detail-panel h2::before,
    .navtx-detail-page .related-nav-panel h2::before {
        content: "" !important;
        position: absolute !important;
        left: 0 !important;
        top: 4px !important;
        width: 3px !important;
        height: 17px !important;
        background: #24bea6 !important;
    }

    .navtx-detail-page .detail-panel p,
    .navtx-detail-page .site-ai-description p,
    .navtx-detail-page .article-content {
        max-width: 100% !important;
        margin: 0 0 18px !important;
        color: #7a8799 !important;
        font-size: 14px !important;
        font-weight: 400 !important;
        line-height: 1.9 !important;
        overflow-wrap: anywhere !important;
        word-break: break-word !important;
    }

    .navtx-detail-page .site-tags {
        margin: 4px 0 20px !important;
    }

    .navtx-detail-page .weight-rule-panel {
        display: none !important;
    }

    .navtx-detail-page .trend-chart {
        position: relative !important;
        height: 250px !important;
        padding-top: 8px !important;
        border-top: 1px solid #f0f2f6 !important;
        overflow: visible !important;
    }

    .navtx-detail-page .trend-chart svg {
        display: block !important;
        width: 100% !important;
        height: 210px !important;
        min-width: 0 !important;
    }

    .navtx-detail-page .trend-days {
        display: grid !important;
        grid-template-columns: repeat(7, 1fr) !important;
        color: #b2bac6 !important;
        font-size: 13px !important;
        font-weight: 500 !important;
    }

    .navtx-detail-page .related-nav-panel {
        padding: 0 !important;
    }

    .navtx-detail-page .related-nav-panel h2 {
        margin: 0 !important;
        padding: 22px 30px 20px 46px !important;
    }

    .navtx-detail-page .related-nav-panel h2::before {
        left: 30px !important;
        top: 26px !important;
    }

    .navtx-detail-page .related-nav-grid {
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 0 !important;
        width: 100% !important;
        border-top: 1px solid #f0f2f6 !important;
    }

    .navtx-detail-page .related-nav-item {
        display: block !important;
        min-height: 198px !important;
        padding: 28px 30px !important;
        border-right: 1px solid #f0f2f6 !important;
        border-bottom: 1px solid #f0f2f6 !important;
        background: transparent !important;
        box-shadow: none !important;
        transition: background .18s ease !important;
    }

    .navtx-detail-page .related-nav-item:nth-child(4n) {
        border-right: 0 !important;
    }

    .navtx-detail-page .related-nav-item:hover {
        background: #fbfffd !important;
    }

    .navtx-detail-page .related-nav-item img {
        display: block !important;
        width: 160px !important;
        max-width: 100% !important;
        height: 56px !important;
        margin: 0 auto 20px !important;
        object-fit: contain !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        filter: none !important;
    }

    .navtx-detail-page .related-nav-item strong {
        display: block !important;
        margin: 0 0 10px !important;
        color: #243042 !important;
        font-size: 16px !important;
        font-weight: 500 !important;
        line-height: 1.45 !important;
        text-align: center !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .navtx-detail-page .related-nav-item p {
        color: #8b95a4 !important;
        font-size: 13px !important;
        font-weight: 400 !important;
        line-height: 1.75 !important;
        text-align: center !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }
}

/* Weather card refresh */
.navtx-weather-live-icon {
    position: relative;
    display: inline-block;
    flex: 0 0 auto;
    width: 76px;
    height: 76px;
    color: #fff;
    transform: translateZ(0);
}

.navtx-weather-live-icon.is-mini { width: 20px; height: 20px; }
.navtx-weather-live-icon.is-button { width: 24px; height: 24px; }
.navtx-weather-live-icon.is-small { display: block; width: 34px; height: 34px; margin: 8px auto 5px; }
.navtx-weather-live-icon.is-main { display: block; width: 88px; height: 88px; margin: 4px auto 0; animation: navtx-weather-icon-enter .52s cubic-bezier(.16, 1, .3, 1) both; }
.navtx-weather-live-icon span,
.navtx-weather-live-icon i { position: absolute; display: block; pointer-events: none; }
.navtx-weather-live-icon .wx-sun { left: 50%; top: 50%; width: 46%; height: 46%; border-radius: 50%; background: radial-gradient(circle, #ffe277 26%, #fbbf24 68%, #fb923c 100%); box-shadow: 0 0 20px rgba(251, 191, 36, .42); transform: translate(-50%, -50%); animation: navtx-weather-sun-pulse 3.2s ease-in-out infinite; }
.navtx-weather-live-icon .wx-rays { left: 50%; top: 50%; width: 78%; height: 78%; transform: translate(-50%, -50%); animation: navtx-weather-rays 18s linear infinite; }
.navtx-weather-live-icon .wx-rays i { left: 50%; top: 0; width: 2px; height: 13%; border-radius: 999px; background: rgba(255, 226, 119, .78); transform: translateX(-50%) rotate(var(--wx-rotate)); transform-origin: 50% 300%; }
.navtx-weather-live-icon .wx-cloud { border-radius: 999px; background: rgba(255, 255, 255, .88); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .38); animation: navtx-weather-cloud-float 4s ease-in-out infinite; }
.navtx-weather-live-icon .wx-cloud-main { left: 22%; top: 48%; width: 60%; height: 28%; }
.navtx-weather-live-icon .wx-cloud-top { left: 36%; top: 24%; width: 36%; height: 38%; border-radius: 50%; }
.navtx-weather-live-icon .wx-cloud-small { left: 24%; top: 34%; width: 28%; height: 30%; border-radius: 50%; }
.navtx-weather-live-icon .wx-rain { top: 68%; width: 3px; height: 14%; border-radius: 999px; background: linear-gradient(180deg, rgba(125, 211, 252, .95), rgba(59, 130, 246, .15)); animation: navtx-weather-rain 1.05s linear infinite; }
.navtx-weather-live-icon .wx-rain-1 { left: 34%; animation-delay: 0s; }
.navtx-weather-live-icon .wx-rain-2 { left: 47%; animation-delay: .24s; }
.navtx-weather-live-icon .wx-rain-3 { left: 60%; animation-delay: .48s; }
.navtx-weather-live-icon .wx-rain-4 { left: 72%; animation-delay: .72s; }
.navtx-weather-live-icon .wx-snow { top: 70%; width: 7%; height: 7%; border-radius: 50%; background: rgba(255, 255, 255, .9); animation: navtx-weather-snow 2.2s linear infinite; }
.navtx-weather-live-icon .wx-snow-1 { left: 34%; animation-delay: 0s; }
.navtx-weather-live-icon .wx-snow-2 { left: 50%; animation-delay: .45s; }
.navtx-weather-live-icon .wx-snow-3 { left: 66%; animation-delay: .9s; }
.navtx-weather-live-icon .wx-bolt { left: 47%; top: 58%; width: 18%; height: 28%; clip-path: polygon(42% 0, 100% 0, 46% 42%, 78% 42%, 20% 100%, 36% 52%, 0 52%); background: linear-gradient(180deg, #fde68a, #f59e0b); filter: drop-shadow(0 0 8px rgba(245, 158, 11, .55)); animation: navtx-weather-bolt 2.4s ease-in-out infinite; }
.navtx-weather-live-icon.is-sunny .wx-cloud,
.navtx-weather-live-icon.is-sunny .wx-rain,
.navtx-weather-live-icon.is-sunny .wx-snow,
.navtx-weather-live-icon.is-sunny .wx-bolt,
.navtx-weather-live-icon.is-cloudy .wx-sun,
.navtx-weather-live-icon.is-cloudy .wx-rays,
.navtx-weather-live-icon.is-cloudy .wx-rain,
.navtx-weather-live-icon.is-cloudy .wx-snow,
.navtx-weather-live-icon.is-cloudy .wx-bolt,
.navtx-weather-live-icon.is-rainy .wx-sun,
.navtx-weather-live-icon.is-rainy .wx-rays,
.navtx-weather-live-icon.is-rainy .wx-snow,
.navtx-weather-live-icon.is-rainy .wx-bolt,
.navtx-weather-live-icon.is-thunder .wx-sun,
.navtx-weather-live-icon.is-thunder .wx-rays,
.navtx-weather-live-icon.is-thunder .wx-snow,
.navtx-weather-live-icon.is-snowy .wx-sun,
.navtx-weather-live-icon.is-snowy .wx-rays,
.navtx-weather-live-icon.is-snowy .wx-rain,
.navtx-weather-live-icon.is-snowy .wx-bolt { display: none; }
.navtx-weather-live-icon.is-mini .wx-rays i,
.navtx-weather-live-icon.is-button .wx-rays i,
.navtx-weather-live-icon.is-small .wx-rays i { width: 1px; }
.navtx-weather-live-icon.is-mini .wx-rain,
.navtx-weather-live-icon.is-button .wx-rain,
.navtx-weather-live-icon.is-small .wx-rain { width: 2px; }
.navtx-weather-live-icon.is-mini .wx-cloud,
.navtx-weather-live-icon.is-button .wx-cloud,
.navtx-weather-live-icon.is-small .wx-cloud { background: rgba(255, 255, 255, .92); }
.navtx-weather,
.navtx-weather-card,
.footer-tool-popover.weather-card {
    --weather-card-a: rgba(132, 153, 160, .96);
    --weather-card-b: rgba(166, 183, 187, .94);
    --weather-card-border: rgba(255, 255, 255, .2);
}
.navtx-weather.is-weather-sunny,
.footer-weather-btn.is-weather-sunny,
.navtx-weather-card.is-weather-sunny,
.footer-tool-popover.weather-card.is-weather-sunny { --weather-card-a: rgba(78, 145, 182, .96); --weather-card-b: rgba(130, 190, 207, .94); }
.navtx-weather.is-weather-rainy,
.footer-weather-btn.is-weather-rainy,
.navtx-weather-card.is-weather-rainy,
.footer-tool-popover.weather-card.is-weather-rainy { --weather-card-a: rgba(98, 126, 146, .97); --weather-card-b: rgba(142, 162, 172, .94); }
.navtx-weather.is-weather-thunder,
.footer-weather-btn.is-weather-thunder,
.navtx-weather-card.is-weather-thunder,
.footer-tool-popover.weather-card.is-weather-thunder { --weather-card-a: rgba(73, 82, 112, .98); --weather-card-b: rgba(103, 112, 139, .95); }
.navtx-weather.is-weather-snowy,
.footer-weather-btn.is-weather-snowy,
.navtx-weather-card.is-weather-snowy,
.footer-tool-popover.weather-card.is-weather-snowy { --weather-card-a: rgba(123, 157, 177, .96); --weather-card-b: rgba(177, 199, 207, .94); }
.navtx-weather-card {
    width: 360px !important;
    padding: 20px 18px 18px !important;
    overflow: hidden;
    border: 1px solid var(--weather-card-border) !important;
    border-radius: 10px !important;
    background: radial-gradient(circle at 32% 16%, rgba(255, 255, 255, .2), transparent 42%), linear-gradient(155deg, var(--weather-card-a), var(--weather-card-b)) !important;
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    box-shadow: 0 24px 60px rgba(15, 23, 42, .24), inset 0 1px 0 rgba(255, 255, 255, .22) !important;
    animation: navtx-weather-card-enter .42s cubic-bezier(.16, 1, .3, 1) both;
}
.navtx-weather-card::before { background: var(--weather-card-a) !important; }
.navtx-weather-card::after,
.footer-tool-popover.weather-card::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, .08) 30%, transparent 55%), radial-gradient(circle at 78% 8%, rgba(255, 255, 255, .16), transparent 26%); opacity: .9; }
.navtx-weather-card > *,
.footer-tool-popover.weather-card > * { position: relative; z-index: 1; }
.navtx-weather-main { padding: 6px 0 15px !important; }
.navtx-weather-main::before { top: 10px !important; width: 236px !important; height: 90px !important; border-top-color: rgba(255, 255, 255, .28) !important; }
.navtx-weather-main b { margin-top: 2px !important; font-size: 52px !important; font-weight: 300 !important; letter-spacing: -1px; text-shadow: 0 12px 28px rgba(15, 23, 42, .14); }
.navtx-weather-main b small { font-size: 28px !important; vertical-align: top; }
.navtx-weather-main p { margin-top: 8px !important; font-size: 14px !important; font-weight: 500; }
.navtx-weather-main em { color: rgba(255, 255, 255, .84) !important; }
.navtx-weather-metrics { margin: 2px 0 12px !important; border-color: rgba(255, 255, 255, .18) !important; }
.navtx-weather-metrics div { padding: 11px 8px !important; }
.navtx-weather-metrics strong { font-size: 19px !important; font-weight: 500 !important; }
.navtx-weather-forecast,
.weather-card-forecast { gap: 8px !important; }
.navtx-weather-forecast div,
.navtx-weather-hours div,
.weather-card-forecast p { border: 1px solid rgba(255, 255, 255, .09) !important; background: rgba(255, 255, 255, .1) !important; border-radius: 7px !important; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .09); transition: transform .22s ease, background .22s ease; }
.navtx-weather-forecast div:hover,
.navtx-weather-hours div:hover,
.weather-card-forecast p:hover { background: rgba(255, 255, 255, .15) !important; transform: translateY(-2px); }
.navtx-weather-forecast img,
.navtx-weather-hours img,
.weather-card-forecast img,
.weather-card-main-icon { display: none !important; }
.footer-weather-btn { background: linear-gradient(155deg, var(--weather-card-a), var(--weather-card-b)) !important; }
.footer-weather-btn .navtx-weather-live-icon { overflow: visible; }
.footer-tool-popover.weather-card {
    position: absolute;
    width: 342px !important;
    padding: 18px !important;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .2) !important;
    border-radius: 10px !important;
    background: radial-gradient(circle at 32% 16%, rgba(255, 255, 255, .2), transparent 42%), linear-gradient(155deg, var(--weather-card-a), var(--weather-card-b)) !important;
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    box-shadow: 0 24px 60px rgba(15, 23, 42, .24), inset 0 1px 0 rgba(255, 255, 255, .22) !important;
}
.footer-tool-popover.weather-card em { margin: 0 0 8px !important; font-size: 50px !important; font-weight: 300 !important; letter-spacing: -1px; }
.footer-tool-popover.weather-card span { color: rgba(255, 255, 255, .9) !important; }
@keyframes navtx-weather-card-enter { from { opacity: 0; transform: translateY(12px) scale(.97); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes navtx-weather-icon-enter { from { opacity: 0; transform: translateY(6px) scale(.82); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes navtx-weather-sun-pulse { 0%, 100% { transform: translate(-50%, -50%) scale(1); } 50% { transform: translate(-50%, -50%) scale(1.08); } }
@keyframes navtx-weather-rays { from { transform: translate(-50%, -50%) rotate(0deg); } to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes navtx-weather-cloud-float { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(5px); } }
@keyframes navtx-weather-rain { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(15px); } }
@keyframes navtx-weather-snow { 0% { opacity: 1; transform: translateY(0) rotate(0deg); } 100% { opacity: 0; transform: translateY(15px) rotate(180deg); } }
@keyframes navtx-weather-bolt { 0%, 100%, 45%, 58% { opacity: 1; } 50% { opacity: .18; } 54% { opacity: 1; } 76% { opacity: .34; } 80% { opacity: 1; } }
@media (max-width: 760px) {
    .navtx-weather-card { width: min(340px, calc(100vw - 28px)) !important; padding: 18px 14px 16px !important; }
    .navtx-weather-live-icon.is-main { width: 76px; height: 76px; }
    .footer-tool-popover.weather-card { width: min(306px, calc(100vw - 78px)) !important; padding: 16px 14px !important; }
    .navtx-weather-main b,
    .footer-tool-popover.weather-card em { font-size: 44px !important; }
}

/* Weather card interaction fixes */
.navtx-weather-floating-card {
    pointer-events: none !important;
}

.navtx-weather-card.is-open {
    pointer-events: none !important;
}

.footer-tool-popover.weather-card {
    top: auto !important;
    bottom: -8px !important;
    transform: translate(10px, 0) scale(.98) !important;
    max-height: min(420px, calc(100dvh - 40px)) !important;
    overflow-y: auto !important;
    scrollbar-width: thin;
}

.footer-tool-btn:hover .footer-tool-popover.weather-card,
.footer-tool-btn:focus-visible .footer-tool-popover.weather-card,
.footer-tool-btn.is-open .footer-tool-popover.weather-card {
    transform: translate(0, 0) scale(1) !important;
}

.footer-tool-popover.weather-card::-webkit-scrollbar {
    width: 5px;
}

.footer-tool-popover.weather-card::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, .36);
    border-radius: 999px;
}

@media (max-width: 760px) {
    .footer-tool-popover.weather-card {
        bottom: -6px !important;
        max-height: min(380px, calc(100dvh - 34px)) !important;
    }
}

@media (max-width: 760px) {
    .mobile-click-mode,
    .navtx-menu .mobile-click-mode {
        flex: 0 0 auto !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        margin-top: 14px !important;
        padding: 18px 0 0 !important;
        border-top: 1px solid #eef2f6 !important;
        color: #344054 !important;
        background: transparent !important;
        font-size: 13px !important;
        line-height: 1.2 !important;
    }

    .navtx-menu .mobile-click-switch {
        position: relative !important;
        width: 50px !important;
        height: 28px !important;
        flex: 0 0 auto !important;
        border: 0 !important;
        border-radius: 999px !important;
        background: #d5dce6 !important;
        cursor: pointer !important;
        transition: background .18s ease !important;
    }

    .navtx-menu .mobile-click-switch i {
        position: absolute !important;
        top: 3px !important;
        left: 3px !important;
        width: 22px !important;
        height: 22px !important;
        border-radius: 50% !important;
        background: #fff !important;
        box-shadow: 0 2px 5px rgba(15, 23, 42, .22) !important;
        transition: transform .18s ease !important;
    }

    .navtx-menu .mobile-click-switch.is-active {
        background: #31d05f !important;
    }

    .navtx-menu .mobile-click-switch.is-active i {
        transform: translateX(22px) !important;
    }

    .navtx-menu-dropdown .navtx-dropdown-panel {
        display: none !important;
    }

    .navtx-menu-dropdown:hover .navtx-dropdown-panel,
    .navtx-menu-dropdown:focus-within .navtx-dropdown-panel {
        display: none !important;
    }

    .navtx-menu-dropdown.is-open .navtx-dropdown-panel {
        display: grid !important;
    }

    body.nav-open {
        overflow: hidden !important;
    }

    .navtx-header {
        z-index: 1300 !important;
    }

    .navtx-mobile-mask {
        position: fixed !important;
        inset: 0 !important;
        z-index: 1200 !important;
        display: none !important;
        background: transparent !important;
        pointer-events: auto !important;
    }

    body.nav-open .navtx-mobile-mask {
        display: block !important;
    }

    .navtx-menu-toggle {
        position: relative !important;
        z-index: 1330 !important;
    }

    .navtx-menu {
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        left: auto !important;
        bottom: auto !important;
        z-index: 1320 !important;
        width: min(68vw, 250px) !important;
        height: 100dvh !important;
        min-height: 100vh !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        gap: 0 !important;
        padding: 58px 28px 24px !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        background: #fff !important;
        opacity: 1 !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        transform: translate3d(105%, 0, 0) !important;
        transition: transform .24s ease !important;
        pointer-events: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }

    body.nav-open .navtx-menu {
        display: flex !important;
        transform: translate3d(0, 0, 0) !important;
    }

    .navtx-menu > a,
    .navtx-menu-dropdown > a {
        position: relative !important;
        z-index: 1 !important;
        pointer-events: auto !important;
    }

    .navtx-footer-tools {
        left: auto !important;
        right: 8px !important;
        bottom: 80px !important;
        z-index: 70 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 9px !important;
        width: auto !important;
        max-width: none !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        pointer-events: auto !important;
    }

    body.nav-open .navtx-footer-tools {
        display: none !important;
    }

    .navtx-footer-tools .footer-tool-btn,
    .navtx-footer-tools .footer-tool-wrap {
        flex: 0 0 auto !important;
        width: 46px !important;
        height: 46px !important;
        min-width: 46px !important;
        min-height: 46px !important;
        border-radius: 13px !important;
    }

    .navtx-footer-tools .footer-tool-btn {
        display: grid !important;
        place-items: center !important;
        background: #edf2f7 !important;
        color: #667789 !important;
        box-shadow: none !important;
    }

    .navtx-footer-tools .footer-weather-btn {
        background: #4a8cff !important;
        color: #fff !important;
    }

    .navtx-footer-tools .footer-tool-btn svg {
        width: 20px !important;
        height: 20px !important;
    }

    .navtx-footer-tools .footer-tool-btn b {
        top: -8px !important;
        right: -8px !important;
        font-size: 11px !important;
    }

    .navtx-footer-tools .footer-tool-popover {
        right: 56px !important;
        bottom: auto !important;
        top: 50% !important;
        transform: translate(10px, -50%) scale(.98) !important;
    }

    .navtx-footer-tools .footer-tool-btn:hover .footer-tool-popover,
    .navtx-footer-tools .footer-tool-btn:focus-visible .footer-tool-popover,
    .navtx-footer-tools .footer-tool-btn.is-open .footer-tool-popover,
    .navtx-footer-tools .footer-tool-wrap.is-open .footer-tool-popover {
        transform: translate(0, -50%) scale(1) !important;
    }
}

@media (min-width: 761px) {
    .mobile-category-before-tools {
        display: none !important;
    }

    .navtx-menu .mobile-click-mode {
        display: none !important;
    }

    .navtx-menu-dropdown {
        position: relative !important;
    }

    .navtx-menu-dropdown::after {
        content: "" !important;
        position: absolute !important;
        left: -10px !important;
        right: -260px !important;
        top: 38px !important;
        height: 18px !important;
        z-index: 1000 !important;
        display: block !important;
        pointer-events: auto !important;
        background: transparent !important;
    }

    .navtx-menu-dropdown .navtx-dropdown-panel {
        top: 44px !important;
        margin-top: 0 !important;
    }

    .navtx-menu-dropdown:hover .navtx-dropdown-panel,
    .navtx-menu-dropdown:focus-within .navtx-dropdown-panel,
    .navtx-menu-dropdown.is-hover .navtx-dropdown-panel {
        display: grid !important;
    }
}

@media (max-width: 760px) {
    .mobile-category-before-tools {
        display: block !important;
        width: calc(100% - 18px) !important;
        max-width: none !important;
        box-sizing: border-box !important;
        margin: 10px auto 10px !important;
        padding: 0 !important;
    }

    .mobile-category-before-tools .category-table-panel,
    .mobile-category-before-tools .home-card-panel {
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 16px 16px 14px !important;
        margin: 0 !important;
        background: #fff !important;
        border: 1px solid #eef1f5 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }

    .mobile-category-before-tools .section-title {
        height: auto !important;
        min-height: 28px !important;
        display: flex !important;
        align-items: center !important;
        margin: 0 0 14px !important;
        padding: 0 !important;
    }

    .mobile-category-before-tools .section-title h2 {
        position: relative !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 10px !important;
        margin: 0 !important;
        padding: 0 !important;
        color: #10243f !important;
        font-size: 17px !important;
        font-weight: 600 !important;
        line-height: 1.25 !important;
    }

    .mobile-category-before-tools .section-title h2::before {
        content: "" !important;
        position: static !important;
        width: 3px !important;
        height: 18px !important;
        flex: 0 0 3px !important;
        border-radius: 3px !important;
        background: #16b99a !important;
        transform: none !important;
    }

    .home-info-right > .category-table-panel {
        display: none !important;
    }

    .mobile-category-before-tools .category-table {
        width: 100% !important;
        overflow: hidden !important;
    }

    .mobile-category-before-tools .category-table-row {
        grid-template-columns: minmax(42px, 52px) repeat(5, minmax(0, 1fr)) 16px !important;
        gap: 4px !important;
        min-width: 0 !important;
    }

    .mobile-category-before-tools .category-table-name,
    .mobile-category-before-tools .category-table-link,
    .mobile-category-before-tools .category-table-empty {
        min-width: 0 !important;
        overflow: hidden !important;
        white-space: nowrap !important;
        text-overflow: ellipsis !important;
    }

    .mobile-category-before-tools .category-table-more {
        justify-self: end !important;
    }

    .home-tool-strip {
        margin-top: 0 !important;
    }

    .home-directory {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        overflow: hidden !important;
        background: #fff !important;
        border-bottom: 1px solid #e8edf3 !important;
    }

    .home-directory .home-directory-desktop {
        display: none !important;
    }

    .home-directory .home-directory-mobile {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 10px 10px 8px !important;
        overflow: hidden !important;
    }

    .home-directory .home-directory-mobile-track {
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scroll-snap-type: x mandatory !important;
        scroll-behavior: smooth !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
        overscroll-behavior-x: contain !important;
        touch-action: pan-x !important;
    }

    .home-directory .home-directory-mobile-track::-webkit-scrollbar {
        display: none !important;
    }

    .home-directory .home-directory-page {
        flex: 0 0 100% !important;
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        scroll-snap-align: start !important;
        scroll-snap-stop: always !important;
    }

    .home-directory .home-directory-page-grid {
        display: grid !important;
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
        grid-auto-rows: 50px !important;
        align-items: start !important;
        gap: 10px 4px !important;
        width: 100% !important;
        min-width: 0 !important;
    }

    .home-directory .home-directory-page .home-link-item {
        width: auto !important;
        height: auto !important;
        min-width: 0 !important;
        color: #1f2937 !important;
    }

    .home-directory .home-directory-page .home-link-main {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        min-width: 0 !important;
        min-height: 50px !important;
        height: auto !important;
        gap: 4px !important;
        padding: 2px 3px !important;
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
    }

    .home-directory .home-directory-page .home-link-main img {
        width: 18px !important;
        height: 18px !important;
        border-radius: 4px !important;
        object-fit: contain !important;
        box-shadow: none !important;
        filter: none !important;
    }

    .home-directory .home-directory-page .home-link-main span {
        display: block !important;
        max-width: 100% !important;
        overflow: hidden !important;
        color: #1f2937 !important;
        font-size: 11px !important;
        font-weight: 400 !important;
        line-height: 1.25 !important;
        white-space: nowrap !important;
        text-align: center !important;
        text-overflow: ellipsis !important;
    }

    .home-directory .home-directory-page .home-link-main b,
    .home-directory .home-directory-page .home-link-menu,
    .home-directory .home-directory-page .home-link-item:hover .home-link-main b,
    .home-directory .home-directory-page .home-link-item:focus-within .home-link-main b,
    .home-directory .home-directory-page .home-link-item:hover .home-link-menu,
    .home-directory .home-directory-page .home-link-item:focus-within .home-link-menu {
        display: none !important;
        opacity: 0 !important;
    }

    .home-directory .home-directory-page .home-link-item em {
        top: -2px !important;
        right: 4px !important;
        padding: 1px 4px !important;
        border-radius: 2px !important;
        font-size: 10px !important;
        line-height: 1.4 !important;
    }

    .home-directory .home-directory-page .home-link-item .home-link-hot {
        width: 32px !important;
        height: 17px !important;
        padding: 0 !important;
        background: transparent !important;
    }

    .home-directory .home-directory-page .home-link-item .home-link-hot img {
        width: 32px !important;
        height: 17px !important;
        object-fit: contain !important;
    }

    .home-directory .home-directory-dots {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        margin-top: 8px !important;
    }

    .home-directory .home-directory-dots button {
        display: block !important;
        width: 14px !important;
        height: 3px !important;
        min-width: 0 !important;
        min-height: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 999px !important;
        background: #e5e7eb !important;
        opacity: .9 !important;
        transition: width .22s ease, background-color .22s ease, opacity .22s ease !important;
    }

    .home-directory .home-directory-dots button.is-active {
        width: 24px !important;
        background: #30c4b2 !important;
        opacity: 1 !important;
    }

    .navtx-footer {
        width: 100% !important;
        padding: 18px 0 26px !important;
        overflow: visible !important;
    }

    .navtx-footer.is-wave {
        padding-top: 74px !important;
    }

    .navtx-footer .navtx-wrap {
        width: calc(100% - 16px) !important;
        max-width: none !important;
        min-width: 0 !important;
        margin: 0 auto !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        border-radius: 10px !important;
    }

    .navtx-footer .footer-main {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        align-items: stretch !important;
        gap: 16px !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 18px 16px 16px !important;
    }

    .navtx-footer .footer-brand,
    .navtx-footer .footer-center,
    .navtx-footer .footer-qrs {
        grid-column: 1 / -1 !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .navtx-footer .footer-brand {
        display: grid !important;
        justify-items: start !important;
        gap: 10px !important;
        text-align: left !important;
    }

    .navtx-footer .footer-logo {
        width: auto !important;
        max-width: 188px !important;
        height: 42px !important;
        margin: 0 !important;
    }

    .navtx-footer .footer-logo img {
        width: auto !important;
        max-width: 188px !important;
        max-height: 42px !important;
        object-fit: contain !important;
    }

    .navtx-footer .footer-notice {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        color: #657389 !important;
        font-size: 12px !important;
        line-height: 1.8 !important;
        white-space: normal !important;
        word-break: normal !important;
        overflow-wrap: anywhere !important;
        text-align: left !important;
    }

    .navtx-footer .footer-copy {
        width: 100% !important;
        min-width: 0 !important;
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 6px 10px !important;
        margin: 2px 0 0 !important;
        color: #7d8ca0 !important;
        font-size: 12px !important;
        line-height: 1.7 !important;
        white-space: normal !important;
        word-break: normal !important;
        overflow-wrap: anywhere !important;
    }

    .navtx-footer .footer-copy span,
    .navtx-footer .footer-copy a {
        max-width: 100% !important;
        color: #7d8ca0 !important;
        white-space: normal !important;
        word-break: normal !important;
        overflow-wrap: anywhere !important;
    }

    .navtx-footer .footer-center {
        padding-top: 0 !important;
    }

    .navtx-footer .footer-links {
        width: 100% !important;
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        gap: 8px 14px !important;
        margin: 0 0 8px !important;
    }

    .navtx-footer .footer-links a {
        margin: 0 !important;
        color: #657389 !important;
        font-size: 13px !important;
        line-height: 1.4 !important;
        white-space: nowrap !important;
    }

    .navtx-footer .footer-links a + a::before {
        content: none !important;
        display: none !important;
    }

    .navtx-footer .footer-center p {
        width: 100% !important;
        color: #71809a !important;
        font-size: 12px !important;
        line-height: 1.75 !important;
        white-space: normal !important;
        word-break: normal !important;
        overflow-wrap: anywhere !important;
    }

    .navtx-footer .footer-qrs {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
        gap: 12px !important;
    }

    .navtx-footer .footer-qrs span {
        width: auto !important;
        min-width: 72px !important;
    }

    .navtx-footer .footer-qrs img {
        width: 72px !important;
        height: 72px !important;
        padding: 4px !important;
    }

    .navtx-footer .footer-friends {
        width: 100% !important;
        display: block !important;
        box-sizing: border-box !important;
        padding: 0 16px 18px !important;
        color: #71809a !important;
        font-size: 12px !important;
        line-height: 1.8 !important;
    }

    .navtx-footer .footer-friends strong {
        display: block !important;
        margin: 0 0 6px !important;
        color: #59677b !important;
    }

    .navtx-footer .footer-friends span {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 5px 12px !important;
        min-width: 0 !important;
    }

    .navtx-footer .footer-friends a {
        white-space: nowrap !important;
    }
}

/* Mobile home tool strip final layout. */
@media (max-width: 760px) {
    body .home-tool-strip {
        display: block !important;
        width: 100% !important;
        min-height: 0 !important;
        box-sizing: border-box !important;
        margin: 10px 0 !important;
        padding: 0 16px 16px !important;
        border: 0 !important;
        border-top: 1px solid #e8edf3 !important;
        border-bottom: 1px solid #e8edf3 !important;
        background: #fff !important;
        box-shadow: none !important;
    }

    body .home-tool-strip .home-tool-title {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        height: 48px !important;
        min-height: 48px !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    body .home-tool-strip .home-tool-title span {
        display: block !important;
        width: 2px !important;
        height: 18px !important;
        flex: 0 0 2px !important;
        border-radius: 2px !important;
        background: #12b76a !important;
    }

    body .home-tool-strip .home-tool-title h2 {
        margin: 0 !important;
        color: #1f2937 !important;
        font-size: 15px !important;
        font-weight: 500 !important;
        line-height: 20px !important;
    }

    body .home-tool-strip .home-tool-list {
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 16px 12px !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 4px 0 0 !important;
        overflow: visible !important;
    }

    body .home-tool-strip .home-tool-item {
        display: grid !important;
        grid-template-columns: 1fr !important;
        grid-template-rows: auto auto !important;
        justify-items: center !important;
        align-items: start !important;
        gap: 7px !important;
        min-width: 0 !important;
        min-height: 0 !important;
        padding: 0 !important;
        color: #1f2937 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    body .home-tool-strip .home-tool-item img {
        grid-row: auto !important;
        width: 44px !important;
        height: 44px !important;
        margin: 0 !important;
        border: 0 !important;
        border-radius: 10px !important;
        object-fit: cover !important;
        background: #f4f7fb !important;
        box-shadow: none !important;
        filter: none !important;
    }

    body .home-tool-strip .home-tool-item strong {
        display: block !important;
        max-width: 100% !important;
        min-width: 0 !important;
        overflow: hidden !important;
        color: #1f2937 !important;
        font-size: 12px !important;
        font-weight: 400 !important;
        line-height: 18px !important;
        text-align: center !important;
        white-space: nowrap !important;
        text-overflow: ellipsis !important;
    }

    body .home-tool-strip .home-tool-item em {
        display: none !important;
    }

    body .home-tool-strip .home-tool-more {
        top: 10px !important;
        right: 16px !important;
        width: 28px !important;
        height: 28px !important;
        color: #c4ccd6 !important;
        background: transparent !important;
        font-size: 24px !important;
        line-height: 28px !important;
    }
}

/* Final unified section rhythm: keep all module titles away from edges. */
.home-card-panel,
.home-info-left > .home-card-panel,
.home-info-right > .home-card-panel,
.home-info-right > .home-novel-panel,
.home-info-right > .home-drama-panel {
    padding-top: 0 !important;
}

.home-card-panel + .home-card-panel,
.home-card-panel + .home-tool-strip,
.home-tool-strip + .home-card-panel,
.home-info-left > * + *,
.home-info-right > * + * {
    margin-top: 16px !important;
}

.home-card-panel .section-title,
.home-card-panel .home-news-head,
.home-card-panel .home-article-head,
.home-card-panel .home-software-head,
.home-card-panel .home-video-head,
.home-card-panel .home-douyin-head,
.home-card-panel .home-anime-head,
.home-card-panel .home-wallpaper-head,
.home-novel-panel .home-novel-head,
.home-drama-panel .home-novel-head,
.side-site-rank .side-site-rank-head,
.home-tool-strip .home-tool-title {
    min-height: 64px !important;
    height: 64px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 14px !important;
    margin: 0 !important;
    padding: 0 !important;
    border-bottom: 1px solid #edf1f6 !important;
}

.home-card-panel .section-title h2,
.home-card-panel .home-news-head h2,
.home-card-panel .home-article-head h2,
.home-card-panel .home-software-head h2,
.home-card-panel .home-video-head h2,
.home-card-panel .home-douyin-head h2,
.home-card-panel .home-anime-head h2,
.home-card-panel .home-wallpaper-head h2,
.home-novel-panel .home-novel-head h2,
.home-drama-panel .home-novel-head h2,
.side-site-rank .side-site-rank-head h2,
.home-tool-strip .home-tool-title h2 {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    min-width: 0 !important;
    max-width: 100% !important;
    min-height: 28px !important;
    height: 28px !important;
    margin: 0 !important;
    padding-left: 16px !important;
    color: #10243f !important;
    font-size: 20px !important;
    font-weight: 600 !important;
    line-height: 28px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.home-card-panel .section-title h2::before,
.home-card-panel .home-news-head h2::before,
.home-card-panel .home-article-head h2::before,
.home-card-panel .home-software-head h2::before,
.home-card-panel .home-video-head h2::before,
.home-card-panel .home-douyin-head h2::before,
.home-card-panel .home-anime-head h2::before,
.home-card-panel .home-wallpaper-head h2::before,
.home-novel-panel .home-novel-head h2::before,
.home-drama-panel .home-novel-head h2::before,
.side-site-rank .side-site-rank-head h2::before {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    top: 50% !important;
    width: 3px !important;
    height: 22px !important;
    border-radius: 3px !important;
    background: #16b99a !important;
    transform: translateY(-50%) !important;
}

.home-tool-strip .home-tool-title span {
    width: 3px !important;
    height: 22px !important;
    flex: 0 0 3px !important;
    margin: 0 !important;
    border-radius: 3px !important;
    background: #16b99a !important;
}

.home-tool-strip .home-tool-title h2 {
    padding-left: 0 !important;
}

.home-tool-strip {
    grid-template-columns: 1fr !important;
    align-items: stretch !important;
    gap: 0 !important;
}

.home-tool-strip .home-tool-title {
    width: 100% !important;
    box-sizing: border-box !important;
    justify-content: flex-start !important;
    gap: 10px !important;
}

.home-tool-strip .home-tool-list {
    width: 100% !important;
}

.home-card-panel .section-title > a,
.home-card-panel .home-news-head > a,
.home-card-panel .home-video-head > a,
.home-card-panel .home-douyin-head > a,
.home-card-panel .home-wallpaper-head > a,
.home-card-panel .home-anime-head > a,
.home-novel-panel .home-novel-head > a,
.home-drama-panel .home-novel-head > a {
    flex: 0 0 auto !important;
    margin-left: auto !important;
}

.home-card-panel .section-title + *,
.home-card-panel .home-news-head + *,
.home-card-panel .home-article-head + *,
.home-card-panel .home-software-head + *,
.home-card-panel .home-video-head + *,
.home-card-panel .home-douyin-head + *,
.home-card-panel .home-anime-head + *,
.home-card-panel .home-wallpaper-head + *,
.home-novel-panel .home-novel-head + *,
.home-drama-panel .home-novel-head + *,
.side-site-rank .side-site-rank-head + *,
.home-tool-strip .home-tool-title + * {
    margin-top: 16px !important;
}

.home-card-panel .home-news-head div,
.home-card-panel .home-article-tabs,
.home-card-panel .home-software-tabs,
.home-card-panel .home-anime-tabs,
.home-card-panel .home-wallpaper-tabs,
.home-novel-panel .home-novel-tabs,
.home-drama-panel .home-novel-tabs,
.side-site-rank .side-site-rank-head nav {
    align-self: center !important;
}

@media (max-width: 760px) {
    .home-card-panel,
    .home-info-left > .home-card-panel,
    .home-info-right > .home-card-panel,
    .home-info-right > .home-novel-panel,
    .home-info-right > .home-drama-panel,
    .mobile-category-before-tools .category-table-panel,
    .mobile-category-before-tools .home-card-panel,
    body .home-tool-strip {
        padding-top: 0 !important;
    }

    .home-card-panel + .home-card-panel,
    .home-card-panel + .home-tool-strip,
    .home-tool-strip + .home-card-panel,
    .home-info-left > * + *,
    .home-info-right > * + * {
        margin-top: 12px !important;
    }

    .home-card-panel .section-title,
    .home-card-panel .home-news-head,
    .home-card-panel .home-article-head,
    .home-card-panel .home-software-head,
    .home-card-panel .home-video-head,
    .home-card-panel .home-douyin-head,
    .home-card-panel .home-anime-head,
    .home-card-panel .home-wallpaper-head,
    .home-novel-panel .home-novel-head,
    .home-drama-panel .home-novel-head,
    .side-site-rank .side-site-rank-head,
    .home-tool-strip .home-tool-title,
    .mobile-category-before-tools .section-title {
        min-height: 56px !important;
        height: 56px !important;
        margin: 0 !important;
        padding: 0 !important;
        border-bottom: 1px solid #edf1f6 !important;
    }

    .home-card-panel .section-title h2,
    .home-card-panel .home-news-head h2,
    .home-card-panel .home-article-head h2,
    .home-card-panel .home-software-head h2,
    .home-card-panel .home-video-head h2,
    .home-card-panel .home-douyin-head h2,
    .home-card-panel .home-anime-head h2,
    .home-card-panel .home-wallpaper-head h2,
    .home-novel-panel .home-novel-head h2,
    .home-drama-panel .home-novel-head h2,
    .side-site-rank .side-site-rank-head h2,
    .home-tool-strip .home-tool-title h2,
    .mobile-category-before-tools .section-title h2 {
        height: 26px !important;
        min-height: 26px !important;
        padding-left: 15px !important;
        font-size: 18px !important;
        line-height: 26px !important;
    }

    .home-card-panel .section-title h2::before,
    .home-card-panel .home-news-head h2::before,
    .home-card-panel .home-article-head h2::before,
    .home-card-panel .home-software-head h2::before,
    .home-card-panel .home-video-head h2::before,
    .home-card-panel .home-douyin-head h2::before,
    .home-card-panel .home-anime-head h2::before,
    .home-card-panel .home-wallpaper-head h2::before,
    .home-novel-panel .home-novel-head h2::before,
    .home-drama-panel .home-novel-head h2::before,
    .side-site-rank .side-site-rank-head h2::before,
    .mobile-category-before-tools .section-title h2::before {
        height: 20px !important;
    }

    .home-tool-strip .home-tool-title span {
        height: 20px !important;
    }

    .home-card-panel .section-title + *,
    .home-card-panel .home-news-head + *,
    .home-card-panel .home-article-head + *,
    .home-card-panel .home-software-head + *,
    .home-card-panel .home-video-head + *,
    .home-card-panel .home-douyin-head + *,
    .home-card-panel .home-anime-head + *,
    .home-card-panel .home-wallpaper-head + *,
    .home-novel-panel .home-novel-head + *,
    .home-drama-panel .home-novel-head + *,
    .side-site-rank .side-site-rank-head + *,
    .home-tool-strip .home-tool-title + *,
    .mobile-category-before-tools .section-title + * {
        margin-top: 14px !important;
    }
}

/* Baidu index badge on navigation detail page. */
.detail-layout .site-detail-card {
    position: relative;
}

.detail-layout .detail-info h1 {
    padding-right: 168px;
}

.baidu-index-badge {
    position: absolute;
    top: 18px;
    right: 20px;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-width: 132px;
    height: 38px;
    box-sizing: border-box;
    padding: 0 12px 0 9px;
    color: #667085;
    text-decoration: none;
    border: 1px solid #e5e7eb;
    background: rgba(248, 250, 252, .96);
    box-shadow: 0 8px 22px rgba(15, 23, 42, .08);
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.baidu-index-badge:hover {
    transform: translateY(-1px);
    border-color: #bdd7ff;
    background: #fff;
}

.baidu-index-icon {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    background: #8aa4c7;
}

.baidu-index-copy {
    display: grid;
    min-width: 0;
    line-height: 1.1;
}

.baidu-index-copy strong {
    color: #344054;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
}

.baidu-index-copy em {
    max-width: 82px;
    margin-top: 3px;
    overflow: hidden;
    color: #98a2b3;
    font-size: 11px;
    font-style: normal;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.baidu-index-badge.is-indexed {
    color: #0f8f74;
    border-color: #bcebdc;
    background: #f0fbf7;
}

.baidu-index-badge.is-indexed .baidu-index-icon {
    background: #12b76a;
}

.baidu-index-badge.is-indexed .baidu-index-copy strong {
    color: #0f8f74;
}

.baidu-index-badge.is-not-indexed {
    border-color: #fedf89;
    background: #fffbeb;
}

.baidu-index-badge.is-not-indexed .baidu-index-icon {
    background: #f79009;
}

.baidu-index-badge.is-not-indexed .baidu-index-copy strong {
    color: #b54708;
}

.baidu-index-badge.is-checking {
    pointer-events: none;
    opacity: .72;
}

@media (max-width: 760px) {
    .detail-layout .detail-info h1 {
        padding-right: 0;
    }

    .baidu-index-badge {
        position: static;
        justify-self: start;
        width: fit-content;
        max-width: 100%;
        min-width: 0;
        margin: 0 0 10px;
        box-shadow: none;
    }
}

/* Final module title spacing polish: match the breathing rhythm of the novel cards. */
.home-card-panel,
.home-info-left > .home-card-panel,
.home-info-right > .home-card-panel,
.home-info-right > .home-novel-panel,
.home-info-right > .home-drama-panel,
.home-tool-strip,
.mobile-category-before-tools .category-table-panel,
.mobile-category-before-tools .home-card-panel {
    padding-top: 20px !important;
}

.home-card-panel .section-title,
.home-card-panel .home-news-head,
.home-card-panel .home-article-head,
.home-card-panel .home-software-head,
.home-card-panel .home-video-head,
.home-card-panel .home-douyin-head,
.home-card-panel .home-anime-head,
.home-card-panel .home-wallpaper-head,
.home-novel-panel .home-novel-head,
.home-drama-panel .home-novel-head,
.side-site-rank .side-site-rank-head,
.home-tool-strip .home-tool-title,
.mobile-category-before-tools .section-title {
    min-height: 34px !important;
    height: auto !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 0 16px !important;
    border-bottom: 1px solid #edf1f6 !important;
}

.home-card-panel .section-title h2,
.home-card-panel .home-news-head h2,
.home-card-panel .home-article-head h2,
.home-card-panel .home-software-head h2,
.home-card-panel .home-video-head h2,
.home-card-panel .home-douyin-head h2,
.home-card-panel .home-anime-head h2,
.home-card-panel .home-wallpaper-head h2,
.home-novel-panel .home-novel-head h2,
.home-drama-panel .home-novel-head h2,
.side-site-rank .side-site-rank-head h2,
.home-tool-strip .home-tool-title h2,
.mobile-category-before-tools .section-title h2 {
    min-height: 28px !important;
    height: auto !important;
    line-height: 28px !important;
}

.home-card-panel .section-title + *,
.home-card-panel .home-news-head + *,
.home-card-panel .home-article-head + *,
.home-card-panel .home-software-head + *,
.home-card-panel .home-video-head + *,
.home-card-panel .home-douyin-head + *,
.home-card-panel .home-anime-head + *,
.home-card-panel .home-wallpaper-head + *,
.home-novel-panel .home-novel-head + *,
.home-drama-panel .home-novel-head + *,
.side-site-rank .side-site-rank-head + *,
.home-tool-strip .home-tool-title + *,
.mobile-category-before-tools .section-title + * {
    margin-top: 18px !important;
}

.home-tool-strip {
    padding-bottom: 24px !important;
}

.home-tool-strip .home-tool-title {
    justify-content: flex-start !important;
}

.tool-video-parse {
    background: linear-gradient(180deg, #f6fbff 0%, #fff 44%);
}

.tool-parse-card {
    display: grid;
    grid-template-columns: minmax(180px, 280px) minmax(0, 1fr);
    gap: 16px;
    align-items: stretch;
    padding: 12px;
    background: #fff;
    border: 1px solid #dceafe;
    border-radius: 8px;
}

.tool-parse-player,
.tool-parse-image {
    min-height: 220px;
    overflow: hidden;
    background: #0f172a;
    border-radius: 8px;
}

.tool-parse-player video,
.tool-parse-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.tool-parse-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.tool-parse-info h4 {
    margin: 0;
    color: #10243f;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.45;
}

.tool-parse-info p {
    margin: 10px 0 0;
    color: #667085;
    line-height: 1.75;
}

.tool-parse-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
    padding-top: 18px;
}

.tool-parse-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    padding: 0 14px;
    color: #08745f;
    background: #e9fbf5;
    border: 1px solid #bdebdc;
    border-radius: 6px;
    font-size: 13px;
}

.tool-parse-actions a.tool-parse-download {
    color: #fff;
    background: linear-gradient(135deg, #16b389, #0e9384);
    border-color: transparent;
    box-shadow: 0 8px 18px rgba(14, 147, 132, .18);
}

.tool-parse-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 10px;
    margin-top: 12px;
}

.tool-parse-gallery a {
    display: block;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: #eef4ff;
    border-radius: 8px;
}

.tool-parse-gallery img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tool-yaojiu {
    background: linear-gradient(180deg, #fff8ed 0%, #fff 42%);
}

.tool-health-notice {
    margin-bottom: 12px;
    padding: 10px 12px;
    color: #9a3412;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.6;
}

.tool-yaojiu-list {
    display: grid;
    gap: 12px;
}

.tool-yaojiu-card {
    padding: 14px;
    background: #fff;
    border: 1px solid #f2d6bd;
    border-radius: 8px;
}

.tool-yaojiu-card h4 {
    margin: 0 0 10px;
    color: #7c2d12;
    font-size: 17px;
    font-weight: 600;
}

.tool-yaojiu-card p {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 10px;
    margin: 0;
    padding: 9px 0;
    border-top: 1px dashed #f3e1d2;
    color: #344054;
    line-height: 1.75;
}

.tool-yaojiu-card span {
    color: #b45309;
    font-weight: 500;
}

.tool-yaojiu-card b {
    color: #344054;
    font-weight: 400;
}

@media (max-width: 760px) {
    .home-card-panel,
    .home-info-left > .home-card-panel,
    .home-info-right > .home-card-panel,
    .home-info-right > .home-novel-panel,
    .home-info-right > .home-drama-panel,
    .home-tool-strip,
    .mobile-category-before-tools .category-table-panel,
    .mobile-category-before-tools .home-card-panel {
        padding-top: 16px !important;
    }

    .home-card-panel .section-title,
    .home-card-panel .home-news-head,
    .home-card-panel .home-article-head,
    .home-card-panel .home-software-head,
    .home-card-panel .home-video-head,
    .home-card-panel .home-douyin-head,
    .home-card-panel .home-anime-head,
    .home-card-panel .home-wallpaper-head,
    .home-novel-panel .home-novel-head,
    .home-drama-panel .home-novel-head,
    .side-site-rank .side-site-rank-head,
    .home-tool-strip .home-tool-title,
    .mobile-category-before-tools .section-title {
        min-height: 32px !important;
        height: auto !important;
        padding-bottom: 14px !important;
    }

    .home-card-panel .section-title + *,
    .home-card-panel .home-news-head + *,
    .home-card-panel .home-article-head + *,
    .home-card-panel .home-software-head + *,
    .home-card-panel .home-video-head + *,
    .home-card-panel .home-douyin-head + *,
    .home-card-panel .home-anime-head + *,
    .home-card-panel .home-wallpaper-head + *,
    .home-novel-panel .home-novel-head + *,
    .home-drama-panel .home-novel-head + *,
    .side-site-rank .side-site-rank-head + *,
    .home-tool-strip .home-tool-title + *,
    .mobile-category-before-tools .section-title + * {
        margin-top: 14px !important;
    }

    .tool-parse-card {
        grid-template-columns: 1fr;
    }

    .tool-parse-player,
    .tool-parse-image {
        min-height: 260px;
    }

    .tool-yaojiu-card p {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}

/* Latest visit / useful software title alignment hotfix. */
body .home-tool-strip {
    padding-top: 14px !important;
    padding-right: 23px !important;
    padding-bottom: 16px !important;
    padding-left: 23px !important;
}

body .home-tool-strip .home-tool-title {
    align-items: flex-start !important;
    gap: 8px !important;
    min-height: 28px !important;
    height: auto !important;
    padding: 0 0 11px !important;
    border-bottom: 1px solid #edf1f6 !important;
}

body .home-tool-strip .home-tool-title span {
    width: 3px !important;
    height: 16px !important;
    flex: 0 0 3px !important;
    margin-top: 2px !important;
    border-radius: 999px !important;
    background: #17b49b !important;
}

body .home-tool-strip .home-tool-title h2 {
    min-height: 0 !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #243145 !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
}

body .home-tool-strip .home-tool-title + .home-tool-list {
    margin-top: 12px !important;
}

@media (max-width: 760px) {
    body .home-tool-strip {
        padding-right: 23px !important;
        padding-left: 23px !important;
    }

    body .home-tool-strip .home-tool-title {
        height: auto !important;
        min-height: 28px !important;
        align-items: flex-start !important;
        padding: 0 0 11px !important;
    }

    body .home-tool-strip .home-tool-title span {
        width: 3px !important;
        height: 16px !important;
        flex-basis: 3px !important;
        margin-top: 2px !important;
    }

body .home-tool-strip .home-tool-title h2 {
    color: #243145 !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
    }
}

/* Friend square final alignment: match Latest Visit and Useful Software heads. */
body .friend-home-panel {
    padding-top: 14px !important;
    padding-right: 23px !important;
    padding-bottom: 16px !important;
    padding-left: 23px !important;
}

body .friend-home-head {
    align-items: flex-start !important;
    min-height: 28px !important;
    height: auto !important;
    padding: 0 0 11px !important;
    border-bottom: 1px solid #edf1f6 !important;
}

body .friend-home-head > div:first-child::before {
    top: 2px !important;
    width: 3px !important;
    height: 16px !important;
    border-radius: 999px !important;
    background: #17b49b !important;
}

body .friend-home-head h2 {
    margin: 0 !important;
    color: #243145 !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
}

body .friend-home-head + .friend-home-grid,
body .friend-home-head + .friend-home-empty {
    margin-top: 12px !important;
}

@media (max-width: 760px) {
    body .friend-home-panel {
        width: calc(100% - 16px) !important;
        margin: 12px auto 14px !important;
        padding: 14px 14px 16px !important;
    }
}

/* Friend page filter final polish. Loaded after style.css to avoid old layout overrides. */
body .friend-page-head.is-list {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    align-items: stretch !important;
    gap: 13px !important;
    padding: 15px 18px 16px !important;
}

body .friend-page-head.is-list > div:first-child {
    width: 100% !important;
    max-width: none !important;
}

body .friend-page-toolbar.is-list {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    width: 100% !important;
    max-width: none !important;
    gap: 12px !important;
}

body .friend-page-toolbar.is-list > button {
    height: 42px !important;
    min-width: 96px !important;
    padding: 0 18px !important;
    border-radius: 8px !important;
    white-space: nowrap !important;
}

body .friend-filter-bar {
    display: grid !important;
    grid-template-columns: auto minmax(280px, 1fr) minmax(150px, 190px) auto !important;
    align-items: center !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 50px !important;
    min-width: 0 !important;
    gap: 10px !important;
    padding: 7px !important;
    border: 1px solid #ddeaf2 !important;
    border-radius: 8px !important;
    background: #f8fbfd !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 8px 22px rgba(15, 23, 42, .04) !important;
}

body .friend-filter-gender {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    height: 36px !important;
    padding: 3px !important;
    border: 1px solid #d9e7ef !important;
    border-radius: 8px !important;
    background: #eef6f8 !important;
}

body .friend-filter-gender button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 28px !important;
    min-height: 28px !important;
    padding: 0 12px !important;
    border: 0 !important;
    border-radius: 6px !important;
    background: transparent !important;
    color: #526b78 !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    box-shadow: none !important;
}

body .friend-filter-gender button.is-active {
    background: #15ae98 !important;
    color: #fff !important;
    box-shadow: 0 6px 14px rgba(21, 174, 152, .18) !important;
}

body .friend-filter-field {
    position: relative !important;
    display: block !important;
    min-width: 0 !important;
}

body .friend-filter-field span {
    position: absolute !important;
    left: 12px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: #879aa8 !important;
    font-size: 12px !important;
    line-height: 1 !important;
    pointer-events: none !important;
}

body .friend-filter-field input,
body .friend-filter-field select {
    display: block !important;
    width: 100% !important;
    height: 36px !important;
    min-height: 36px !important;
    border: 1px solid #d9e7ef !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: #243145 !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    outline: none !important;
    box-shadow: none !important;
}

body .friend-filter-search input {
    padding: 0 12px 0 48px !important;
}

body .friend-filter-city select {
    padding: 0 30px 0 48px !important;
    appearance: auto !important;
}

body .friend-filter-search input:focus,
body .friend-filter-city select:focus {
    border-color: #15ae98 !important;
    box-shadow: 0 0 0 3px rgba(21, 174, 152, .12) !important;
}

body .friend-filter-count {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 32px !important;
    min-width: 56px !important;
    padding: 0 11px !important;
    border-radius: 999px !important;
    background: #edf8f6 !important;
    color: #128774 !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
}

body .friend-filter-empty {
    display: grid !important;
    place-items: center !important;
    min-height: 118px !important;
    margin-top: 12px !important;
    border: 1px dashed #cdddea !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: #728195 !important;
    font-size: 13px !important;
}

body .friend-card.is-filtered-out {
    display: none !important;
}

body .friend-card-meta .friend-card-heat {
    color: #128774 !important;
    background: #edf8f6 !important;
}

/* Mobile search hero restore: keep snow mountains visible and move search below the header. */
@media (max-width: 760px) {
    body .search-hero.has-bear-bg {
        min-height: 258px !important;
        padding: 0 !important;
        overflow: hidden !important;
        background: #464853 url("../images/hao-bg-container1.jpg") center top / auto 100% repeat-x !important;
    }

    body .search-hero.has-bear-bg .search-bear-scene {
        display: block !important;
        inset: 0 !important;
        z-index: 1 !important;
    }

    body .search-hero.has-bear-bg .bear-sky,
    body .search-hero.has-bear-bg .bear-mountains,
    body .search-hero.has-bear-bg .bear-mountains-back,
    body .search-hero.has-bear-bg .bear-mountains-front,
    body .search-hero.has-bear-bg .bear-ground,
    body .search-hero.has-bear-bg .bear-runner {
        display: block !important;
    }

    body .search-hero.has-bear-bg .bear-mountains-back {
        background-size: auto 54% !important;
        background-position: center bottom !important;
    }

    body .search-hero.has-bear-bg .bear-mountains-front {
        background-size: auto 58% !important;
        background-position: center bottom !important;
    }

    body .search-hero.has-bear-bg .navtx-wrap {
        position: relative !important;
        z-index: 5 !important;
        width: 100% !important;
        padding: 82px 16px 88px !important;
        background: transparent !important;
    }

    body .search-hero.has-bear-bg .search-box {
        gap: 8px !important;
        max-width: 100% !important;
        overflow: visible !important;
    }

    body .search-hero.has-bear-bg .search-input-shell {
        height: 44px !important;
        border-radius: 999px !important;
        background: rgba(255, 255, 255, .74) !important;
        border-color: rgba(255, 255, 255, .84) !important;
        box-shadow: 0 10px 28px rgba(20, 38, 56, .12) !important;
        backdrop-filter: blur(5px) !important;
    }

    body .search-hero.has-bear-bg .search-engine-row {
        padding-top: 4px !important;
    }
}

@media (max-width: 1100px) {
    body .friend-page-toolbar.is-list {
        grid-template-columns: 1fr !important;
    }

    body .friend-page-toolbar.is-list > button {
        justify-self: flex-start !important;
    }

    body .friend-filter-bar {
        grid-template-columns: auto minmax(180px, 1fr) minmax(130px, 160px) auto !important;
    }
}

@media (max-width: 680px) {
    body .friend-page-head.is-list {
        padding: 14px !important;
    }

    body .friend-filter-bar {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
        padding: 10px !important;
    }

    body .friend-filter-gender,
    body .friend-filter-field,
    body .friend-filter-search input,
    body .friend-filter-city select,
    body .friend-filter-count,
    body .friend-page-toolbar.is-list > button {
        width: 100% !important;
    }
}

/* Search history dropdown must float over the mobile hero after regression.css loads. */
@media (max-width: 760px) {
    body.navtx-search-suggest-open .search-hero,
    body.navtx-search-suggest-open .search-hero.has-bg,
    body.navtx-search-suggest-open .search-hero.has-bear-bg,
    body.navtx-search-suggest-open .search-hero .navtx-wrap {
        overflow: visible !important;
    }

    body.navtx-search-suggest-open .search-hero {
        z-index: 80 !important;
    }

    body .search-box.is-suggest-open .search-input-shell,
    body .search-hero.has-bear-bg .search-box.is-suggest-open .search-input-shell,
    body .search-hero.has-bg .search-box.is-suggest-open .search-input-shell {
        overflow: visible !important;
        z-index: 280 !important;
        border-radius: 18px 18px 0 0 !important;
    }

    body .search-box.is-suggest-open .search-engine-row,
    body .search-box.is-suggest-open .search-hot-wrap,
    body .search-box.is-suggest-open .search-hot-more {
        display: none !important;
    }

    body .search-hero .search-suggest,
    body .search-hero.has-bg .search-suggest,
    body .search-hero.has-bear-bg .search-suggest {
        z-index: 260 !important;
        max-height: min(330px, calc(100vh - 152px)) !important;
        overflow-y: auto !important;
        border-radius: 18px !important;
        background: #fff !important;
        box-shadow: 0 18px 38px rgba(15, 23, 42, .2) !important;
    }
}

/* EOF mobile community/search alignment override. */
@media (max-width: 760px) {
    body .community-home-head {
        grid-template-columns: minmax(0, 1fr) auto !important;
        grid-template-areas:
            "title title"
            "search actions" !important;
        align-items: center !important;
        gap: 10px 10px !important;
    }

    body .community-home-head > div:first-child {
        grid-area: title !important;
    }

    body .community-search {
        grid-area: search !important;
        align-self: center !important;
        width: 100% !important;
        height: 36px !important;
        margin: 0 !important;
        transform: none !important;
        border-radius: 8px !important;
    }

    body .community-search input {
        height: 36px !important;
        line-height: 36px !important;
        font-size: 13px !important;
    }

    body .community-actions {
        grid-area: actions !important;
        grid-row: auto !important;
        align-self: center !important;
        justify-self: end !important;
        margin: 0 !important;
        gap: 6px !important;
        transform: none !important;
    }

    body .community-actions a {
        height: 36px !important;
        min-height: 36px !important;
        padding: 0 11px !important;
        border-radius: 8px !important;
        font-size: 12px !important;
        line-height: 36px !important;
        white-space: nowrap !important;
    }

    body .search-hero .search-box,
    body .search-hero.has-bg .search-box,
    body .search-hero.has-bear-bg .search-box {
        width: min(100%, calc(100vw - 24px)) !important;
        gap: 8px !important;
        overflow: visible !important;
    }

    body .search-hero .search-input-shell,
    body .search-hero.has-bg .search-input-shell,
    body .search-hero.has-bear-bg .search-input-shell {
        position: relative !important;
        height: 44px !important;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) 56px !important;
        overflow: visible !important;
        border: 0 !important;
        border-radius: 999px !important;
        background: #fff !important;
        box-shadow: 0 10px 24px rgba(15, 23, 42, .16) !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    body .search-hero .search-input-shell input,
    body .search-hero.has-bg .search-input-shell input,
    body .search-hero.has-bear-bg .search-input-shell input {
        grid-column: 1 !important;
        height: 44px !important;
        min-height: 44px !important;
        max-height: 44px !important;
        padding: 0 14px 0 16px !important;
        color: #4b5563 !important;
        background: transparent !important;
        font-size: 14px !important;
        line-height: 44px !important;
        -webkit-font-smoothing: antialiased !important;
        text-rendering: geometricPrecision !important;
    }

    body .search-hero .search-input-shell > button,
    body .search-hero.has-bg .search-input-shell > button,
    body .search-hero.has-bear-bg .search-input-shell > button {
        grid-column: 2 !important;
        position: relative !important;
        width: 56px !important;
        height: 44px !important;
        min-height: 44px !important;
        max-height: 44px !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 999px 999px 0 !important;
        background: #087bdc !important;
        box-shadow: none !important;
    }

    body .search-hero .search-input-shell > button::before,
    body .search-hero.has-bg .search-input-shell > button::before,
    body .search-hero.has-bear-bg .search-input-shell > button::before {
        content: "" !important;
        position: absolute !important;
        left: 50% !important;
        top: 50% !important;
        width: 13px !important;
        height: 13px !important;
        border: 2px solid #fff !important;
        border-radius: 50% !important;
        background: transparent !important;
        transform: translate(-58%, -58%) !important;
    }

    body .search-hero .search-input-shell > button::after,
    body .search-hero.has-bg .search-input-shell > button::after,
    body .search-hero.has-bear-bg .search-input-shell > button::after {
        content: "" !important;
        position: absolute !important;
        left: 50% !important;
        top: 50% !important;
        width: 9px !important;
        height: 2px !important;
        border: 0 !important;
        border-radius: 999px !important;
        background: #fff !important;
        transform: translate(3px, 6px) rotate(45deg) !important;
    }

    body .search-box.is-suggest-open .search-input-shell,
    body .search-hero.has-bg .search-box.is-suggest-open .search-input-shell,
    body .search-hero.has-bear-bg .search-box.is-suggest-open .search-input-shell {
        overflow: visible !important;
        z-index: 280 !important;
        border-radius: 999px !important;
        box-shadow: 0 10px 24px rgba(15, 23, 42, .16) !important;
    }

    body .search-hero .search-suggest,
    body .search-hero.has-bg .search-suggest,
    body .search-hero.has-bear-bg .search-suggest {
        position: absolute !important;
        top: calc(100% + 10px) !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 260 !important;
        max-height: min(320px, calc(100vh - 176px)) !important;
        padding: 12px 0 10px !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        border-radius: 18px !important;
        background: #fff !important;
        box-shadow: 0 18px 38px rgba(15, 23, 42, .2) !important;
    }

    body .search-history-section {
        padding: 0 14px 8px !important;
    }

    body .search-history-item,
    body .search-suggest-item {
        min-height: 36px !important;
        grid-template-columns: 24px minmax(0, 1fr) auto !important;
        padding: 6px 0 !important;
    }

    body .search-history-item strong,
    body .search-suggest-item span {
        max-width: 100% !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }
}

@media (max-width: 390px) {
    body .community-home-head {
        gap: 9px 7px !important;
    }

    body .community-actions {
        gap: 5px !important;
    }

    body .community-actions a {
        min-width: 0 !important;
        padding: 0 9px !important;
        font-size: 11px !important;
    }
}

/* Keep blacklist statistics visible after removing the right-side heading. */
.navtx-blacklist-hero > span {
    grid-column: 1 !important;
    grid-row: 1 !important;
    align-self: start !important;
}

.navtx-blacklist-hero > p {
    grid-column: 1 !important;
    grid-row: 2 !important;
    align-self: end !important;
}

.navtx-blacklist-hero .navtx-blacklist-stats {
    grid-column: 2 !important;
    grid-row: 1 / span 2 !important;
    align-self: end !important;
    justify-self: end !important;
}

@media (max-width: 980px) {
    .navtx-blacklist-hero > span,
    .navtx-blacklist-hero > p,
    .navtx-blacklist-hero .navtx-blacklist-stats {
        grid-column: 1 !important;
        grid-row: auto !important;
        justify-self: stretch !important;
    }
}

/* Homepage announcement modal */
.navtx-home-notice-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 22px;
}

.navtx-home-notice-modal.is-open {
    display: flex;
}

.navtx-home-notice-mask {
    position: absolute;
    inset: 0;
    background: rgba(25, 28, 48, .58);
    backdrop-filter: blur(4px);
}

.navtx-home-notice-dialog {
    position: relative;
    z-index: 1;
    width: min(560px, calc(100vw - 28px));
    max-height: min(76vh, 680px);
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    overflow: hidden;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 28px 80px rgba(15, 23, 42, .28);
    transform: translateY(12px) scale(.98);
    opacity: 0;
    transition: transform .24s ease, opacity .24s ease;
}

.navtx-home-notice-modal.is-open .navtx-home-notice-dialog {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.navtx-home-notice-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 48px;
    padding: 0 14px 0 18px;
    border-bottom: 1px solid #edf0f5;
    background: linear-gradient(180deg, #fbfcff 0%, #f7f9fc 100%);
}

.navtx-home-notice-title {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
    color: #111827;
}

.navtx-home-notice-title i {
    display: inline-grid;
    place-items: center;
    width: 18px;
    height: 18px;
    color: #111827;
}

.navtx-home-notice-title svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.navtx-home-notice-title strong {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 16px;
    font-weight: 650;
}

.navtx-home-notice-close {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: #111827;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    transition: background .18s ease, transform .18s ease;
}

.navtx-home-notice-close:hover {
    background: #eef2f7;
    transform: rotate(4deg);
}

.navtx-home-notice-body {
    min-height: 160px;
    max-height: 420px;
    overflow: auto;
    padding: 26px 24px;
    color: #111827;
    font-size: 14px;
    line-height: 1.95;
    word-break: break-word;
}

.navtx-home-notice-body p {
    margin: 0 0 12px;
}

.navtx-home-notice-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    padding: 18px 24px 22px;
    border-top: 1px solid #edf0f5;
    background: #fff;
}

.navtx-home-notice-actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    min-width: 104px;
    padding: 0 18px;
    border: 0;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 650;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.navtx-home-notice-primary {
    color: #fff;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    box-shadow: 0 10px 18px rgba(37, 99, 235, .2);
}

.navtx-home-notice-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 13px 24px rgba(37, 99, 235, .28);
}

.navtx-home-notice-secondary {
    color: #7b8495;
    background: #f5f7fb;
}

.navtx-home-notice-secondary:hover {
    color: #4b5563;
    background: #eef2f7;
}

body.navtx-home-notice-open {
    overflow: hidden;
}

body.navtx-dark .navtx-home-notice-dialog,
body.navtx-dark .navtx-home-notice-actions {
    background: #161b26;
}

body.navtx-dark .navtx-home-notice-head {
    border-color: rgba(148, 163, 184, .18);
    background: linear-gradient(180deg, #1d2431 0%, #171d28 100%);
}

body.navtx-dark .navtx-home-notice-title,
body.navtx-dark .navtx-home-notice-close,
body.navtx-dark .navtx-home-notice-body {
    color: #e5e7eb;
}

body.navtx-dark .navtx-home-notice-actions {
    border-color: rgba(148, 163, 184, .18);
}

body.navtx-dark .navtx-home-notice-secondary {
    color: #cbd5e1;
    background: rgba(148, 163, 184, .12);
}

@media (max-width: 560px) {
    .navtx-home-notice-modal {
        padding: 14px;
        align-items: center;
    }

    .navtx-home-notice-dialog {
        width: 100%;
        max-height: 82vh;
        border-radius: 12px;
    }

    .navtx-home-notice-head {
        min-height: 50px;
        padding-left: 16px;
    }

    .navtx-home-notice-body {
        min-height: 150px;
        padding: 22px 18px;
        font-size: 14px;
        line-height: 1.9;
    }

    .navtx-home-notice-actions {
        padding: 14px 18px 18px;
        justify-content: stretch;
    }

    .navtx-home-notice-actions button {
        flex: 1 1 0;
        min-width: 0;
    }
}

/* Mobile custom search background: remove the old green strip over uploaded images. */
@media (max-width: 760px) {
    body .search-hero.has-bg,
    body .search-hero.has-bear-bg.has-bg {
        background-color: transparent !important;
    }

    body .search-hero.has-bg .navtx-wrap,
    body .search-hero.has-bear-bg.has-bg .navtx-wrap {
        background: transparent !important;
        background-image: none !important;
    }

    body .search-hero.has-bg .search-engine-row,
    body .search-hero.has-bear-bg.has-bg .search-engine-row,
    body .search-hero.has-bg .search-tabs,
    body .search-hero.has-bear-bg.has-bg .search-tabs {
        background: transparent !important;
        box-shadow: none !important;
    }
}

/* Clean navigation-style music player skin */
.navtx-music-player {
    left: 16px !important;
    bottom: 16px !important;
    width: min(286px, calc(100vw - 24px)) !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", Arial, sans-serif !important;
}

.navtx-music-mascot {
    width: 76px !important;
    height: 76px !important;
    filter: drop-shadow(0 10px 18px rgba(17, 127, 104, .18)) !important;
}

.navtx-music-mascot:hover {
    transform: translateY(-2px) scale(1.02) !important;
    filter: drop-shadow(0 12px 22px rgba(17, 127, 104, .22)) !important;
}

.navtx-music-mascot img {
    width: 76px !important;
    height: 76px !important;
}

.navtx-music-mascot span {
    left: 54px !important;
    bottom: 10px !important;
    width: 14px !important;
    height: 14px !important;
    background: #18b89f !important;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, .95), 0 8px 16px rgba(24, 184, 159, .22) !important;
}

.navtx-music-player.is-playing .navtx-music-mascot {
    filter: drop-shadow(0 12px 22px rgba(17, 127, 104, .22)) !important;
}

.navtx-music-panel {
    bottom: 72px !important;
    width: min(286px, calc(100vw - 24px)) !important;
    padding: 12px !important;
    border: 1px solid #e6edf3 !important;
    border-radius: 8px !important;
    color: #172033 !important;
    background: linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(248, 251, 253, .96)) !important;
    box-shadow: 0 18px 42px rgba(15, 23, 42, .12), 0 1px 0 rgba(255, 255, 255, .86) inset !important;
    backdrop-filter: blur(12px) saturate(1.08) !important;
    -webkit-backdrop-filter: blur(12px) saturate(1.08) !important;
}

.navtx-music-head {
    align-items: center !important;
    margin-bottom: 10px !important;
}

.navtx-music-head strong,
.navtx-music-cover b {
    max-width: 198px !important;
    color: #101828 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-shadow: none !important;
}

.navtx-music-head span,
.navtx-music-cover em {
    color: #667085 !important;
    font-size: 12px !important;
    text-shadow: none !important;
}

.navtx-music-head button {
    width: 28px !important;
    height: 28px !important;
    flex-basis: 28px !important;
    border: 1px solid #e5ebf1 !important;
    border-radius: 8px !important;
    color: #667085 !important;
    background: #f7fafc !important;
}

.navtx-music-head button:hover {
    transform: translateY(-1px) !important;
    color: #101828 !important;
    background: #eef7f5 !important;
}

.navtx-music-search {
    grid-template-columns: minmax(0, 1fr) 52px !important;
    gap: 8px !important;
    margin-bottom: 10px !important;
}

.navtx-music-search input {
    height: 34px !important;
    padding: 0 11px !important;
    border: 1px solid #dfe7ef !important;
    border-radius: 8px !important;
    color: #101828 !important;
    background: #f8fbfd !important;
}

.navtx-music-search input:focus {
    border-color: rgba(24, 184, 159, .65) !important;
    background: #fff !important;
    box-shadow: 0 0 0 3px rgba(24, 184, 159, .1) !important;
}

.navtx-music-search input::placeholder {
    color: #98a2b3 !important;
}

.navtx-music-search button {
    height: 34px !important;
    border-radius: 8px !important;
    color: #fff !important;
    background: #18b89f !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    box-shadow: 0 8px 16px rgba(24, 184, 159, .18) !important;
}

.navtx-music-search button:hover {
    transform: translateY(-1px) !important;
    background: #13a88f !important;
    box-shadow: 0 10px 18px rgba(24, 184, 159, .22) !important;
}

.navtx-music-cover {
    grid-template-columns: 46px minmax(0, 1fr) !important;
    gap: 9px !important;
    min-height: 56px !important;
    padding: 8px !important;
    border: 1px solid #edf2f7 !important;
    border-radius: 8px !important;
    background: #f8fbfd !important;
}

.navtx-music-cover img {
    width: 46px !important;
    height: 46px !important;
    background: #fff !important;
    box-shadow: 0 0 0 1px #e5ebf1, 0 8px 18px rgba(15, 23, 42, .08) !important;
}

.navtx-music-progress {
    height: 8px !important;
    margin: 11px 0 3px !important;
}

.navtx-music-progress::before,
.navtx-music-progress span {
    top: 3px !important;
    height: 3px !important;
}

.navtx-music-progress::before {
    background: #e9eff5 !important;
}

.navtx-music-progress span {
    background: linear-gradient(90deg, #18b89f, #7edfd0) !important;
    box-shadow: none !important;
}

.navtx-music-time {
    margin: 0 0 9px !important;
    color: #98a2b3 !important;
    font-size: 11px !important;
    font-weight: 650 !important;
}

.navtx-music-controls {
    grid-template-columns: 32px 38px 32px 32px 32px 32px !important;
    gap: 6px !important;
    min-height: 46px !important;
    padding: 6px !important;
    border: 1px solid #e8eef4 !important;
    border-radius: 8px !important;
    background: #f7fafc !important;
    box-shadow: none !important;
}

.navtx-music-controls button {
    width: 32px !important;
    height: 32px !important;
    border: 1px solid #e1e9f0 !important;
    color: #18a58e !important;
    background: #fff !important;
    box-shadow: none !important;
}

.navtx-music-controls button:hover {
    transform: translateY(-1px) scale(1.02) !important;
    color: #0f8e79 !important;
    background: #ecfbf7 !important;
    box-shadow: 0 8px 16px rgba(15, 23, 42, .08) !important;
}

.navtx-music-controls button:active {
    transform: translateY(0) scale(.97) !important;
}

.navtx-music-controls .is-main {
    width: 38px !important;
    height: 38px !important;
    color: #fff !important;
    background: #18b89f !important;
    border-color: #18b89f !important;
    box-shadow: 0 9px 18px rgba(24, 184, 159, .22) !important;
}

.navtx-music-controls .is-main:hover {
    color: #fff !important;
    background: #13a88f !important;
}

.navtx-music-controls button.is-active,
.navtx-music-controls [data-music-mute][data-state="muted"] {
    color: #fff !important;
    background: #334155 !important;
    border-color: #334155 !important;
}

.navtx-music-list {
    margin-top: 10px !important;
    border: 1px solid #e8eef4 !important;
    border-radius: 8px !important;
    background: #fff !important;
}

.navtx-music-list-head {
    padding: 9px 10px !important;
    color: #344054 !important;
    border-bottom: 1px solid #edf2f7 !important;
}

.navtx-music-list-head span {
    color: #98a2b3 !important;
}

.navtx-music-items {
    max-height: 196px !important;
    padding: 5px !important;
}

.navtx-music-items button {
    min-height: 34px !important;
    padding: 7px 8px !important;
    border-radius: 7px !important;
    color: #475467 !important;
}

.navtx-music-items button:hover,
.navtx-music-items button.is-active {
    color: #0f766e !important;
    background: #ecfbf7 !important;
}

.navtx-music-items i {
    color: #98a2b3 !important;
}

body.navtx-dark .navtx-music-panel {
    border-color: rgba(148, 163, 184, .2) !important;
    color: #e5e7eb !important;
    background: linear-gradient(180deg, rgba(21, 28, 38, .98), rgba(15, 23, 32, .96)) !important;
    box-shadow: 0 18px 42px rgba(0, 0, 0, .28) !important;
}

body.navtx-dark .navtx-music-head strong,
body.navtx-dark .navtx-music-cover b {
    color: #f8fafc !important;
}

body.navtx-dark .navtx-music-head span,
body.navtx-dark .navtx-music-cover em,
body.navtx-dark .navtx-music-time {
    color: #94a3b8 !important;
}

body.navtx-dark .navtx-music-cover,
body.navtx-dark .navtx-music-controls,
body.navtx-dark .navtx-music-search input,
body.navtx-dark .navtx-music-list {
    border-color: rgba(148, 163, 184, .18) !important;
    background: rgba(15, 23, 42, .72) !important;
}

body.navtx-dark .navtx-music-head button,
body.navtx-dark .navtx-music-controls button {
    border-color: rgba(148, 163, 184, .2) !important;
    color: #67e8d0 !important;
    background: rgba(30, 41, 59, .92) !important;
}

body.navtx-dark .navtx-music-list-head {
    color: #e5e7eb !important;
    border-color: rgba(148, 163, 184, .14) !important;
}

body.navtx-dark .navtx-music-items button {
    color: #cbd5e1 !important;
}

@media (max-width: 760px) {
    .navtx-music-player {
        left: 10px !important;
        bottom: 10px !important;
        width: min(286px, calc(100vw - 20px)) !important;
    }

    .navtx-music-mascot,
    .navtx-music-mascot img {
        width: 68px !important;
        height: 68px !important;
    }

    .navtx-music-mascot span {
        left: 49px !important;
        bottom: 8px !important;
    }

    .navtx-music-panel {
        bottom: 66px !important;
        width: min(286px, calc(100vw - 20px)) !important;
        padding: 11px !important;
    }
}

/* Mobile footer tools: hidden must also be non-clickable. */
@media (max-width: 760px) {
    body .navtx-footer-tools:not(.is-mobile-bottom-visible) {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transform: translate3d(12px, 10px, 0) !important;
    }

    body .navtx-footer-tools:not(.is-mobile-bottom-visible) .footer-tool-btn,
    body .navtx-footer-tools:not(.is-mobile-bottom-visible) .footer-tool-wrap,
    body .navtx-footer-tools:not(.is-mobile-bottom-visible) a,
    body .navtx-footer-tools:not(.is-mobile-bottom-visible) button {
        pointer-events: none !important;
    }

    body .navtx-footer-tools.is-mobile-bottom-visible {
        display: flex !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: translate3d(0, 0, 0) !important;
    }

    body.nav-open .navtx-footer-tools {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }
}

/* Short video mobile: Douyin-style vertical theatre. */
@media (max-width: 760px) {
    html:has(.short-video-page),
    body:has(.short-video-page) {
        width: 100% !important;
        height: 100% !important;
        overflow: hidden !important;
        background: #020304 !important;
    }

    body:has(.short-video-page) .navtx-header,
    body:has(.short-video-page) .header,
    body:has(.short-video-page) .navtx-footer,
    body:has(.short-video-page) .footer,
    body:has(.short-video-page) .navtx-footer-tools,
    body:has(.short-video-page) .navtx-music-player {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }

    .short-video-page {
        position: fixed !important;
        inset: 0 !important;
        z-index: 1 !important;
        width: 100vw !important;
        height: 100dvh !important;
        min-height: 100dvh !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
        color: #fff !important;
        background: #020304 !important;
        font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif !important;
    }

    .short-video-page::before,
    .short-video-page::after {
        content: "" !important;
        position: absolute !important;
        inset: 0 !important;
        pointer-events: none !important;
        z-index: 5 !important;
    }

    .short-video-page::before {
        background:
            linear-gradient(180deg, rgba(0, 0, 0, .72) 0%, rgba(0, 0, 0, .08) 22%, rgba(0, 0, 0, 0) 48%),
            linear-gradient(0deg, rgba(0, 0, 0, .86) 0%, rgba(0, 0, 0, .36) 26%, rgba(0, 0, 0, 0) 54%) !important;
    }

    .short-video-page::after {
        background: linear-gradient(90deg, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, 0) 38%, rgba(0, 0, 0, .32) 100%) !important;
    }

    .short-video-bg {
        position: absolute !important;
        inset: 0 !important;
        z-index: 0 !important;
        overflow: hidden !important;
        background: #020304 !important;
    }

    .short-video-bg video {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        filter: blur(28px) brightness(.45) saturate(1.12) !important;
        opacity: .52 !important;
        transform: scale(1.12) !important;
    }

    .short-video-bg::before,
    .short-video-bg::after {
        display: none !important;
    }

    .short-video-shell {
        position: relative !important;
        z-index: 10 !important;
        width: 100vw !important;
        height: 100dvh !important;
        min-height: 100dvh !important;
        margin: 0 !important;
        padding: 0 !important;
        display: block !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }

    .short-video-head {
        position: absolute !important;
        top: max(10px, env(safe-area-inset-top)) !important;
        left: 12px !important;
        right: 12px !important;
        z-index: 42 !important;
        height: 42px !important;
        padding: 0 !important;
        display: grid !important;
        grid-template-columns: 40px minmax(0, 1fr) auto !important;
        align-items: center !important;
        gap: 8px !important;
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
    }

    .short-video-back {
        width: 38px !important;
        height: 38px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 50% !important;
        color: #fff !important;
        background: rgba(0, 0, 0, .34) !important;
        border: 1px solid rgba(255, 255, 255, .12) !important;
        box-shadow: 0 8px 24px rgba(0, 0, 0, .24) !important;
        backdrop-filter: blur(12px) !important;
    }

    .short-video-back svg,
    .short-video-back i {
        width: 18px !important;
        height: 18px !important;
    }

    .short-video-head > div {
        min-width: 0 !important;
        color: #fff !important;
        text-shadow: 0 2px 12px rgba(0, 0, 0, .62) !important;
    }

    .short-video-head span {
        display: none !important;
    }

    .short-video-head h1 {
        margin: 0 !important;
        max-width: 100% !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
        font-size: 16px !important;
        line-height: 1.2 !important;
        font-weight: 750 !important;
        letter-spacing: 0 !important;
        color: #fff !important;
    }

    .short-video-random-top {
        height: 36px !important;
        min-width: 74px !important;
        padding: 0 13px !important;
        border-radius: 999px !important;
        color: #fff !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        background: rgba(0, 0, 0, .34) !important;
        border: 1px solid rgba(255, 255, 255, .13) !important;
        box-shadow: 0 8px 24px rgba(0, 0, 0, .22) !important;
        backdrop-filter: blur(12px) !important;
    }

    .short-video-main,
    .short-video-theater {
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
        display: block !important;
        overflow: hidden !important;
    }

    .short-video-theater {
        z-index: 1 !important;
        background: #020304 !important;
    }

    .short-video-player {
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
        min-height: 0 !important;
        max-height: none !important;
        aspect-ratio: auto !important;
        border-radius: 0 !important;
        overflow: hidden !important;
        background: #000 !important;
        border: 0 !important;
        box-shadow: none !important;
    }

    .short-video-player video,
    .short-video-player > video[data-short-video-player] {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center center !important;
        background: #000 !important;
        border-radius: 0 !important;
    }

    .short-video-player video::-webkit-media-controls {
        display: none !important;
    }

    .short-video-danmaku {
        top: max(58px, calc(env(safe-area-inset-top) + 46px)) !important;
        left: 0 !important;
        right: 0 !important;
        height: 128px !important;
        z-index: 18 !important;
        pointer-events: none !important;
        mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%) !important;
    }

    .short-video-danmaku span {
        padding: 4px 10px !important;
        border-radius: 999px !important;
        font-size: 13px !important;
        line-height: 1.3 !important;
        color: var(--color, #fff) !important;
        background: rgba(0, 0, 0, .24) !important;
        text-shadow: 0 1px 8px rgba(0, 0, 0, .72) !important;
        backdrop-filter: blur(8px) !important;
    }

    .short-video-loading {
        z-index: 31 !important;
        color: rgba(255, 255, 255, .92) !important;
        background: rgba(0, 0, 0, .18) !important;
    }

    .short-video-error {
        left: 22px !important;
        right: 22px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        z-index: 32 !important;
        border-radius: 16px !important;
        color: #fff !important;
        background: rgba(18, 18, 18, .78) !important;
        border: 1px solid rgba(255, 255, 255, .14) !important;
        backdrop-filter: blur(18px) !important;
    }

    .short-video-play-cover {
        inset: 0 !important;
        z-index: 28 !important;
        display: none !important;
        pointer-events: none !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 10px !important;
        color: #fff !important;
        background: rgba(0, 0, 0, .08) !important;
        border: 0 !important;
    }

    .short-video-play-cover.is-active {
        display: flex !important;
        pointer-events: auto !important;
    }

    .short-video-play-cover i {
        width: 68px !important;
        height: 68px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding-left: 4px !important;
        border-radius: 50% !important;
        font-size: 30px !important;
        background: rgba(255, 255, 255, .2) !important;
        box-shadow: 0 14px 36px rgba(0, 0, 0, .34), inset 0 0 0 1px rgba(255, 255, 255, .18) !important;
        backdrop-filter: blur(14px) !important;
    }

    .short-video-play-cover span {
        font-size: 13px !important;
        font-weight: 650 !important;
        color: rgba(255, 255, 255, .86) !important;
        text-shadow: 0 2px 10px rgba(0, 0, 0, .75) !important;
    }

    .short-video-info {
        position: absolute !important;
        left: 14px !important;
        right: 84px !important;
        bottom: calc(max(88px, env(safe-area-inset-bottom) + 80px)) !important;
        z-index: 24 !important;
        margin: 0 !important;
        padding: 0 !important;
        color: #fff !important;
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
        text-shadow: 0 2px 12px rgba(0, 0, 0, .82) !important;
    }

    .short-video-author {
        margin: 0 0 7px !important;
        display: flex !important;
        align-items: center !important;
        gap: 7px !important;
        color: rgba(255, 255, 255, .96) !important;
        font-size: 13px !important;
        font-weight: 760 !important;
    }

    .short-video-author span {
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    .short-video-author em {
        flex: 0 0 auto !important;
        color: rgba(255, 255, 255, .72) !important;
        font-size: 12px !important;
        font-style: normal !important;
        font-weight: 600 !important;
    }

    .short-video-info h2 {
        margin: 0 0 7px !important;
        max-height: 48px !important;
        overflow: hidden !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        color: #fff !important;
        font-size: 17px !important;
        line-height: 1.38 !important;
        font-weight: 760 !important;
        letter-spacing: 0 !important;
    }

    .short-video-info p {
        display: block !important;
        margin: 0 0 8px !important;
        max-height: 40px !important;
        overflow: hidden !important;
        color: rgba(255, 255, 255, .86) !important;
        font-size: 13px !important;
        line-height: 1.5 !important;
        font-weight: 520 !important;
    }

    .short-video-topic-row {
        margin: 0 !important;
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 5px !important;
        max-height: 26px !important;
        overflow: hidden !important;
    }

    .short-video-topic-row span {
        height: 22px !important;
        padding: 0 !important;
        border-radius: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        color: #ffd84d !important;
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
        font-size: 13px !important;
        font-weight: 760 !important;
    }

    .short-video-series {
        margin-top: 9px !important;
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        overflow: hidden !important;
        position: relative !important;
        z-index: 46 !important;
        pointer-events: auto !important;
    }

    .short-video-series-btn,
    .short-video-next-pill {
        height: 33px !important;
        max-width: 48vw !important;
        padding: 0 12px !important;
        border-radius: 10px !important;
        color: #fff !important;
        background: rgba(255, 255, 255, .16) !important;
        border: 1px solid rgba(255, 255, 255, .12) !important;
        box-shadow: 0 8px 22px rgba(0, 0, 0, .2) !important;
        backdrop-filter: blur(12px) !important;
        font-size: 12px !important;
        font-weight: 760 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        position: relative !important;
        z-index: 47 !important;
        pointer-events: auto !important;
    }

    .short-video-next-pill {
        flex: 0 0 auto !important;
        background: rgba(255, 255, 255, .2) !important;
    }

    .short-video-caption {
        display: none !important;
    }

    .short-video-actions {
        position: absolute !important;
        right: 8px !important;
        bottom: calc(max(96px, env(safe-area-inset-bottom) + 86px)) !important;
        z-index: 25 !important;
        width: 62px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 12px !important;
        margin: 0 !important;
        padding: 0 !important;
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
    }

    .short-video-actions button {
        width: 56px !important;
        min-width: 0 !important;
        min-height: 50px !important;
        padding: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 4px !important;
        color: #fff !important;
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
        text-align: center !important;
        transform: translateZ(0) !important;
    }

    .short-video-actions button:active {
        transform: scale(.94) translateZ(0) !important;
    }

    .short-video-actions i,
    .short-video-actions .short-video-svg-icon,
    .short-video-avatar img {
        width: 42px !important;
        height: 42px !important;
        min-width: 42px !important;
        min-height: 42px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 50% !important;
        color: #fff !important;
        background: rgba(255, 255, 255, .16) !important;
        border: 1px solid rgba(255, 255, 255, .14) !important;
        box-shadow: 0 10px 24px rgba(0, 0, 0, .26), inset 0 0 0 1px rgba(255, 255, 255, .06) !important;
        backdrop-filter: blur(10px) !important;
        font-size: 19px !important;
        font-style: normal !important;
    }

    .short-video-actions svg {
        width: 21px !important;
        height: 21px !important;
        fill: currentColor !important;
    }

    .short-video-actions span {
        display: block !important;
        width: 56px !important;
        max-width: 56px !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
        color: rgba(255, 255, 255, .94) !important;
        font-size: 10.5px !important;
        line-height: 1.15 !important;
        font-weight: 720 !important;
        text-shadow: 0 2px 9px rgba(0, 0, 0, .84) !important;
    }

    .short-video-avatar {
        margin-bottom: 2px !important;
    }

    .short-video-avatar img {
        object-fit: cover !important;
        background: #fff !important;
        padding: 1px !important;
    }

    .short-video-avatar i {
        position: absolute !important;
        right: 8px !important;
        bottom: 17px !important;
        width: 18px !important;
        height: 18px !important;
        min-width: 18px !important;
        min-height: 18px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        color: #fff !important;
        background: #ff2c55 !important;
        border: 2px solid #020304 !important;
        box-shadow: none !important;
        font-size: 13px !important;
        line-height: 1 !important;
    }

    .short-video-actions button.is-active i,
    .short-video-actions button.is-active .short-video-svg-icon,
    .short-video-actions button[data-short-video-like].is-active i {
        color: #fff !important;
        background: linear-gradient(135deg, #ff2c55, #ff6b81) !important;
        border-color: rgba(255, 255, 255, .18) !important;
    }

    .short-video-controls {
        position: absolute !important;
        left: 10px !important;
        right: 10px !important;
        bottom: max(8px, env(safe-area-inset-bottom)) !important;
        z-index: 40 !important;
        width: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        color: #fff !important;
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
    }

    .short-video-progress {
        position: relative !important;
        width: 100% !important;
        height: 16px !important;
        margin: 0 0 5px !important;
        padding: 7px 0 !important;
        overflow: visible !important;
        border-radius: 999px !important;
        background: transparent !important;
        cursor: pointer !important;
    }

    .short-video-progress::before {
        content: "" !important;
        position: absolute !important;
        left: 0 !important;
        right: 0 !important;
        top: 7px !important;
        height: 2px !important;
        border-radius: 999px !important;
        background: rgba(255, 255, 255, .28) !important;
    }

    .short-video-progress span,
    .short-video-progress [data-short-video-progress-fill] {
        position: absolute !important;
        left: 0 !important;
        top: 6px !important;
        height: 4px !important;
        border-radius: 999px !important;
        background: #ff2c55 !important;
        box-shadow: 0 0 12px rgba(255, 44, 85, .45) !important;
    }

    .short-video-control-row {
        width: 100% !important;
        min-height: 38px !important;
        display: grid !important;
        grid-template-columns: auto minmax(0, 1fr) auto !important;
        align-items: center !important;
        gap: 7px !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
        background: transparent !important;
    }

    .short-video-control-left {
        display: inline-flex !important;
        align-items: center !important;
        gap: 5px !important;
        min-width: 86px !important;
        color: #fff !important;
    }

    .short-video-play-mini,
    .short-video-icon-btn,
    .short-video-text-btn,
    .short-video-toggle {
        height: 32px !important;
        min-width: 32px !important;
        padding: 0 8px !important;
        border-radius: 999px !important;
        color: #fff !important;
        background: rgba(0, 0, 0, .3) !important;
        border: 1px solid rgba(255, 255, 255, .1) !important;
        box-shadow: none !important;
        backdrop-filter: blur(10px) !important;
        font-size: 12px !important;
        font-weight: 700 !important;
    }

    .short-video-play-mini {
        width: 32px !important;
        padding: 0 !important;
        font-size: 17px !important;
    }

    .short-video-time {
        display: inline-flex !important;
        align-items: center !important;
        gap: 2px !important;
        color: rgba(255, 255, 255, .8) !important;
        font-size: 11px !important;
        line-height: 1 !important;
        font-variant-numeric: tabular-nums !important;
        white-space: nowrap !important;
        text-shadow: 0 2px 8px rgba(0, 0, 0, .78) !important;
    }

    .short-video-time b,
    .short-video-time em {
        color: inherit !important;
        font-size: inherit !important;
        font-style: normal !important;
        font-weight: 760 !important;
    }

    .short-video-comment-bar {
        height: 36px !important;
        min-width: 0 !important;
        display: grid !important;
        grid-template-columns: 22px minmax(0, 1fr) 48px !important;
        align-items: center !important;
        gap: 4px !important;
        padding: 0 5px 0 10px !important;
        border-radius: 999px !important;
        color: rgba(255, 255, 255, .82) !important;
        background: rgba(255, 255, 255, .14) !important;
        border: 1px solid rgba(255, 255, 255, .1) !important;
        box-shadow: 0 8px 22px rgba(0, 0, 0, .18) !important;
        backdrop-filter: blur(14px) !important;
    }

    .short-video-comment-bar span {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        color: rgba(255, 255, 255, .7) !important;
        font-size: 13px !important;
    }

    .short-video-comment-bar input {
        min-width: 0 !important;
        width: 100% !important;
        height: 100% !important;
        color: #fff !important;
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
        outline: 0 !important;
        font-size: 12px !important;
        font-weight: 600 !important;
    }

    .short-video-comment-bar input::placeholder {
        color: rgba(255, 255, 255, .55) !important;
    }

    .short-video-comment-bar button {
        height: 28px !important;
        min-width: 44px !important;
        padding: 0 8px !important;
        border-radius: 999px !important;
        color: #fff !important;
        background: rgba(255, 255, 255, .18) !important;
        border: 0 !important;
        font-size: 12px !important;
        font-weight: 760 !important;
    }

    .short-video-control-right {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 5px !important;
        min-width: 0 !important;
        overflow: visible !important;
    }

    .short-video-control-right [data-short-video-danmaku-toggle],
    .short-video-control-right [data-short-video-clear],
    .short-video-control-right [data-short-video-smart] {
        display: none !important;
    }

    .short-video-control-right [data-short-video-speed] {
        min-width: 38px !important;
        padding: 0 8px !important;
    }

    .short-video-icon-btn {
        width: 32px !important;
        min-width: 32px !important;
        padding: 0 !important;
        font-size: 15px !important;
    }

    .short-video-panel-stack {
        position: absolute !important;
        inset: 0 !important;
        z-index: 60 !important;
        width: 100% !important;
        height: 100% !important;
        pointer-events: none !important;
        background: transparent !important;
    }

    .short-video-panel,
    .short-video-side,
    .short-video-comment-panel {
        position: absolute !important;
        left: 10px !important;
        right: 10px !important;
        top: auto !important;
        bottom: max(10px, env(safe-area-inset-bottom)) !important;
        width: auto !important;
        max-width: none !important;
        height: auto !important;
        max-height: min(74dvh, 560px) !important;
        margin: 0 !important;
        padding: 14px !important;
        overflow: auto !important;
        border-radius: 20px 20px 16px 16px !important;
        color: #fff !important;
        background: rgba(16, 17, 22, .92) !important;
        border: 1px solid rgba(255, 255, 255, .12) !important;
        box-shadow: 0 -18px 48px rgba(0, 0, 0, .42) !important;
        backdrop-filter: blur(22px) !important;
        opacity: 0 !important;
        transform: translate3d(0, 112%, 0) !important;
        transition: transform .26s ease, opacity .2s ease !important;
        pointer-events: none !important;
    }

    .short-video-panel.is-active,
    .short-video-side.is-active,
    .short-video-comment-panel.is-active {
        opacity: 1 !important;
        transform: translate3d(0, 0, 0) !important;
        pointer-events: auto !important;
    }

    .short-video-panel-head {
        padding: 0 0 12px !important;
        border-bottom: 1px solid rgba(255, 255, 255, .1) !important;
    }

    .short-video-panel-head span {
        color: rgba(255, 255, 255, .62) !important;
        font-size: 12px !important;
    }

    .short-video-panel-head strong,
    .short-video-panel-head b {
        color: #fff !important;
    }

    .short-video-panel-head button {
        color: #fff !important;
        background: rgba(255, 255, 255, .12) !important;
        border: 1px solid rgba(255, 255, 255, .1) !important;
    }
}

@media (max-width: 390px) {
    .short-video-info {
        right: 78px !important;
        bottom: calc(max(82px, env(safe-area-inset-bottom) + 74px)) !important;
    }

    .short-video-actions {
        right: 4px !important;
        width: 56px !important;
        gap: 9px !important;
        bottom: calc(max(88px, env(safe-area-inset-bottom) + 78px)) !important;
    }

    .short-video-actions button {
        width: 52px !important;
        min-height: 46px !important;
    }

    .short-video-actions i,
    .short-video-actions .short-video-svg-icon,
    .short-video-avatar img {
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
        min-height: 38px !important;
    }

    .short-video-actions span {
        width: 52px !important;
        max-width: 52px !important;
        font-size: 10px !important;
    }

    .short-video-control-row {
        grid-template-columns: auto minmax(0, 1fr) auto !important;
        gap: 5px !important;
    }

    .short-video-control-left {
        min-width: 76px !important;
    }

    .short-video-time {
        font-size: 10px !important;
    }

    .short-video-control-right [data-short-video-speed] {
        display: none !important;
    }

    .short-video-actions .short-video-avatar i {
        right: 7px !important;
        bottom: 15px !important;
        width: 18px !important;
        height: 18px !important;
        min-width: 18px !important;
        min-height: 18px !important;
        font-size: 13px !important;
        border-width: 2px !important;
    }
}

/* Desktop search: keep the blue submit icon flush with the white dropdown. */
@media (min-width: 761px) {
    body .search-hero .search-box,
    body .search-hero.has-bg .search-box,
    body .search-hero.has-bear-bg .search-box {
        position: relative !important;
        width: min(920px, calc(100vw - 96px)) !important;
        max-width: 920px !important;
        min-width: 0 !important;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        grid-auto-flow: row !important;
        align-items: stretch !important;
        overflow: visible !important;
        box-sizing: border-box !important;
    }

    body .search-hero .search-input-shell,
    body .search-hero.has-bg .search-input-shell,
    body .search-hero.has-bear-bg .search-input-shell {
        position: relative !important;
        grid-column: 1 / -1 !important;
        justify-self: start !important;
        align-self: stretch !important;
        width: min(920px, calc(100vw - 96px)) !important;
        max-width: min(920px, calc(100vw - 96px)) !important;
        min-width: 0 !important;
        height: 46px !important;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) 64px !important;
        align-items: stretch !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
        border: 0 !important;
        border-radius: 999px !important;
        background: #fff !important;
        box-shadow: 0 10px 24px rgba(15, 23, 42, .16) !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    body .search-hero .search-input-shell input,
    body .search-hero.has-bg .search-input-shell input,
    body .search-hero.has-bear-bg .search-input-shell input {
        grid-column: 1 !important;
        width: 100% !important;
        min-width: 0 !important;
        height: 46px !important;
        min-height: 46px !important;
        max-height: 46px !important;
        padding: 0 18px !important;
        color: #4b5563 !important;
        background: transparent !important;
        font-size: 15px !important;
        line-height: 46px !important;
        box-sizing: border-box !important;
    }

    body .search-hero .search-input-shell > button,
    body .search-hero.has-bg .search-input-shell > button,
    body .search-hero.has-bear-bg .search-input-shell > button {
        grid-column: 2 !important;
        justify-self: stretch !important;
        align-self: stretch !important;
        position: relative !important;
        width: 100% !important;
        min-width: 0 !important;
        height: 46px !important;
        min-height: 46px !important;
        max-height: 46px !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
        border: 0 !important;
        border-radius: 0 999px 999px 0 !important;
        background: #087bdc !important;
        box-shadow: none !important;
        font-size: 0 !important;
    }

    body .search-hero .search-input-shell > button::before,
    body .search-hero.has-bg .search-input-shell > button::before,
    body .search-hero.has-bear-bg .search-input-shell > button::before {
        content: "" !important;
        position: absolute !important;
        left: 50% !important;
        top: 50% !important;
        width: 13px !important;
        height: 13px !important;
        border: 2px solid #fff !important;
        border-radius: 50% !important;
        background: transparent !important;
        transform: translate(-58%, -58%) !important;
    }

    body .search-hero .search-input-shell > button::after,
    body .search-hero.has-bg .search-input-shell > button::after,
    body .search-hero.has-bear-bg .search-input-shell > button::after {
        content: "" !important;
        position: absolute !important;
        left: 50% !important;
        top: 50% !important;
        width: 9px !important;
        height: 2px !important;
        border: 0 !important;
        border-radius: 999px !important;
        background: #fff !important;
        transform: translate(3px, 6px) rotate(45deg) !important;
    }

    body .search-box.is-suggest-open .search-input-shell,
    body .search-hero.has-bg .search-box.is-suggest-open .search-input-shell,
    body .search-hero.has-bear-bg .search-box.is-suggest-open .search-input-shell {
        z-index: 150 !important;
        width: min(920px, calc(100vw - 96px)) !important;
        max-width: min(920px, calc(100vw - 96px)) !important;
        overflow: visible !important;
        border-radius: 999px !important;
        box-shadow: 0 10px 24px rgba(15, 23, 42, .16) !important;
    }

    body .search-box.is-suggest-open .search-input-shell > button,
    body .search-hero.has-bg .search-box.is-suggest-open .search-input-shell > button,
    body .search-hero.has-bear-bg .search-box.is-suggest-open .search-input-shell > button {
        border-radius: 0 999px 999px 0 !important;
    }

    body .search-hero .search-suggest,
    body .search-hero.has-bg .search-suggest,
    body .search-hero.has-bear-bg .search-suggest {
        top: calc(100% + 10px) !important;
        left: 0 !important;
        right: auto !important;
        width: min(920px, calc(100vw - 96px)) !important;
        max-width: min(920px, calc(100vw - 96px)) !important;
        min-width: 0 !important;
        padding: 12px 0 10px !important;
        border-radius: 16px !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
        box-shadow: 0 18px 38px rgba(15, 23, 42, .2) !important;
    }

    body .search-box.is-suggest-open .search-engine-row,
    body .search-box.is-suggest-open .search-hot-wrap,
    body .search-box.is-suggest-open .search-hot-more {
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }
}

/* PC search history: float below the input without shifting the centered hero. */
@media (min-width: 761px) {
    body .search-box.is-suggest-open .search-engine-row {
        display: flex !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }

    body .search-box.is-suggest-open .search-hot-wrap {
        display: block !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }

    body .search-box.is-suggest-open .search-input-shell,
    body .search-hero.has-bg .search-box.is-suggest-open .search-input-shell,
    body .search-hero.has-bear-bg .search-box.is-suggest-open .search-input-shell {
        border-radius: 999px !important;
        box-shadow: 0 10px 24px rgba(15, 23, 42, .16) !important;
        overflow: visible !important;
    }

    body .search-box.is-suggest-open .search-input-shell > button,
    body .search-hero.has-bg .search-box.is-suggest-open .search-input-shell > button,
    body .search-hero.has-bear-bg .search-box.is-suggest-open .search-input-shell > button {
        border-radius: 0 999px 999px 0 !important;
    }

    body .search-hero .search-suggest,
    body .search-hero.has-bg .search-suggest,
    body .search-hero.has-bear-bg .search-suggest {
        top: calc(100% + 10px) !important;
        left: 0 !important;
        right: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 0 10px !important;
        border-radius: 16px !important;
        box-shadow: 0 18px 38px rgba(15, 23, 42, .2) !important;
    }
}

/* Final mobile search-history guard: no vertical jump when the panel opens. */
@media (max-width: 760px) {
    body .search-hero .search-box.is-suggest-open,
    body .search-hero.has-bg .search-box.is-suggest-open,
    body .search-hero.has-bear-bg .search-box.is-suggest-open {
        min-height: 94px !important;
        align-content: start !important;
    }

    body .search-box.is-suggest-open .search-input-shell,
    body .search-hero.has-bg .search-box.is-suggest-open .search-input-shell,
    body .search-hero.has-bear-bg .search-box.is-suggest-open .search-input-shell {
        border-radius: 999px !important;
        box-shadow: 0 10px 24px rgba(15, 23, 42, .16) !important;
        overflow: visible !important;
        z-index: 280 !important;
    }

    body .search-box.is-suggest-open .search-input-shell > button,
    body .search-hero.has-bg .search-box.is-suggest-open .search-input-shell > button,
    body .search-hero.has-bear-bg .search-box.is-suggest-open .search-input-shell > button {
        border-radius: 0 999px 999px 0 !important;
    }

    body .search-hero .search-suggest,
    body .search-hero.has-bg .search-suggest,
    body .search-hero.has-bear-bg .search-suggest {
        top: 54px !important;
        border-radius: 18px !important;
        box-shadow: 0 18px 38px rgba(15, 23, 42, .2) !important;
    }
}
