/* ========================================
   :root — Design Tokens (主题变量)
======================================== */

:root {
    --sidebar-width: 220px;
    --main-bg: #f4f6f9;
    --text-color: #191919;
    --border-color: #e5e5e5;
    --focus-bg: #e4e6e9;
    --card-shadow: 0 0 5px 3px rgba(0, 0, 0, 0.01);
    --button-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --hover-bg: #fff;
    --primary-color: rgb(90, 77, 248);
    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-simple: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    --font-title: "Segoe UI", sans-serif;
}

::-webkit-input-placeholder {
    font-weight: 400;
    color: #77778a;
    font-size: 14px;
}

/* ========================================
   1. RESET & BASE STYLES
   基础重置与全局样式
======================================== */

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-family);
    background-color: var(--main-bg);
    color: var(--text-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========================================
   2. LAYOUT — 容器布局
   主体左右结构（桌面） / 上下结构（移动端）
======================================== */

.container {
    display: flex;
    min-height: 100vh;
    max-width: 1600px;
    margin: 0 auto;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    position: relative;
}

/* ========================================
   3. ASIDE — 左侧导航栏
======================================== */

.aside-content {
    width: var(--sidebar-width);
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    z-index: 10;
    padding: 20px 12px;
}

/* LOGO 区域 */
.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 8px;
    outline: none;
}

.logo-image {
    width: 28px;
    height: 28px;
    object-fit: cover;
}

.logo-text {
    width: 80px;
    height: 20px;
}

/* 导航菜单 */
.nav-menu {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

/* 导航项 */
.nav-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 15px;
    font-weight: 400;
    color: #000;
    white-space: nowrap;
    width: 196px;
    height: 40px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-family: var(--font-simple);
}

.nav-item .nav-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-item .nav-icon svg {
    fill: currentColor;
    transition: fill 0.2s;
}

.nav-item:hover,
.nav-item.active {
    background-color: var(--hover-bg);
    color: var(--primary-color);
    border-color: rgba(90, 77, 248, 0.1);
}

.nav-item:hover svg,
.nav-item.active svg {
    fill: var(--primary-color);
}

/* 快捷键提示 */
.nav-item .nav-shortcut {
    margin-left: auto;
    display: flex;
}

.nav-item .nav-shortcut kbd {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 18px;
    padding: 0 5px;
    margin-left: 6px;
    font-size: 13px;
    color: #949494;
    font-weight: 400;
    border: 1px solid #dfdfdf;
    border-radius: 4px;
    font-family: var(--font-family);
}

.nav-item:hover .nav-shortcut kbd,
.nav-item.active .nav-shortcut kbd {
    color: var(--primary-color);
    border-color: rgba(90, 77, 248, 0.2);
}

.nav-item .nav-more {
    width: 16px;
    height: 16px;
    margin-left: auto;
    margin-top: -2px;
    transition: transform 0.3s ease;
}

.nav-item .nav-more svg {
    fill: #9196a1;
}

.nav-item:hover .nav-more svg {
    fill: var(--primary-color);
}

.nav-more.rotate {
    transform: rotate(-90deg);
}

/* 导航栏底部 */
.sidebar-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: var(--sidebar-width);
    padding: 16px 0 20px 15px;
    background: linear-gradient(to top, #f4f6f9 0%, #f4f6f9 60%, transparent 100%);
}

.sidebar-footer .user-info {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0 12px;
    cursor: pointer;
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    user-select: none;
}

.user-nickname {
    height: 36px;
    line-height: 36px;
    width: 120px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 500;
    color: rgb(25, 27, 31);
}

.user-details {
    position: absolute;
    left: 12px;
    bottom: 65px;
    display: none;
    z-index: 300;
    border-radius: 12px;
    padding: 8px;
    background-color: rgb(255, 255, 255);
    border-width: 1px;
    border-color: rgb(235, 236, 237);
    opacity: 1;
    box-shadow: rgba(88, 92, 103, 0.08) 0 0 24px 0;
    width: 196px;
    user-select: none;

}

.user-details a {
    border-radius: 8px;
    padding: 8px 12px;
    width: 100%;
    height: 37px;
    display: flex;
    align-items: center;
    justify-content: flex-start;;
}

