/*
 * 作 者：兰特小编
 * Q  Q：3636413027
 * Email：ltit88@qq.com
 * 官  网：ltit.cc
 */

/* Global Styles */
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; background-color: #f5f5f5; color: #333; }
.container-custom { max-width: 1400px; margin: 0 auto; padding-left: 1rem; padding-right: 1rem; }

/* Responsive adjustments */
@media (max-width: 640px) {
    .container-custom { padding-left: 0.75rem; padding-right: 0.75rem; }
    .hero-bg .container-custom { padding-top: 1rem; padding-bottom: 2rem; }
}

.gradient-text { background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-image: linear-gradient(to right, #2563eb, #9333ea); }
.hover-up { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.hover-up:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.badge-vip { background: linear-gradient(135deg, #FFD700 0%, #B8860B 100%); color: white; }
.badge-new { background: linear-gradient(135deg, #10b981 0%, #059669 100%); color: white; }
.nav-item { position: relative; }
.nav-item::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px; background: #2563eb; transition: width 0.3s; }
.nav-item:hover::after { width: 100%; }
.header-nav-item { position: relative; }
.header-nav-item::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px; background: #2563eb; transition: width 0.3s; }
.header-nav-item:hover::after { width: 100%; }

/* Hero Pattern */
.hero-bg { background-image: radial-gradient(#e5e7eb 1px, transparent 1px); background-size: 20px 20px; }

/* Glass Effect */
.glass-effect {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

/* Custom Scrollbar */
.custom-scrollbar::-webkit-scrollbar { width: 4px; height: 4px; }
.custom-scrollbar::-webkit-scrollbar-track { background: transparent; }
.custom-scrollbar::-webkit-scrollbar-thumb { background-color: rgba(0, 0, 0, 0.1); border-radius: 4px; }
.custom-scrollbar:hover::-webkit-scrollbar-thumb { background-color: rgba(0, 0, 0, 0.2); }

/* Admin Sidebar Active Item Glow */
.admin-nav-active {
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.3), 0 2px 4px -1px rgba(37, 99, 235, 0.15);
}

/* User Profile */
.user-cover {
    background: linear-gradient(to right, #4f46e5, #06b6d4);
    height: 160px;
}
@media (max-width: 640px) {
    .user-cover { height: 120px; }
}

.nav-item.active {
    background-color: #eff6ff;
    color: #3b82f6;
    border-right: 3px solid #3b82f6;
}
/* 隐藏滚动条但保持功能 */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Login/Register */
.auth-card {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.9);
}

/* VIP Card */
.vip-card { transition: all 0.3s; }
.vip-card:hover { transform: translateY(-10px); box-shadow: 0 20px 30px rgba(0,0,0,0.1); }
.check-list li { margin-bottom: 0.5rem; display: flex; items-center; gap: 0.5rem; }
.check-list li i { color: #10b981; }

/* Prose Defaults */
.prose :where(img):not(:where([class~="not-prose"] *)) { border-radius: 0.75rem; border: 1px solid #eee; }
.prose :where(h1,h2,h3,h4,h5) { color: #111827; }
.prose :where(p,li) { color: #4b5563; }
.prose a { color: #2563eb; }
.prose-content video { width: 100%; max-width: 100%; height: auto; border-radius: 0.75rem; background: #000; }
.prose-content iframe { max-width: 100%; }

/* Mobile Menu Animations */
.mobile-menu-enter { transform: translateX(100%); }
.mobile-menu-enter-active { transform: translateX(0); transition: transform 0.3s ease-out; }
.mobile-menu-exit { transform: translateX(0); }
.mobile-menu-exit-active { transform: translateX(100%); transition: transform 0.3s ease-in; }

/* Mobile Grid Adjustments */
@media (max-width: 639px) {
    .grid-cols-2-mobile { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
    .aspect-mobile-video { aspect-ratio: 16 / 9; }
}

/* Animations */
@keyframes fadeInDown {
    from { opacity: 0; transform: translate3d(0, -20px, 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
}
.animate-fade-in-down { animation: fadeInDown 0.3s ease-out forwards; }

@keyframes gradientX {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.animate-gradient-x { animation: gradientX 3s ease infinite; }

/* Logo Effects */
/* Scan/Sweep Effect - Applied to container of image */
.logo-scan {
    position: relative;
    overflow: hidden;
}
/* Ensure image is BELOW the scan effect so the shine is visible */
.logo-scan img {
    position: relative;
    z-index: 10;
}
.logo-scan::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.8) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    animation: scan 3s infinite linear;
    pointer-events: none;
    z-index: 20;
}
@keyframes scan {
    0% { left: -100%; }
    30% { left: 200%; }
    100% { left: 200%; }
}

/* Color Change Effect - Applied to image itself */
.logo-color {
    animation: hueRotate 5s infinite linear;
    animation-play-state: paused;
}
.logo-color:hover {
    animation-play-state: running;
}
@keyframes hueRotate {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

/* Shortcodes */
.shortcode-box {
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 0.5rem;
    border-left-width: 4px;
    font-size: 0.95rem;
}
.shortcode-info {
    background-color: #eff6ff;
    border-color: #3b82f6;
    color: #1e40af;
}
.shortcode-success {
    background-color: #ecfdf5;
    border-color: #10b981;
    color: #065f46;
}
.shortcode-warning {
    background-color: #fffbeb;
    border-color: #f59e0b;
    color: #92400e;
}
.shortcode-error {
    background-color: #fef2f2;
    border-color: #ef4444;
    color: #b91c1c;
}
.shortcode-download {
    background-color: #f3f4f6;
    border: 1px dashed #9ca3af;
    color: #374151;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
/* Additional Shortcodes */
.shortcode-note {
    background-color: #f9fafb;
    border-color: #9ca3af;
}

/* Mobile Base Typography & Spacing */
@media (max-width: 640px) {
    body { font-size: 15px; line-height: 1.7; }
    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.25rem; }
    h3 { font-size: 1.125rem; }
    .prose-content img { max-width: 100%; height: auto; border-radius: 0.75rem; }
    .btn-collect { width: 40px; height: 40px; }
    input, textarea, select { font-size: 16px; }
    #hero-search-form { transform: none !important; }
}

/* Mobile Fixed Action Bar Safe Area */
#mobile-action-bar {
    padding-bottom: env(safe-area-inset-bottom, 0);
}

html.dark body { background-color: #0b1220; color: #e5e7eb; }
html.dark header.bg-white { background-color: #0f172a !important; border-bottom: 1px solid rgba(148,163,184,0.15); box-shadow: 0 1px 0 rgba(15,23,42,0.6) !important; }
html.dark .container-custom { color: #e5e7eb; }
html.dark .nav-item:hover::after { background: #60a5fa; }
html.dark #desktop-search-panel, html.dark #lang-panel { background-color: #0f172a !important; border-color: rgba(148,163,184,0.15) !important; }
html.dark #mobile-search-bar { background-color: #0f172a !important; border-color: rgba(148,163,184,0.15) !important; }
html.dark #mobile-menu-drawer { background-color: #0f172a !important; }
html.dark #mobile-menu-overlay { backdrop-filter: blur(6px); }
html.dark #desktop-search-input, html.dark #mobile-search-input { background-color: rgba(30,41,59,0.6) !important; border-color: rgba(148,163,184,0.2) !important; color: #e5e7eb !important; }
html.dark #desktop-search-input::placeholder, html.dark #mobile-search-input::placeholder { color: rgba(148,163,184,0.8) !important; }
html.dark #theme-toggle-btn, html.dark #lang-switch-wrap > button, html.dark #desktop-search-wrap > button { color: rgba(226,232,240,0.9) !important; }
html.dark #theme-toggle-btn:hover, html.dark #lang-switch-wrap > button:hover, html.dark #desktop-search-wrap > button:hover { background-color: rgba(30,41,59,0.6) !important; }
html.dark #lang-menu .text-gray-800 { color: #e5e7eb !important; }
html.dark #lang-menu .text-gray-700 { color: rgba(226,232,240,0.92) !important; }
html.dark #lang-menu .text-gray-400 { color: rgba(148,163,184,0.9) !important; }
html.dark #lang-menu .bg-white { background-color: #0f172a !important; }
html.dark #lang-menu button:hover { background-color: rgba(30,41,59,0.65) !important; }

@media (max-width: 768px) {
    body.has-mobile-action-bar {
        padding-bottom: calc(76px + env(safe-area-inset-bottom, 0));
    }
    body.has-mobile-action-bar #lant-float-support {
        bottom: 150px;
    }
}

/* Card aesthetic */
.card-shadow { box-shadow: 0 10px 20px -10px rgba(0,0,0,0.12); }
.rounded-2xl { border-radius: 1rem; }
.rounded-xl { border-radius: 0.75rem; }
.shortcode-tip {
    background-color: #f3e8ff;
    border-color: #9333ea;
    color: #6b21a8;
}
.shortcode-btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    margin: 0.25rem 0;
}
.shortcode-btn-blue { background-color: #2563eb; color: white; }
.shortcode-btn-blue:hover { background-color: #1d4ed8; color: white; }
.shortcode-btn-red { background-color: #dc2626; color: white; }
.shortcode-btn-red:hover { background-color: #b91c1c; color: white; }
.shortcode-btn-green { background-color: #10b981; color: white; }
.shortcode-btn-green:hover { background-color: #047857; color: white; }
.shortcode-btn-yellow { background-color: #f59e0b; color: white; }
.shortcode-btn-yellow:hover { background-color: #d97706; color: white; }
.shortcode-btn-outline { background-color: transparent; border: 1px solid #d1d5db; color: #4b5563; }
.shortcode-btn-outline:hover { background-color: #f3f4f6; color: #1f2937; }

.shortcode-collapse {
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    overflow: hidden;
    margin: 1rem 0;
}
.shortcode-collapse summary {
    background-color: #f9fafb;
    padding: 0.75rem 1rem;
    cursor: pointer;
    font-weight: 600;
    color: #374151;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.shortcode-collapse summary::-webkit-details-marker { display: none; }
.shortcode-collapse summary::after {
    content: '+';
    font-weight: bold;
    font-size: 1.25rem;
}
.shortcode-collapse[open] summary::after { content: '-'; }
.shortcode-collapse-content {
    padding: 1rem;
    border-top: 1px solid #e5e7eb;
}

.shortcode-timeline {
    border-left: 2px solid #e5e7eb;
    margin-left: 1rem;
    padding-left: 1.5rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
}
.shortcode-timeline-item {
    position: relative;
    margin-bottom: 1.5rem;
}
.shortcode-timeline-item::before {
    content: '';
    position: absolute;
    left: -1.9rem;
    top: 0.25rem;
    width: 0.75rem;
    height: 0.75rem;
    background-color: #3b82f6;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 0 0 1px #e5e7eb;
}
.shortcode-timeline-title { font-weight: bold; color: #111827; margin-bottom: 0.25rem; }

.shortcode-hide-box {
    background: repeating-linear-gradient(45deg, #f3f4f6, #f3f4f6 10px, #ffffff 10px, #ffffff 20px);
    border: 1px dashed #d1d5db;
    padding: 2rem;
    text-align: center;
    border-radius: 0.5rem;
    color: #6b7280;
    margin: 1rem 0;
}
.shortcode-login-box {
    background-color: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 0.5rem;
    padding: 1rem;
    text-align: center;
    color: #1e40af;
    margin: 1rem 0;
}

#lant-float-support {
    position: fixed;
    right: 16px;
    bottom: 96px;
    z-index: 80;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
}
#lant-float-support .lfs-btn {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: rgba(17, 24, 39, 0.92);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
    cursor: pointer;
    transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
#lant-float-support .lfs-btn:hover {
    transform: translateY(-2px);
    background: rgba(37, 99, 235, 0.95);
    box-shadow: 0 16px 30px rgba(37, 99, 235, 0.18);
}
#lant-float-support .lfs-panel {
    width: 248px;
    max-width: calc(100vw - 32px);
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
    border: 1px solid #e5e7eb;
    overflow: hidden;
}
#lant-float-support .lfs-panel.hidden {
    display: none;
}
#lant-float-support .lfs-panel-header {
    padding: 12px 14px;
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
    font-weight: 700;
    color: #111827;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
#lant-float-support .lfs-close {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}
#lant-float-support .lfs-close:hover {
    background: #f3f4f6;
    color: #111827;
}
#lant-float-support .lfs-panel-body {
    padding: 10px 12px 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
#lant-float-support .lfs-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 10px;
    border-radius: 12px;
    border: 1px solid #f3f4f6;
    background: #fff;
    cursor: pointer;
    text-decoration: none;
    color: #111827;
}
#lant-float-support .lfs-item:hover {
    background: #f9fafb;
    border-color: #e5e7eb;
}
#lant-float-support .lfs-icon {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    background: #eff6ff;
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
#lant-float-support .lfs-meta {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
#lant-float-support .lfs-label {
    font-size: 13px;
    font-weight: 800;
    line-height: 1.1;
}
#lant-float-support .lfs-value {
    font-size: 12px;
    color: #6b7280;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 170px;
}
@media (max-width: 640px) {
    #lant-float-support {
        right: 12px;
        bottom: 84px;
    }
    #lant-float-support .lfs-btn {
        width: 42px;
        height: 42px;
    }
}

.abs-center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.mb20 { margin-bottom: 20px; }
.ml6 { margin-left: 6px; }
.mr6 { margin-right: 6px; }
.mb6 { margin-bottom: 6px; }
.mt6 { margin-top: 6px; }
.opacity5 { opacity: 0.5; }
.padding-10 { padding: 10px; }
.padding-h10 { padding-left: 10px; padding-right: 10px; }
.null { background: transparent; border: 0; padding: 0; }
.radius4 { border-radius: 4px; }
.radius8 { border-radius: 8px; }
.em09 { font-size: 0.9em; }
.em12 { font-size: 1.2em; }
.text-ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.font-bold { font-weight: 700; }
.flex1 { flex: 1 1 0%; min-width: 0; }
.ml10 { margin-left: 10px; }
.ac { align-items: center; }
.jse { justify-content: space-evenly; }
.gutters-5 { gap: 10px; }
.relative-h { position: relative; }
.px12-sm { padding-left: 12px; padding-right: 12px; }
.badg { display: inline-flex; }
.main-color { color: inherit; text-decoration: none; }
.but { transition: transform 0.15s ease, background 0.15s ease; }

.muted-color { color: rgba(255, 255, 255, 0.78); }
.muted-2-color { color: rgba(255, 255, 255, 0.82); }

html[data-hero-style="new"] #hero-style-classic { display: none !important; }
html[data-hero-style="new"] #hero-style-new { display: block !important; }
html:not([data-hero-style="new"]) #hero-style-new { display: none !important; }
html:not([data-hero-style="new"]) #hero-style-classic { display: block !important; }

html[data-hero-style="new"] body.page-home header {
    background: rgba(15, 23, 42, 0.12) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: none !important;
}

html[data-hero-style="new"] body.page-home header .nav-item,
html[data-hero-style="new"] body.page-home header #nav-auth button,
html[data-hero-style="new"] body.page-home header #nav-auth a,
html[data-hero-style="new"] body.page-home header button {
    color: rgba(255, 255, 255, 0.9) !important;
}

html[data-hero-style="new"] body.page-home header .nav-item:hover,
html[data-hero-style="new"] body.page-home header #nav-auth button:hover,
html[data-hero-style="new"] body.page-home header #nav-auth a:hover,
html[data-hero-style="new"] body.page-home header button:hover {
    color: #ffffff !important;
}

html[data-hero-style="new"] body.page-home header .nav-item::after,
html[data-hero-style="new"] body.page-home header .header-nav-item::after {
    background: rgba(255, 255, 255, 0.85) !important;
}

html[data-hero-style="new"] body.page-home header #desktop-search-panel {
    background: rgba(15, 23, 42, 0.72) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

html[data-hero-style="new"] body.page-home header #desktop-search-input {
    background: rgba(255, 255, 255, 0.14) !important;
    border-color: rgba(255, 255, 255, 0.18) !important;
    color: #ffffff !important;
}

html[data-hero-style="new"] body.page-home header #desktop-search-input::placeholder {
    color: rgba(255, 255, 255, 0.72) !important;
}

html[data-hero-style="new"] body.page-home header .header-search-icon {
    color: rgba(255, 255, 255, 0.72) !important;
}

html[data-hero-style="new"] body.page-home header + div {
    height: 0 !important;
}

html[data-hero-style="new"] body.page-home .hero-bg .container-custom {
    padding-top: 0 !important;
    padding-bottom: 1.25rem !important;
}

html[data-hero-style="new"] body.page-home #hero-style-new .header-slider-container {
    --thzy-hero-object-y: 42%;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: radial-gradient(1200px 500px at 20% 0%, rgba(59, 130, 246, 0.22), transparent 55%),
        radial-gradient(900px 420px at 85% 15%, rgba(168, 85, 247, 0.18), transparent 55%),
        rgba(15, 23, 42, 0.35);
}

html[data-hero-style="new"] body.page-home #hero-style-new .card-6 {
    box-shadow: 0 28px 70px rgba(2, 6, 23, 0.45);
}

html[data-hero-style="new"] body.page-home #hero-style-new .filter-blur {
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

html[data-hero-style="new"] body.page-home #hero-style-new .new-swiper.slide-index.slide-header {
    position: relative;
    width: 100%;
    height: var(--pc-height, 550px);
    border-radius: 18px;
    overflow: hidden;
    background: #0b1220;
    border: 1px solid rgba(255, 255, 255, 0.10);
}

html[data-hero-style="new"] body.page-home #hero-style-new .new-swiper.slide-index.slide-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(900px 380px at 10% 10%, rgba(59, 130, 246, 0.35), transparent 60%),
        radial-gradient(700px 320px at 90% 20%, rgba(236, 72, 153, 0.28), transparent 60%),
        radial-gradient(700px 320px at 55% 100%, rgba(34, 211, 238, 0.18), transparent 55%);
    z-index: 2;
    pointer-events: none;
    mix-blend-mode: screen;
    opacity: 0.85;
}

html[data-hero-style="new"] body.page-home #hero-style-new .new-swiper.slide-index.slide-header::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(2, 6, 23, 0.78), rgba(2, 6, 23, 0.25), rgba(2, 6, 23, 0.05));
    z-index: 3;
    pointer-events: none;
}

@media (max-width: 768px) {
    html[data-hero-style="new"] body.page-home #hero-style-new .new-swiper.slide-index.slide-header {
        height: var(--m-height, 280px);
    }
}

html[data-hero-style="new"] body.page-home #hero-style-new .swiper-wrapper,
html[data-hero-style="new"] body.page-home #hero-style-new .swiper-slide,
html[data-hero-style="new"] body.page-home #hero-style-new .new-swiper span {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

html[data-hero-style="new"] body.page-home #hero-style-new .fit-cover {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% var(--thzy-hero-object-y);
    display: block;
    z-index: 1;
    transform: scale(1.02);
    filter: saturate(1.04) contrast(1.03);
}

html[data-hero-style="new"] body.page-home #hero-style-new .header-slider-search {
    width: min(860px, calc(100% - 32px));
    text-align: center;
    z-index: 5;
    transform: translate(-50%, -54%);
}

html[data-hero-style="new"] body.page-home #hero-style-new .big_title {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 900;
    letter-spacing: 0.2px;
    text-shadow: 0 18px 40px rgba(2, 6, 23, 0.55);
    font-size: clamp(20px, 3.2vw, 36px);
    line-height: 1.15;
    color: rgba(255, 255, 255, 0.98);
}

html[data-hero-style="new"] body.page-home #hero-style-new .thzy-hero-hot-icon {
    width: 24px;
    height: 24px;
    transform: translateY(1px);
    filter: drop-shadow(0 12px 22px rgba(0,0,0,0.35));
}

html[data-hero-style="new"] body.page-home #hero-style-new #thzy-hero-subtitle {
    margin: 10px auto 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(2, 6, 23, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 14px 34px rgba(2, 6, 23, 0.55);
    font-weight: 700;
    font-size: clamp(13px, 2.0vw, 18px);
}

html[data-hero-style="new"] body.page-home #hero-style-new .search-input {
    margin-top: 18px;
}

html[data-hero-style="new"] body.page-home #hero-style-new .search-form {
    max-width: 720px;
    margin: 0 auto;
}

html[data-hero-style="new"] body.page-home #hero-style-new .line-form {
    display: flex;
    align-items: stretch;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 24px 60px rgba(2, 6, 23, 0.28);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

html[data-hero-style="new"] body.page-home #hero-style-new .line-form:focus-within {
    box-shadow: 0 30px 70px rgba(2, 6, 23, 0.38);
    border-color: rgba(59, 130, 246, 0.45);
}

html[data-hero-style="new"] body.page-home #hero-style-new .search-drop {
    display: flex;
    align-items: center;
    border-right: 1px solid rgba(229, 231, 235, 0.95);
    color: #111827;
    background: rgba(255, 255, 255, 0.26);
    gap: 6px;
}

html[data-hero-style="new"] body.page-home #hero-style-new .search-drop select {
    height: 54px;
    border: 0;
    outline: none;
    background: transparent;
    font-weight: 800;
    color: #111827;
    appearance: none;
    -webkit-appearance: none;
    padding-right: 6px;
}

html[data-hero-style="new"] body.page-home #hero-style-new .search-drop .fa-sort {
    pointer-events: none;
    margin-left: 0 !important;
}

html[data-hero-style="new"] body.page-home #hero-style-new .search-input-text {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
}

html[data-hero-style="new"] body.page-home #hero-style-new .line-form-input {
    width: 100%;
    height: 54px;
    border: 0;
    outline: none;
    background: transparent;
    color: #111827;
    font-size: 15px;
    padding: 0 56px 0 14px;
}

html[data-hero-style="new"] body.page-home #hero-style-new .line-form-line {
    display: none;
}

