/* ==============================
   Live2D Param 页面专属样式
   （顶栏：软件图标+名字 / 网页图标；正文；底栏导航）
   ============================== */

body.lp-page {
    background-color: #fafafa;
}

/* ---------- 顶部导航栏 ---------- */

.lp-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    height: 60px;

    padding: 0 22px;

    box-sizing: border-box;

    background-color: var(--surface-color);

    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.lp-brand {
    display: flex;
    align-items: center;

    gap: 10px;
}

.lp-brand-icon {
    width: 30px;
    height: 30px;

    border-radius: 8px;
}

.lp-brand-name {
    font-size: 17px;
    font-weight: bold;

    color: var(--text-color);
}

.lp-home {
    display: flex;
    align-items: center;

    width: 34px;
    height: 34px;

    border-radius: 50%;

    transition: background-color 0.2s ease;
}

.lp-home img {
    width: 100%;
    height: 100%;

    border-radius: 50%;
}

.lp-home:hover {
    background-color: rgba(102, 204, 255, 0.15);
}

/* ---------- 正文 ---------- */

.lp-main {
    flex: 1;

    width: 100%;
    max-width: 720px;

    margin: 0 auto;

    padding: 34px 22px 60px;

    box-sizing: border-box;
}

.lp-title {
    margin: 0 0 12px;

    font-size: 22px;

    color: var(--main-color);
}

.lp-section {
    margin-bottom: 38px;
}

.lp-section p {
    margin: 0 0 8px;

    font-size: 15px;
    line-height: 1.85;

    color: var(--text-color);
}

.lp-note {
    color: #999999 !important;

    font-size: 14px !important;
}

/* ---------- 系统要求表格 ---------- */

.lp-table {
    width: 100%;

    margin: 14px 0 0;

    border-collapse: collapse;

    font-size: 14px;
}

.lp-table th,
.lp-table td {
    padding: 10px 14px;

    border: 1px solid #ececec;

    text-align: left;

    line-height: 1.7;

    color: var(--text-color);
}

.lp-table th {
    background-color: #f6f6f6;

    font-weight: bold;

    color: #666666;
}

.lp-subtitle {
    margin: 26px 0 8px;

    font-size: 16px;

    color: var(--text-color);
}

.lp-mail {
    color: var(--main-color);

    text-decoration: none;
}

.lp-mail:hover {
    text-decoration: underline;
}

/* ---------- 下载按钮区 ---------- */

.lp-actions {
    display: flex;
    align-items: center;

    gap: 12px;

    margin-top: 18px;
}

.lp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    padding: 11px 22px;

    border-radius: 10px;

    font-size: 15px;
    font-weight: bold;

    text-decoration: none;

    box-sizing: border-box;

    transition: opacity 0.2s ease, transform 0.2s ease;
}

.lp-btn-github {
    background-color: #24292f;

    color: #ffffff;
}

.lp-btn-github:hover {
    opacity: 0.85;

    transform: translateY(-1px);
}

/* 站内跳转卡片（使用说明入口）：浅蓝描边 + 软阴影，hover 微微浮起 */
.lp-doc-card {
    display: flex;
    align-items: center;

    gap: 14px;

    max-width: 430px;

    margin-top: 18px;
    padding: 14px 18px;

    box-sizing: border-box;

    border: 1px solid rgba(102, 204, 255, 0.45);
    border-radius: 14px;

    background-color: #ffffff;
    background-image: linear-gradient(180deg, #ffffff 0%, #f3fbff 100%);

    box-shadow: 0 4px 14px rgba(102, 204, 255, 0.16);

    text-decoration: none;

    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.lp-doc-card:hover {
    transform: translateY(-2px);

    border-color: rgba(102, 204, 255, 0.8);

    box-shadow: 0 8px 22px rgba(102, 204, 255, 0.28);
}

.lp-doc-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    width: 40px;
    height: 40px;

    border-radius: 12px;

    background-color: rgba(102, 204, 255, 0.16);

    color: #2b96c9;
}

.lp-doc-title {
    display: block;

    font-size: 15.5px;
    font-weight: bold;

    color: var(--text-color);
}

.lp-doc-desc {
    display: block;

    margin-top: 3px;

    font-size: 13px;
    line-height: 1.5;

    color: #8a8a8a;
}

/* 还没发布 → 灰色不可点 */
.lp-btn-disabled {
    background-color: #e6e6e6;

    color: #a5a5a5;

    cursor: not-allowed;
}

.lp-ps {
    margin: 0;

    padding-top: 14px;

    border-top: 1px dashed #e2e2e2;

    font-size: 13.5px;
    line-height: 1.7;

    color: #8a8a8a;
}

/* ---------- 底部导航栏（与页面同一板块：同背景、无独立色块，高度与全站页脚一致） ---------- */

.lp-footer {
    padding: 20px;

    background-color: transparent;

    border-top: 1px solid #eeeeee;

    text-align: center;
}

.lp-footer-columns {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;

    gap: 10px 44px;
}

.lp-footer-col {
    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 8px;
}

.lp-footer-link {
    display: inline-flex;
    align-items: center;

    gap: 6px;

    /* 与版权行同字号、同颜色 */
    font-size: 13px;

    color: #999999;

    text-decoration: none;

    white-space: nowrap;

    transition: color 0.2s ease;
}

.lp-footer-link:hover {
    color: var(--main-color);
}

.lp-footer-link svg {
    flex-shrink: 0;
}

.lp-copyright {
    margin-top: 16px;

    font-size: 13px;

    color: #999999;
}

/* ==============================
   手机端适配
   ============================== */

@media (max-width: 768px) {

    .lp-header {
        height: 52px;

        padding: 0 14px;
    }

    .lp-brand-icon {
        width: 26px;
        height: 26px;

        border-radius: 7px;
    }

    .lp-brand-name {
        font-size: 15px;
    }

    .lp-main {
        padding: 24px 16px 40px;
    }

    .lp-title {
        font-size: 19px;
    }

    .lp-section {
        margin-bottom: 30px;
    }

    .lp-section p {
        font-size: 14.5px;
    }

    /* 系统要求表格：手机端收窄内边距 */
    .lp-table {
        font-size: 13px;
    }

    .lp-table th,
    .lp-table td {
        padding: 8px 10px;
    }

    .lp-subtitle {
        margin: 20px 0 6px;

        font-size: 15px;
    }

    .lp-actions {
        gap: 10px;
    }

    .lp-btn {
        flex: 1;

        padding: 11px 16px;

        font-size: 14px;
    }

    .lp-footer {
        padding: 16px 12px;
    }

    /* 手机端：3 列间距收窄，列内行距略小 */
    .lp-footer-columns {
        gap: 8px 16px;
    }

    .lp-footer-col {
        gap: 6px;
    }

    .lp-footer-link {
        font-size: 12.5px;
    }

    .lp-copyright {
        margin-top: 12px;

        font-size: 12.5px;
    }
}