.user-details a.logout {
    color: rgb(217, 83, 80);
}

.user-details a:hover {
    background-color: #f8f8fa;
}

/* ========================================
   4. MAIN CONTENT — 右侧主内容区
======================================== */

.main-content {
    flex: 1;
    margin: 13px 13px 13px 0;
    padding: 20px;
    background: white;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    scrollbar-width: thin;
    scrollbar-color: rgb(196, 199, 206) transparent;
}

/* 背景图装饰 */
.tools-attachment-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    max-height: 100%;
    aspect-ratio: 1.68182 / 1;
    background-image: url("../images/bg.png");
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 0;
}

/* 搜索框容器 */
.search-container {
    position: relative;
    max-width: 100%;
    margin-bottom: 24px;
    z-index: 1;
}

.search-show {
    display: block !important;
}

.search-input {
    width: 100%;
    padding: 10px 40px 10px 38px;
    border-radius: 6px;
    font-size: 15px;
    outline: none;
    background-color: var(--main-bg);
    border: solid 1px var(--main-bg);
    background-image: url('../images/icon-search.png');
    background-position: 5px center;
    background-repeat: no-repeat;
    background-size: 33px;
    transition: background-color 0.2s;
}

.search-input:focus {
    border-color: #5a4df8;
    background-color: #f8f7fd;
    box-shadow: inset 0 1px 4px rgba(90, 77, 248, 0.2), 0 0 0 2px rgba(90, 77, 248, 0.1);
}

/* 清除按钮 */
.search-clear {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #999;
    font-size: 16px;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s, color 0.2s;
}

.search-input:not(:placeholder-shown) ~ .search-clear {
    opacity: 1;
    pointer-events: auto;
}

.search-clear:hover {
    color: #333;
}

/* ========================================
   6. ADVERTISEMENT MODULE - 广告模块
======================================== */

.tools-ad {
    margin: 1.2em auto;
    text-align: center;
    font-size: 15px;
    color: #777;
    font-family: var(--font-simple);
}

.ad-container {
    position: relative;
    width: 100%;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.ad-badge {
    position: absolute;
    bottom: 0;
    right: -114px;
    background-color: rgb(82 82 82 / 50%);
    border-radius: 4px 0 0 0;
    color: #d5d5d5;
    padding: 0 6px;
    font-size: 12px;
    z-index: 1;
    transform: scale(0.9);
    transition: right 0.3s ease;
    pointer-events: none;
}

.ad-container:hover .ad-badge {
    right: -8px;
}

.ad-container img {
    width: 100%;
}

/* ========================================
   7. FOOTER — 底部信息栏
======================================== */
.main-footer {
    border-top: 1px solid #ebecef;
    width: 100%;
    margin: 20px auto 0;
    padding-top: 30px;
    padding-bottom: 10px;
    font-size: 14px;
    font-family: var(--font-simple);
}

.footer-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0 2em;
    margin-bottom: 20px;
    max-width: 100%;
    box-sizing: border-box;
}

.footer-nav a {
    font-size: 14px;
    font-family: var(--font-simple);
    color: #555;
    transition: color 0.2s;
}

.footer-nav a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.footer-copyright {
    text-align: center;
    margin-top: 15px;
    color: #555;
    font-size: 13.5px;
}

.footer-copyright a {
    font-size: 13.5px;
    font-family: var(--font-simple);
    color: #555;
    font-weight: 400;
    transition: color 0.2s;
}

.footer-copyright a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* ========================================
   8. LANDING PAGE — 落地页公共模块
======================================== */
.main-content .tool-meta {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
    padding-bottom: 20px;
    border-bottom: solid 1px #f1f2f6;
}

.main-content .tool-meta .tool-action-back {
    width: unset !important;
    font-size: 13px;
    color: #373a40;
    padding-right: 10px;
    margin-right: auto;
    margin-left: 0 !important;
}

.main-content .tool-meta .tool-action-back:hover {
    background-color: #e4e6e9;
}

.main-content .tool-meta .tool-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--main-bg);
    border-radius: 6px;
    margin-left: 8px;
    width: 30px;
    height: 30px;
    position: relative;
}

