/* 食话实说 s009 食品的口感·质感维度总览 详情页样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #f0f0f0;
    font-family: 'Manrope', 'Microsoft YaHei', 'Noto Serif SC', sans-serif;
    color: #1f2937;
}

#shsh_s9_page_wrapper {
    max-width: 420px;
    min-height: 100vh;
    margin-left: auto;
    margin-right: auto;
    background-color: #f0f9ff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding-bottom: 80px;
}

/* Header */
#shsh_s9_top_header {
    padding: 20px 16px 16px 16px;
    background: linear-gradient(135deg, #0369a1 0%, #0284c7 100%);
    color: #ffffff;
    border-bottom: 3px solid #075985;
    position: relative;
    display: flex;
    align-items: center;
    min-height: 56px;
}

#shsh_s9_top_back {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    background-color: rgba(255, 255, 255, 0.15);
    transition: background-color 0.2s ease;
}

#shsh_s9_top_back:active {
    background-color: rgba(255, 255, 255, 0.32);
}

#shsh_s9_top_back_icon {
    font-size: 22px;
    color: #ffffff;
}

#shsh_s9_top_title_main {
    flex: 1;
    text-align: center;
    font-family: 'Noto Serif SC', serif;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
    padding: 0 56px;
}

#shsh_s9_top_hamburger {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    border-radius: 6px;
    background-color: rgba(255, 255, 255, 0.15);
}

.shsh_s9_hamburger_line {
    display: block;
    width: 18px;
    height: 2px;
    background-color: #ffffff;
    border-radius: 1px;
}

#shsh_s9_top_sub_title {
    text-align: center;
    padding: 12px 16px 4px;
    font-size: 12px;
    color: #6b7280;
    background-color: #f0f9ff;
    margin: 0;
}

/* Main Content */
#shsh_s9_main_content {
    padding: 16px 12px;
}

/* 通用 Section */
section[id^="shsh_s9_section"] {
    background-color: #ffffff;
    border: 1px solid #bae6fd;
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 16px;
    box-shadow: 0 2px 4px rgba(3, 105, 161, 0.06);
}

section[id^="shsh_s9_section"] h2 {
    font-family: 'Noto Serif SC', serif;
    color: #0369a1;
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 1px dashed #bae6fd;
}

/* 八维度速查卡（一行4卡，两行） */
#shsh_s9_dims_card_grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.shsh_s9_dims_card {
    flex: 0 0 calc((100% - 24px) / 4);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 4px;
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
    border: 1px solid #7dd3fc;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(3, 105, 161, 0.08);
}

.shsh_s9_dims_card_word {
    font-family: 'Noto Serif SC', serif;
    font-size: 13px;
    font-weight: 700;
    color: #075985;
    white-space: nowrap;
}

/* 口感标签 */
.shsh_s9_tag_list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.shsh_s9_tag {
    padding: 4px 11px;
    background-color: #e0f2fe;
    border: 1px solid #7dd3fc;
    border-radius: 999px;
    font-size: 13px;
    color: #0369a1;
    font-weight: 600;
}

/* 底部双按钮 */
#shsh_s9_bottom_actions {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 420px;
    max-width: 100%;
    display: flex;
    gap: 8px;
    padding: 10px 12px;
    background-color: rgba(240, 249, 255, 0.95);
    backdrop-filter: blur(8px);
    border-top: 1px solid #bae6fd;
    z-index: 20;
}

#shsh_s9_bottom_back_list {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 12px;
    background-color: #ffffff;
    color: #0369a1;
    border: 1px solid #0369a1;
    text-decoration: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.2s ease;
}

#shsh_s9_bottom_back_list:active {
    background-color: #0369a1;
    color: #ffffff;
}

#shsh_s9_bottom_back_list_icon {
    font-size: 18px;
}

#shsh_s9_bottom_back_top {
    flex-shrink: 0;
    width: 64px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 6px 4px;
    background-color: #ffffff;
    color: #0369a1;
    border: 1px solid #0369a1;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
    cursor: pointer;
    transition: all 0.2s ease;
}

#shsh_s9_bottom_back_top:active {
    background-color: #0369a1;
    color: #ffffff;
}

#shsh_s9_bottom_back_top_icon {
    font-size: 18px;
}
