* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: #f4f7fb;
    color: #2c3e50;
    line-height: 1.8;
    padding-bottom: 80px;
}
*:not(html,body) {
    transition: all 0.24s ease;
}

/* ===================== 顶部系统导航 ===================== */
.site-header-wrap {
    background-color: #083466;
    box-shadow: 0 2px 8px rgba(0,28,64,0.15);
}
.site-header {
    max-width: 1200px;
    margin: 0 auto;
    height: 84px;
    display: flex;
    align-items: center;
    padding: 0 24px;
    justify-content: space-between;
}
.header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}
.header-logo {
    width: 52px;
    height: 52px;
    background: #ffffff;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #083466;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}
.header-title-group {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
}
.system-title {
    color: #ffffff;
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 0.5px;
    line-height: 1.4;
}
.system-subtitle {
    color: rgba(255,255,255,0.72);
    font-size: 13px;
    line-height: 1.4;
}
.header-menu {
    display: flex;
    gap: 40px;
}
.header-menu a {
    color: rgba(255,255,255,0.82);
    text-decoration: none;
    font-size: 16px;
    padding: 8px 4px;
    position: relative;
}
.header-menu a:hover {
    color: #ffffff;
}
.header-menu a.active {
    color: #ffffff;
}
.header-menu a.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    background-color: #4fa3ff;
    border-radius: 2px;
}

@media (max-width:960px) {
    .site-header {
        height: auto;
        flex-direction: column;
        padding: 16px 20px;
        gap: 14px;
    }
    .header-menu {
        gap: 20px;
    }
    .system-title {
        font-size: 17px;
    }
    .system-subtitle {
        font-size: 12px;
    }
}

