.dropdown-item, .dropdown-item a, .footer-bottom-links a, .footer-description a, .footer-menu a, .h-result-item, .live-search-link .is-btn, .login-form-footer a, .logo, .my-account a, .nav-link, .notification-item, .social-link, .topics-inline a, .user-dropdown a {
    text-decoration: none
}

.idol-meta .rep-color, .post-meta {
    font-style: italic
}

:root[data-theme=light] {
    --bg-primary: #f7f8f9;
    --text-primary: #111827;
    --text-secondary: #585d67;
    --border-color: #e5e7eb;
    --accent-color: #c10e81;
    --link-hover: #0b8718;
    --lbv-color-1: #006587;
    --lbv-color-2: #bf4c0a
}

:root[data-theme=dark] {
    --bg-primary: #0a0d15;
    --text-primary: #e8eaeb;
    --text-secondary: #9ca3af;
    --border-color: #374151;
    --accent-color: #07a518;
    --link-hover: #c10e81;
    --lbv-color-1: #00b3f0;
    --lbv-color-2: #f5772d
}

body, html {
    width: 100%;
    min-height: 100vh;
    overflow-x: clip;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
    color: var(--text-primary);
    font-size: 18px;
    scroll-behavior: smooth;
    transition: background .4s, color .4s
}

*, body, html {
    margin: 0;
    padding: 0
}

*, ::after, ::before {
    box-sizing: border-box
}

.h-result-item .r-post-title, .idol-name, .notif-title {
    -webkit-box-orient: vertical
}

.badge, .idol-group, .login-form-footer a, .logo-text, .nav-item > a:first-child {
    text-transform: uppercase
}

.idol-name, .notif-title {
    -webkit-line-clamp: 2
}

.idol-link:hover .idol-name, .idol-meta .rep-animal, .more-link:hover, body a:hover {
    color: var(--link-hover)
}

#wpadminbar {
    position: fixed !important
}

body.admin-bar .header {
    top: 32px
}

@media screen and (max-width: 782px) {
    body.admin-bar .header {
        top: 46px
    }
}

body.menu-open {
    overflow: hidden
}

.header-wrapper {
    position: relative;
    display: block;
    min-height: 50px
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .1);
    transform: translateY(0);
    transition: transform .3s ease-in-out
}

.header.hidden {
    transform: translateY(-100%)
}

.header.menu-active, .logo img:nth-of-type(2), .mobile-menu-logo img:nth-of-type(2), .user-container .logged-in, [data-theme=dark] .footer-logo img:first-of-type, [data-theme=dark] .logo img:first-of-type, [data-theme=dark] .mobile-menu-logo img:first-of-type {
    display: none
}

.lbv-language {
    padding: 6px 8px
}

.lang-toggle img {
    display: block;
    width: 22px;
    height: auto
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    justify-content: space-between;
    padding: 0 20px;
    height: 50px
}

.badge, .f-info strong, .loading-dots span, .logo img:first-of-type, .mobile-menu-logo img:first-of-type, .post-item:hover .post-edit-link, [data-theme=dark] .footer-logo img:nth-of-type(2), [data-theme=dark] .logo img:nth-of-type(2), [data-theme=dark] .mobile-menu-logo img:nth-of-type(2) {
    display: inline-block
}

.logo img, .mobile-menu-logo img, .svg-icon {
    transition: opacity .3s
}

.dark-mode-toggle {
    position: relative;
    width: 35px;
    height: 15px;
    background: #88888840;
    border-radius: 15px;
    cursor: pointer;
    transition: background .3s
}

.dark-mode-slide-btn {
    position: absolute;
    top: -4.5px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .3s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .2)
}

.mode-icon-default {
    left: 0;
    transform: translateX(0);
    background: #fff
}

.mode-icon-dark {
    left: 0;
    transform: translateX(0);
    background: var(--accent-color);
    opacity: 0
}

[data-theme=dark] .mode-icon-default {
    transform: translateX(12px);
    opacity: 0
}

[data-theme=dark] .mode-icon-dark {
    transform: translateX(12px);
    opacity: 1
}

[data-theme=light] .mode-icon-default {
    transform: translateX(0);
    opacity: 1
}

[data-theme=light] .mode-icon-dark {
    transform: translateX(0);
    opacity: 0
}

a, button, img, svg {
    cursor: pointer
}

.nav-item, .notification-container, .post-item, .user-container {
    position: relative
}

.lbv-current-active > a, a.lbv-current-active {
    color: var(--accent-color) !important
}

.burger-icon span, .nav-item.lbv-current-active > .dropdown, .search-dropdown.active {
    display: block
}

.notification-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: #ef4444;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center
}

.dropdown, .dropdown-item.has-submenu:hover .dropdown-link, .dropdown-item.has-submenu:hover .dropdown-submenu-toggle, .header, .live-search-link, .mobile-search, .notification-dropdown, .search-dropdown, .search-results-list, .site-footer, body, html {
    background: var(--bg-primary)
}

.notification-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 340px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .15);
    max-height: 450px;
    overflow-y: auto;
    display: none;
    z-index: 1000
}

.github-icon, .github-signin-btn, .google-icon, .header-container, .header-left {
    align-items: center;
    display: flex
}

.dropdown-item, .header, .mobile-search, .notification-item, .p-wrap, .p-wrap:first-child, .search-input-wrapper.has-results, .user-dropdown-header, .user-dropdown-item {
    border-bottom: 1px solid var(--border-color)
}

.nav-link *, .nav-link .rotate, .search-box.active {
    pointer-events: auto
}

.dropdown, .submenu {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -1px rgba(0, 0, 0, .06)
}

.notification-dropdown.active {
    display: block;
    border: 1px solid var(--border-color)
}

.notification-item {
    display: flex;
    gap: 12px;
    padding: 12px 16px;
    color: var(--text-primary);
    transition: background .2s
}

.notification-item:hover {
    background: #f9fafb
}

.h-result-item .result-thumbnail, .notif-thumb {
    width: 90px;
    height: 65px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0
}

.footer-links, .h-result-item .result-content, .notif-content {
    flex: 1;
    min-width: 0
}

.notif-title {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--text-primary);
    margin: 0 0 4px;
    display: -webkit-box;
    overflow: hidden;
    padding: 0
}

.logo, .nav.nav-menu, .subcategories .sub-item, .subcategories > span {
    display: flex;
    align-items: center
}

.notif-time {
    font-size: 12px;
    color: #111827FF
}

