/* 导航栏滚动缩小效果 */
#mainHeader {
    height: 80px;
    transition: height 0.3s ease;
}

#mainHeader.scrolled {
    height: 60px;
}

#mainHeader.scrolled #mainNav {
    height: 60px !important;
}

#mainHeader.scrolled #mainLogo {
    height: 36px !important;
}

#mainHeader.scrolled #mobileMenu {
    top: 60px !important;
}

#mainHeader.scrolled .nav-link {
    font-size: 0.875rem;
}

:root {
    --content-width: 1200px;
    --logo-size: 80px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    background-color: #f5f5f7;
    color: #1d1d1f;
}

.title-section {
    padding-top: 60px;
    margin-bottom: 30px;
    padding-left: 0;
    padding-right: 0;
}

.logo-link {
    display: inline-block;
    width: var(--logo-size);
    height: var(--logo-size);
    margin-bottom: 20px;
}

.app-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.page-title {
    color: #0066cc;
    margin: 0 auto;
    font-size: 2em;
    width: 100%;
    text-align: center;
}

h2 {
    color: #1d1d1f;
    margin: 40px 0 25px;
    padding-bottom: 8px;
    border-bottom: 2px solid #eee;
    text-align: center;
}

.step-box {
    background: #f8f9fa;
    border-left: 4px solid #0066cc;
    padding: 20px 30px;
    margin: 20px 0;
    border-radius: 8px;
    text-align: left;
}

.step-box ol {
    counter-reset: step;
    list-style: none;
    padding-left: 0;
}

.step-box ol li {
    position: relative;
    padding-left: 1.6em;
    margin-bottom: 0.5em;
}

.step-box ol > li {
    counter-increment: step; /* 只递增 ol 直接子元素 */
}

.step-box ol li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    width: 1.5em;
    height: 1.5em;
    background: #0066cc;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8em;
    font-weight: bold;
}

.step-box ul {
    list-style: none;
    padding-left: 2.5em;
    margin-top: 0.5em;
}

.step-box ul li {
    position: relative;
    margin-bottom: 0.5em;
}

.step-box ul li::before {
    content: "•";
    position: absolute;
    /*left: -0.1em;*/
    color: #0066cc;
    font-size: 0.5em;
}

.step-box code {
    background: #e8f0fe;
    padding: 0.2em 0.4em;
    border-radius: 4px;
    color: #0066cc;
    font-family: monospace;
}

.step-box.tip {
    background: #e8f0fe;
    border-left-color: #4285f4;
    font-size: 0.95em;
    padding: 15px 25px;
}

/* 教程折叠区域样式 */
.tutorial-section {
    margin: 30px 0;
    border: 1px solid #e5e5e9;
    border-radius: 12px;
    background: white;
    overflow: hidden;
}

.tutorial-section summary.section-title {
    cursor: pointer;
    padding: 18px 25px;
    background: white;
    color: #1d1d1f;
    font-size: 1.25em;
    font-weight: 600;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    list-style: none;
    transition: background-color 0.2s ease;
}

.tutorial-section summary.section-title:hover {
    background: #f8f9fa;
}

.tutorial-section summary.section-title::-webkit-details-marker {
    display: none;
}

.tutorial-section summary.section-title::after {
    content: "+";
    font-size: 1.2em;
    font-weight: bold;
    color: #0066cc;
    transition: transform 0.2s ease;
}

.tutorial-section[open] summary.section-title::after {
    content: "−";
}

.tutorial-section[open] summary.section-title {
    border-bottom: 1px solid #e5e5e9;
}

/* 内联小图标 */
.inline-icon {
    display: inline-block;
    width: 1em;
    height: 1em;
    vertical-align: middle;
    margin: 0 0.1em;
}

/* 教程中的强调图标（如火箭） */
.tutorial-icon {
    display: inline-block;
    width: 1.4em;
    height: 1.4em;
    vertical-align: text-bottom;
    margin: 0 0.15em;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.screenshot-section {
    text-align: center;
    margin: 30px 0;
}

.single-screenshot {
    max-width: 280px;
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin: 20px auto;
    border: 1px solid #e5e5e9;
}

.triple-screenshots {
    display: flex;
    justify-content: center;
    gap: 1em; /* 设置图片之间的间距 */
    flex-wrap: wrap;
}

.triple-screenshots > div {
    width: calc(35% - 0.5em); /* 每个 div 占 50% 宽度，减去间距 */
    text-align: center; /* 让文字居中 */
}

.screenshot-label {
    text-align: center;
    color: #666;
    font-size: 0.9em;
    margin: 10px 0 25px;
}
@media (max-width: 768px) {
    .page-title {
        font-size: 1.6em;
    }

    .triple-screenshots {
        flex-direction: column;
        align-items: center;
    }

    .triple-screenshots > div {
        width: 100%; /* 每个 div 占满整行 */
    }
}

@media (max-width: 480px) {
    :root {
        --logo-size: 60px;
    }

    .page-title {
        font-size: 1.4em;
    }
}