html[data-hero-style="new"] body.page-home #hero-style-new .scale-placeholder {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 15px;
    color: #9ca3af;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease, filter 0.18s ease;
    filter: blur(0);
}

html[data-hero-style="new"] body.page-home #hero-style-new .line-form-input:focus ~ .scale-placeholder,
html[data-hero-style="new"] body.page-home #hero-style-new .line-form-input:not(:placeholder-shown) ~ .scale-placeholder {
    opacity: 0;
    transform: translateY(-12px);
    filter: blur(2px);
}

html[data-hero-style="new"] body.page-home #hero-style-new .abs-right {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(17, 24, 39, 0.72);
}

html[data-hero-style="new"] body.page-home #hero-style-new .abs-right .null {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    color: rgba(17, 24, 39, 0.75);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

html[data-hero-style="new"] body.page-home #hero-style-new .abs-right .null:hover {
    background: rgba(17, 24, 39, 0.06);
}

html[data-hero-style="new"] body.page-home #hero-style-new .search-keywords {
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

html[data-hero-style="new"] body.page-home #hero-style-new .search-keywords .muted-color {
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
    margin-bottom: 8px;
}

html[data-hero-style="new"] body.page-home #hero-style-new .search-keywords > .muted-color {
    margin: 0;
    white-space: nowrap;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    line-height: 1;
    transform: translateY(-0.08em);
}

