/* Page layout */

main { 
    width: 100%; 
    max-width: 980px; 
    margin: 0 auto; 
    padding: 14px 16px 0; 
}
.view { 
    display: none; 
    animation: fade .25s var(--ease); 
}
.view.active { 
    display: block; 
}

/* ----- page headings ----- */
.page-head { 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    gap: 12px; 
    margin: 6px 0 12px; 
}
.page-title { 
    font-family: var(--font-display); 
    font-weight: 500; 
    font-size: 1.6rem; 
    letter-spacing: .03em; 
}
.result-count { 
    color: var(--muted); 
    font-size: .85rem; 
    margin: 2px 0 10px; 
    min-height: 1.2em; 
}

/* generic white box used by Settings, Stats and About */
.panel { 
    background: var(--surface); 
    border: 1px solid var(--border); 
    border-radius: var(--radius); 
    padding: 16px; 
    margin-bottom: 14px; 
    box-shadow: var(--shadow); 
}
.panel > h2 { 
    font-size: 1.05rem; 
    margin-bottom: 12px; 
    display: flex; 
    align-items: center; 
    gap: 8px; 
    font-weight: 650; 
}
