* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #f8f9fa;
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 280px;
    background: #fff;
    padding: 40px 30px;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    border-right: 1px solid #e5e7eb;
    box-shadow: 2px 0 10px rgba(0,0,0,0.03);
}

.profile h1 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2563eb;
    margin-bottom: 5px;
}

.chinese {
    color: #6b7280;
    font-size: 1rem;
    margin-bottom: 10px;
}

.title {
    color: #059669;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
}

.nav {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.nav a {
    color: #4b5563;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 6px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.nav a:hover {
    background: #f3f4f6;
    color: #2563eb;
}

.contact {
    margin-top: 40px;
}

.contact h3 {
    font-size: 0.8rem;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.contact p {
    margin: 8px 0;
    font-size: 0.9rem;
}

.contact a {
    color: #2563eb;
    text-decoration: none;
}

.contact a:hover {
    text-decoration: underline;
}

.contact .mono {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    color: #6b7280;
}

.github {
    display: inline-block;
    margin-top: 20px;
    color: #2563eb;
    text-decoration: none;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
}

.github:hover {
    color: #059669;
}

.content {
    margin-left: 280px;
    padding: 50px 60px;
    flex: 1;
}

.section {
    margin-bottom: 50px;
}

.section h2 {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.3rem;
    color: #2563eb;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e5e7eb;
}

.section p {
    margin-bottom: 15px;
    color: #374151;
}

.item {
    margin-bottom: 25px;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 8px;
}

.item-header .name {
    font-weight: 600;
    color: #1f2937;
}

.item-header .date {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    color: #9ca3af;
}

.place {
    color: #059669;
    font-size: 0.95rem;
    margin-bottom: 5px;
}

.detail {
    color: #6b7280;
    font-size: 0.9rem;
}

.detail a {
    color: #2563eb;
    text-decoration: none;
}

.detail a:hover {
    text-decoration: underline;
}

.pub-item {
    margin-bottom: 25px;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.pub-title {
    font-weight: 500;
    color: #1f2937;
    margin-bottom: 10px;
    line-height: 1.4;
}

.tag {
    display: inline-block;
    background: #059669;
    color: #fff;
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 10px;
    vertical-align: middle;
}

.pub-authors {
    color: #6b7280;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.pub-authors strong {
    color: #374151;
}

.pub-links a {
    color: #2563eb;
    text-decoration: none;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    margin-right: 15px;
}

.pub-links a:hover {
    color: #059669;
}

.award-text {
    color: #1f2937;
    padding: 15px 20px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    border-left: 3px solid #059669;
}

.footer {
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
    text-align: center;
    color: #9ca3af;
    font-size: 0.85rem;
}

@media (max-width: 900px) {
    .sidebar {
        position: relative;
        width: 100%;
        height: auto;
        border-right: none;
        border-bottom: 1px solid #e5e7eb;
    }
    
    .container {
        flex-direction: column;
    }
    
    .content {
        margin-left: 0;
        padding: 30px 20px;
    }
    
    .nav {
        flex-direction: row;
        flex-wrap: wrap;
    }
}