html[data-hero-style="new"] body.page-home #hero-style-new #thzy-hot-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    transform: none;
}

html[data-hero-style="new"] body.page-home #hero-style-new .search_keywords {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 10px 24px rgba(2, 6, 23, 0.25);
}

html[data-hero-style="new"] body.page-home #hero-style-new .search_keywords:hover {
    background: rgba(255, 255, 255, 0.16);
    transform: translateY(-1px);
}

html[data-hero-style="new"] body.page-home #hero-style-new .header-slider-card {
    margin-top: -34px;
    position: relative;
    z-index: 6;
    padding: 0 10px 12px;
}

html[data-hero-style="new"] body.page-home #hero-style-new .zib-widget {
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.93);
    border: 1px solid rgba(255, 255, 255, 0.65);
    box-shadow: 0 26px 60px rgba(2, 6, 23, 0.18);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

html[data-hero-style="new"] body.page-home #hero-style-new #thzy-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}

@media (max-width: 1024px) {
    html[data-hero-style="new"] body.page-home #hero-style-new #thzy-card-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 640px) {
    html[data-hero-style="new"] body.page-home #hero-style-new #thzy-card-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 10px;
    }
}

html[data-hero-style="new"] body.page-home #hero-style-new #thzy-card-grid > .relative-h > a,
html[data-hero-style="new"] body.page-home #hero-style-new #thzy-card-grid > .relative-h > div {
    display: block;
    width: 100%;
    height: 100%;
}

