@font-face {
  font-family: Inter;
  src: url('./inter-latin.woff2') format('woff2');
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
:root {
  --ink: #192421;
  --paper: #fafaf6;
  --accent: #c4ec67;
  --edge: #d7dad2;
  --muted: #58675e;
  --mono: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
  --sans: Inter, 'Helvetica Neue', Arial, sans-serif;
  font-family: var(--sans);
  color: var(--ink);
  background: #eeefe9;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input {
  font: inherit;
}
a {
  color: inherit;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
  color: inherit;
}
button:disabled {
  cursor: wait;
  opacity: 0.65;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid #799c24;
  outline-offset: 3px;
}
[hidden] {
  display: none !important;
}
.skip {
  position: absolute;
  z-index: 5;
  top: -60px;
  background: white;
  padding: 10px;
}
.skip:focus {
  top: 8px;
}
i[data-icon] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  flex-shrink: 0;
}
svg {
  width: 1.14em;
  height: 1.14em;
  vertical-align: middle;
}
.wrap,
.mast-inner {
  width: min(1190px, calc(100% - 88px));
  margin-inline: auto;
}
.mast {
  background: #192421;
  color: #f6f9f2;
}
.mast-inner {
  height: 69px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand img {
  image-rendering: pixelated;
}
.brand strong {
  font-size: 23px;
  font-weight: 760;
  letter-spacing: -1.25px;
}
.brand i {
  height: 21px;
  width: 1px;
  background: #59655e;
  margin: 0 3px;
}
.brand span {
  color: #c1ccc0;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.25px;
}
.connect,
.plain,
.icon-btn,
.text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 650;
}
.connect,
.plain {
  border: 1px solid var(--edge);
  border-radius: 7px;
  background: #fafbf5;
  padding: 10px 14px;
  font-size: 13px;
}
.connect {
  color: var(--ink);
  background: var(--accent);
  border-color: var(--accent);
}
.connect:hover {
  background: #d7ff81;
}
.plain:hover,
.icon-btn:hover {
  background: #eef2e6;
}
.channelbar {
  background: var(--paper);
  border-bottom: 1px solid #d0d4c9;
}
.channelbar nav {
  display: flex;
  gap: 20px;
  height: 57px;
}
.channelbar a {
  display: flex;
  gap: 9px;
  align-items: center;
  padding: 0 11px;
  color: #59665f;
  text-decoration: none;
  border-bottom: 3px solid transparent;
  padding-top: 3px;
  font-size: 14px;
  font-weight: 650;
}
.channelbar a:first-child {
  padding-left: 6px;
}
.channelbar a[aria-current] {
  border-color: #74982b;
  color: #233128;
}
.channelbar a[aria-current] i {
  color: #496922;
}
.channelbar a:hover {
  background: #f0f1ea;
}
.intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 35px 0 24px;
}
.intro h1 {
  font-size: clamp(31px, 3vw, 45px);
  line-height: 1.08;
  margin: 0;
  letter-spacing: -2.2px;
  font-weight: 720;
}
.intro p {
  font-size: 14px;
  color: var(--muted);
  margin: 8px 0 0;
}
.actions,
.segmented {
  display: flex;
  align-items: center;
  gap: 10px;
}
.segmented {
  gap: 2px;
  background: #dfe2d9;
  padding: 3px;
  border-radius: 7px;
}
.segmented button {
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #505e54;
  font-size: 13px;
  font-weight: 650;
  padding: 7px 10px;
}
.segmented [aria-pressed='true'] {
  background: var(--ink);
  color: white;
}
.grid {
  display: grid;
  grid-template-columns: minmax(0, 1.88fr) minmax(265px, 0.88fr);
  gap: 22px;
  align-items: start;
}
.primary {
  min-width: 0;
}
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: 13px;
  background: #203830;
  color: white;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hero canvas,
