/* ==================================================================
   轻壹小助手 · 单页样式（工具大厅 / 工具详情）
   配色沿用全站：墨青 #3A5F58 + 暗紫 #6B4F77 + 底 #F9F9F7；工具主题色由模板内联 --th 注入
   仅 PC，最小宽度 1200px，不做响应式
   ================================================================== */

/* 只补面包屑上方 16px；不设 max-width/左右内边距——容器宽度由全局 .ep-container 决定，保持既有版式。
   注意：CSS 注释必须用 星号斜杠 语法，此前 # 号注释曾导致本条规则被解析器吞掉失效 */
.qy-wrap { padding: 16px 0 0; }

/* ---------------- 次级吸顶章节条 ---------------- */
.qy-subnav {
    /* z-index 必须低于全站头部 .ep-header(100)，否则吸顶栏会遮挡头部下拉菜单；90 仍高于正文层 */
    /* margin-top 负值抵消 .ep-main 的 20px 顶部内边距：未滚动时也贴住头部，与吸顶后状态一致 */
    margin-top: -20px;
    position: sticky; top: 90px; z-index: 90;
    background: rgba(255,255,255,.96);
    box-shadow: 0 2px 12px rgba(36,62,57,.08);
    border-bottom: 1px solid #ECEAE2;
}
.qy-subnav-inner {
    max-width: var(--ep-container-max); margin: 0 auto; height: 62px; padding: 0 20px;
    display: flex; align-items: center; justify-content: space-between;
}
.qy-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.qy-brand-seal {
    width: 38px; height: 38px; border-radius: 9px;
    background: linear-gradient(135deg, #3A5F58, #5A4466);
    color: #fff; font-size: 20px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 10px rgba(58,95,88,.3);
}
.qy-brand-txt { display: flex; flex-direction: column; line-height: 1.25; }
.qy-brand-txt b { font-size: 16px; color: #2C3A37; letter-spacing: 1px; }
.qy-brand-txt small { font-size: 11px; color: #9AA39F; letter-spacing: 2px; }
.qy-subnav-menu { display: flex; align-items: center; gap: 6px; }
.qy-subnav-menu a {
    padding: 7px 18px; border-radius: 18px; font-size: 14px;
    color: #4A5651; text-decoration: none; transition: all .2s ease;
}
.qy-subnav-menu a:hover { color: #3A5F58; background: #EFF3F1; }
.qy-subnav-menu a.is-active {
    color: #fff; background: #3A5F58; font-weight: 600;
    box-shadow: 0 4px 10px rgba(58,95,88,.28);
}

/* ---------------- 通用区块标题 ---------------- */
.qy-sec-head { margin: 0 0 26px; }
.qy-sec-head h2 {
    margin: 0 0 8px; font-size: 28px; font-weight: 800; color: #2C3A37;
    letter-spacing: 2px; position: relative; padding-left: 16px;
}
.qy-sec-head h2::before {
    content: ""; position: absolute; left: 0; top: 5px; bottom: 5px;
    width: 5px; border-radius: 3px;
    background: linear-gradient(180deg, #3A5F58, #6B4F77);
}
.qy-sec-head p { margin: 0; padding-left: 16px; font-size: 14px; color: #8A8F8A; }

/* ---------------- 按钮 ---------------- */
.qy-btn {
    display: inline-block; padding: 12px 30px; border-radius: 24px;
    font-size: 15px; letter-spacing: 2px; text-decoration: none;
    transition: all .2s ease; cursor: pointer; border: 1px solid transparent;
}
.qy-btn-primary {
    background: linear-gradient(135deg, #C8A96A, #B8944F);
    color: #fff; box-shadow: 0 6px 18px rgba(184,148,79,.35);
}
.qy-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(184,148,79,.45); color: #fff; }
.qy-btn-ghost { border-color: rgba(255,255,255,.55); color: rgba(255,255,255,.92); }
.qy-btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }
.qy-btn-light {
    border-color: rgba(255,255,255,.55); color: #fff; background: rgba(255,255,255,.1);
}
.qy-btn-light:hover { background: rgba(255,255,255,.2); color: #fff; }
.qy-btn-dark {
    background: #3A5F58; color: #fff; box-shadow: 0 6px 16px rgba(58,95,88,.3);
}
.qy-btn-dark:hover { background: #2C4A44; color: #fff; transform: translateY(-2px); }
.qy-btn-disabled {
    background: rgba(255,255,255,.16); color: rgba(255,255,255,.78);
    border-color: rgba(255,255,255,.35); cursor: not-allowed;
}

/* ---------------- 大厅 Hero ---------------- */
.qy-hero {
    position: relative; overflow: hidden; margin-top: 16px;
    border-radius: 16px; padding: 62px 64px 64px;
    display: flex; align-items: center;
    background: linear-gradient(135deg, #243E39 0%, #3A5F58 52%, #5A4466 100%);
    box-shadow: 0 14px 40px rgba(36,62,57,.22);
}
.qy-hero::before {
    content: ""; position: absolute; right: -120px; top: -180px;
    width: 480px; height: 480px; border-radius: 50%;
    background: radial-gradient(circle, rgba(200,169,106,.28), transparent 70%);
}
.qy-hero-txt { position: relative; z-index: 2; max-width: 660px; }
.qy-hero-tag {
    display: inline-block; font-size: 12px; letter-spacing: 3px;
    color: #E2D4BC; border: 1px solid rgba(226,212,188,.45);
    padding: 5px 15px; border-radius: 14px; margin-bottom: 22px;
}
.qy-hero-title {
    margin: 0 0 18px; font-size: 46px; font-weight: 800; color: #fff;
    letter-spacing: 6px;
}
.qy-hero-subtitle {
    margin: 0 0 32px; font-size: 16px; line-height: 2;
    color: rgba(255,255,255,.85); letter-spacing: 1px;
}
.qy-hero-btns { display: flex; gap: 14px; }
.qy-hero-note { margin: 22px 0 0; font-size: 12.5px; color: rgba(255,255,255,.55); letter-spacing: 1px; }
.qy-hero-seal {
    position: absolute; right: 70px; top: 50%; transform: translateY(-50%);
    width: 210px; height: 210px; border-radius: 50%; z-index: 1;
    display: flex; align-items: center; justify-content: center;
    font-size: 110px; color: rgba(255,255,255,.14); font-weight: 800;
    border: 3px solid rgba(255,255,255,.18);
}

/* ---------------- 特性条 ---------------- */
.qy-feat-strip {
    margin: 22px 0 8px; padding: 16px 24px;
    background: #fff; border-radius: 12px; text-align: center;
    box-shadow: 0 2px 10px rgba(36,62,57,.06);
    font-size: 14px; color: #5C6660; letter-spacing: 1px;
}
.qy-feat-strip i { font-style: normal; color: #C9CDc6; margin: 0 18px; }

/* ---------------- 工具卡片 2×2 ---------------- */
.qy-tools { margin-top: 48px; }
.qy-tool-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.qy-tool-card {
    position: relative; display: block; padding: 30px 30px 26px;
    background: #fff; border-radius: 14px; text-decoration: none;
    border: 1px solid #EEEEE8;
    box-shadow: 0 2px 12px rgba(36,62,57,.05);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
    overflow: hidden;
}
.qy-tool-card::before {
    content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
    background: var(--th); opacity: .85;
}
.qy-tool-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 34px rgba(36,62,57,.14); border-color: var(--th);
}
.qy-tool-status {
    position: absolute; right: 22px; top: 22px;
    font-size: 12px; color: #A77E4A; letter-spacing: 1px;
    background: #F6EEDF; border-radius: 12px; padding: 4px 12px;
}
.qy-tool-icon {
    width: 62px; height: 62px; border-radius: 14px; margin-bottom: 18px;
    display: flex; align-items: center; justify-content: center; font-size: 32px;
    background: linear-gradient(135deg, var(--th), rgba(58,95,88,.55));
    box-shadow: 0 6px 14px rgba(36,62,57,.18);
}
.qy-tool-name { display: flex; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.qy-tool-name h3 { margin: 0; font-size: 22px; font-weight: 800; color: #2C3A37; letter-spacing: 2px; }
.qy-tool-ver { font-size: 12px; color: #9AA39F; border: 1px solid #E2E2DA; border-radius: 10px; padding: 2px 9px; }
.qy-tool-slogan {
    margin: 0 0 18px; font-size: 14px; line-height: 1.9; color: #5C6660;
    min-height: 54px;
}
.qy-tool-go { font-size: 14px; color: var(--th); font-weight: 600; letter-spacing: 1px; }
.qy-tool-go em { font-style: normal; transition: margin .2s ease; }
.qy-tool-card:hover .qy-tool-go em { margin-left: 6px; }

/* ---------------- 详情 Hero ---------------- */
.qy-detail-hero {
    position: relative; overflow: hidden; margin-top: 16px;
    border-radius: 16px; padding: 50px 64px 52px;
    display: flex; align-items: center;
    background: linear-gradient(135deg, var(--th) 0%, var(--th2) 100%);
    box-shadow: 0 14px 40px rgba(36,62,57,.22);
}
.qy-detail-txt { position: relative; z-index: 2; max-width: 720px; }
.qy-detail-back {
    display: inline-block; font-size: 13px; color: rgba(255,255,255,.75);
    text-decoration: none; margin-bottom: 18px; letter-spacing: 1px;
}
.qy-detail-back:hover { color: #fff; }
.qy-detail-name { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.qy-detail-icon {
    width: 58px; height: 58px; border-radius: 14px; font-size: 30px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.25);
}
.qy-detail-name h1 { margin: 0; font-size: 40px; font-weight: 800; color: #fff; letter-spacing: 5px; }
.qy-detail-ver {
    font-size: 13px; color: #fff; border: 1px solid rgba(255,255,255,.4);
    border-radius: 11px; padding: 3px 11px; align-self: center;
}
.qy-detail-slogan { margin: 0 0 28px; font-size: 16.5px; line-height: 1.9; color: rgba(255,255,255,.9); }
.qy-detail-btns { display: flex; gap: 14px; }
.qy-detail-seal {
    position: absolute; right: 70px; top: 50%; transform: translateY(-50%);
    font-size: 150px; opacity: .16; z-index: 1; line-height: 1;
}

/* ---------------- 功能点 ---------------- */
.qy-points { margin-top: 50px; }
.qy-point-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.qy-point-card {
    background: #fff; border-radius: 12px; padding: 26px 28px;
    border: 1px solid #EEEEE8; box-shadow: 0 2px 10px rgba(36,62,57,.05);
    transition: box-shadow .2s ease, transform .2s ease;
}
.qy-point-card:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(36,62,57,.12); }
.qy-point-no {
    display: inline-flex; align-items: center; justify-content: center;
    width: 38px; height: 38px; border-radius: 10px; margin-bottom: 14px;
    font-size: 15px; font-weight: 700; color: #fff;
    background: linear-gradient(135deg, var(--th), rgba(58,95,88,.6));
}
.qy-point-card h3 { margin: 0 0 10px; font-size: 17px; font-weight: 700; color: #2C3A37; letter-spacing: 1px; }
.qy-point-card p { margin: 0; font-size: 14px; line-height: 1.95; color: #5C6660; }

/* ---------------- 后台正文（详细介绍编辑器内容） ---------------- */
.qy-detail-content { margin-top: 50px; }
.qy-content {
    background: #fff; border-radius: 12px; padding: 36px 44px;
    border: 1px solid #EEEEE8; box-shadow: 0 2px 10px rgba(36,62,57,.05);
    font-size: 15px; line-height: 2; color: #444;
}
.qy-content h2 { font-size: 21px; color: #2C3A37; margin: 28px 0 12px; padding-left: 12px; border-left: 4px solid #3A5F58; }
.qy-content h3 { font-size: 17px; color: #3A5F58; margin: 22px 0 10px; }
.qy-content p { margin: 0 0 14px; }
.qy-content ul, .qy-content ol { padding-left: 24px; margin: 0 0 14px; }
.qy-content li { margin-bottom: 6px; }
.qy-content img { max-width: 100%; border-radius: 8px; }
.qy-content table { border-collapse: collapse; width: 100%; margin: 14px 0; }
.qy-content th, .qy-content td { border: 1px solid #E6E5DE; padding: 8px 12px; font-size: 14px; }
.qy-content th { background: #F4F3EE; }

/* ---------------- 专题互链卡 ---------------- */
.qy-cross {
    margin-top: 50px; border-radius: 14px; padding: 40px 44px;
    display: flex; align-items: center; justify-content: space-between;
    background: linear-gradient(120deg, #F2EFE7 0%, #ECEFE8 100%);
    border: 1px solid #E7E4D8;
}
.qy-cross-txt { max-width: 720px; }
.qy-cross-tag {
    display: inline-block; font-size: 12px; letter-spacing: 2px;
    color: #8A6A38; background: #EADFC8; border-radius: 12px;
    padding: 4px 13px; margin-bottom: 14px;
}
.qy-cross-txt h2 { margin: 0 0 10px; font-size: 23px; color: #2C3A37; letter-spacing: 1px; }
.qy-cross-txt p { margin: 0 0 22px; font-size: 14.5px; line-height: 1.9; color: #5C6660; }
.qy-cross-deco {
    width: 110px; height: 110px; border-radius: 50%; flex: 0 0 auto;
    display: flex; align-items: center; justify-content: center; font-size: 54px;
    background: #fff; border: 2px solid var(--th); color: var(--th);
    box-shadow: 0 8px 20px rgba(36,62,57,.12);
}

/* ---------------- 兄弟工具切换 ---------------- */
.qy-siblings {
    margin-top: 38px; padding: 20px 26px; background: #fff;
    border-radius: 12px; border: 1px solid #EEEEE8;
    display: flex; align-items: center; flex-wrap: wrap; gap: 10px;
    font-size: 14px; color: #8A8F8A;
}
.qy-siblings a {
    padding: 7px 20px; border-radius: 18px; text-decoration: none;
    border: 1px solid #E2E2DA; color: #4A5651; transition: all .2s ease;
}
.qy-siblings a:hover { border-color: #3A5F58; color: #3A5F58; background: #EFF3F1; }

/* ---------------- 免责声明 ---------------- */
.qy-disclaimer {
    margin: 34px 0 0; padding: 16px 24px; font-size: 13px; line-height: 1.8;
    color: #9AA39F;
    background: #F6F5F1; border-left: 3px solid #D8C9A8; border-radius: 0 8px 8px 0;
}
