/* Common page styles (content pages: Mountain Cam, News, Team Stats, Visits)
   Killington Ski Area GIS Viewer
   Author: Phillip Sweeney - phillipjsweeney@gmail.com (with Claude)
   Date: 2026-11-16
   Palette: black / white / greys, blue links, one accent (hot pink #ff1493, the race line colour). */

:root {
    --bg: #0d1117; --panel: #161b22; --black: #000000; --line: #30363d;
    --text: #e6edf3; --muted: #8b949e; --link: #58a6ff; --accent: #ff1493;
}
* { box-sizing: border-box; }
html, body {
    margin: 0; padding: 0; width: 100%; height: 100%; background: var(--bg); color: var(--text);
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; display: flex;
}
a { color: var(--link); }
#main-wrapper { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; height: 100vh; overflow: hidden; }
#nav-header {
    display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 45px; flex-shrink: 0;
    background: var(--black); border-bottom: 1px solid var(--line); padding: 0 20px; color: #ffffff;
    font-weight: 600; font-size: 14px; letter-spacing: 0.5px;
}
#nav-header .header-note { color: var(--muted); font-weight: 400; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#page-scroll { flex: 1 1 auto; overflow-y: auto; }
.content { max-width: 1180px; margin: 0 auto; padding: 24px 28px 8px; }
h1 { font-size: 22px; margin: 0 0 6px; }
h2 { font-size: 16px; margin: 30px 0 12px; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
h3 { font-size: 14px; margin: 0 0 6px; }
p { line-height: 1.55; }
.lead { color: var(--muted); margin: 0 0 18px; font-size: 13.5px; max-width: 78ch; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 16px; }
.btn {
    display: inline-block; padding: 7px 12px; font: inherit; font-size: 12.5px; font-weight: 600; border-radius: 5px;
    background: var(--black); color: var(--text); border: 1px solid var(--line); cursor: pointer; text-decoration: none;
}
.btn:hover { border-color: var(--muted); }
.btn.on { background: #ffffff; color: #000000; border-color: #ffffff; }
input, select {
    font: inherit; font-size: 13px; background: var(--black); color: var(--text);
    border: 1px solid var(--line); border-radius: 5px; padding: 6px 8px;
}
:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; }
table { border-collapse: collapse; width: 100%; font-size: 13px; }
th, td { text-align: left; padding: 7px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--black); color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: 0.6px; white-space: nowrap; position: sticky; top: 0; }
tr:last-child td { border-bottom: none; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
.tag { display: inline-block; padding: 1px 7px; border: 1px solid var(--line); border-radius: 9px; font-size: 11px; color: var(--muted); white-space: nowrap; }
.tag.hot { border-color: var(--accent); color: #ffffff; }
.empty { padding: 26px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: 8px; }
#site-footer {
    margin-top: 36px; padding: 16px 28px 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px;
    display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: space-between;
}
#site-footer a { color: var(--muted); }

@media (max-width: 768px) {
    #main-wrapper { padding-top: 50px; }
    #nav-header { padding: 0 12px; }
    #nav-header .header-note { display: none; }
    .content { padding: 18px 14px 4px; }
    #site-footer { padding: 14px; }
}
