body.home-ykt-shell #sidebar-toggle-btn {
    display: none !important;
}

@media (min-width: 769px) {
    body.home-ykt-shell .desktop-only.ykt-side-desktop {
        display: flex !important;
        flex-direction: column;
    }
}

body.home-ykt-shell .sidebar {
    left: 10px !important;
    width: 224px;
    box-sizing: border-box;
    background: transparent !important;
    border-right: none !important;
    box-shadow: none !important;
    padding: 12px 0 12px 12px;
}

body.home-ykt-shell.has-banner .sidebar {
    top: 108px;
}

body.home-ykt-shell .ykt-side-desktop {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 0;
}

body.home-ykt-shell .ykt-side-nav {
    background: #f4f7f9;
    border-radius: 12px;
    padding: 6px 4px;
    border: 1px solid #eef0f3;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
}

body.home-ykt-shell .ykt-side-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    margin: 2px 4px;
    border-radius: 8px;
    font-size: 14px;
    color: #222;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}

body.home-ykt-shell .ykt-side-item i {
    font-size: 18px;
    color: #6b7280;
    flex-shrink: 0;
}

body.home-ykt-shell .ykt-side-item:hover {
    background: #e8ebef;
    color: #111;
}

body.home-ykt-shell .ykt-side-item--active {
    background: #dfebff;
    font-weight: 700;
    color: #0341fb;
}

body.home-ykt-shell .ykt-side-item--active i {
    color: #2074ff;
}

body.home-ykt-shell .ykt-side-group {
    margin: 2px 4px;
}

body.home-ykt-shell .ykt-side-group-head {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: none;
    background: transparent;
    border-radius: 8px;
    font-size: 14px;
    color: #222;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    transition: background 0.15s;
}

body.home-ykt-shell .ykt-side-group-head:hover {
    background: #e8ebef;
}

body.home-ykt-shell .ykt-side-group-head i:first-of-type {
    font-size: 18px;
    color: #6b7280;
}

body.home-ykt-shell .ykt-side-chevron {
    margin-left: auto;
    font-size: 16px;
    color: #9ca3af;
    transition: transform 0.2s;
}

body.home-ykt-shell .ykt-side-group:not(.is-open) .ykt-side-group-body {
    display: none;
}

body.home-ykt-shell .ykt-side-group.is-open .ykt-side-chevron {
    transform: rotate(180deg);
}

body.home-ykt-shell .ykt-side-group-body {
    padding: 4px 0 8px 8px;
}

body.home-ykt-shell .ykt-side-group-body a {
    display: block;
    padding: 8px 12px 8px 28px;
    font-size: 13px;
    color: #4b5563;
    text-decoration: none;
    border-radius: 6px;
}

body.home-ykt-shell .ykt-side-group-body a:hover {
    background: #fff;
    color: #2074ff;
}

body.home-ykt-shell .ykt-side-app-banner {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: linear-gradient(135deg, #e8f1ff 0%, #f0e8ff 100%);
    border: 1px solid #d5d7f9;
    border-radius: 12px;
    font-size: 12px;
    line-height: 1.4;
    color: #374151;
    text-decoration: none;
}

body.home-ykt-shell .ykt-side-app-banner i {
    font-size: 20px;
    color: #2074ff;
    flex-shrink: 0;
}

body.home-ykt-shell .main-content {
    margin-left: calc(10px + 224px + 10px) !important;
    margin-right: 0 !important;
    max-width: none !important;
    width: calc(100% - 10px - 224px - 10px) !important;
    box-sizing: border-box;
    padding: 20px 24px 48px 10px !important;
    margin-top: var(--navbar-height) !important;
}

body.home-ykt-shell.has-banner .main-content {
    margin-top: 108px !important;
}

body.home-ykt-shell .main-content::before {
    display: none !important;
}

#navbar-full.home-ykt-mode {
    position: relative;
    z-index: 10002;
}

body.home-ykt-shell #navbar-full .navbar {
    height: auto !important;
    min-height: 56px;
    max-height: none;
    overflow: visible;
    align-items: center;
    flex-wrap: nowrap !important;
    gap: 12px;
    padding: 8px 12px 8px 8px !important;
    box-sizing: border-box;
}

body.home-ykt-shell #navbar-full .logo-link {
    height: auto !important;
    min-height: 0;
    align-self: center;
}

body.home-ykt-shell #navbar-full .logo-image {
    max-height: 40px;
}

#navbar-full.home-ykt-mode .navbar {
    background: #fff !important;
    border-bottom: 1px solid #e8ebef !important;
    box-shadow: none !important;
}

