/* ==========================================================
   sw15 - 乐大都食文化品鉴食堂 目录页
   移动端固定 390px 居中（不响应式）
   配色：暖红橙（与 sw13/sw14 协调）
   ========================================================== */

/* 1. 基础 reset（仅本页面） */
#sw15_body {
    margin: 0;
    padding: 0;
    background: #fff5ec;
    font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #2b1d12;
    font-size: 14px;
    line-height: 1.75;
    -webkit-text-size-adjust: 100%;
    min-height: 100vh;
}

/* 2. 顶部 header */
#sw15_header {
    width: 390px;
    margin: 0 auto;
    box-sizing: border-box;
    height: 44px;
    background: linear-gradient(135deg, #d8341a 0%, #f06a2c 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: 0 2px 6px rgba(216, 52, 26, 0.25);
}

#sw15_header_back {
    color: #fff;
    text-decoration: none;
    font-size: 26px;
    font-weight: 700;
    width: 32px;
    height: 32px;
    line-height: 30px;
    text-align: center;
    border-radius: 6px;
    transition: background 0.2s;
    display: inline-block;
}

#sw15_header_back:hover {
    background: rgba(255, 255, 255, 0.18);
}

#sw15_header_back:active {
    background: rgba(255, 255, 255, 0.30);
}

#sw15_header_title {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    letter-spacing: 1px;
}

#sw15_header_placeholder {
    width: 32px;
    height: 32px;
    display: inline-block;
}

/* 3. 主体 390 居中容器 */
#sw15_main {
    width: 390px;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 16px 14px 90px 14px;
    background: #ffffff;
    box-shadow: 0 0 12px rgba(216, 52, 26, 0.06);
    min-height: calc(100vh - 44px);
}

/* 4. 主标题区 */
#sw15_title_block {
    text-align: center;
    margin: 4px 0 18px 0;
    padding: 22px 8px 18px 8px;
    background: linear-gradient(135deg, #fff1e2 0%, #ffe3c8 100%);
    border-radius: 10px;
    border: 1px solid #f4c794;
}

#sw15_title_h2 {
    font-size: 20px;
    font-weight: 800;
    color: #b3261e;
    margin: 0 0 8px 0;
    line-height: 1.4;
    letter-spacing: 1px;
}

#sw15_title_sub {
    font-size: 13px;
    color: #d8541e;
    margin: 0;
    font-weight: 600;
    letter-spacing: 1.5px;
}

/* 5. 简介段 */
#sw15_intro {
    margin-bottom: 18px;
}

#sw15_intro_p {
    font-size: 13.5px;
    line-height: 1.85;
    color: #3a2618;
    margin: 0;
    text-align: justify;
    text-indent: 2em;
    padding: 12px 12px;
    background: #fafafa;
    border-radius: 6px;
    border-left: 3px solid #d8341a;
}

/* 6. 目录卡片 */
#sw15_toc {
    margin-bottom: 18px;
}

.sw15_toc_card {
    display: flex;
    align-items: stretch;
    background: #ffffff;
    border: 1px solid #f4c794;
    border-left: 4px solid #d8341a;
    border-radius: 8px;
    margin-bottom: 14px;
    padding: 12px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
    box-shadow: 0 1px 3px rgba(216, 52, 26, 0.06);
}

#sw15_toc_card_13:hover,
#sw15_toc_card_14:hover {
    background: #fff8e7;
    box-shadow: 0 4px 10px rgba(216, 52, 26, 0.18);
    transform: translateY(-2px);
}

#sw15_toc_card_13:active,
#sw15_toc_card_14:active {
    transform: translateY(0);
}

#sw15_toc_card_13.sw15_active,
#sw15_toc_card_14.sw15_active {
    background: #fff1e2;
    border-left-width: 6px;
    box-shadow: 0 2px 8px rgba(216, 52, 26, 0.20);
}

.sw15_toc_badge {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    background: linear-gradient(135deg, #d8341a 0%, #f06a2c 100%);
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    border-radius: 8px;
    text-align: center;
    line-height: 40px;
    margin-right: 12px;
    box-shadow: 0 2px 6px rgba(216, 52, 26, 0.30);
    align-self: flex-start;
}

.sw15_toc_body {
    flex: 1;
    min-width: 0;
}

.sw15_toc_title {
    font-size: 15px;
    font-weight: 700;
    color: #b3261e;
    margin: 0 0 4px 0;
    letter-spacing: 0.5px;
    line-height: 1.4;
}

.sw15_toc_sub {
    font-size: 12px;
    color: #d8541e;
    font-weight: 600;
    margin: 0 0 6px 0;
    letter-spacing: 1px;
}

.sw15_toc_desc {
    font-size: 12.5px;
    color: #3a2618;
    line-height: 1.7;
    margin: 0;
    text-align: justify;
}

.sw15_toc_link {
    width: 28px;
    flex-shrink: 0;
    font-size: 28px;
    color: #d8341a;
    font-weight: 700;
    text-align: center;
    line-height: 1;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
    align-self: stretch;
}

#sw15_toc_card_13:hover .sw15_toc_link,
#sw15_toc_card_14:hover .sw15_toc_link {
    transform: translateX(4px);
}

/* 7. 底部寄语 */
#sw15_footer {
    margin: 22px 0 10px 0;
    padding: 18px 14px;
    background: linear-gradient(135deg, #d8341a 0%, #f06a2c 100%);
    color: #fff;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(216, 52, 26, 0.25);
}

#sw15_footer_p1 {
    font-size: 17px;
    font-weight: 800;
    margin: 0 0 8px 0;
    letter-spacing: 3px;
}

#sw15_footer_p2 {
    font-size: 13px;
    font-weight: 500;
    margin: 0;
    letter-spacing: 1px;
    opacity: 0.95;
}

/* 8. 底部固定回退按钮 */
#sw15_back_btn {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    margin-left: 150px;
    width: 44px;
    height: 44px;
    background: #d8341a;
    color: #fff;
    text-decoration: none;
    font-size: 22px;
    font-weight: 700;
    border-radius: 22px;
    text-align: center;
    line-height: 40px;
    box-shadow: 0 4px 12px rgba(216, 52, 26, 0.4);
    z-index: 100;
    transition: all 0.2s;
}

#sw15_back_btn:hover {
    background: #b3261e;
    transform: translateX(-50%) translateY(-2px);
}

#sw15_back_btn:active {
    transform: translateX(-50%) translateY(0);
}