.tool-action-btn:hover .tooltip {
    visibility: visible;
    opacity: 1;
}

.tooltip {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: #000;
    color: #fff;
    font-size: 13px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 25px;
    height: 26px;
    padding: 0 10px;
    border-radius: 5px;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    pointer-events: none;
    visibility: hidden;
    opacity: 0;
}

/*分享提示框*/
.share-toast {
    position: fixed;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    background: #000;
    color: #fff;
    font-size: 14px;
    padding: 10px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    white-space: nowrap;
    transition: top 0.3s ease-out;
}

.share-toast.show {
    top: 12px;
}

/* 标题样式 */
.main-content h1 {
    font-size: 1.9em;
    font-weight: 600;
    padding: 10px 15px;
    margin: 15px 0 0;
    text-align: center;
}

/* 标签样式 */
.main-content .tool-tags {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    overflow-x: auto;
    width: 100%;
    position: relative;
    z-index: 1;
    scroll-behavior: smooth; /* 可选：平滑滚动 */
    -webkit-overflow-scrolling: touch; /* iOS 滚动流畅 */
}

.main-content .tool-tags::-webkit-scrollbar {
    display: none;
}

.main-content .tool-tags {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.main-content .tool-tags .tool-tags-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-shrink: 0;
    min-width: fit-content;
}

.main-content .tool-tags .tag {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-family: var(--font-simple);
    gap: 4px;
    padding: 1px 8px;
    border-radius: 6px;
    border: solid 1px #ddd;
    box-shadow: 0 3.5px 3.5px rgba(0, 0, 0, .0078431373), 0 2px 2px rgba(0, 0, 0, .0078431373), 0 0 1px rgba(0, 0, 0, .0078431373);
}

.main-content .tool-tags .tag:nth-child(6n+1):hover {
    border-color: #d30;
    background-image: linear-gradient(0deg, rgba(221, 51, 0, 0.05), rgba(221, 51, 0, 0.01));
}

.main-content .tool-tags .tag:nth-child(6n+2):hover {
    border-color: #006fff;
    background-image: linear-gradient(0deg, rgba(0, 111, 255, 0.05), rgba(0, 111, 255, 0.01));
}

.main-content .tool-tags .tag:nth-child(6n+3):hover {
    border-color: #ff00fb;
    background-image: linear-gradient(0deg, rgba(255, 0, 251, 0.05), rgba(255, 0, 251, 0.01));
}

.main-content .tool-tags .tag:nth-child(6n+4):hover {
    border-color: #00a200;
    background-image: linear-gradient(0deg, rgba(0, 162, 0, 0.05), rgba(0, 162, 0, 0.01));
}

.main-content .tool-tags .tag:nth-child(6n+5):hover {
    border-color: #f37a00;
    background-image: linear-gradient(0deg, rgba(243, 122, 0, 0.05), rgba(243, 122, 0, 0.01));
}

.main-content .tool-tags .tag:nth-child(6n+6):hover {
    border-color: #02b6b1;
    background-image: linear-gradient(0deg, rgba(2, 182, 177, 0.05), rgba(2, 182, 177, 0.01));
}

.main-content .tool-tags .tag:nth-child(6n+1) svg {
    fill: #d30;
}

.main-content .tool-tags .tag:nth-child(6n+2) svg {
    fill: #006fff;
}

.main-content .tool-tags .tag:nth-child(6n+3) svg {
    fill: #ff00fb;
}

.main-content .tool-tags .tag:nth-child(6n+4) svg {
    fill: #00a200;
}

.main-content .tool-tags .tag:nth-child(6n+5) svg {
    fill: #f37a00;
}

.main-content .tool-tags .tag:nth-child(6n+6) svg {
    fill: #02b6b1;
}

/* 描述样式 */
.main-content .tool-intro {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    font-family: var(--font-simple);
    margin: 15px auto 25px;
}

.mt15 {
    margin-top: 2em;
}

/* 辅助模块 */
.tool-help {
    position: relative;
}

.help-section {
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-color);
    padding: 1.2em;
    border-radius: .6em;
    margin: 1.2em 0;
}