#navbar-full.home-ykt-mode .navbar > div:first-child {
    flex: 1 1 0%;
    min-width: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

#navbar-full.home-ykt-mode .navbar > div:first-child::-webkit-scrollbar {
    height: 4px;
}

#navbar-full.home-ykt-mode .navbar > div:first-child::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 4px;
}

#navbar-full.home-ykt-mode .logo-link,
#navbar-full.home-ykt-mode .logo-container {
    flex-shrink: 0;
}

#navbar-full.home-ykt-mode .navbar-feature-menus {
    display: flex !important;
    flex-direction: row;
    flex-wrap: nowrap !important;
    align-items: center;
    justify-content: flex-start;
    flex: 1 1 auto;
    min-width: 0;
    margin-left: 8px !important;
    gap: 2px;
    row-gap: 0;
}

#navbar-full.home-ykt-mode .navbar-feature-menus > .relative > button,
#navbar-full.home-ykt-mode .navbar-feature-menus button[id$="-menu-btn"] {
    padding: 6px 8px !important;
    font-size: 13px !important;
    white-space: nowrap;
}

#navbar-full.home-ykt-mode .navbar > div:last-child {
    flex-shrink: 0;
    display: flex !important;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
}

#navbar-full.home-ykt-mode .navbar > div:last-child > :not([hidden]) ~ :not([hidden]) {
    margin-left: 0 !important;
}

#navbar-full.home-ykt-mode .navbar-feature-menus > :not([hidden]) ~ :not([hidden]) {
    margin-left: 0 !important;
}

#navbar-full.home-ykt-mode .yh-ykt-util-row.yh-ykt-home-only {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 8px 10px;
}

#navbar-full.home-ykt-mode a.yh-ykt-promo-cashback {
    display: inline-flex !important;
    align-items: center;
}

#navbar-full.home-ykt-mode a.yh-ykt-toplink.yh-ykt-home-only {
    display: inline-flex !important;
    align-items: center;
}

#navbar-full.home-ykt-mode .yh-ykt-slogan.yh-ykt-home-only {
    display: none !important;
    flex-shrink: 0;
    font-size: 13px;
    color: #6b7280;
    white-space: nowrap;
    align-items: center;
    padding-left: 14px;
    margin-left: 6px;
    border-left: 1px solid #e5e7eb;
    line-height: 1.2;
    max-width: 260px;
}

@media (min-width: 900px) {
    #navbar-full.home-ykt-mode .yh-ykt-slogan.yh-ykt-home-only {
        display: inline-flex !important;
    }
}

#navbar-full.home-ykt-mode .yh-ykt-toplink {
    color: #374151;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 8px;
    white-space: nowrap;
}

#navbar-full.home-ykt-mode .yh-ykt-toplink:hover {
    color: #111;
    background: #f3f4f6;
}

#navbar-full.home-ykt-mode .yh-ykt-util-link {
    color: #4b5563;
    text-decoration: none;
    align-items: center;
}

#navbar-full.home-ykt-mode .yh-ykt-util-link:hover {
    color: #2074ff;
}

#navbar-full.home-ykt-mode .yh-ykt-login-btn {
    background: #2074ff !important;
    border-radius: 10px !important;
    min-height: 40px;
}

#navbar-full.home-ykt-mode .yh-ykt-login-btn:hover {
    background: #0341fb !important;
    opacity: 1 !important;
}

#navbar-full.home-ykt-mode .yh-ykt-dedupe-when-home {
    display: none !important;
}

#navbar-full.home-ykt-mode .navbar a:hover,
#navbar-full.home-ykt-mode .navbar button:hover {
    color: inherit;
}

#navbar-full.home-ykt-mode .navbar .navbar-feature-menus > button:hover,
#navbar-full.home-ykt-mode .navbar .navbar-feature-menus .relative > button:hover {
    color: #111;
}

@media (max-width: 1100px) {
    #navbar-full.home-ykt-mode .yh-ykt-util-text {
        display: none;
    }
}

@media (max-width: 768px) {
    body.home-ykt-shell #navbar-full .navbar {
        flex-wrap: wrap !important;
        row-gap: 8px;
    }

    #navbar-full.home-ykt-mode .navbar > div:first-child {
        flex-wrap: wrap;
        overflow-x: visible;
        flex: 1 1 100%;
    }

    #navbar-full.home-ykt-mode .navbar-feature-menus {
        flex-wrap: wrap !important;
    }

    body.home-ykt-shell .ykt-side-desktop {
        display: none !important;
    }

    body.home-ykt-shell .sidebar {
        left: 0 !important;
        width: min(100vw, 300px);
        padding: 0;
        background: #fff !important;
    }

    body.home-ykt-shell .main-content {
        margin-left: 0 !important;
        margin-right: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
        padding: 16px 14px 32px !important;
    }

    #navbar-full.home-ykt-mode .yh-ykt-slogan {
        display: none !important;
    }

    #navbar-full.home-ykt-mode .yh-ykt-home-only.yh-ykt-toplink {
        display: none !important;
    }
}

