/* Styles specific to the sea-level trend page */

.panel-hit { cursor: pointer; }
.panel-hit:focus-visible { outline: none; }
.panel-hit:focus-visible .panel-bg { stroke: var(--focus); stroke-width: 2; }
.panel-bg { fill: var(--surface-2); }
.panel-hit:hover .panel-bg { stroke: var(--axis); stroke-width: 1.5; }

table.p-table, table.results {
  border-collapse: collapse; width: 100%; font-size: 0.88rem; font-variant-numeric: tabular-nums;
}
table.p-table th, table.p-table td, table.results th, table.results td {
  padding: 0.4rem 0.5rem; border-bottom: 1px solid var(--grid); text-align: right;
}
table.p-table th:first-child, table.results th:first-child, table.results td:first-child { text-align: left; }
table.p-table thead th, table.results thead th { color: var(--muted); font-weight: 400; font-size: 0.78rem; }
table.p-table td { font-family: var(--mono); }
table.p-table td.current { background: var(--surface-2); }
table.p-table tr.formula td { font-family: var(--sans); }
table.results td.num-cell { font-family: var(--mono); }
.table-scroll { overflow-x: auto; margin: 0 0 0.8rem; }
table.results th, table.results td { white-space: nowrap; }
table.results tr.total td, table.results tr.total th { font-weight: 600; border-bottom: 0; }

.game-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 0.5rem; }
.readout.vertical { flex-direction: column; gap: 0.8rem; }
.reveal { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 0.75rem 1rem; margin: 0 0 1rem; }
.guess .reveal { background: none; border: 0; padding: 0; margin: 0.5rem 0 0; }