.hero-shade {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero canvas,
.hardware canvas,
.stage canvas {
  image-rendering: pixelated;
}
.hero-shade {
  background:
    linear-gradient(90deg, rgba(13, 32, 31, 0.84), rgba(24, 41, 42, 0.56) 35%, transparent 72%),
    linear-gradient(0deg, rgba(12, 27, 27, 0.58), transparent 23%);
}
.hero-content {
  padding: 24px 27px 13px;
}
.station-label,
.hero-bottom,
.eyebrow {
  font: 600 11px/1.3 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.085em;
}
.station-label {
  display: flex;
  gap: 7px;
  align-items: center;
  color: #f2f9e5;
}
.station-label i {
  font-size: 15px;
  color: #ceee91;
}
.hero-temp {
  font-size: clamp(65px, 6.5vw, 96px);
  letter-spacing: -0.075em;
  font-weight: 650;
  line-height: 1.04;
  margin-top: 14px;
}
.hero-content h2 {
  font-size: clamp(19px, 1.8vw, 27px);
  letter-spacing: -0.6px;
  line-height: 1.12;
  margin: 4px 0 8px;
  max-width: 75%;
}
.range {
  display: flex;
  gap: 13px;
  font: 600 12px var(--mono);
  color: #f0f4e9;
  min-height: 14px;
}
.hero-bottom {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 10px;
  padding: 12px 25px;
  color: #e6eada;
  font-size: 10px;
  letter-spacing: 0.055em;
}
.hero-bottom span:first-child {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-bottom b {
  font: inherit;
}
.led {
  display: inline-block;
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  background: #d0f894;
  border-radius: 50%;
}
.hero-bottom #local-clock {
  text-align: right;
}
.panel,
.metrics {
  border: 1px solid var(--edge);
  border-radius: 12px;
  background: var(--paper);
}
.metrics {
  margin: 13px 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 14px 0;
}
.metric {
  padding: 0 18px;
  display: flex;
  gap: 10px;
  align-items: center;
  border-right: 1px solid var(--edge);
}
.metric:last-child {
  border: 0;
}
.metric-icon,
.device-symbol {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #e7edde;
  color: #41513a;
}
.metric:nth-child(2) .metric-icon {
  background: #e6edf1;
  color: #486579;
}
.metric:nth-child(3) .metric-icon {
  background: #eaebf1;
  color: #64627a;
}
.metric small,
.output-info small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 4px;
}
.metric b {
  font-size: 15px;
  letter-spacing: -0.4px;
}
.panel-heading {
  padding: 16px 19px;
  min-height: 51px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.panel-heading h2 {
  font-size: 17px;
  line-height: 1.2;
  letter-spacing: -0.55px;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 9px;
}
.panel-heading h2 i {
  font-size: 15px;
  color: #5a685c;
}
.eyebrow {
  font-size: 9px;
  color: var(--muted);
}
.hours {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border-top: 1px solid var(--edge);
  padding: 14px 0;
}
.hour {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 10px;
  border-right: 1px solid #e0e3d9;
}
.hour:last-child {
  border: 0;
}
.hour time,
.days time {
  font: 600 11px var(--mono);
  color: #506055;
}
.hour b {
  font-size: 17px;
}
.hour .weather-icon {
  font-size: 22px;
}
.weather-icon {
  color: #51635e;
}
.weather-icon.sun,
.weather-icon.partly {
  color: #ad7623;
}
.weather-icon.rain,
.weather-icon.snow {
  color: #45728a;
}
.outlook {
  margin-top: 13px;
}
.days {
  padding: 0 19px;
}
.day {
  display: grid;
  grid-template-columns: minmax(60px, 0.6fr) minmax(80px, 2fr) auto;
  align-items: center;
  gap: 9px;
  padding: 11px 0;
  border-top: 1px solid #e1e4da;
  font-size: 13px;
}
.day .summary {
  display: flex;
  align-items: center;
  gap: 9px;
}
.day .summary i {
  font-size: 17px;
}
.day strong {
  font: 650 13px var(--mono);
}
.day strong span {
  color: #69776c;
  font-weight: 400;
}
.source {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 3px 0;
}
.source a,
.text-button,
footer a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  text-decoration: none;
  font: 600 11px var(--sans);
}
.text-button {
  background: transparent;
  border: 0;
  padding: 5px;
}
.source a:hover,
footer a:hover,
.text-button:hover {
  text-decoration: underline;
}
.message,
.usb-message {
  font-size: 13px;
  line-height: 1.4;
  color: #6c4c28;
  margin: 8px 0;
}
.message:empty,
.usb-message:empty {
  display: none;
}
.panel-empty {
  grid-column: 1/-1;
  margin: 0;
  padding: 10px 16px;
  color: var(--muted);
  font-size: 13px;
}
.output {
  overflow: hidden;
}
.output .panel-heading {
  padding: 12px 16px;
}
.icon-btn {
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 6px;
  font-size: 14px;
  min-width: 30px;
  min-height: 30px;
}
.stage {
  border-block: 1px solid var(--edge);
  display: grid;
  place-items: center;
  min-height: 330px;
  padding: 25px 12px 21px;
  background-color: #e3e8dc;
  background-image: radial-gradient(#b3bead 0.8px, transparent 1px);
  background-size: 7px 7px;
  overflow: hidden;
}
.hardware {
  position: relative;
  display: grid;
  justify-items: center;
  filter: drop-shadow(5px 10px 6px #24312330);
  width: clamp(142px, 14.3vw, 184px);
}
.bezel {
  width: 100%;
  background: linear-gradient(110deg, #4b5149, #30372f 20%, #313831 76%, #262d26);
  border: 2px solid #545a51;
  border-bottom: 5px solid #242b25;
  border-radius: 12px;
  padding: 8px 8px 11px;
  box-shadow:
    inset 0 1px 1px #778072,
    2px 2px 0 #252b25;
  position: relative;
  z-index: 1;
}
.bezel canvas {
  width: 100%;
  display: block;
  border: 1px solid #1d241f;
  border-radius: 3px;
  aspect-ratio: 2/3;
}
.stand {
  height: 13px;
  width: 88%;
  background: linear-gradient(#282e28, #43493e 60%, #32392f 61%);
  clip-path: polygon(6% 0, 94% 0, 100% 80%, 100% 100%, 0 100%, 0 80%);
  margin-top: -2px;
}
.output-info {
  padding: 17px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}
.output-info > div {
  display: flex;
  gap: 9px;
  align-items: center;
}
.output-info b {
  font-size: 13px;
}
.output-info small {
  font: 10px var(--mono);
  margin: 4px 0 0;
}
.device-symbol {
  background: #ebece4;
  width: 34px;
  height: 34px;
}
.usb-status {
  font: 600 10px var(--mono);
  background: #e8ebe2;
  color: #526151;
  border: 1px solid #d6dbce;
  border-radius: 20px;
  padding: 4px 8px;
}
.usb-status.online {
  background: #e0f1be;
  color: #314b2c;
}
.usb-message {
  padding: 0 16px 15px;
  margin: 0;
}
footer {
  border-top: 1px solid #d1d6ca;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 36px;
  margin-bottom: 20px;
  padding: 17px 0;
  color: #566154;
  font-size: 11px;
}
footer div {
  display: flex;
  align-items: center;
  gap: 8px;
}
footer div span {
  color: #9aa195;
}
footer img {
  filter: grayscale(0.8);
  opacity: 0.7;
}
dialog {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--edge);
  border-radius: 14px;
  width: min(400px, calc(100% - 24px));
  padding: 22px;
  box-shadow: 0 20px 80px #131d2147;
}
dialog::backdrop {
  background: #17261f8c;
}
.dialog-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.dialog-top h2 {
  font-size: 23px;
  letter-spacing: -0.8px;
  margin: 0;
}
dialog label {
  font-weight: 600;
  font-size: 13px;
}
input[type='search'] {
  display: block;
  width: 100%;
  margin: 7px 0 10px;
  border: 1px solid #abb7a7;
  border-radius: 6px;
  padding: 10px 12px;
  background: white;
}
.dialog-top button {
  border: 1px solid var(--edge);
}
#search-state {
  margin: 14px 0 4px;
  font-size: 13px;
  color: var(--muted);
}
#results {
  display: grid;
  gap: 5px;
  max-height: 45vh;
  overflow: auto;
}
#results button {
  text-align: left;
  border: 1px solid var(--edge);
  padding: 9px;
  background: white;
  border-radius: 6px;
}
#results button:hover {
  background: #eff8da;
}
#zoom {
  width: auto;
  padding: 10px;
  background: #26312a;
  border-color: #3c483f;
}
#zoom form {
  position: absolute;
  right: 8px;
  top: 8px;
}
#zoom button {
  background: #f1f4e6;
  opacity: 0.9;
}
#zoom canvas {
  display: block;
  width: min(70vw, 49vh);
  image-rendering: pixelated;
}
@media (min-width: 1500px) {
  .hero {
    min-height: 292px;
  }
  .stage {
    min-height: 360px;
  }
}
@media (max-width: 900px) {
  .wrap,
  .mast-inner {
    width: calc(100% - 40px);
  }
  .grid {
    gap: 14px;
    grid-template-columns: minmax(0, 1.7fr) minmax(230px, 0.85fr);
  }
  .metric {
    padding: 0 10px;
    gap: 6px;
  }
  .metric-icon {
    width: 27px;
    height: 30px;
  }
  .metric b {
    font-size: 13px;
  }
  .stage {
    min-height: 298px;
  }
  .hero-content {
    padding: 22px 20px 10px;
  }
  .hero-bottom {
    padding-inline: 18px;
  }
}
@media (max-width: 735px) {
  .wrap,
  .mast-inner {
    width: calc(100% - 32px);
  }
  .mast-inner {
    height: 60px;
  }
  .intro {
    margin: 24px 0 16px;
  }
  .grid {
    display: flex;
    flex-direction: column;
  }
  .primary,
  .output {
    width: 100%;
  }
  .output {
    max-width: none;
  }
  .stage {
    min-height: 254px;
  }
  .hardware {
    width: 140px;
  }
  .channelbar nav {
    gap: 12px;
    height: 50px;
  }
  .channelbar a {
    font-size: 13px;
    padding-inline: 7px;
  }
  .hero {
    min-height: 250px;
  }
  .actions {
    gap: 5px;
  }
  .intro .plain {
    padding: 9px;
    font-size: 12px;
  }
  .intro h1 {
    letter-spacing: -1.5px;
  }
  .intro p {
    font-size: 13px;
  }
}
@media (max-width: 525px) {
  .brand {
    gap: 8px;
  }
  .brand img {
    width: 30px;
    height: 30px;
  }
  .brand strong {
    font-size: 20px;
  }
  .brand span {
    font-size: 12px;
  }
  .brand i {
    margin: 0;
    height: 18px;
  }
  .connect {
    font-size: 11px;
    padding: 9px;
    gap: 5px;
  }
  .channelbar nav {
    justify-content: space-between;
    gap: 0;
  }
  .channelbar a {
    gap: 5px;
    padding-inline: 4px;
    font-size: 12px;
  }
  .intro {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .intro p {
    margin-top: 6px;
  }
  .actions {
    align-self: stretch;
    justify-content: space-between;
  }
  .hero-temp {
    font-size: 72px;
  }
  .hero-content h2 {
    max-width: 85%;
  }
  .hero {
    min-height: 225px;
  }
  .metrics {
    padding: 11px 0;
  }
  .metric {
    padding: 0 8px;
    gap: 5px;
  }
  .metric-icon {
    width: 24px;
    height: 27px;
  }
  .metric small {
    font-size: 10px;
  }
  .metric b {
    font-size: 12px;
  }
  .hero-bottom {
    font-size: 8px;
  }
  .panel-heading {
    padding: 13px 14px;
  }
  .hour time,
  .days time {
    font-size: 10px;
  }
  .hours {
    gap: 0;
  }
  .days {
    padding: 0 13px;
  }
  footer {
    margin-top: 24px;
  }
}

.source {
  flex-wrap: wrap;
  gap: 8px;
}
.source small {
  font: 10px var(--mono);
  color: var(--muted);
  margin-right: auto;
}
.source button {
  margin-left: auto;
}

.hero canvas {
  object-fit: cover;
  object-position: 66% center;
}
.setup {
  border-top: 1px solid var(--edge);
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}
.setup summary {
  cursor: pointer;
  padding: 10px 16px;
  font-weight: 600;
}
.setup > div {
  padding: 0 16px 12px;
}
.setup p {
  margin: 2px 0 10px;
}
.setup a {
  display: inline-block;
  color: var(--ink);
  font-weight: 650;
  margin-bottom: 8px;
}