/* ===================== 设备头部Banner ===================== */
.device-banner-wrap {
    background: linear-gradient(135deg,#093c78 0%,#1458aa 100%);
    position: relative;
    overflow:hidden;
}
.device-banner-wrap::before {
    content:"";
    position:absolute;
    inset:0;
    background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
    background-size:24px 24px;
    opacity:0.6;
}
.device-banner {
    max-width: 1200px;
    margin:0 auto;
    padding:60px 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap:40px;
    align-items: center;
    color:#fff;
    position:relative;
    z-index:2;
}
.banner-text h1 {
    font-size:44px;
    margin-bottom:16px;
    font-weight:600;
    letter-spacing:1px;
}
.banner-tag-group {
    display:flex;
    gap:12px;
    margin-bottom:24px;
    flex-wrap:wrap;
}
.banner-tag {
    border:1px solid rgba(255,255,255,0.35);
    background:rgba(255,255,255,0.08);
    padding:6px 16px;
    border-radius:30px;
    font-size:14px;
    backdrop-filter: blur(4px);
}
.banner-desc {
    font-size:17px;
    opacity:0.9;
    line-height:1.9;
}
.banner-img-box {
    border-radius:14px;
    overflow:hidden;
    background:#fff;
    box-shadow: 0 12px 32px rgba(0,12,30,0.35);
}
.banner-img-box img {
    width:100%;
    display:block;
}
@media (max-width:960px) {
    .device-banner {
        grid-template-columns:1fr;
        padding:40px 20px;
    }
    .banner-text h1 {
        font-size:32px;
    }
}

/* ===================== 主容器布局规则 ===================== */
.container-wrap {
    max-width: 1200px;
    margin:0 auto;
    padding:48px 24px;
}
.float-sidebar {
    display:none;
}
@media (min-width:1460px) {
    .site-header {
        max-width: calc(240px + 20px + 1200px);
    }
    .device-banner {
        max-width: calc(240px + 20px + 1200px);
    }
    .container-wrap {
        max-width: calc(240px + 20px + 1200px);
        display:grid;
        grid-template-columns:240px 1200px;
        gap:20px;
        align-items:flex-start;
    }
    .float-sidebar {
        display:block;
        min-width:0;
    }
    .main-content {
        min-width:0;
    }
}

/* ===================== 右侧悬浮导航 ===================== */
.float-sidebar {
    position:sticky;
    top:40px;
    background:#ffffff;
    box-shadow:0 6px 20px rgba(12,38,70,0.1);
    border-radius:14px;
    padding:28px 22px;
}
.float-sidebar h4 {
    font-size:17px;
    color:#093c78;
    margin-bottom:18px;
    padding-bottom:12px;
    border-bottom:1px solid #e6ecf3;
}
.float-nav-list {
    list-style:none;
}
.float-nav-list li {
    margin-bottom:12px;
}
.float-nav-list a {
    display:block;
    text-decoration:none;
    color:#475569;
    font-size:14.5px;
    padding:9px 12px;
    border-radius:8px;
    transition:0.24s;
}
.float-nav-list a:hover {
    background:#e8f1fc;
    color:#093c78;
}
.float-nav-list a.active-nav{
    background:#0e4b88;
    color:#ffffff;
}
.float-nav-list a.active-nav:hover{
    background:#1458aa;
    color:#ffffff;
}

.btn-backtop {
    width:100%;
    margin-top:24px;
    padding:11px;
    border:none;
    background:linear-gradient(135deg,#093c78,#1458aa);
    color:#fff;
    border-radius:8px;
    cursor:pointer;
    font-size:14px;
    box-shadow:0 4px 10px rgba(14,72,156,0.2);
}
.btn-backtop:hover {
    filter: brightness(1.08);
    transform: translateY(-2px);
}

/* ===================== 内容卡片通用 ===================== */
.section-card {
    background:#ffffff;
    border-radius:16px;
    box-shadow:0 3px 18px rgba(18,40,72,0.07);
    padding:42px;
    margin-bottom:44px;
}
.section-card:hover {
    box-shadow:0 6px 26px rgba(18,40,72,0.1);
}
.section-card h2 {
    color:#093c78;
    font-size:28px;
    padding-bottom:14px;
    border-bottom:3px solid #cce1f8;
    margin-bottom:28px;
    display:flex;
    align-items:center;
    gap:10px;
}
.section-card h2::before{
    content:"";
    width:5px;
    height:24px;
    background:linear-gradient(180deg,#1458aa,#4fa3ff);
    border-radius:3px;
}
.text-block p {
    margin-bottom:16px;
    font-size:16px;
    color:#334155;
}
.article-meta{
    font-size:14px;
    color:#64748b;
    margin-bottom:24px;
    padding-bottom:12px;
    border-bottom:1px dashed #dee3eb;
}
.article-img-block{
    margin:24px 0;
}
.article-img-block img{
    width:100%;
    display:block;
    border-radius:10px;
}
.article-img-desc{
    font-size:13px;
    color:#64748b;
    text-align:center;
    margin-top:8px;
}

/* ==========图片轮播组件========== */
.carousel-wrap{
    position:relative;
    width:100%;
    border-radius:12px;
    overflow:hidden;
    box-shadow:0 3px 14px rgba(0,0,0,0.08);
    margin:28px 0;
}
.carousel-view{
    width:100%;
    overflow:hidden;
}
.carousel-track{
    display:flex;
    transform:translateX(0);
    transition:transform 0.4s ease-out;
}
.carousel-item{
    flex:0 0 100%;
    position:relative;
}
.carousel-item img{
    width:100%;
    display:block;
}
.carousel-caption-bar{
    position:absolute;
    bottom:0;
    left:0;
    width:100%;
    background:rgba(0,20,45,0.65);
    color:#ffffff;
    padding:12px 18px;
    font-size:15px;
}
.carousel-btn{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:40px;
    height:40px;
    border-radius:50%;
    border:none;
    background:rgba(255,255,255,0.75);
    font-size:20px;
    cursor:pointer;
    z-index:2;
    display:flex;
    align-items:center;
    justify-content:center;
}
.carousel-btn:hover{
    background:#ffffff;
}
.btn-prev{
    left:14px;
}
.btn-next{
    right:14px;
}
.carousel-dots{
    position:absolute;
    bottom:62px;
    width:100%;
    display:flex;
    justify-content:center;
    gap:10px;
    z-index:2;
}
.dot{
    width:10px;
    height:10px;
    border-radius:50%;
    background:rgba(255,255,255,0.4);
    cursor:pointer;
}
.dot.active{
    background:#ffffff;
}

/* 参数表格 */
.param-table {
    width:100%;
    border-collapse:separate;
    border-spacing:0;
    margin:28px 0;
    border-radius:10px;
    overflow:hidden;
    box-shadow:0 1px 8px rgba(0,0,0,0.06);
}
.param-table td,.param-table th {
    border:1px solid #e2e8f0;
    padding:14px 18px;
}
.param-table th {
    background:linear-gradient(90deg,#f0f6fd,#eaf2fc);
    color:#093c78;
    text-align:left;
    font-weight:600;
}
.param-table tr:nth-child(even) td{
    background:#f8fafe;
}

/* =========实验室：大屏一行两个卡片布局 ========= */
.lab-list{
    display:grid;
    grid-template-columns: repeat(2,1fr);
    gap:24px;
}
.lab-card{
    background:#f8fafc;
    border-radius:14px;
    overflow:hidden;
    box-shadow:0 2px 10px rgba(0,0,0,0.06);
}
.lab-card-header{
    padding:20px 24px;
    border-bottom:1px solid #e2e8f0;
}
.lab-card-header h4{
    font-size:19px;
    color:#093c78;
}
.lab-card-img-box{
    width:100%;
    background:#f0f2f5;
}
.lab-card-img-box img{
    width:100%;
    height:220px;
    object-fit:contain;
    background:#f0f2f5;
    display:block;
}
.lab-card-img-desc{
    font-size:13px;
    color:#64748b;
    text-align:center;
    padding:8px 16px 4px;
}
.lab-card-body{
    padding:16px 24px 22px;
}
.lab-card-body p{
    color:#334155;
    font-size:16px;
}

/* 多图文任务 */
.voyage-img-row{
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap:22px;
    margin:20px 0 10px;
}
.voyage-img-full{
    margin:22px 0 10px;
}
.voyage-img-card{
    border-radius:10px;
    overflow:hidden;
    box-shadow:0 2px 12px rgba(0,0,0,0.07);
}
.voyage-img-card img{
    width:100%;
    display:block;
}
.voyage-img-caption{
    font-size:13px;
    color:#64748b;
    text-align:center;
    margin-top:8px;
}

/* 航次时间线 */
.voyage-wrap {
    border-left:2px solid #b8cbe4;
    padding-left:26px;
    margin-left:6px;
}
.voyage-block {
    position:relative;
    margin-bottom:42px;
    padding-bottom:12px;
}
.voyage-block::before{
    content:"";
    width:12px;
    height:12px;
    background:#2b74cc;
    border-radius:50%;
    position:absolute;
    left:-32px;
    top:6px;
    border:3px solid #e8f1fc;
}
.voyage-block h4 {
    font-size:19px;
    color:#093c78;
    margin-bottom:10px;
}
.voyage-block p {
    color:#334155;
}

/* 移动端适配 */
@media (max-width:960px) {
    .voyage-img-row{
        grid-template-columns:1fr;
    }
    .lab-list{
        grid-template-columns:1fr;
    }
    .lab-card-img-box img{
        height:200px;
    }
    .section-card {
        padding:26px 20px;
    }
    .section-card h2 {
        font-size:23px;
    }
    .param-table td,.param-table th {
        padding:10px 12px;
        font-size:14.5px;
    }
    .voyage-wrap {
        padding-left:18px;
    }
    .carousel-caption-bar{
        padding:8px 12px;
        font-size:14px;
    }
    .carousel-btn{
        width:32px;
        height:32px;
        font-size:16px;
    }
}