:root { color-scheme: dark; font-family: Inter, "Segoe UI", Arial, sans-serif; background: #0b131e; color: #edf3f4; }
* { box-sizing: border-box; }
body { margin: 0; line-height: 1.55; }
header { background: #0c1821; border-bottom: 1px solid #293b49; }
nav, main { width: min(100% - 32px, 880px); margin: 0 auto; }
nav, footer { display: flex; align-items: center; justify-content: space-between; gap: 8px 22px; flex-wrap: wrap; }
nav { min-height: 60px; padding: 6px 0; font-size: .91rem; }
a { color: #b6e5d4; text-underline-offset: 4px; }
a:focus-visible { outline: 2px solid #b6e5d4; outline-offset: 4px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #edf3f4; text-decoration: none; font-weight: 650; letter-spacing: .22em; }
main { padding: clamp(22px, 4vw, 48px) 0; }
p { margin: 0; }
.context { color: #b6e5d4; }
h1 { margin: 4px 0 2px; font-size: clamp(1.85rem, 5vw, 3.05rem); font-weight: 550; letter-spacing: -.035em; line-height: 1.16; }
.case, .clock { color: #b1c2cd; }
h2 { font-size: 1.05rem; margin: 0 0 8px; font-weight: 600; }
section { margin-top: 22px; }
.result { display: grid; align-items: center; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 10px 22px; padding: 17px 20px; border-inline-start: 4px solid #b6e5d4; border-radius: 6px; background: #203a39; }
.result.unknown { background: #332d25; border-inline-start-color: #e5c493; }
.result h2 { margin-bottom: 0; }
.reading { font-size: clamp(2rem, 4vw, 2.65rem); line-height: 1.15; }
.reading, table { font-variant-numeric: tabular-nums; }
.explanation { line-height: 1.55; }
table { width: 100%; border-collapse: collapse; background: #121f2d; }
th, td { text-align: left; padding: 9px 12px; border-bottom: 1px solid #31414d; }
thead { color: #b8cbd5; font-size: .86rem; }
thead th { background: #192936; }
.clock { margin-top: 7px; font-size: .84rem; }
.hardware { padding: 13px 0; border-block: 1px solid #31414d; }
.hardware h2 { margin: 0 0 3px; }
.hardware p { color: #b1c2cd; }
.hardware strong { color: #edf3f4; }
footer { margin-top: 17px; font-size: .9rem; }
@media (max-width: 580px) {
  .result { grid-template-columns: 1fr; }
  td, th { padding: 7px 5px; font-size: .83rem; }
}
