@font-face {
  font-family: Albert;
  src: url("../fonts/albert-sans.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: Alegreya;
  src: url("../fonts/alegreya.ttf") format("truetype");
  font-weight: 400 700;
  font-display: swap;
}
.wl-phone,
.wl-stack {
  font-family: Albert, system-ui, sans-serif;
  color: #fff;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}
.wl-phone *,
.wl-stack * {
  box-sizing: border-box;
}
.wl-phone button,
.wl-stack button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
.wl-phone {
  position: relative;
  width: 100%;
  max-width: 390px;
  aspect-ratio: 390/844;
  --phone-scale: 1;
}
.wl-device {
  width: 390px;
  height: 844px;
  position: absolute;
  transform: scale(var(--phone-scale));
  transform-origin: top left;
  background: #080909;
  border: 5px solid #343638;
  border-radius: 55px;
  overflow: hidden;
  box-shadow:
    0 35px 80px #0008,
    inset 0 0 0 1px #ffffff30;
}
.wl-status {
  height: 58px;
  padding: 17px 27px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 600;
}
.wl-island {
  width: 120px;
  height: 33px;
  background: #000;
  border-radius: 24px;
  position: absolute;
  top: 10px;
  left: 130px;
}
.wl-header {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
}
.wl-header > span {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 30px;
  background: #ffffff0b;
  border: 1px solid #ffffff12;
  width: 40px;
  height: 40px;
}
.wl-header > .wl-lens {
  width: auto;
  height: 32px;
  padding: 0 12px;
  gap: 7px;
  font-size: 14px;
  font-weight: 650;
}
.wl-identity {
  display: flex;
  justify-content: space-between;
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 1.5px;
  color: #aaa;
  padding: 17px 17px 16px;
}
.wl-stack-mount {
  margin: 0 7px;
}
.wl-stack {
  width: 366px;
  border: 1px solid #242424;
  border-radius: 17px;
  overflow: hidden;
  background: #161616;
  contain: layout paint;
  isolation: isolate;
}
.wl-row {
  position: relative;
  overflow: hidden;
  border-bottom: 0.5px solid #ffffff1a;
}
.wl-row:last-child {
  border-bottom: 0;
}
.wl-row-select {
  position: absolute;
  z-index: 2;
  left: 0;
  top: 0;
  width: 100%;
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 10px;
  border: 0;
  background: transparent;
  text-align: left;
}
.wl-row-select > svg {
  color: var(--metric);
  flex-shrink: 0;
}
.wl-row-select > span {
  font-size: 14px;
  font-weight: 600;
}
.wl-row-select .wl-chevron {
  margin-left: auto;
  color: #777;
  font-size: 17px;
}
.wl-row-select:focus-visible {
  outline: 2px solid #b9d8ff;
  outline-offset: -3px;
  border-radius: 12px;
}
.wl-interpretation {
  position: absolute;
  left: 38px;
  right: 12px;
  top: 59px;
  pointer-events: none;
}
/* ForecastMetricInterpretationView: value 44 Medium; description 17 Regular. */
.wl-value {
  font-family: Albert, system-ui, sans-serif;
  font-size: 44px;
  line-height: normal;
  font-weight: 500;
  letter-spacing: normal;
  white-space: nowrap;
}
.wl-phrase {
  font-family: Albert, system-ui, sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: normal;
  letter-spacing: normal;
  margin-top: 3px;
  color: #d1d1d1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.wl-plot {
  position: absolute;
  top: 0;
  left: 0;
  width: 366px;
  height: 414px;
  pointer-events: none;
  color: var(--metric);
  overflow: visible;
  font-family: Albert, system-ui, sans-serif;
}
.wl-mode {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 12px;
  color: #999;
  margin-top: 15px;
}
.wl-mode button {
  border: 1px solid #ffffff22;
  background: #171819;
  border-radius: 18px;
  padding: 7px 12px;
}
.wl-mode button[aria-pressed="true"] {
  color: #111;
  background: #fff;
}
.wl-tabs {
  position: absolute;
  bottom: 27px;
  left: 64px;
  right: 64px;
  height: 52px;
  border: 1px solid #ffffff25;
  border-radius: 32px;
  background: linear-gradient(#2b2c2de8, #121314f5);
  display: flex;
  align-items: center;
  padding: 4px;
  box-shadow: 0 8px 24px #0008;
  gap: 4px;
  font-size: 12px;
  font-weight: 700;
}
.wl-tabs span {
  flex: 1;
  text-align: center;
  padding: 13px 0;
  white-space: nowrap;
}
.wl-tabs .active {
  background: #fff;
  color: #141414;
  border-radius: 25px;
}
.wl-home {
  position: absolute;
  bottom: 8px;
  width: 120px;
  height: 4px;
  background: #eee;
  border-radius: 5px;
  left: 130px;
}
.wl-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.wl-detached {
  width: 100%;
  max-width: 440px;
  position: relative;
  aspect-ratio: 366/542;
}
.wl-detached > .wl-stack {
  position: absolute;
  top: 0;
  left: 0;
  transform-origin: top left;
  transform: scale(var(--stack-scale, 1));
  box-shadow: 0 25px 65px #0007;
}
/* Canonical screen, independent device bezel and external perspective container. */
.wl-phone {
  max-width: 402px;
  aspect-ratio: 402/856;
}
.wl-device {
  width: 402px;
  height: 856px;
  border: 6px solid #343638;
  border-radius: 56px;
  isolation: isolate;
}
.wl-device-content {
  width: 390px;
  height: 844px;
}
.wl-screen {
  position: relative;
  width: 390px;
  height: 844px;
  color: #fff;
  font-family: Albert, system-ui, sans-serif;
  overflow: hidden;
  background: #080909;
  isolation: isolate;
}
.wl-screen * {
  box-sizing: border-box;
}
.wl-screen-header,
.wl-screen-body {
  position: relative;
  z-index: 1;
}
.wl-screen-header {
  pointer-events: none;
}
.wl-status .wl-island {
  left: 135px;
}
.wl-screen .wl-stack-mount {
  margin: 0 12px;
}
.wl-screen .wl-tabs {
  z-index: 3;
  left: 66px;
  right: 66px;
}
.wl-tabs button {
  flex: 1;
  text-align: center;
  padding: 13px 0;
  white-space: nowrap;
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}
.wl-screen .wl-tabs .active {
  color: #141414;
  background: #fff;
}
.wl-device > .wl-home {
  left: 135px;
  z-index: 5;
  pointer-events: none;
}
.wl-background {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.wl-atmosphere[data-kind="sky"] {
  background:
    radial-gradient(ellipse at 62% 13%, #cad8c372, transparent 34%),
    radial-gradient(ellipse at 20% 46%, #bfd4df33, transparent 50%),
    linear-gradient(#435f71, #5f7e8b 38%, #263f59 72%, #101827);
}
.wl-atmosphere video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.wl-screen[data-horizon="now"] .wl-screen-body {
  height: calc(844px - 164px);
  overflow-y: auto;
  scrollbar-width: none;
  padding-bottom: 95px;
  overscroll-behavior-y: contain;
}
.wl-screen[data-horizon="now"] .wl-screen-body::-webkit-scrollbar {
  display: none;
}
.wl-now {
  color: #fff;
  font-family: Albert, system-ui, sans-serif;
}
.wl-now-hero {
  text-align: center;
  /* Reserve room for the 54px sun above the numerals without changing hero height. */
  padding: 120px 16px 80px;
}
.wl-now-temperature {
  display: inline-block;
  position: relative;
  font-size: 112px;
  font-weight: 350;
  letter-spacing: -5px;
  line-height: 1;
  text-shadow: 0 4px 22px #0004;
}
.wl-now-temperature sup {
  position: absolute;
  top: 12px;
  left: calc(100% + 2px);
  font-size: 46px;
  line-height: 1;
  letter-spacing: 0;
}
.wl-now-condition {
  font:
    400 27px/1.2 Alegreya,
    Georgia,
    serif;
  margin-top: 10px;
}
.wl-now-support {
  font-size: 17px;
  line-height: 1.35;
  margin-top: 26px;
}
.wl-now-support span {
  color: #ffffffb3;
}
.wl-now-signals {
  margin: 0 12px;
}
.wl-signals {
  background: #161616;
  color: #fff;
  border: 1px solid #242424;
  border-radius: 17px;
  overflow: hidden;
  font-family: Albert, system-ui, sans-serif;
}
.wl-signals h3,
.wl-readings h3 {
  font-size: 11px;
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin: 0;
  padding: 14px 12px 10px;
}
.wl-signal-row {
  --tap: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  width: calc(100% - 24px);
  margin: 0 12px;
  padding: 12px 0;
  border: 0;
  border-top: 0.5px solid #ffffff12;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-align: left;
  font:
    500 15px/1.25 Albert,
    system-ui,
    sans-serif;
  box-shadow: inset 0 0 24px rgb(150 200 255 / calc(var(--tap) * 0.2));
  transform: scale(calc(1 - var(--tap) * 0.025));
  transform-origin: center;
}
.wl-signal-row > svg:first-child {
  flex: none;
  color: var(--metric);
}
.wl-signal-title {
  flex: 1;
}
.wl-signal-preview {
  flex: none;
  color: var(--metric);
  margin-left: 4px;
  overflow: visible;
}
.wl-signals button:focus-visible,
.wl-tabs button:focus-visible,
.wl-mode button:focus-visible {
  outline: 2px solid #bad6ed;
  outline-offset: -2px;
  border-radius: 9px;
}
.wl-readings {
  margin: 12px;
  background: #161616;
  border-radius: 17px;
  padding: 0 8px 8px;
}
.wl-reading-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.wl-reading {
  background: #000;
  border-radius: 16px;
  padding: 12px;
  min-height: 166px;
}
.wl-reading-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  text-transform: uppercase;
  color: #b5c4cf;
}
.wl-reading-value {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.25;
  margin-top: 9px;
}
.wl-reading-note {
  color: #97bfdc;
  font-size: 14px;
  margin-top: 3px;
}
.wl-reading-rule {
  height: 1px;
  background: #ffffff19;
  margin-top: 12px;
}
.wl-frame-only {
  position: absolute;
  inset: -6px;
  border: 6px solid #383c3e;
  border-radius: 56px;
  pointer-events: none;
  box-shadow:
    0 30px 90px #0008,
    inset 0 0 0 1px #ffffff2a;
  z-index: 4;
}
.wl-frame-only::before {
  content: "";
  position: absolute;
  top: 10px;
  left: calc(50% - 60px);
  width: 120px;
  height: 33px;
  border-radius: 30px;
  background: #000;
}
.wl-frame-only::after {
  content: "";
  position: absolute;
  bottom: 8px;
  left: calc(50% - 60px);
  width: 120px;
  height: 4px;
  border-radius: 10px;
  background: #fff;
}
.wl-pager {
  position: relative;
  width: 390px;
  height: 844px;
  overflow: hidden;
}
.wl-pager > .wl-screen {
  position: absolute;
  top: 0;
  left: 0;
}

/* A persistent forecast shell, matching RootView's background/chrome ownership. */
.wl-page-content {
  background: transparent;
}
.wl-page-content > .wl-screen-header {
  visibility: hidden;
}
.wl-page-content > .wl-tabs,
.wl-page-content > .wl-background {
  display: none;
}
.wl-shared-shell {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 42px;
  pointer-events: none;
  background: transparent;
  isolation: auto;
}
.wl-shared-shell > .wl-background {
  z-index: 0;
}
.wl-shared-shell > .wl-screen-header {
  z-index: 4;
}
.wl-shared-shell > .wl-tabs {
  z-index: 4;
  pointer-events: auto;
}
.wl-shared-shell .wl-identity {
  color: #ffffffcc;
}
.wl-section-titles {
  display: grid;
  text-align: right;
}
.wl-section-titles > span {
  grid-area: 1 / 1;
}
.wl-shared-shell .wl-tabs {
  --tab-progress: 0;
}
.wl-shared-shell .wl-tabs::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 4px;
  bottom: 4px;
  width: calc((100% - 16px) / 3);
  border-radius: 30px;
  background: #fff;
  transform: translateX(calc(var(--tab-progress) * (100% + 4px)));
}
.wl-shared-shell .wl-tabs > * {
  position: relative;
  z-index: 1;
}
.wl-shared-shell .wl-tabs .active {
  background: transparent;
}
.wl-pager > .wl-page-content {
  z-index: 1;
}
.wl-pager > .wl-shared-shell {
  overflow: visible;
}
.wl-pager > .wl-shared-shell > .wl-background {
  border-radius: 42px;
}

.wl-now-hero {
  position: relative;
  isolation: isolate;
}
.wl-now-effects {
  position: absolute;
  inset: -35px 0 -15px;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.wl-weather-effects {
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.wl-now-effects {
  mask-image: linear-gradient(
    to bottom,
    transparent,
    black 4%,
    black 82%,
    transparent
  );
}
.wl-now-effects {
  mask-image: none;
  overflow: visible;
}
.wl-now-effects > canvas {
  mask-image: linear-gradient(
    to bottom,
    transparent,
    black 4%,
    black 82%,
    transparent
  );
}
.wl-celestial-controls {
  position: absolute;
  inset: 0;
  pointer-events: none;
  font:
    12px Albert,
    system-ui,
    sans-serif;
  z-index: 2;
}
.wl-celestial-controls[hidden] {
  display: none;
}
.wl-celestial-controls button {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  border: 0;
  background: none;
  padding: 0;
  pointer-events: auto;
  cursor: pointer;
  color: #ffffff66;
  display: grid;
  place-items: center;
}
.wl-celestial-controls button[hidden] {
  display: none;
}
.wl-celestial-controls button span {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border: 1px solid #ffffff4d;
  border-radius: 50%;
  font-size: 18px;
}
.celestial-rise {
  left: 6.5%;
  top: 35.5%;
}
.celestial-set {
  left: 93.5%;
  top: 35.5%;
}
.wl-celestial-controls button:focus-visible {
  outline: 2px solid #ffe080;
  outline-offset: 0;
  border-radius: 50%;
}
.wl-celestial-controls button[aria-expanded="true"] span {
  background: #ffffff18;
}
.celestial-timing {
  position: absolute;
  left: 50%;
  top: 43%;
  transform: translateX(-50%);
  width: max-content;
  max-width: 95%;
  padding: 10px 14px;
  color: #fff;
  background: #182637ed;
  border: 1px solid #ffffff30;
  border-radius: 15px;
  box-shadow: 0 6px 18px #0004;
  pointer-events: auto;
  text-align: center;
}
.wl-now-hero:has(.celestial-timing:not([hidden])) .wl-now-temperature {
  opacity: 0.25;
}

.wl-row-select > .wl-header-range {
  margin-left: auto;
  flex: 0 0 96px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.15;
  white-space: nowrap;
  color: #d1d1d1;
}
.wl-header-range small {
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #aaa;
}

/* ForecastSectionTabBar: template assets inherit the interpolated foreground. */
.wl-tabs > span,
.wl-tabs > button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 44px;
  padding: 0;
  color: rgb(255 255 255 / 84%);
}
.wl-tab-icon {
  display: block;
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  background: currentColor;
  -webkit-mask: var(--tab-icon) center / contain no-repeat;
  mask: var(--tab-icon) center / contain no-repeat;
}
.wl-tabs > .active { color: rgb(0 0 0 / 86%); }

.wl-tab-icon[data-icon="now"] { --tab-icon: url("./symbols/view-now.svg"); }
.wl-tab-icon[data-icon="24h"] { --tab-icon: url("./symbols/view-24h.svg"); }
.wl-tab-icon[data-icon="10d"] { --tab-icon: url("./symbols/view-10d.svg"); }