.dropdown, .dropdown-item a, .footer-bottom .copyright p, .footer-description, .footer-menu a, .footer-title, .google-signin-btn, .h-result-item, .h-result-item .r-post-title, .icon-btn svg, .latest-posts h2, .logo, .logo span, .logo-popup-description, .logo-popup-heading, .my-account a, .nav-link, .no-notifications, .social-link, .social-login-separator span, .topics-inline a, .user-dropdown a, .user-login-form label {
    color: var(--text-primary)
}

.no-notifications {
    padding: 24px 16px;
    text-align: center;
    font-size: 14px
}

.logo {
    font-size: 24px;
    font-weight: 700;
    margin-right: 20px;
    max-width: 140px;
    height: 45px
}

.logo img {
    height: 100%;
    width: 100%;
    object-fit: contain
}

.nav.nav-menu {
    gap: 10px
}

.dropdown-item, .nav-link {
    align-items: center;
    display: flex
}

.nav-link {
    font-size: 15px;
    font-weight: 500;
    gap: 4px;
    transition: color .2s;
    cursor: pointer;
    padding: 8px 10px
}

.dropdown-item, .dropdown-item.has-submenu .dropdown-link, .dropdown-submenu-toggle {
    padding: 12px 16px;
    color: var(--text-primary)
}

.dropdown-item a:hover, .dropdown-item.has-submenu .dropdown-link:hover, .dropdown-item:hover, .icon-btn:hover, .login-form-footer a:hover, .nav-link:hover, .search-container.active > .icon-btn svg, .search-submit-btn:hover, .submenu-item:hover, .topics-inline a:hover, .user-dropdown-item:hover {
    color: var(--accent-color)
}

.nav-link svg {
    width: 16px;
    height: 16px;
    transition: transform .3s
}

.nav-item.active .nav-link svg, .nav-item:hover .nav-link svg {
    transform: rotate(180deg)
}

.dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: .3s;
    z-index: 100
}

.nav-item.active .dropdown, .nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0)
}

.dropdown-item {
    justify-content: space-between;
    font-size: .92rem;
    transition: background .2s;
    position: relative
}

.dropdown-item svg, .dropdown-submenu-toggle svg {
    width: 14px;
    height: 14px;
    transition: transform .3s
}

.dropdown-item.has-submenu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    position: relative;
    cursor: pointer
}

.dropdown-item.has-submenu .dropdown-link {
    flex: 1;
    font-size: .92rem;
    display: block
}

.dropdown-submenu-toggle {
    background: 0 0;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .3s
}

.dropdown-item.has-submenu.active .dropdown-submenu-toggle svg, .dropdown-item.has-submenu:hover svg {
    transform: rotate(-90deg)
}

.dropdown-item.has-submenu.active .submenu, .dropdown-item.has-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0)
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility .3s
}

.lbv-user-popup-form.show, .mobile-menu-overlay.active, .user-container.active .user-dropdown, .user-container:hover .user-dropdown {
    opacity: 1;
    visibility: visible
}

.lbv-user-popup-form, .submenu, .user-dropdown {
    opacity: 0;
    visibility: hidden
}

.submenu {
    position: absolute;
    top: 0;
    left: 100%;
    margin-left: 0;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    min-width: 200px;
    transform: translateX(-10px);
    transition: .3s;
    z-index: 101
}

.icon-btn, .submenu-item {
    transition: background .2s
}

.submenu-item {
    display: block;
    padding: 10px 16px;
    font-size: .92rem
}

.header-right {
    display: flex;
    align-items: center;
    gap: 5px
}

.icon-btn {
    position: relative;
    background: 0 0;
    border: none;
    justify-content: center;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0
}

.icon-btn svg {
    flex-shrink: 0;
    transition: transform .3s
}

.user-container svg {
    width: 24px;
    height: 24px
}

.live-search-link, .mobile-search, .user-dropdown-header {
    padding: 16px
}

.user-dropdown-header h3 {
    margin: 0 0 4px;
    font-size: .92rem;
    font-weight: 600
}

.github-signin-btn b, .google-signin-btn b, .user-dropdown-header span, .user-dropdown-item span {
    font-weight: 600
}

.user-dropdown-header p {
    margin: 0;
    font-size: 15px
}

.user-dropdown {
    position: absolute;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .1);
    min-width: 215px;
    transform: translateY(-10px);
    transition: .3s;
    top: calc(100% + 10px);
    right: auto;
    left: 0;
    display: block;
    z-index: 1000
}

.user-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    font-size: 15px;
    transition: background .2s, color .2s;
    justify-content: space-between
}

.user-dropdown-item svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0
}

.user-dropdown-item .loved-reads-icon {
    margin-right: -3px
}

.lbv-logout svg {
    margin-right: -2px
}

.is-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0
}

.burger-icon span, .close-icon span {
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: .3s cubic-bezier(.4, 0, .2, 1)
}

.burger-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    width: 22px;
    height: 16px;
    cursor: pointer
}

.burger-icon span:first-child, .mobile-search .search-input-wrapper, .search-page-form {
    width: 100%
}

.burger-icon span:nth-child(2) {
    width: 75%
}

.burger-icon span:nth-child(3) {
    width: 50%
}

.close-icon {
    display: block;
    position: relative;
    width: 22px;
    height: 22px
}

.close-icon span {
    display: block;
    position: absolute;
    width: 100%;
    left: 0;
    top: 50%
}

.close-icon span:first-child {
    transform: translateY(-50%) rotate(45deg)
}

.close-icon span:last-child {
    transform: translateY(-50%) rotate(-45deg)
}

.notification-container .icon-btn, .search-container .icon-btn, .user-container .icon-btn:not(.icon-btn) {
    width: 40px;
    height: 40px;
    padding: 8px
}

.notification-container .icon-btn {
    display: block;
    margin-right: -8px
}

.lbv-welcome {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    overflow: hidden;
    padding: 2px
}

.lbv-welcome img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%
}

.github-signin-btn, .google-signin-btn {
    text-decoration: none;
    gap: 12px;
    width: 100%
}

.lbv-user-popup-form {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    align-items: center;
    justify-content: center;
    transition: opacity .3s, visibility .3s
}

.close-popup-btn, .google-signin-btn {
    display: flex;
    align-items: center;
    transition: .2s
}

.login-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .75);
    backdrop-filter: blur(8px)
}