.tool-help .help-section h2 {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 7px;
    font-size: 17px;
    font-weight: 500;
    color: var(--text-color);
    font-family: var(--font-family);
    position: relative;
    margin-bottom: 1em;
}

.tool-help .help-section p {
    font-weight: 400;
}

.tool-help .faq-item {
    margin-bottom: 16px;
    background-color: var(--main-bg);
    border-radius: 8px;
    transition: all 0.2s ease;
    border-left: 3px solid rgb(159 169 218 / 50%);
    padding: 18px 12px;
}

.tool-help .faq-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow);
    background-color: rgb(242, 242, 255);
    border-color: rgba(90, 77, 248, 0.5);
}

.tool-help .faq-item:last-child {
    margin-bottom: 0;
}

.tool-help .faq-item h3 {
    font-size: 15px;
    font-weight: 600;
    font-family: Source Han sans-serif;
    transition: all 0.2s ease;
}

.tool-help .faq-item p {
    margin-bottom: 0;
    color: #434c59;
    font-size: 15px;
    transition: all 0.2s ease;
    margin-left: 25px;
}

/*在线打赏模块*/
.custom-section {
    background-color: var(--main-bg);
    margin-top: 1.2em;
    padding: 3.5rem 0;
}

.custom-section h2 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-align: center;
}

.custom-section p {
    color: #4b5563;
    margin-bottom: 2rem;
    text-align: center;
    font-size: 16px;
}

.custom-section img {
    margin: 0 auto;
    width: 330px;
    border-radius: 0.38rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
    margin-top: 15px;
    position: relative;
    z-index: 1;
}

.tool-card {
    display: block;
    background-color: var(--main-bg);
    border-radius: 8px;
    color: var(--text-color);
    text-decoration: none;
    font-size: 14px;
    text-align: center;
    transition: all 0.2s ease;
    overflow: hidden;
}

.tool-card:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: var(--card-shadow);
    background-color: #ebebff;
}

.tool-card-link {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 13px;
}

.tool-card-title {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    margin-bottom: 0;
}

.tool-card-title span {
    font-size: 16px;
    font-weight: 600;
    font-family: var(--font-family);
}

.tool-card-desc {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    word-break: break-word;
    white-space: normal;
    width: 100%;
    color: #526172;
    font-size: 12px;
    font-weight: 400;
    line-height: 20px;
    min-height: 40px;
    margin: 0;
    text-align: left;
    font-family: Inter,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    "Noto Sans",
    Ubuntu,
    Cantarell,
    "Helvetica Neue",
    Oxygen,
    "Open Sans",
    sans-serif;
}

/* ========================================
   9. FEEDBACK — 新功能建议
======================================== */