body.home-ykt-shell .home-hero-wrap {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box;
}

body.home-ykt-shell .home-hero-split {
    display: grid;
    grid-template-columns: minmax(0, min(870px, 100%)) minmax(260px, 1fr);
    column-gap: 10px;
    row-gap: 16px;
    align-items: stretch;
    width: 100%;
}

@media (max-width: 1100px) {
    body.home-ykt-shell .home-hero-split {
        grid-template-columns: 1fr;
    }

    body.home-ykt-shell .home-hero-aside-col {
        height: auto;
    }

    body.home-ykt-shell .home-hero-imgproc-col {
        flex: none;
        min-height: 120px;
    }
}

body.home-ykt-shell .home-hero-dialog-col {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

body.home-ykt-shell .home-hero-panel.home-hero-panel--ykt-dialog {
    position: relative !important;
    width: 870px;
    max-width: 100%;
    height: 200px;
    min-height: 200px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    margin-left: 0 !important;
    margin-right: auto !important;
    border: 2px dashed #c7d2fe !important;
    background: #f8fafc !important;
    border-radius: 24px !important;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06) !important;
    overflow: hidden !important;
    align-self: flex-start;
}

body.home-ykt-shell .home-hero-panel.home-hero-panel--ykt-dialog .home-hero-attachments {
    flex-shrink: 0;
}

body.home-ykt-shell .home-hero-panel.home-hero-panel--ykt-dialog .home-hero-textarea {
    flex: 1 1 0;
    min-height: 0 !important;
}

body.home-ykt-shell .home-hero-panel.home-hero-panel--ykt-dialog .home-hero-toolbar {
    flex-shrink: 0;
    margin-top: auto;
}

body.home-ykt-shell .home-hero-agent-badge {
    position: absolute;
    top: 10px;
    right: 12px;
    z-index: 3;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 3px 10px;
    border-radius: 6px;
    color: #fff;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    box-shadow: 0 1px 4px rgba(99, 102, 241, 0.35);
    pointer-events: none;
}

body.home-ykt-shell .home-hero-aside-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
    width: 100%;
    align-self: stretch;
    box-sizing: border-box;
    height: 100%;
    min-height: 0;
}