.logo-popup-outer {
    position: relative;
    z-index: 1;
    animation: .4s cubic-bezier(.16, 1, .3, 1) modalSlideIn
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-30px) scale(.95);
        opacity: 0
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1
    }
}

#popup-form .login-submit, .footer-menu li:last-child {
    margin-bottom: 0
}

.logo-popup {
    background: var(--bg-primary);
    border-radius: 8px;
    max-width: 350px;
    width: 90vw;
    max-height: 100%;
    overflow-y: auto;
    padding: 20px;
    margin: 0 auto;
    box-shadow: 0 24px 64px rgba(0, 0, 0, .25);
    position: relative
}

.close-popup-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    justify-content: center;
    background: 0 0;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10
}

.close-popup-btn:hover {
    transform: rotate(90deg)
}

.close-popup-btn svg {
    stroke: #666
}

.login-popup-header {
    text-align: center;
    margin-bottom: 25px
}

.logo-popup-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 0 16px
}

.logo-popup-logo img {
    height: 50px
}

.logo-popup-logo .logo {
    margin: 0
}

.logo-text {
    font-size: 25px;
    font-weight: 700;
    padding: 15px 0;
    white-space: nowrap
}

.logo-popup-heading {
    font-size: 20px;
    font-weight: 600;
    display: block;
    margin: 16px 0 8px
}

.google-signin-btn, .user-login-form label {
    font-weight: 500
}

.logo-popup-description {
    font-size: 12px;
    letter-spacing: 1px;
    margin-bottom: 16px
}

.social-login-separator {
    text-align: center;
    margin: 15px 0;
    position: relative
}

.social-login-separator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    width: 100%;
    height: 1px;
    background: var(--text-secondary)
}

.social-login-separator span {
    background: var(--bg-primary);
    padding: 0 15px;
    position: relative;
    z-index: 1;
    font-size: 14px
}

.user-login-form form {
    display: flex;
    flex-direction: column
}

.logo-footer, .user-login-form p {
    margin-bottom: 15px
}

.logo-footer a.logo {
    height: auto
}

.user-login-form label {
    font-size: 14px;
    margin-bottom: 8px;
    display: block
}

.user-login-form input[type=password], .user-login-form input[type=text] {
    width: 100%;
    padding: 10px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: .92rem;
    background: #f8f9fa;
    transition: .2s
}

.user-login-form input[type=password]:focus, .user-login-form input[type=text]:focus {
    outline: 0;
    border-color: #00a651;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0, 166, 81, .1)
}

.user-login-form input[type=checkbox] {
    width: 15px;
    height: 15px;
    cursor: pointer;
    accent-color: var(--accent-color);
    bottom: -3px;
    position: relative;
    right: 5px
}

.user-login-form input[type=submit] {
    width: 100%;
    height: 42px;
    background: var(--accent-color);
    color: #fff;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: .2s;
    text-transform: uppercase;
    letter-spacing: .5px
}

.user-login-form input[type=submit]:hover {
    background: var(--accent-color);
    transform: translateY(-1px)
}

.github-signin-container, .google-signin-container {
    margin: 10px 0
}

.google-signin-btn {
    justify-content: center;
    padding: 10px 16px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px
}

.google-signin-btn:hover {
    background: var(--bg-primary);
    border-color: var(--border-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .1)
}

.google-icon svg {
    width: 30px;
    height: 30px
}

.google-signin-btn span, .post-meta {
    font-size: 15px
}

.github-signin-btn {
    justify-content: center;
    padding: 10px 16px;
    background: #24292e;
    border: 1px solid #24292e;
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    transition: .2s
}

.github-signin-btn:hover {
    background: #1b1f23;
    border-color: #1b1f23;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .2)
}

.github-signin-btn span {
    font-size: 15px;
    color: #fff
}

.login-form-footer {
    text-align: center;
    margin-top: 24px
}

.login-form-footer a {
    color: var(--text-primary);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .5px;
    transition: color .2s
}

.login-form-footer span {
    color: var(--text-secondary);
    font-size: 12px
}

.login-loading {
    position: fixed;
    display: flex;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, .7);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    z-index: 99999
}

.search-box {
    align-items: center;
    opacity: 0
}

.login-loading .spinner {
    width: 48px;
    height: 48px;
    border: 4px solid rgba(255, 255, 255, .2);
    border-top-color: #fff;
    border-radius: 50%;
    animation: .8s linear infinite spin
}

.login-loading .loading-text {
    color: #fff;
    font-size: .92rem;
    font-weight: 500
}

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

.badge-new {
    background: #10b981;
    color: #fff
}

.subscribe-notice.error {
    color: #c90101
}

body.mobile-menu-active .nav.nav-menu {
    padding-bottom: 100px
}

.submenu a {
    border-top: 1px solid var(--border-color)
}

@media (min-width: 1025px) {
    .close-btn, .menu-btn, .post-date {
        display: none
    }
}