html[data-hero-style="new"] body.page-home #hero-style-new .icon-cover-card {
    width: 100%;
    background: linear-gradient(180deg, #ffffff, #fbfdff);
    border: 1px solid rgba(226, 232, 240, 0.85);
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(2, 6, 23, 0.08);
    text-decoration: none;
    color: #111827;
    min-width: 0;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

html[data-hero-style="new"] body.page-home #hero-style-new .icon-cover-card.flex.ac {
    gap: 6px;
}

html[data-hero-style="new"] body.page-home #hero-style-new .icon-cover-desc {
    margin-left: 0;
}

html[data-hero-style="new"] body.page-home #hero-style-new .icon-cover-desc.ml10 {
    margin-left: 0;
}

html[data-hero-style="new"] body.page-home #hero-style-new .icon-cover-desc .muted-color.mt6 {
    margin-top: 4px;
}

html[data-hero-style="new"] body.page-home #hero-style-new .icon-cover-desc .em12 {
    color: rgba(15, 23, 42, 0.98);
}

html[data-hero-style="new"] body.page-home #hero-style-new .icon-cover-desc .muted-color {
    color: rgba(15, 23, 42, 0.62);
    font-size: 13px;
    line-height: 1.3;
}

html[data-hero-style="new"] body.page-home #hero-style-new .icon-cover-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 50px rgba(2, 6, 23, 0.12);
    border-color: rgba(59, 130, 246, 0.35);
}