/* ========== 遮罩层 ========== */
.feedback-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(25, 27, 31, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.feedback-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* ========== 弹窗主体 ========== */
.feedback-modal {
    background: white;
    padding: 28px;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(90, 77, 248, 0.15);
    width: 90%;
    max-width: 540px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    transform-origin: center;
    transform: scale(0.5);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.feedback-overlay.active .feedback-modal {
    transform: scale(1);
    opacity: 1;
}

/* ========== 标题 ========== */
.feedback-title {
    margin: 0 0 8px;
    color: #1a1a1a;
    font-size: 22px;
    font-weight: 600;
    text-align: center;
}

/* ========== 下划线装饰 ========== */
.feedback-underline {
    height: 3px;
    width: 40px;
    background-color: #5a4df8;
    border-radius: 3px;
    margin: 6px auto 20px;
}

/* ========== 描述文字 ========== */
.feedback-description {
    color: #535666;
    font-size: 15px;
    text-align: center;
    line-height: 1.6;
    margin-bottom: 15px;
    padding: 0 10px;
    font-family: var(--font-simple);
}

/* ========== 文本域样式（替代 textarea）========== */
.feedback-textarea {
    width: 100%;
    min-height: 120px;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 10px;
    resize: vertical;
    font-size: 15px;
    line-height: 1.6;
    font-family: inherit;
    outline: none;
    color: #333;
    background-color: #f4f6f9;
    box-sizing: border-box;
    transition: all 0.2s ease;
    margin-bottom: 16px;
}

.feedback-textarea:focus {
    border-color: #5a4df8;
    background-color: #f8f7fd;
    box-shadow: inset 0 1px 4px rgba(90, 77, 248, 0.2), 0 0 0 2px rgba(90, 77, 248, 0.1);
}

/* ========== 按钮容器 ========== */
.feedback-button-container {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin: 3px 0;
}

/* ========== 取消按钮 ========== */
.feedback-btn-cancel {
    background-color: #f4f6f9;
    color: #495057;
    border: 1px solid #ddd;
    padding: 8px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 400;
    min-width: 88px;
    transition: all 0.2s ease;
    font-family: var(--font-simple);
}

.feedback-btn-cancel:hover {
    background-color: #e9ecef;
}

/* ========== 提交按钮 ========== */
.feedback-btn-submit {
    background-color: #5a4df8;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 400;
    min-width: 88px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 10px rgba(90, 77, 248, 0.2);
    font-family: var(--font-simple);
}

.feedback-btn-submit:hover:not(:disabled) {
    background-color: #4c3de5;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(90, 77, 248, 0.35);
}

.feedback-btn-submit:disabled {
    background-color: #8c85f9;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ========== 底部提示（可选：注册/帮助等）========== */
.feedback-footer {
    margin-top: 24px;
    text-align: center;
    color: #666;
    font-size: 14px;
}

.feedback-footer a {
    color: #5a4df8;
    text-decoration: none;
    font-weight: 500;
}

.feedback-footer a:hover {
    text-decoration: underline;
}

/* ========================================
   10. LOGIN — 登录弹窗
======================================== */

/* 遮罩层 */
.login-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(25, 27, 31, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.login-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* 弹窗主体 */
.login-modal {
    background: white;
    padding: 28px 32px;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(90, 77, 248, 0.15);
    width: 90%;
    max-width: 430px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    transform-origin: center;
    transform: scale(0.5);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.login-overlay.active .login-modal {
    transform: scale(1);
    opacity: 1;
}

/* 标题 */
.login-title {
    margin: 0 0 8px;
    color: #1a1a1a;
    font-size: 22px;
    font-weight: 600;
    text-align: center;
}

/* 下划线装饰 */
.login-underline {
    height: 3px;
    width: 40px;
    background-color: #5a4df8;
    border-radius: 3px;
    margin: 6px auto 20px;
}

/* 描述文字 */
.login-description {
    color: #555;
    font-size: 15px;
    text-align: center;
    line-height: 1.6;
    margin-bottom: 15px;
    padding: 0 10px;
}

/* ========== 带图标的输入框容器 ========== */
.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 18px;
}

/* ========== 图标样式 ========== */
.input-icon {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 16px;
    height: 16px;
    fill: none;
    pointer-events: none;
    z-index: 1;
}

/* ========== 输入框调整：预留图标空间 ========== */
.login-input-has-icon {
    padding-left: 42px !important; /* 图标宽度 + 间距 */
    background-color: #f4f6f9;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.6;
    outline: none;
    transition: all 0.2s ease;
    width: 100%;
}

/* 聚焦状态 */
.login-input-has-icon:focus {
    border-color: #5a4df8;
    background-color: #f8f7fd;
    box-shadow: 0 0 0 3px rgba(90, 77, 248, 0.1);
}


/* 输入框（独立样式，与 feedback 无关）*/
.login-input {
    width: 100%;
    padding: 11px;
    border: 1px solid #ddd;
    border-radius: 8px;
    resize: vertical;
    font-size: 15px;
    line-height: 1.6;
    box-sizing: border-box;
    font-family: inherit;
    outline: none;
    transition: all 0.2s ease;
    color: #333;
    background-color: #f4f6f9;
}

.login-input:focus {
    border-color: #5a4df8;
    background-color: #f8f7fd;
    box-shadow: 0 0 0 3px rgba(90, 77, 248, 0.1);
}

/* 按钮容器 */
.login-button-container {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin: 23px 0 3px;
}

/* 取消按钮 */
.login-btn-cancel {
    background-color: #f4f6f9;
    color: #495057;
    border: 1px solid #ddd;
    padding: 8px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 400;
    min-width: 88px;
    transition: all 0.2s ease;
}

.login-btn-cancel:hover {
    background-color: #e9ecef;
}

.code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace !important;
    background-color: #fff4f4;
    border: solid 1px #ffdddd;
    color: #c95858;
    padding: .5px 3px;
    margin: 0 2px;
    border-radius: 4px;
}

/* 提交按钮 */
.login-btn-submit {
    background-color: #5a4df8;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 400;
    min-width: 88px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(90, 77, 248, 0.25);
}

.login-btn-submit:hover {
    background-color: #4c3de5;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(90, 77, 248, 0.35);
}

.login-footer {
    display: flex;
    justify-content: space-between;
    font-size: 15px;
    color: #666;
    margin: -5px 0 20px 0;
    flex-wrap: wrap;
    gap: 10px;
}

.login-footer a {
    color: #5a4df8;
    text-decoration: none;
    font-weight: 400;
}

.login-footer a:hover {
    text-decoration: underline;
}

/* ========================================
   11. COPY SHARE TIPS — 分享链接提示框
======================================== */
.toast-share-link {
    position: fixed;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    height: 54px;
    line-height: 54px;
    background: #f0fff4;
    color: #38a362;
    font-size: 15px;
    font-family: "Microsoft YaHei", sans-serif;
    padding: 0 16px;
    border: 1px solid #d0f0e0;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    z-index: 9999;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: none;
    display: inline-block;
    box-sizing: border-box;
}

/* ========================================
   联系我们弹窗
======================================== */
/* 联系遮罩层 */
.contact-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.contact-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* 联系弹窗主体 */
.contact-modal {
    background: #fff;
    border-radius: 16px;
    width: 90%;
    max-width: 360px;
    padding: 28px;
    box-shadow: 0 12px 40px rgba(90, 77, 248, 0.15);
    transform: scale(0.95);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-overlay.active .contact-modal {
    transform: scale(1);
}

/* 标题 */
.contact-title {
    margin: 0 0 8px;
    color: #1a1a1a;
    font-size: 22px;
    font-weight: 600;
    text-align: center;
}

.contact-underline {
    height: 3px;
    width: 40px;
    background-color: #5a4df8;
    border-radius: 3px;
    margin: 6px auto 20px;
}

/* 描述文字 */
.contact-description {
    color: #555;
    font-size: 15px;
    text-align: center;
    line-height: 1.6;
    margin-bottom: 15px;
    padding: 0 10px;
}

/* 二维码容器 */
.qrcode-container {
    margin: 0 auto;
    padding: 12px;
    background-color: rgb(90 77 248 / 10%);
    border-radius: 10px;
    display: block;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    width: fit-content;
}

.qrcode-container img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 6px;
}

/* QQ 联系方式链接 */
.contact-qq {
    margin: 18px 0;
    font-size: 14px;
    color: #555;
    text-align: center;
}

.contact-qq a {
    color: #1E90FF;
    font-weight: bold;
    text-decoration: none;
}

.contact-qq a:hover {
    text-decoration: underline;
}

/* “我知道了”按钮 */
.contact-btn-know {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: rgb(90 77 248 / 80%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.2s;
}

.contact-btn-know:hover {
    background-color: rgb(90 77 248 / 100%);
}

/*内容页表格*/
.table-container {
    overflow-x: auto;
    width: 100%;
}

.table-container table {
    border-collapse: collapse;
    width: fit-content;
    min-width: 100%;
}

.table-container table tr:first-child {
    background-color: #f4f6f9 !important;
    font-weight: bold;
}

.table-container table tr:hover {
    background-color: rgba(90, 77, 248, 0.1);
}

.table-container table tr:not(:hover):nth-child(odd) {
    background-color: var(--main-bg);
}

.table-container table th, .table-container table td {
    border: 1px solid #ddd;
    padding: 10px 12px;
    text-align: left;
    font-size: 14px;
    word-break: break-all;
    overflow-wrap: break-word;
    white-space: normal;
    font-family: var(--font-simple);
}

.tool-help .tips {
    margin-bottom: 0;
    margin-top: 10px;
    font-size: 14.5px;
    color: #555;
}

.help-section details summary {
    margin: 0 3px 10px 3px;
    user-select: none;
}

.help-section details summary::marker {
    margin-right: 10px;
}

.help-section code {
    border: solid 1px #ded6ff;
    background-color: #f8f5ff;
    color: #4100c9;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 13px;
    margin: 0 3px;
}

/* ========================================
   RESPONSIVE — 响应式适配
======================================== */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    .aside-content {
        width: 100%;
        height: auto;
        max-height: 80px;
        padding: 10px 12px;
        position: static;
        border-right: none;
    }

    .sidebar-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .logo {
        gap: 8px;
        font-size: 16px;
        padding: 0;
    }

    .logo-image {
        width: 28px;
        height: 28px;
    }

    .logo-svg,
    .logo-text {
        width: 60px;
        height: 16px;
    }

    .header-menu {
        display: flex;
        align-items: center;
        width: 23.5px;
        height: 23.5px;
        background: url(../images/icon-menu.svg) center no-repeat;
        background-size: contain;
    }

    .search-container {
        margin-bottom: 15px;
    }

    .main-content h2 {
        margin-bottom: 12px !important;
        font-size: 16px !important;
        font-weight: bold !important;
    }

    .main-content h2::before {
        height: 15px !important;
        margin-right: 7px !important;
        vertical-align: -2px !important;
    }

    .tool-card:hover {
        transform: none !important;
    }

    .tool-card-title img {
        width: 24px !important;
        height: 24px !important;
    }

    .tool-card-title span {
        font-size: 15px !important;
        font-weight: bold !important;
        font-family: var(--font-family);

    }

    .tool-card-desc {
        font-size: 14px !important;
    }

    .sidebar-footer {
        display: none;
    }

    /*落地页公共模块*/
    .main-content .tool-meta {
        padding-bottom: 12px !important;
    }

    .main-content h1 {
        font-size: 18px !important;
        font-weight: bold !important;
        margin: 5px 0 !important;
        font-family: var(--font-title);
    }

    .main-content .tool-tags {
        margin-top: 0 !important;
        box-shadow: none !important;
        justify-content: flex-start !important;
    }

    .main-content .tool-intro {
        font-size: 1.1em;
        text-align: justify !important;
        margin: 15px auto !important;
    }

    .main-content .tool-tags .tag {
        padding: 1px 6px !important;
    }

    .tool-help .help-section h2 {
        font-size: 15px !important;
        margin-bottom: .8em !important;
    }

    .tool-help .help-section h2 svg {
        width: 17px !important;
        height: 17px !important;
        transform: translateY(0px) !important;
    }

    .tools-ad {
        margin: 12px auto;
    }

    .tool-help .help-section {
        padding: .9em;
        margin: 15px 0;
    }

    .tool-help .help-section p {
        font-size: 1.1em;
        margin-bottom: .5em !important;
        padding-left: 0 !important;
        text-align: justify;
    }

    .tool-help .faq-item p {
        margin: 0 !important;
    }

    .tools-grid {
        gap: .8em !important;
    }

    .custom-section {
        margin: 15px 0 !important;
    }

    .custom-section p {
        font-size: 14px !important;
        width: 96%;
        margin: 0 auto 12px;
    }

    .custom-section img {
        width: 80% !important;
    }

    /*左侧导航栏*/
    nav.nav-menu {
        display: none;
        position: absolute;
        top: 48px;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: #fff;
        padding: 12px;
    }

    .nav-menu {
        display: flex; /* 小屏隐藏，默认不展开 */
    }

    .main-content {
        margin-right: 0;
        padding: 12px !important;
        margin-top: 0;
    }

    .tools-attachment-bg {
        display: none; /* 移动端隐藏背景图 */
    }

    .footer-nav {
        gap: 0.1em 1em;
        word-break: break-all;
    }

    .footer-links {
        gap: 0.1em 1em;
    }

    .main-footer {
        margin-top: 15px !important;
    }

    .ad-container img {
        width: unset;
        max-width: unset;
    }

    button.nav-item{
        display: none;
    }

    .nav-menu{
        gap: 6px;
    }

    .nav-item{
        width: 100%;
        border-color: #f5f5f5;
    }

    .nav-shortcut{
        display: none !important;
    }
}