@media (max-width: 1024px) {
    body.mobile-menu-active .close-btn, body.mobile-menu-active .header-left .logo-wrap, body.mobile-menu-active .lbv-language, body.mobile-menu-active .notification-container, body.mobile-menu-active .user-container {
        position: fixed;
        z-index: 10001;
        animation: .3s ease-out fadeIn
    }

    .user-dropdown {
        right: -90px;
        left: auto
    }

    .lbv-welcome {
        width: 28px;
        height: 28px
    }

    .notification-container, .user-container .logged-in, body.mobile-menu-active .dropdown.show, body.mobile-menu-active .nav-item:hover .dropdown.show, body.mobile-menu-active .search-dropdown.active {
        display: block
    }

    .nav.nav-menu {
        gap: 0;
        display: flex;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100dvh - 70px);
        z-index: 9999;
        flex-direction: column;
        padding: 128px 0 100px;
        overflow-y: auto;
        overflow-x: hidden;
        transform: translateX(-100%);
        transition: transform .3s cubic-bezier(.4, 0, .2, 1);
        visibility: hidden;
        background: var(--bg-primary)
    }

    .close-btn, .menu-btn {
        display: block;
        background: 0 0;
        border: none;
        cursor: pointer;
        padding: 0;
        color: var(--text-primary);
        width: 40px;
        height: 40px
    }

    .nav-link svg, body.mobile-menu-active .search-icon, body.mobile-menu-active .search-submit-btn svg {
        width: 18px;
        height: 18px
    }

    .mobile-logout-btn {
        background-color: var(--accent-color);
        padding: 8px 20px;
        color: #fff;
        font-size: .85rem;
        border-radius: 20px;
        text-decoration: none;
        display: flex;
        align-items: center;
        justify-content: center;
        line-height: 1
    }

    body.mobile-menu-active {
        overflow: hidden;
        height: 100dvh
    }

    .close-btn, body.mobile-menu-active .dropdown-item.has-submenu:hover .submenu, body.mobile-menu-active .menu-btn, body.mobile-menu-active .nav-item:hover .dropdown, body.mobile-menu-active .search-container .icon-btn {
        display: none
    }

    body.mobile-menu-active .close-btn {
        display: block;
        width: 40px;
        height: 40px
    }

    body.mobile-menu-active .header-left .logo-wrap {
        left: 55px;
        height: 45px
    }

    body.mobile-menu-active .logo-wrap .logo {
        margin: 0
    }

    body.mobile-menu-active .logo-wrap .logo img {
        height: 100%;
        width: auto
    }

    body.mobile-menu-active .lbv-language {
        right: 94px
    }

    body.mobile-menu-active .user-container {
        right: 52px
    }

    body.mobile-menu-active .user-container .icon-btn {
        height: 40px;
        width: auto;
        padding: 8px 12px
    }

    body.mobile-menu-active .user-container .icon-btn svg {
        width: 24px;
        height: 24px;
        display: block
    }

    body.mobile-menu-active .notification-container {
        right: 90px
    }

    body.mobile-menu-active .notification-container .icon-btn {
        width: 40px;
        height: 40px;
        padding: 8px;
        margin-right: 0
    }

    body.mobile-menu-active .notification-container .icon-btn svg {
        width: 24px;
        height: 24px
    }

    body.mobile-menu-active .notification-badge {
        position: absolute;
        top: 5px;
        right: 5px
    }

    body.mobile-menu-active .notification-dropdown {
        display: none !important
    }

    body.mobile-menu-active .dark-mode-toggle {
        position: fixed;
        right: 20px;
        z-index: 10001;
        animation: .3s ease-out fadeIn
    }

    body.mobile-menu-active .nav.nav-menu::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 51px;
        background: var(--bg-primary);
        z-index: 10000
    }

    body.mobile-menu-active .nav.nav-menu {
        transform: translateX(0);
        visibility: visible;
        padding-top: 65px
    }

    body.mobile-menu-active .nav-item {
        width: 100%
    }

    body.mobile-menu-active .nav-menu .nav-item:last-child {
        border-top: 1px solid var(--border-color)
    }

    body.mobile-menu-active .nav-menu .nav-item:first-child .nav-link, body.mobile-menu-active .nav-menu .nav-item:last-child {
        border-bottom: 1px solid var(--border-color)
    }

    body.mobile-menu-active .nav-link {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 20px;
        font-weight: 600;
        font-size: .9em;
        color: var(--text-primary)
    }

    body.mobile-menu-active .dropdown {
        position: static;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        border-radius: 0;
        padding: 0;
        margin: 0;
        background: var(--bg-primary)
    }

    body.mobile-menu-active .dropdown-item {
        padding: 0;
        display: block
    }

    body.mobile-menu-active .dropdown-item:not(.has-submenu) a {
        display: block;
        padding: 14px 20px 14px 35px;
        font-size: .95rem
    }

    body.mobile-menu-active .dropdown-item.has-submenu > .dropdown-link, body.mobile-menu-active .dropdown-item.has-submenu > a {
        display: inline-block;
        width: calc(100% - 40px);
        padding: 14px 0 14px 35px;
        vertical-align: middle;
        font-weight: 500
    }

    body.mobile-menu-active .dropdown-submenu-toggle {
        display: inline-block;
        position: static;
        width: 46px;
        height: 46px;
        padding: 12px;
        margin: -12px;
        vertical-align: middle;
        background: 0 0;
        border: none;
        cursor: pointer
    }

    body.mobile-menu-active .dropdown-submenu-toggle svg {
        width: 16px;
        height: 16px;
        transition: transform .3s;
        vertical-align: middle;
        transform: rotate(0)
    }

    body.mobile-menu-active .dropdown-submenu-toggle.rotate svg {
        transform: rotate(90deg)
    }

    body.mobile-menu-active .submenu {
        position: static !important;
        display: none;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0;
        margin: 0
    }

    body.mobile-menu-active .dropdown-item.has-submenu:hover .submenu.show, body.mobile-menu-active .submenu.show {
        display: block !important
    }

    body.mobile-menu-active .submenu-item {
        padding: 10px 20px 10px 50px !important
    }

    body.mobile-menu-active .submenu-item:hover {
        color: var(--accent-color);
        background: rgba(0, 0, 0, .02)
    }

    body.mobile-menu-active .search-container {
        position: fixed;
        top: 51px;
        left: 0;
        width: 100%;
        z-index: 10000;
        border-bottom: 1px solid var(--border-color);
        padding: 16px 20px;
        animation: .3s ease-out slideDown;
        background: var(--bg-primary)
    }

    body.mobile-menu-active .search-box {
        display: block !important;
        position: static !important;
        width: 100% !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        transform: none !important
    }

    body.mobile-menu-active .search-input-wrapper {
        width: 100%;
        margin: 0;
        border-radius: 50px;
        padding: 8px 15px;
        background: var(--bg-primary);
        border: 1px solid var(--border-color)
    }

    body.mobile-menu-active .search-input {
        font-size: .92rem;
        width: 100%
    }

    body.mobile-menu-active .search-dropdown {
        position: static !important;
        width: 100%;
        max-height: calc(100dvh - 200px);
        margin: 10px 0 0;
        border: 1px solid var(--border-color);
        border-radius: 8px
    }

    body.mobile-menu-active .mobile-login {
        text-align: center
    }

    body.mobile-menu-active .mobile-login-text {
        font-size: .85rem;
        color: var(--text-secondary);
        margin-bottom: 10px
    }

    body.mobile-menu-active .mobile-login-btn {
        background: var(--accent-color);
        color: #fff;
        border: none;
        padding: 6px 20px;
        border-radius: 50px;
        font-weight: 600;
        max-width: 20%;
        cursor: pointer;
        font-size: .85rem;
        text-decoration: none
    }

    .mobile-login {
        padding: 10px 16px;
        background-color: var(--bg-primary);
        position: sticky;
        bottom: 0;
        z-index: 10;
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%
    }

    .mobile-login-text {
        text-align: center;
        color: var(--text-primary);
        font-size: .85rem
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px)
        }
        to {
            opacity: 1;
            transform: translateY(0)
        }
    }@keyframes fadeIn {
         from {
             opacity: 0
         }
         to {
             opacity: 1
         }
     }@supports not (height:100dvh) {
    .nav.nav-menu, body.mobile-menu-active {
        height: 100vh
    }
}body.mobile-menu-active .nav-link svg {
     transform: rotate(0)
 }

    body.mobile-menu-active .nav-link svg.rotate {
        transform: rotate(180deg)
    }

    body.mobile-menu-active .user-dropdown {
        right: 0;
        left: auto
    }

    .dropdown {
        transform: none;
        transition: none
    }
}

