body {
    margin: 0;
    font-family:
        'HarmonyOS Sans SC',
        'PingFang SC',
        'Microsoft YaHei',
        system-ui,
        -apple-system,
        sans-serif;
    color: #1E293B;
    --border-light: #E1E1E1;
}

.banner {
    height: 450px;
    background: url(./banner.png) center center no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 32px 36px;
    box-sizing: border-box;
}

.navbar {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff;
    position: relative;
}

.logo {
    font-size: clamp(18px, 2vw, 22px);
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    width: clamp(90px, 9vw, 110px);
}

.logo .divider {
    height: 16px;
    width: 1px;
    background: rgba(255, 255, 255, 1);
    margin-left: clamp(5px, 1vw, 15px);
    margin-right: clamp(5px, 1vw, 15px);
}

.logo .sub-info {
    font-size: clamp(14px, 1.5vw, 16px);
    color: #fff;
    font-weight: 400;
}

.nav-title {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 600;
    color: #fff;
    text-align: center;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.user-links a {
    color: #fff;
    text-decoration: none;
    margin-left: clamp(24px, 3vw, 48px);
    font-size: clamp(14px, 1.5vw, 16px);
    transition: text-decoration 0.2s;
}

.user-links a:hover {
    font-size: clamp(15px, 1.5vw, 17px);;
}

.banner .main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.search-bar {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 20px;
    z-index: 1;
    width: 480px;
    border-radius: 32px;
    font-size: clamp(14px, 1.5vw, 16px);
    background: #fff;
}

.search-bar input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0 16px;
    font-size: clamp(14px, 1.5vw, 16px);
    outline: none;
    border: none;
    color: rgba(113, 128, 150, 1);
}

.search-bar:has(input:focus) {}

.container {
    margin: 0 auto;
    display: flex;
    max-width: 1400px;
    gap: clamp(16px, 2vw, 24px);
    padding: clamp(40px, 5vw, 80px) 20px;
    position: relative;
    box-sizing: border-box;
}

.sidebar {
    min-width: 210px;
    max-width: 230px;
    padding: 20px 0 20px 0;
    height: fit-content;
}

.sidebar h2 {
    font-size: 16px;
    font-weight: 500;
}

.sidebar ul {
    list-style: none;
    padding: 0;
    margin: 12px 0 0;
}

.sidebar li {
    position: relative;
    padding: 12px 10px 12px 32px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border-radius: 8px;
    margin-bottom: 2px;
}

.sidebar li.active,
.sidebar li:hover {
    color: #1B2559;
    background: #EDF4FD;
}

.sidebar li.active::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 4px;
    width: 24px;
    height: 24px;
    background: url(./star.svg) center center no-repeat;
    background-size: contain;
}

.content {
    flex: 1;
    max-width: 922px;
    position: relative;
    padding: 10px 32px;
    border-left: 0.5px solid var(--border-light);
    border-right: 0.5px solid var(--border-light);
    box-sizing: border-box;
}

.log-header h1 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 600;
    margin: 0;
    padding: 0 clamp(20px, 3vw, 50px) clamp(20px, 3vw, 32px);
    border-bottom: 0.5px solid var(--border-light);
    display: flex;
    align-items: center;
    gap: clamp(8px, 1vw, 16px);
    letter-spacing: 1px;
    flex-wrap: wrap;
}

.log-header .date {}

.log-header .version {}

.log-card {
    max-width: 848px;
    padding: clamp(20px, 3vw, 36px) clamp(30px, 4vw, 52px);
    box-sizing: border-box;
}

.log-card-banner {
    height: 310px;
    background: url(./log-banner.png) center center no-repeat;
    background-size: cover;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
}

.log-card-title {
    font-size: clamp(36px, 5vw, 60px);
    font-weight: 600;
}

.log-card-sub {
    color: #333333;
    opacity: 0.34;
    font-size: clamp(24px, 3vw, 40px);
    font-weight: 600;
    margin-bottom: clamp(20px, 3vw, 32px);
}

.log-section {
    margin: 60px 0;
}

.log-section:last-child {
    border-bottom: none;
}

.log-section-title {
    font-size: clamp(18px, 2vw, 24px);
    font-weight: 400;
    margin-bottom: clamp(24px, 3vw, 40px);
    display: flex;
    align-items: center;
    gap: 10px;
}

.log-section-title .emoji {
    width: clamp(28px, 3vw, 36px);
    height: clamp(28px, 3vw, 36px);
}

.log-list {
    list-style: disc;
    margin: 0;
}

.log-list li {
    margin-bottom: 10px;
    font-size: clamp(13px, 1.5vw, 14px);
    line-height: 1.6;
}

.anchor-bar {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding-top: 72px;
}

.anchor-bar a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #373B52;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
}

.anchor-bar .emoji {
    width: 24px;
    height: 24px;
}

.anchor-bar a:hover {}

@media (max-width: 1200px) {
    .container {
        padding: 40px 16px;
    }
    
    .content {
        padding: 10px 20px;
    }
    
    .log-card {
        padding: 24px 32px;
    }
}

@media (max-width: 900px) {
    .container {
        flex-direction: column;
        padding: 30px 16px;
    }
    
    .sidebar {
        min-width: 100%;
        max-width: 100%;
        padding: 0 0 20px 0;
    }
    
    .content {
        border-left: none;
        border-right: none;
        padding: 20px 0;
    }
    
    .log-header h1 {
        padding: 0 0 20px 0;
    }
    
    .log-card {
        padding: 20px 0;
    }

    .anchor-bar {
        display: none;
    }
}

@media (max-width: 700px) {
    .banner {
        height: auto;
        min-height: 300px;
        padding: 20px 16px;
    }
    
    .navbar {
        flex-direction: column;
        gap: 16px;
    }
    
    .logo {
        flex-direction: column;
        text-align: center;
    }
    
    .logo .sub-info {
        margin-left: 0;
        margin-top: 8px;
    }
    
    .user-links {
        display: flex;
        gap: 16px;
    }
    
    .user-links a {
        margin-left: 0;
    }
    
    .log-card-banner {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .banner {
        min-height: 250px;
    }
    
    .search-bar {
        width: 100%;
    }
    
    .log-card-banner {
        height: 150px;
    }
    
    .log-section {
        margin: 40px 0;
    }
}

.sidebar-tooltip {
    position: fixed;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    padding: 12px 16px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 400;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.15s;
    white-space: nowrap;
}
.sidebar-tooltip.show {
    opacity: 1;
}