html[data-hero-style="new"] body.page-home #hero-style-new .icon-cover-icon {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 16px 32px rgba(2, 6, 23, 0.18);
}

@media (max-width: 640px) {
    html[data-hero-style="new"] body.page-home #hero-style-new .zib-widget {
        padding: 10px;
    }

    html[data-hero-style="new"] body.page-home #hero-style-new .icon-cover-card {
        border-radius: 14px;
    }

    html[data-hero-style="new"] body.page-home #hero-style-new .icon-cover-card.padding-10,
    html[data-hero-style="new"] body.page-home #hero-style-new .icon-cover-card .padding-10,
    html[data-hero-style="new"] body.page-home #hero-style-new .icon-cover-card.flex.ac.padding-10 {
        padding: 10px;
    }

    html[data-hero-style="new"] body.page-home #hero-style-new .icon-cover-icon {
        width: 38px;
        height: 38px;
        box-shadow: 0 12px 24px rgba(2, 6, 23, 0.16);
    }

    html[data-hero-style="new"] body.page-home #hero-style-new .icon-cover-icon i {
        font-size: 18px;
    }

    html[data-hero-style="new"] body.page-home #hero-style-new .icon-cover-desc {
        margin-left: 8px;
    }

    html[data-hero-style="new"] body.page-home #hero-style-new .icon-cover-desc .em12 {
        font-size: 12px;
        line-height: 1.15;
    }

    html[data-hero-style="new"] body.page-home #hero-style-new .icon-cover-desc .muted-color {
        display: block;
        font-size: 11px;
        line-height: 1.2;
        margin-top: 3px;
        color: rgba(15, 23, 42, 0.58);
    }

    html[data-hero-style="new"] body.page-home #hero-style-new badge {
        padding: 0 6px;
        height: 16px;
        font-size: 10px;
    }
}

html[data-hero-style="new"] body.page-home #hero-style-new .cir { border-radius: 999px; }

html[data-hero-style="new"] body.page-home #hero-style-new .c-yellow { background: #f59e0b; }
html[data-hero-style="new"] body.page-home #hero-style-new .c-blue-2 { background: #3b82f6; }
html[data-hero-style="new"] body.page-home #hero-style-new .c-purple { background: #8b5cf6; }
html[data-hero-style="new"] body.page-home #hero-style-new .jb-pink { background: linear-gradient(135deg, #ec4899, #f97316); }
html[data-hero-style="new"] body.page-home #hero-style-new .jb-cyan { background: linear-gradient(135deg, #06b6d4, #3b82f6); }

html[data-hero-style="new"] body.page-home #hero-style-new badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 8px;
    height: 18px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
    line-height: 18px;
}

html[data-hero-style="new"] body.page-home #hero-style-new .jb-yellow {
    color: #111827;
    background: linear-gradient(135deg, #fde047, #f59e0b);
}

html[data-hero-style="new"] body.page-home #hero-style-new .jb-blue {
    color: #ffffff;
    background: linear-gradient(135deg, #60a5fa, #2563eb);
}