@keyframes overlayFadeIn {
    from {
        opacity: 0
    }
    to {
        opacity: 1
    }
}

.search-container {
    position: relative;
    z-index: 100
}

.search-box {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    width: 0;
    overflow: visible;
    transition: .4s cubic-bezier(.4, 0, .2, 1);
    pointer-events: none
}

.search-box.active {
    width: 360px;
    opacity: 1
}

.search-form {
    width: 100%;
    display: flex;
    position: relative
}

.search-input-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 50px;
    padding: 6px 10px;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    width: 100%;
    margin-right: 35px;
    border: 1px solid var(--border-color)
}

.search-input-wrapper.has-results {
    border-radius: 5px 5px 0 0
}

.search-icon {
    width: 18px;
    height: 18px;
    color: #9ca3af;
    flex-shrink: 0
}

.h-result-item, .search-submit-btn, .social-link {
    align-items: center
}

.search-input {
    border: none;
    background: 0 0;
    outline: 0;
    font-size: .85rem;
    width: 100%;
    color: var(--text-primary);
    padding: 0
}

.search-input::placeholder {
    color: var(--text-secondary)
}

.search-submit-btn {
    background: 0 0;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: #9ca3af;
    display: flex;
    justify-content: center;
    transition: color .2s;
    flex-shrink: 0
}

.search-page-submit svg, .search-submit-btn svg {
    width: 20px;
    height: 20px
}

.search-container > .icon-btn {
    position: relative;
    z-index: 101;
    transition: transform .3s;
    display: block;
    color: var(--text-primary)
}

.search-dropdown {
    position: absolute;
    top: 100%;
    right: 35px;
    border: 1px solid var(--border-color);
    border-top: none;
    border-radius: 0 0 5px 5px;
    max-height: 75vh;
    overflow-y: auto;
    display: none;
    width: calc(100% - 35px);
    z-index: 1001
}

.search-results-list {
    padding: 0 10px
}

.search-container.active ~ .dark-mode-toggle, .search-container.active ~ .notification-container, .search-container.active ~ .user-container {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .3s, visibility .3s
}

@media (max-width: 992px) {
    .search-box.active {
        width: 250px
    }
}

.h-result-item {
    display: flex;
    gap: 14px;
    padding: 10px 5px;
    transition: background .2s
}

.h-result-item .r-post-title {
    margin: 0;
    font-size: .85rem;
    font-weight: 500;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    overflow: hidden
}

.featured-topics, .idol-item, .live-search-link, .no-posts, .pagination {
    text-align: center
}

.live-search-link .is-btn {
    display: inline-block;
    padding: 8px 28px;
    background: #00a651;
    color: #fff;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    transition: .3s
}

.search-dropdown .loading, .search-dropdown .no-results {
    padding: 24px 16px;
    text-align: center;
    color: #6b7280;
    font-size: 14px
}

.search-dropdown .no-results {
    padding: 24px;
    text-align: center;
    color: #6b7280;
    font-size: 14px
}

.search-dropdown::-webkit-scrollbar {
    width: 6px
}

.search-dropdown::-webkit-scrollbar-track {
    background: #f1f1f1
}

.search-dropdown::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 3px
}

.mobile-search {
    position: sticky;
    top: 60px;
    z-index: 9
}

.mobile-search-form:focus-within .search-input-wrapper, .search-form:focus-within .search-input-wrapper {
    border-color: var(--accent-color);
    background: var(--bg-primary)
}

.mobile-search .search-dropdown {
    top: unset;
    width: calc(100% - 32px);
    right: 0;
    border: 1px solid var(--border-color);
    margin: 0 16px
}

.mobile-search > .active, .search-box > .active {
    border: 1px solid var(--accent-color)
}

@media (min-width: 769px) and (max-width: 1024px) {
    .header-container {
        max-width: 100%
    }

    .header-left, .header-right {
        height: 50px
    }

    .logo {
        font-size: 22px
    }

    .nav {
        gap: 16px
    }

    .icon-btn svg {
        width: 24px;
        height: 24px
    }

    .search-box {
        min-width: 280px
    }

    .search-input {
        font-size: .85rem
    }

    .header-right {
        gap: 5px
    }
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (-webkit-min-device-pixel-ratio: 1) {
    .mobile-nav {
        margin-top: 20px
    }

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

    .header {
        position: sticky
    }

    .logo-wrap {
        max-width: 150px
    }
}

@media only screen and (min-device-width: 1024px) and (max-device-width: 1366px) and (-webkit-min-device-pixel-ratio: 2) {
    .header-container {
        max-width: 1280px
    }

    .nav {
        gap: 20px
    }
}

@media (max-width: 900px) and (orientation: landscape) {
    .mobile-dropdown-item, .mobile-nav-link, .mobile-search {
        padding: 10px 16px
    }

    .mobile-search {
        top: 48px
    }

    .mobile-login {
        padding: 8px 16px;
        min-height: 50px
    }

    .search-input-wrapper {
        padding: 6px 10px
    }

    .mobile-search .search-dropdown {
        width: calc(100% - 32px)
    }
}

@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
    .header-container {
        height: 50px
    }

    .dropdown {
        max-height: calc(100vh - 70px);
        overflow-y: auto
    }
}

@media (min-width: 768px) and (max-width: 1024px) and (hover: none) and (pointer: coarse) {
    .header-container {
        padding: 0 20px
    }

    .nav-item.active .dropdown {
        opacity: 1;
        visibility: visible;
        transform: translateY(0)
    }
}

.btn-loading, .load-more-btn-post.loading .btn-content, .load-more-btn.loading .btn-content {
    position: absolute
}

.search-input-group, .search-page-submit {
    display: flex;
    transition: .3s cubic-bezier(.4, 0, .2, 1)
}

.home-page {
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px
}

.site-hello {
    padding: 10px 0
}

