.layout { min-height: 100vh; background: var(--surface-0); } .header { background: var(--surface-1); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 20; } .header-inner { max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; display: flex; align-items: center; gap: 1.5rem; height: 56px; } .logo { font-size: 0.95rem; font-weight: 680; color: var(--text-primary); text-decoration: none; white-space: nowrap; } .nav { display: flex; gap: 0.15rem; flex: 1; overflow-x: auto; scrollbar-width: none; } .nav::-webkit-scrollbar { display: none; } .nav-link { padding: 0.4rem 0.7rem; border-radius: 7px; color: var(--text-secondary); text-decoration: none; font-size: 0.88rem; white-space: nowrap; transition: background 0.15s ease, color 0.15s ease; } .nav-link:hover { background: var(--surface-0); color: var(--text-primary); } .nav-link.active { background: var(--accent-soft); color: var(--accent); font-weight: 600; } .theme-toggle { background: none; border: 1px solid var(--border); color: var(--text-secondary); border-radius: 7px; padding: 0.3rem 0.6rem; font-size: 0.76rem; cursor: pointer; font-family: inherit; white-space: nowrap; } .theme-toggle:hover { border-color: var(--border-strong); color: var(--text-primary); } .content { max-width: 1180px; margin: 0 auto; padding: 1.75rem 1.5rem 4rem; } @media (max-width: 720px) { .header-inner { gap: 0.75rem; padding: 0 0.9rem; } .logo { font-size: 0.85rem; } .content { padding: 1.25rem 0.9rem 3rem; } }