body.home-ykt-shell .home-hero-imgproc-col {
    background: #fff;
    border: 1px solid #e8ebef;
    border-radius: 14px;
    padding: 18px 16px 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    min-height: 0;
    min-width: 0;
    width: 100%;
    max-width: none;
    align-self: stretch;
    box-sizing: border-box;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

body.home-ykt-shell .home-hero-imgproc-title {
    font-size: 15px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 12px;
    line-height: 1.3;
    flex-shrink: 0;
}

body.home-ykt-shell .home-hero-imgproc-body {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 14px;
    min-width: 0;
    flex: 0 0 auto;
}

body.home-ykt-shell .home-hero-imgproc-feature {
    flex: 0 0 96px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
    min-width: 0;
}

body.home-ykt-shell .home-hero-imgproc-feature-thumb {
    width: 96px;
    height: 96px;
    border-radius: 10px;
    overflow: hidden;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

body.home-ykt-shell .home-hero-imgproc-feature-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

body.home-ykt-shell .home-hero-imgproc-feature-label {
    margin-top: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    text-align: center;
    line-height: 1.25;
    max-width: 96px;
}

body.home-ykt-shell .home-hero-imgproc-feature:hover .home-hero-imgproc-feature-label {
    color: #2074ff;
}

body.home-ykt-shell .home-hero-imgproc-grid {
    flex: 1;
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px 12px;
    align-content: start;
}

body.home-ykt-shell .home-hero-imgproc-cell {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    min-width: 0;
    padding: 8px 10px;
    font-size: 13px;
    line-height: 1.25;
    font-weight: 500;
    color: #374151;
    background: #fff;
    border: 1px solid #eaecef;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    transition: border-color 0.15s, background 0.15s, color 0.15s, box-shadow 0.15s;
}

body.home-ykt-shell .home-hero-imgproc-cell i {
    flex-shrink: 0;
    font-size: 16px;
    color: #6b7280;
    line-height: 1;
}

body.home-ykt-shell .home-hero-imgproc-cell span {
    min-width: 0;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.home-ykt-shell .home-hero-imgproc-cell:hover {
    border-color: #c7d2fe;
    background: #f8fafc;
    color: #2074ff;
    box-shadow: 0 2px 6px rgba(32, 116, 255, 0.08);
}

body.home-ykt-shell .home-hero-imgproc-cell:hover i {
    color: #2074ff;
}

body.home-ykt-shell .ykt-ai-tools-section {
    margin-top: 20px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

body.home-ykt-shell .ykt-ai-tools-shell {
    background: #fff;
    border: 1px solid #eef0f3;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
    overflow: hidden;
    box-sizing: border-box;
}

body.home-ykt-shell .ykt-ai-tools-tabs {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 0 40px;
    padding: 0 28px;
    border-bottom: 1px solid #eef0f3;
    background: #fff;
}

body.home-ykt-shell .ykt-ai-tools-tab {
    margin: 0;
    padding: 18px 0 16px;
    border: none;
    background: transparent;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.25;
    color: #86909c;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
}

body.home-ykt-shell .ykt-ai-tools-tab:hover {
    color: #4e5969;
}

body.home-ykt-shell .ykt-ai-tools-tab.is-active {
    color: #2074ff;
    font-weight: 600;
}

body.home-ykt-shell .ykt-ai-tools-tab.is-active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: #2074ff;
    border-radius: 1px 1px 0 0;
}

body.home-ykt-shell .ykt-ai-tools-panels {
    padding: 24px 28px 28px;
    box-sizing: border-box;
}

body.home-ykt-shell .ykt-ai-tools-panel[hidden] {
    display: none !important;
}

body.home-ykt-shell .ykt-ai-tool-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, 180px);
    gap: 16px;
    justify-content: start;
    min-width: 0;
    width: 100%;
}

body.home-ykt-shell .ykt-ai-tool-card {
    display: flex;
    flex-direction: column;
    width: 180px;
    max-width: 100%;
    height: 165px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #f0f2f5;
    background: #fff;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
    text-decoration: none;
    color: inherit;
    box-sizing: border-box;
    transition: box-shadow 0.22s ease, transform 0.22s ease, border-color 0.2s ease;
}

body.home-ykt-shell .ykt-ai-tool-card:hover {
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.1);
    transform: translateY(-2px);
    border-color: #e8ecf0;
}

body.home-ykt-shell .ykt-ai-tool-card-cover {
    position: relative;
    flex: 1 1 0;
    min-height: 0;
    background: #f2f3f5;
    overflow: hidden;
}

body.home-ykt-shell .ykt-ai-tool-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

body.home-ykt-shell .ykt-ai-tool-card-hot {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 2;
    padding: 2px 7px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.04em;
    color: #fff;
    background: linear-gradient(135deg, #ff5b5b 0%, #f53f3f 100%);
    border-radius: 4px;
    box-shadow: 0 1px 4px rgba(245, 63, 63, 0.35);
    pointer-events: none;
}

body.home-ykt-shell .ykt-ai-tool-card-meta {
    flex-shrink: 0;
    padding: 10px 12px 11px;
    background: #fff;
    border-top: 1px solid #f2f3f5;
    text-align: left;
}

body.home-ykt-shell .ykt-ai-tool-card-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    color: #1d2129;
    letter-spacing: -0.01em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.home-ykt-shell .ykt-ai-tool-card-desc {
    margin-top: 4px;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.4;
    color: #86909c;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
}

body.home-ykt-shell .ykt-ai-tools-history-hint {
    margin: 8px 0 0;
    font-size: 14px;
    line-height: 1.6;
    color: #86909c;
}

body.home-ykt-shell .ykt-ai-tools-history-hint a {
    color: #2074ff;
    text-decoration: none;
}

body.home-ykt-shell .ykt-ai-tools-history-hint a:hover {
    text-decoration: underline;
}

@media (max-width: 1100px) {
    body.home-ykt-shell .ykt-ai-tool-grid {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    body.home-ykt-shell .ykt-ai-tools-panels {
        padding: 18px 16px 22px;
    }

    body.home-ykt-shell .ykt-ai-tools-tabs {
        padding: 0 16px;
        gap: 0 24px;
    }

    body.home-ykt-shell .ykt-ai-tool-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    body.home-ykt-shell .ykt-ai-tool-card {
        width: 100%;
        height: 165px;
    }
}