.site-hello p {
    text-align: center;
    font-size: 22px;
    font-weight: 500
}

.search-section {
    margin: 20px 0
}

.search-header {
    text-align: center;
    font-size: .95rem;
    font-weight: 500
}

.search-section .search-form-wrapper {
    margin: 1.2rem auto
}

.search-form-wrapper {
    max-width: 680px;
    margin: 3rem auto
}

.archive-content .posts-list {
    margin-top: 30px
}

.search-input-group {
    position: relative;
    align-items: center;
    width: 100%;
    height: 60px;
    background-color: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: 30px;
    overflow: hidden
}

.search-input-group:focus-within {
    border-color: var(--accent-color);
    background-color: var(--bg-primary);
    transform: translateY(-1px)
}

.search-input-group .search-icon {
    position: absolute;
    left: 22px;
    width: 22px;
    height: 22px;
    color: var(--text-secondary);
    pointer-events: none;
    transition: color .3s
}

.search-input-group:focus-within .search-icon {
    color: var(--accent-color)
}

.search-page-input {
    flex: 1;
    height: 100%;
    padding: 0 60px 0 56px;
    font-size: .92rem;
    font-family: inherit;
    color: var(--text-primary);
    background: 0 0;
    border: none;
    outline: 0
}

.search-page-input::placeholder {
    color: var(--text-secondary);
    opacity: .7
}

.search-page-submit {
    position: absolute;
    right: 6px;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    padding: 0;
    color: #fff;
    background-color: var(--accent-color);
    border: none;
    border-radius: 50%;
    cursor: pointer
}

.search-page-submit:hover {
    background-color: #006d0d;
    transform: scale(1.08) rotate(90deg)
}

.search-page-submit:active {
    transform: scale(.95) rotate(90deg)
}

.load-more-btn-post:hover:not(:disabled), .load-more-btn:hover:not(:disabled), .social-link:hover {
    transform: translateY(-2px)
}

.no-posts-found {
    display: inline-block;
    grid-column: 1/-1;
    text-align: center;
    padding: 40px 20px;
    color: #666
}

input[type=search]::-webkit-search-decoration, input[type=search]::-webkit-search-results-decoration {
    display: none;
    -webkit-appearance: none
}

@media (prefers-reduced-motion: reduce) {
    .search-icon, .search-input-group, .search-page-submit {
        transition: none
    }

    .search-input-group:focus-within .search-page-submit {
        animation: none
    }
}

@media (prefers-contrast: high) {
    .search-input-group {
        border-width: 3px
    }

    .search-input-group:focus-within {
        outline: 3px solid var(--accent-color);
        outline-offset: 2px
    }
}

.topics-inline a {
    display: inline-block;
    font-weight: 500;
    font-size: .9rem;
    transition: .2s;
    line-height: 1.5;
    position: relative;
    z-index: 1;
    padding: 10px;
    margin: -7px -9px
}

.latest-posts {
    margin: 40px 0
}

.latest-posts h2 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 25px
}

.footer-menu li, .footer-title {
    margin-bottom: 12px
}

.site-footer {
    border-top: 1px solid var(--border-color);
    padding: 40px 0 30px;
    margin-top: 20px
}

.archive-page .container, .footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px
}

.footer-container {
    width: 100%;
    font-size: .92rem
}

.footer-grid {
    display: grid;
    grid-template-columns:2fr 1fr;
    gap: 40px;
    margin-bottom: 60px
}

.footer-social {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center
}

.social-link {
    display: inline-flex;
    justify-content: center;
    width: 35px;
    height: 35px;
    padding: 0;
    border-radius: 8px;
    transition: .2s
}

.social-link:hover {
    border-color: #3b82f6;
    color: var(--link-hover)
}

.social-link img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #f7f8f9;
    border-radius: 6px
}

.footer-links-wrapper {
    display: flex;
    gap: 40px;
    text-align: right;
    justify-self: end
}

.footer-title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 20px
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0
}

.footer-menu li {
    display: flex;
    align-items: center;
    gap: 8px
}

.footer-bottom-links a, .footer-menu a {
    transition: color .2s;
    font-size: .95rem
}

.footer-description {
    font-size: .95rem;
    line-height: 1.6;
    margin-bottom: 20px
}

.footer-description a {
    color: var(--accent-color)
}

.footer-menu a:hover {
    text-decoration: underline;
    color: var(--link-hover)
}

.f-short {
    padding-bottom: 10px
}

.f-info strong {
    margin-bottom: 5px;
    font-weight: 400;
    font-size: .9rem
}

.badge {
    padding: 2px 8px;
    font-size: 10px;
    font-weight: 600;
    border-radius: 12px;
    line-height: 1.4
}

.checkbox-text, .footer-bottom-links a {
    font-size: 15px;
    color: var(--text-primary)
}

.footer-bottom, .social-share-wrapper {
    border-top: 1px solid var(--border-color);
    display: flex
}

input[type=checkbox] {
    margin-top: 2px;
    width: 16px;
    height: 16px;
    cursor: pointer;
    flex-shrink: 0;
    accent-color: var(--accent-color)
}

.checkbox-text {
    line-height: 1.5;
    user-select: none;
    font-weight: 400
}

.footer-bottom {
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding-top: 30px;
    gap: 16px
}

.footer-bottom .copyright {
    flex: 0 1 auto
}

.footer-bottom .copyright p {
    margin: 0;
    font-size: .95em
}

.footer-bottom .footer-social {
    flex: 0 1 auto;
    justify-content: flex-end
}

.footer-bottom-links {
    display: flex;
    gap: 24px
}

.loading-dots {
    display: flex;
    justify-content: center;
    gap: 6px
}

.loading-dots span {
    width: 8px;
    height: 8px;
    background: #00a651;
    border-radius: 50%;
    animation: 1.4s ease-in-out infinite both dotPulse
}

.loading-dots span:first-child {
    animation-delay: -.32s
}

.loading-dots span:nth-child(2) {
    animation-delay: -.16s
}

@keyframes dotPulse {
    0%, 100%, 80% {
        transform: scale(.6);
        opacity: .5
    }
    40% {
        transform: scale(1);
        opacity: 1
    }
}

.social-share-wrapper {
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 30px 0;
    padding: 20px 0
}

.share-label img {
    width: 15px;
    height: 15px;
    margin-right: 8px;
    border: 1px solid var(--border-color)
}

