/* =======================================
   Header and menus: a white top bar, a white side menu on computers and a
   white tab bar on phones; blue marks "where you are".
   (Loaded after site.css and member.css.)
======================================= */
body { background: var(--pf-surface); color: var(--pf-action); }
h1, h2, h3 { color: var(--pf-action); }
h1, h2 { font-family: var(--pf-font-display); font-weight: 700; letter-spacing: -.015em; }
.group-title, .about h2, .page-head h1, .label { font-family: var(--pf-font); letter-spacing: .06em; }
a { color: var(--pf-accent-ink); text-decoration-color: color-mix(in srgb, var(--pf-accent-ink) 35%, transparent); }
a:hover { color: var(--pf-accent-hover); }

.top { background: var(--pf-card); border-bottom: 1px solid var(--pf-line); }
.logo, .logo:hover, .side-logo { color: var(--pf-action); }
.icon-button { background: var(--pf-surface); color: var(--pf-action); }
.icon-button:hover, .me-button { background: var(--pf-accent-soft); color: var(--pf-accent-ink); }
.top .button.quiet { color: var(--pf-action); box-shadow: inset 0 0 0 1px var(--pf-line-strong); }
.top .button.quiet:hover { background: var(--pf-surface); color: var(--pf-action); }
@media (min-width: 992px) {
    .side { background: var(--pf-card); box-shadow: var(--pf-vz-shadow); border-radius: var(--pf-radius); }
    .side-title { color: var(--pf-ink-soft); }
    .side-nav a { color: var(--pf-ink-soft); }
    .side-nav a:hover { color: var(--pf-action); background: var(--pf-surface); }
    .side-nav a[aria-current=page] { color: var(--pf-accent-ink); background: var(--pf-accent-soft); }
    .side-nav a[aria-current=page]::before { background: var(--pf-accent); }
    body.member .top { background: var(--pf-card); box-shadow: var(--pf-vz-shadow); }
}
@media (max-width: 767px) {
    .tabs { background: var(--pf-card); box-shadow: 0 -1px 0 var(--pf-line); }
    .tabs a { color: var(--pf-ink-soft); }
    .tabs a[aria-current=page] { color: var(--pf-accent-ink); background: var(--pf-accent-soft); }
}
.foot, .foot a { color: var(--pf-ink-soft); }
.foot a:hover { color: var(--pf-accent-ink); }

/* The bottom bar (29 October 2026): no side menu any more. Four places in one white bar at the
   foot of the screen on phones and computers, like the big money and chat apps; on wider screens
   it floats in the middle. Settings, profile, photos, news and safety are on Account. */
body.member { padding-left: 0; }
@media (min-width: 992px) {
    body.member .top { margin: 0; border-radius: 0; box-shadow: 0 1px 0 var(--pf-line); top: 0; }
    body.member .top .logo { display: inline-flex; }
}
.tabs {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; position: fixed; z-index: 30; left: 0; right: 0; bottom: 0;
    padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); border-radius: 0;
    background: var(--pf-card); box-shadow: 0 -1px 0 var(--pf-line);
}
.tabs a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 56px; position: relative;
          border-radius: 16px; color: var(--pf-ink-soft); text-decoration: none; font-size: var(--pf-fs-12); font-weight: 600; }
.tabs a:hover { color: var(--pf-action); background: var(--pf-surface); }
.tabs a[aria-current=page] { color: var(--pf-accent-ink); background: var(--pf-accent-soft); font-weight: 700; }
.tabs a[aria-current=page] .icon { background: none; padding: 0; margin: 0; }
.tabs .count { position: absolute; top: 4px; right: calc(50% - 24px); }
body.member .wrap { padding-bottom: 104px; }
body.member .foot { padding-bottom: 112px; }
@media (min-width: 768px) {
    .tabs { left: 50%; right: auto; bottom: 20px; transform: translateX(-50%); width: min(520px, calc(100% - 32px));
            padding: 6px; border-radius: 28px; box-shadow: var(--pf-shadow-raised), 0 0 0 1px var(--pf-line); }
    .tabs a { flex-direction: row; gap: 8px; font-size: var(--pf-fs-14); min-height: 52px; border-radius: 22px; }
}
.view-switch { max-width: 320px; margin-inline: auto; }