.social-share-buttons {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    align-items: center
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns:1fr;
        gap: 32px
    }

    .footer-about {
        max-width: 100%
    }

    .footer-links-wrapper {
        text-align: left;
        justify-self: flex-start;
        width: 100%;
        gap: 32px;
        border-top: 1px solid var(--border-color);
        margin-top: 15px;
        padding-top: 15px
    }

    .rank-math-breadcrumb p {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: block;
        width: 100%
    }
}

.load-more-wrapper {
    margin: 10px 0;
    text-align: center
}

.load-more-btn, .load-more-btn-post {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 20px;
    background: linear-gradient(135deg, var(--accent-color) 0, #0d9668 100%);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: .85rem;
    font-weight: 600;
    transition: .3s;
    overflow: hidden;
    min-width: 130px
}

.btn-content, .btn-loading, .post-edit-link {
    position: absolute;
    color: #fff;
    font-size: .85rem
}

.load-more-btn-post:active:not(:disabled), .load-more-btn:active:not(:disabled) {
    transform: translateY(0)
}

.load-more-btn-post:disabled, .load-more-btn:disabled {
    opacity: .7;
    cursor: not-allowed
}

.btn-content, .btn-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-weight: 600;
    transition: opacity .2s;
    inset: 0
}

.btn-content, .load-more-btn-post.loading .btn-loading, .load-more-btn.loading .btn-loading {
    opacity: 1
}

.btn-loading, .load-more-btn-post.loading .btn-content, .load-more-btn.loading .btn-content {
    opacity: 0
}

.spinner {
    width: 16px;
    height: 16px;
    animation: 1s linear infinite spin
}

@keyframes spin {
    from {
        transform: rotate(0)
    }
    to {
        transform: rotate(360deg)
    }
}

.post-date {
    font-size: .85rem
}

.post-edit-link {
    right: 10px;
    top: 5px;
    background: #1a1a1a;
    padding: 2px 10px;
    text-decoration: none;
    display: none;
    font-weight: 500
}

.post-edit-link:hover {
    background: var(--accent-color);
    color: #fff
}

.archive-page {
    position: relative;
    margin: 40px 0;
    background-color: var(--bg-primary);
    color: var(--text-primary)
}

.archive-description, .no-posts, .sub-heading {
    color: var(--text-secondary)
}

.archive-header {
    text-align: left;
    margin-bottom: 20px;
    padding-bottom: 5px;
    border-bottom: 2px solid var(--border-color)
}

.pagination .page-numbers.current, .pagination li a:hover {
    background-color: var(--accent-color);
    color: #fff;
    border-color: var(--accent-color)
}

.archive-title {
    font-size: 2rem;
    font-weight: 600;
    margin: 0 0 10px
}

.archive-description {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 25px
}

.archive-content {
    margin: 0 0 30px
}

.pagination {
    margin-top: 40px
}

.pagination .page-numbers, .pagination ul {
    display: inline-flex;
    gap: 5px;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
    justify-content: center;
    font-size: .85rem
}

.pagination li .page-numbers, .pagination li a, .pagination li span {
    display: inline-block;
    padding: 5px 12px;
    width: 36px;
    height: 35px;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    text-decoration: none;
    transition: .2s;
    text-align: center;
    font-weight: 500
}

.pagination .page-numbers.current {
    font-weight: 600;
    cursor: default
}

.no-posts {
    padding: 60px 20px;
    font-size: 1.1rem
}

@media (min-width: 1024px) {
    .posts-list {
        display: grid;
        grid-template-columns:repeat(4, 1fr);
        gap: 20px;
        margin-bottom: 20px;
        transition: opacity .3s
    }

    .post-item {
        display: flex;
        flex-direction: column;
        border-radius: 8px;
        transition: transform .2s, box-shadow .2s
    }

    .post-thumbnail {
        flex-shrink: 0;
        overflow: hidden;
        border-radius: 6px;
        margin-bottom: 12px;
        max-width: 375px;
        width: 100%;
        aspect-ratio: 4/3
    }

    .post-thumbnail img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .3s;
        aspect-ratio: 4/3;
        object-position: top center;
        display: block
    }

    .post-item:hover .post-thumbnail img {
        transform: scale(1.05)
    }

    .post-content {
        flex: 1;
        display: flex;
        align-items: center;
        flex-direction: column
    }

    .idol-content .group-meta, .idol-content .idol-meta {
        display: none
    }

    .post-title {
        font-size: 1rem;
        font-weight: 500;
        margin: 0 0 10px;
        line-height: 1.4
    }

    .post-title a {
        color: var(--text-primary);
        text-decoration: none;
        transition: color .2s
    }

    .post-title a:hover {
        color: var(--link-hover)
    }

    .search-page .post-content {
        align-items: start
    }
}

@media (max-width: 1023px) {
    .posts-list {
        display: flex;
        flex-direction: column;
        gap: 15px;
        margin-bottom: 20px;
        transition: opacity .3s
    }

    .post-item {
        display: flex;
        flex-direction: row;
        border-radius: 8px;
        gap: 12px;
        padding: 10px 0;
        align-items: flex-start;
        transition: transform .2s, box-shadow .2s
    }

    .post-thumbnail {
        flex-shrink: 0;
        overflow: hidden;
        border-radius: 6px;
        width: 120px;
        height: 90px
    }

    .post-thumbnail a, .post-thumbnail img {
        width: 100%;
        height: 100%
    }

    .post-thumbnail img {
        object-fit: cover;
        transition: transform .3s;
        aspect-ratio: 4/3;
        object-position: top center;
        display: block
    }

    .post-item:hover .post-thumbnail img {
        transform: scale(1.05)
    }

    .post-content {
        flex: 1;
        min-width: 0;
        display: flex;
        flex-direction: column;
        gap: 6px
    }

    .post-title {
        font-size: .95rem;
        line-height: 1.5
    }

    .post-title a {
        color: var(--text-primary);
        text-decoration: none;
        transition: color .2s;
        font-weight: 500
    }

    .post-title a:hover {
        color: var(--accent-color)
    }

    .latest-posts h2 {
        margin-bottom: 15px
    }
}

@media (max-width: 767px) {
    .header-right > .icon-btn:nth-child(2) {
        display: flex
    }

    .search-container .search-box {
        display: none !important
    }

    body.mobile-menu-active .search-container .icon-btn {
        display: none
    }

    .logo {
        font-size: 20px;
        margin-left: -5px
    }

    .notification-dropdown {
        position: fixed;
        top: 60px;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        width: calc(100vw - 24px);
        max-width: 400px
    }

    .mobile-dropdown-item-wrapper {
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-bottom: 1px solid var(--border-color)
    }

    .mobile-dropdown-item-wrapper .mobile-dropdown-item {
        flex: 1;
        padding: 12px 16px 12px 32px;
        color: var(--text-primary);
        text-decoration: none;
        font-size: .85rem;
        display: block;
        border-bottom: none
    }

    .mobile-dropdown-item-wrapper .mobile-dropdown-item:hover {
        color: var(--accent-color)
    }

    .search-input-wrapper {
        background-color: var(--bg-primary);
        border-radius: 50px;
        padding: 8px 12px;
        position: relative;
        border: 1px solid var(--border-color);
        transition: .3s
    }

    .home-page {
        padding: 20px
    }

    .footer-container {
        position: relative
    }

    .site-footer {
        padding: 40px 0 24px;
        margin-top: 20px
    }

    .footer-grid {
        gap: 5px;
        margin-bottom: 40px
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center
    }

    .footer-bottom .copyright {
        justify-content: center;
        width: 100%
    }

    .footer-bottom-links {
        display: flex;
        align-items: center;
        justify-content: center
    }

    .footer-bottom-links a {
        position: relative;
        padding: 0;
        font-size: .85rem;
        color: var(--text-primary);
        text-decoration: none;
        transition: color .2s
    }

    .footer-bottom-links a:not(:last-child)::after {
        content: "|";
        position: absolute;
        right: -12px;
        color: #d1d5db;
        font-weight: 400
    }

    .site-hello p {
        font-size: 1rem
    }

    .archive-title {
        font-size: 1.5rem
    }

    .archive-description {
        font-size: .9rem
    }

    .archive-content {
        width: 100%;
        height: auto
    }

    .footer-description {
        font-size: .92rem
    }
}

.idol-meta .fandom-name, .more-link, .sub-item a:hover {
    color: var(--accent-color)
}

@media (min-width: 768px) and (max-width: 1023px) {
    .post-thumbnail {
        width: unset;
        height: unset
    }

    .posts-list {
        display: grid;
        grid-template-columns:repeat(3, 1fr)
    }

    .post-item {
        flex-direction: column
    }

    .post-content {
        flex: 1;
        display: flex;
        flex-direction: column
    }

    .post-title {
        font-size: 1rem;
        font-weight: 500;
        margin: 0 0 8px;
        line-height: 1.4
    }

    .post-title a {
        color: var(--text-primary);
        text-decoration: none;
        transition: color .2s
    }

    .post-title a:hover {
        color: var(--accent-color)
    }

    .popular-post-item .post-meta {
        display: block
    }
}

.rank-math-breadcrumb {
    margin: 20px 0;
    font-size: .85rem
}

.rank-math-breadcrumb a, .sub-item a {
    color: var(--text-primary);
    text-decoration: none
}

.subcategories {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    margin-bottom: 15px;
    font-size: .9rem
}

.sub-heading {
    font-size: .85rem;
    padding-right: 8px
}

.ranking-title, .ranking-title .icon {
    font-size: 20px
}

.sub-heading svg {
    margin-right: 5px
}

.subcategories .sub-item:not(:last-child)::after {
    content: "";
    display: inline-block;
    width: 1px;
    height: 10px;
    background: var(--text-secondary);
    margin: 3px 6px 0 8px;
    align-self: center
}

.sub-item a:hover {
    text-decoration: underline
}

.scroll-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    z-index: 9999;
    pointer-events: none
}

.scroll-progress-bar {
    height: 3px;
    background: linear-gradient(90deg, #008110 0, #ec4899 100%);
    width: 0%;
    transition: width .1s
}

.avatar-placeholder, .idol-avatar {
    background: linear-gradient(135deg, #667eea 0, #764ba2 100%)
}

.idol-ranking-widget {
    padding: 30px 0;
    border-radius: 12px
}

.ranking-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 35px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color)
}

.ranking-title {
    margin: 0;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px
}

.more-link {
    text-decoration: none;
    font-size: 16px;
    transition: color .3s;
    font-weight: 500
}

.idol-grid {
    display: grid;
    grid-template-columns:repeat(5, 1fr);
    gap: 20px
}

@media (max-width: 1200px) {
    .idol-grid {
        grid-template-columns:repeat(4, 1fr)
    }
}

@media (max-width: 768px) {
    body.mobile-menu-active::after {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--bg-primary);
        z-index: 9998;
        animation: .3s ease-out overlayFadeIn
    }

    body.mobile-menu-active .header {
        z-index: 10001;
        position: fixed
    }

    body.mobile-menu-active .menu-close {
        z-index: 10003
    }

    .search-box.active {
        width: 200px
    }

    .search-input-wrapper {
        margin-right: 44px
    }

    .search-dropdown {
        right: 44px
    }

    .search-form-wrapper {
        max-width: 100%;
        margin: 1.5rem auto
    }

    .search-input-group {
        height: 54px
    }

    .search-input-group .search-icon {
        left: 18px;
        width: 20px;
        height: 20px
    }

    .search-page-input {
        padding: 0 54px 0 50px
    }

    .search-page-submit {
        width: 44px;
        height: 44px
    }

    .search-page-submit svg {
        width: 18px;
        height: 18px
    }

    .idol-grid {
        grid-template-columns:repeat(3, 1fr)
    }

    .crown {
        font-size: 20px
    }

    .rank-badge {
        min-width: 28px;
        height: 28px;
        font-size: 12px
    }

    .idol-avatar {
        width: 210px;
        height: 210px
    }

    .idol-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 8px
    }
}

@media (max-width: 480px) {
    .search-input-group {
        height: 50px
    }

    .search-icon {
        left: 16px;
        width: 18px;
        height: 18px
    }

    .search-page-input {
        padding: 0 50px 0 46px
    }

    .search-page-submit {
        width: 40px;
        height: 40px;
        right: 5px
    }

    .search-page-submit svg {
        width: 16px;
        height: 16px
    }

    .logo img {
        max-width: 130px
    }

    .search-box.active {
        width: 180px
    }

    .search-input-wrapper {
        margin-right: 40px
    }

    .search-dropdown {
        right: 40px
    }

    .header-right {
        gap: 0
    }

    .site-footer {
        padding: 32px 0 20px
    }

    .footer-grid {
        margin-bottom: 32px
    }
}

.lbv-g-block {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    display: block;
    padding: 10px 0
}