:root {
  color-scheme: light dark;
  --font: -apple-system, BlinkMacSystemFont, "Inter Variable", system-ui, sans-serif;
  --t-large: 300 48px/52px var(--font);
  --t-headline: 600 15px/20px var(--font);
  --t-body: 400 15px/20px var(--font);
  --t-callout: 400 13px/18px var(--font);
  --t-footnote: 400 12px/16px var(--font);
  --t-caption: 500 11px/13px var(--font);
  --ls-large: -0.03em;
  --ls-body: -0.01em;
  --ls-caption: 0.01em;

  --blue: #0088ff;
  --green: #34c759;
  --orange: #ff8d28;
  --red: #ff383c;

  --canvas: #f2f2f7;
  --label: rgb(0 0 0 / 0.88);
  --label-2: rgb(60 60 67 / 0.66);
  --label-3: rgb(60 60 67 / 0.4);
  --fill-2: rgb(120 120 128 / 0.14);
  --fill-3: rgb(120 120 128 / 0.1);
  --separator: rgb(60 60 67 / 0.13);
  --ring: color-mix(in srgb, var(--blue) 50%, transparent);

  --mat-widget: rgb(255 255 255 / 0.74);
  --sheet: #f2f2f7;
  --group: #fff;
  --hairline: rgb(0 0 0 / 0.08);
  --scrim: rgb(0 0 0 / 0.22);
  --ease-sheet: cubic-bezier(0.32, 0.72, 0, 1);
  --mat-blur: blur(30px) saturate(180%);

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);

  --margin: 40px;
  --gap: 24px;
  --r-widget: 22px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --blue: #0091ff;
    --green: #30d158;
    --orange: #ff9230;
    --red: #ff4245;
    --canvas: #161618;
    --label: rgb(255 255 255 / 0.92);
    --label-2: rgb(235 235 245 / 0.62);
    --label-3: rgb(235 235 245 / 0.34);
    --fill-2: rgb(120 120 128 / 0.26);
    --fill-3: rgb(120 120 128 / 0.18);
    --separator: rgb(255 255 255 / 0.09);
    --mat-widget: rgb(34 34 38 / 0.72);
    --sheet: #1c1c1e;
    --group: #2c2c2e;
    --hairline: rgb(255 255 255 / 0.08);
    --scrim: rgb(0 0 0 / 0.42);
  }
}

:root:has(.weather[data-sky="clear-day"]) {
  --sky-1: #2f7fd6;
  --sky-2: #67aeea;
}
:root:has(.weather[data-sky="clear-night"]) {
  --sky-1: #0d1833;
  --sky-2: #283a62;
}
:root:has(.weather[data-sky="cloud-day"]) {
  --sky-1: #5f7891;
  --sky-2: #8ea4b8;
}
:root:has(.weather[data-sky="cloud-night"]) {
  --sky-1: #1f2833;
  --sky-2: #3f4a59;
}
:root:has(.weather[data-sky="rain-day"]) {
  --sky-1: #4c5d70;
  --sky-2: #75869a;
}
:root:has(.weather[data-sky="rain-night"]) {
  --sky-1: #1a2129;
  --sky-2: #363f4b;
}
:root:has(.weather[data-sky="fog-day"]) {
  --sky-1: #7d8c99;
  --sky-2: #a9b4be;
}
:root:has(.weather[data-sky="fog-night"]) {
  --sky-1: #343c45;
  --sky-2: #565f69;
}
:root:has(.weather[data-sky="snow-day"]) {
  --sky-1: #7d93a9;
  --sky-2: #b4c3d1;
}
:root:has(.weather[data-sky="snow-night"]) {
  --sky-1: #26313f;
  --sky-2: #475262;
}
:root:has(.weather[data-sky^="storm"]) {
  --sky-1: #272d39;
  --sky-2: #4a5263;
}

@font-face {
  font-family: "Inter Variable";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  size-adjust: 97%;
  src: url("/assets/inter-latin-opsz-normal.woff2") format("woff2-variations");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC,
    U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter Variable";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  size-adjust: 97%;
  src: url("/assets/inter-latin-ext-opsz-normal.woff2") format("woff2-variations");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C0,
    U+2113, U+A720-A7FF;
}
:root.font-inter {
  --font: "Inter Variable", system-ui, sans-serif;
}
:root.font-inter body {
  font-feature-settings: "ss03", "cv05";
}

* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  position: relative;
  background: var(--canvas);
  color: var(--label);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font: var(--t-callout);
}

button,
input {
  font: inherit;
  color: inherit;
}
button {
  margin: 0;
  border: 0;
  background: none;
  cursor: default;
  -webkit-tap-highlight-color: transparent;
}
[hidden] {
  display: none !important;
}
[data-symbol] {
  display: inline-flex;
}
svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: currentColor;
}

:focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: 2px;
}

.desk {
  container: desk / inline-size;

  width: min(100% - 2 * var(--margin), max(752px, 56vw), 880px);
  margin: auto;

  padding: max(32px, env(safe-area-inset-top)) 0 calc(32px + 8vh);
}

.search {
  position: relative;
  display: flex;
  align-items: center;
  height: 44px;
  margin-bottom: var(--gap);
  border-radius: 22px;

  --lg-flex: 1.012;
}
.search-glyph {
  position: absolute;
  left: 15px;
  width: 17px;
  height: 17px;
  z-index: 3;
  color: var(--label-2);
  pointer-events: none;
}
.search input {
  flex: 1;
  min-width: 0;
  height: 100%;
  position: relative;
  z-index: 3;
  padding: 0 44px 0 42px;
  border: 0;
  border-radius: inherit;
  background: none;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  font: var(--t-body);
  letter-spacing: var(--ls-body);
}
.search input::placeholder {
  color: var(--label-3);
}
.search input::-webkit-search-cancel-button {
  -webkit-appearance: none;
}
.search-clear {
  position: absolute;
  z-index: 3;
  right: 6px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 8px;
  border-radius: 50%;
  color: var(--label-3);
}

.widgets {
  --unit: calc((100cqw - 3 * var(--gap)) / 4);
  --icon: calc(var(--unit) * 0.42);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: var(--unit);
  gap: var(--gap);
  grid-template-areas:
    "apps apps weather weather"
    "status status weather weather";
}

.widget {
  position: relative;
  isolation: isolate;
  min-width: 0;
  padding: 16px;
  border-radius: var(--r-widget);
}

@property --glow {
  syntax: "<number>";
  inherits: true;
  initial-value: 0;
}
@property --spread {
  syntax: "<length-percentage>";
  inherits: true;
  initial-value: 0%;
}

[data-glass] {
  --lg-ink: 255 255 255;
  --lg-tint: 0.42;
  --lg-shade: 1;
  position: relative;
  isolation: isolate;
  background: var(--mat-widget);
  -webkit-backdrop-filter: var(--mat-blur);
  backdrop-filter: var(--mat-blur);
  box-shadow:
    0 0.5px 1px rgb(0 0 0 / calc(0.08 * var(--lg-shade))),
    0 3px 8px rgb(0 0 0 / calc(0.04 * var(--lg-shade))),
    0 16px 36px -12px rgb(20 30 60 / calc(0.22 * var(--lg-shade)));
  transition:
    transform 0.55s cubic-bezier(0.3, 1.55, 0.5, 1),
    --glow 0.6s ease,
    --spread 0.6s ease;
}

[data-glass]::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background:
    radial-gradient(
      circle at var(--px, 50%) var(--py, 50%),
      rgb(255 255 255 / calc(var(--glow) * 0.3)),
      transparent var(--spread)
    ),
    rgb(var(--lg-ink) / calc(var(--lg-tint) + var(--lg-focus, 0) * 0.2));
  pointer-events: none;
}
[data-glass]::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
  background: var(--lg-rim, none) 0 0 / 100% 100% no-repeat;
  pointer-events: none;
}
[data-glass].is-pressed {
  --glow: 1;
  --spread: 160%;
  transform: scale(var(--lg-flex, 1.006));
  transition:
    transform 0.12s var(--ease-out),
    --glow 0.12s ease,
    --spread 0.5s ease-out;
}
.search:focus-within {
  --lg-focus: 1;
  box-shadow:
    0 0.5px 1px rgb(0 0 0 / 0.08),
    0 16px 36px -12px rgb(20 30 60 / 0.22),
    0 0 0 3.5px var(--ring);
}

.apps {
  grid-area: apps;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));

  padding: 11px;
  gap: 2px;
}
.app {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  height: 100%;
  border-radius: calc(var(--r-widget) - 11px);
  color: var(--label-2);
  text-decoration: none;
  transition:
    background-color 0.15s,
    color 0.15s;
  -webkit-tap-highlight-color: transparent;
}
@media (hover: hover) and (pointer: fine) {
  .app:hover {
    background: var(--fill-3);
    color: var(--label);
  }
}
.app img {
  display: block;
  width: var(--icon);
  height: var(--icon);

  filter: drop-shadow(0 0.5px 1px rgb(0 0 0 / 0.18)) drop-shadow(0 4px 8px rgb(0 0 0 / 0.1));
  transition:
    transform 0.18s var(--ease-out),
    filter 0.18s;
}
.app span {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font: var(--t-caption);
  letter-spacing: var(--ls-caption);
}
.app:active img {
  transform: scale(0.94);
  filter: drop-shadow(0 0.5px 1px rgb(0 0 0 / 0.18)) brightness(0.86);
}
.app:focus-visible {
  outline: none;
}
.app:focus-visible img {
  border-radius: 22.5%;
  outline: 3px solid var(--ring);
  outline-offset: 2px;
}

.weather {
  grid-area: weather;
  display: flex;
  flex-direction: column;
  z-index: 1;
  color: #fff;

  box-shadow:
    inset 0 0.5px 0 rgb(255 255 255 / 0.22),
    0 0 0 0.5px rgb(0 0 0 / 0.12),
    0 16px 36px -12px rgb(20 30 60 / 0.3);
  --w-2: rgb(255 255 255 / 0.68);
  --w-track: rgb(255 255 255 / 0.2);
  --w-field: rgb(255 255 255 / 0.18);
  background: linear-gradient(180deg, var(--sky-1), var(--sky-2));
}
.weather[data-sky="none"] {
  color: var(--label);
  --w-2: var(--label-2);
  --w-track: var(--fill-2);
  --w-field: var(--fill-2);
  background: var(--mat-widget);
}
.weather-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  height: 22px;
}
.place {
  flex: 0 1 auto;
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  margin: -2px -6px;
  padding: 2px 6px;
  border-radius: 8px;
  text-align: left;
  transition: background-color 0.15s;
  font: var(--t-headline);
  letter-spacing: var(--ls-body);
}
@media (hover: hover) and (pointer: fine) {
  .place:hover {
    background: var(--w-field);
  }
}
.place:active {
  opacity: 0.7;
}
.place-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.place-here {
  flex: none;
  width: 11px;
  height: 11px;
}
.place-more {
  flex: none;
  width: 10px;
  height: 10px;
  opacity: 0.7;
}
.now-glyph {
  flex: none;
  width: 22px;
  height: 22px;
}

.now {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: 2px;
  padding-bottom: 14px;
  border-bottom: 0.5px solid var(--w-track);
}
.now-temp {
  font-variant-numeric: tabular-nums;
  margin-left: -2px;
  white-space: nowrap;
  font: var(--t-large);
  letter-spacing: var(--ls-large);
}
.now-detail {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  min-width: 0;
  padding-bottom: 6px;
  text-align: right;
  font: var(--t-callout);
  font-weight: 600;
}
.now-condition,
.now-range {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.now-range {
  font-variant-numeric: tabular-nums;
}

.days {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  margin: 6px 0 -4px;
  padding: 0;
  list-style: none;
}
.days li {
  display: grid;
  grid-template-columns: 3.1em 22px 2.4em minmax(0, 1fr) 2.4em;
  align-items: center;
  gap: 8px;
  font-variant-numeric: tabular-nums;
  font: var(--t-headline);
  letter-spacing: var(--ls-body);
}
.days .glyph {
  width: 20px;
  height: 20px;
  justify-self: center;
}
.days .lo {
  color: var(--w-2);
  text-align: right;
}
.days .hi {
  text-align: right;
}
.range {
  position: relative;
  height: 4px;
  border-radius: 2px;
  background: var(--w-track);
}
.range i {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--from);
  right: var(--to);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--c-lo), var(--c-hi));
}

.range b {
  position: absolute;
  top: 50%;
  left: var(--now);
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 1.5px var(--sky-1, var(--canvas));
}

.weather[data-state="loading"] .place-name:empty,
.weather[data-state="loading"] .now-temp:empty,
.status[data-state="loading"] .status-title:empty {
  display: inline-block;
  height: 0.8em;
  border-radius: 4px;
  background: var(--fill-2);
}
.weather[data-state="loading"] .place-name:empty {
  width: 7em;
}
.weather[data-state="loading"] .now-temp:empty {
  width: 1.6em;
  margin: 10px 0 6px;
}
.status[data-state="loading"] .status-title:empty {
  width: 9em;
}
.weather-error {
  margin: auto 0;
  color: var(--w-2);
  text-align: center;
}

.privacy-link {
  color: var(--label-3);
  text-decoration: none;
  border-radius: 4px;
  font: var(--t-footnote);
}
@media (hover: hover) and (pointer: fine) {
  .privacy-link:hover {
    text-decoration: underline;
  }
}

.picker {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  border-radius: inherit;
  background: inherit;
}
.picker-field {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}
.picker-glyph {
  position: absolute;
  left: 10px;
  width: 15px;
  height: 15px;
  color: var(--w-2);
  pointer-events: none;
}
.picker-field input {
  flex: 1;
  min-width: 0;
  height: 34px;
  padding: 0 12px 0 32px;
  border: 0;
  border-radius: 17px;
  background: var(--w-field);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  font: var(--t-body);
  letter-spacing: var(--ls-body);
}
.picker-field input::placeholder {
  color: var(--w-2);
}
.picker-field input::-webkit-search-cancel-button {
  -webkit-appearance: none;
}
.picker-field input:focus-visible {
  box-shadow: 0 0 0 3px var(--ring);
}
.picker-cancel {
  flex: none;
  padding: 6px 0;
  font: var(--t-body);
  letter-spacing: var(--ls-body);
}
.picker-list {
  flex: 1;
  min-height: 0;
  margin: 0 -6px;
  padding: 0;
  overflow-y: auto;
  list-style: none;
  overscroll-behavior: contain;
}
.picker-list li {
  display: grid;
  grid-template-columns: 17px minmax(0, 1fr);
  align-items: center;
  column-gap: 8px;
  padding: 7px 8px;
  border-radius: 10px;
  cursor: default;
}
.picker-list li[aria-selected="true"] {
  background: var(--w-field);
}
@media (hover: hover) and (pointer: fine) {
  .picker-list li:hover {
    background: var(--w-field);
  }
}
.picker-list .glyph {
  width: 13px;
  height: 13px;
  justify-self: center;
}
.picker-list strong,
.picker-list small {
  grid-column: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.picker-list strong {
  font: var(--t-headline);
  letter-spacing: var(--ls-body);
}
.picker-list small {
  color: var(--w-2);
  font: var(--t-footnote);
}
.picker-note {
  padding: 7px 8px;
  color: var(--w-2);
}
.picker-list li[aria-disabled="true"] {
  opacity: 0.6;
}
.picker-status {
  margin: -2px 2px 0;
  color: var(--w-2);
}
.picker-status:empty {
  display: none;
}

.status {
  grid-area: status;
  display: flex;
  flex-direction: column;
}
.status-head {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 22px;
}
.status-glyph {
  flex: none;
  width: 17px;
  height: 17px;
}
.status-glyph:empty {
  display: none;
}
.status[data-tone="good"] .status-glyph {
  color: var(--green);
}
.status[data-tone="warning"] .status-glyph {
  color: var(--orange);
}
.status[data-tone="danger"] .status-glyph {
  color: var(--red);
}
.status-title {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font: var(--t-headline);
  letter-spacing: var(--ls-body);
}
.status-period {
  flex: none;
  color: var(--label-3);
  font: var(--t-caption);
  letter-spacing: var(--ls-caption);
}

.services {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin: 10px 0 -6px;
  padding: 0;
  list-style: none;
}
.services li {
  position: relative;
  flex: 1;
  display: grid;
  grid-template-columns: 17px minmax(0, 1fr) auto;
  align-items: center;
  gap: 7px;
  font: var(--t-callout);
}
.services li + li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 0;
  border-top: 0.5px solid var(--separator);
}
.services i {
  justify-self: center;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--fill-2);
  transition:
    background-color 0.3s,
    box-shadow 0.3s;
}

.services [data-state="online"] i {
  background: var(--green);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--green) 18%, transparent);
}
.services [data-state="updating"] i {
  background: var(--orange);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--orange) 20%, transparent);
}
.services [data-state="offline"] i {
  background: var(--red);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--red) 20%, transparent);
}
.services span {
  overflow: hidden;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.services b {
  color: var(--label-2);
  font-weight: 400;
  font-variant-numeric: tabular-nums;
}

.desk-foot {
  display: flex;
  justify-content: center;
  margin-top: var(--gap);
}

.privacy {
  width: min(100% - 2 * var(--margin), 540px);
  max-width: none;
  max-height: min(100% - 80px, 900px);
  padding: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 0;
  border-radius: 30px;
  background: var(--sheet);
  color: var(--label);
  box-shadow:
    0 0 0 0.5px var(--hairline),
    0 24px 70px -20px rgb(0 0 0 / 0.35);
  opacity: 0;
  transform: scale(0.98);
  transition:
    opacity 160ms ease,
    transform 160ms var(--ease-out),
    overlay 160ms allow-discrete,
    display 160ms allow-discrete;
}
.privacy[open] {
  opacity: 1;
  transform: none;
  transition:
    opacity 200ms ease,
    transform 380ms var(--ease-out),
    overlay 380ms allow-discrete,
    display 380ms allow-discrete;
}
@starting-style {
  .privacy[open] {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
  }
}
.privacy:focus-visible {
  outline: none;
}
.privacy::backdrop {
  background: transparent;
  transition:
    background 200ms ease,
    overlay 200ms allow-discrete,
    display 200ms allow-discrete;
}
.privacy[open]::backdrop {
  background: var(--scrim);
}
@starting-style {
  .privacy[open]::backdrop {
    background: transparent;
  }
}
:root:has(.privacy[open]) {
  overflow: hidden;
}

.privacy-head {
  position: sticky;
  top: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  background: linear-gradient(var(--sheet) 75%, transparent);
  height: 56px;
}
.privacy-head h2 {
  margin: 0;
  font: var(--t-headline);
  letter-spacing: var(--ls-body);
}
.privacy-close {
  position: absolute;
  top: 12px;
  left: 12px;
  border-radius: 50%;
  background: var(--fill-2);
  color: var(--label-2);
  transition: background-color 200ms ease;
  width: 32px;
  height: 32px;
}
.privacy-close::after {
  content: "";
  position: absolute;
  inset: -6px;
}
.privacy-close::before {
  content: "";
  position: absolute;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 2l8 8M10 2l-8 8' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 2l8 8M10 2l-8 8' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  inset: 10px;
}
@media (hover: hover) and (pointer: fine) {
  .privacy-close:hover {
    background: color-mix(in srgb, var(--fill-2), var(--label) 6%);
  }
}
.privacy-close:active {
  background: color-mix(in srgb, var(--fill-2), var(--label) 12%);
  transition: none;
}
.privacy-body {
  padding: 0 16px 40px;
}
.privacy-lead {
  margin: 0 16px 6px;
  text-align: center;
  text-wrap: balance;
  font: var(--t-body);
  letter-spacing: var(--ls-body);
}
.privacy-heading {
  margin: 0;
  padding: 18px 16px 7px;
  font: var(--t-callout);
  font-weight: 600;
}
.privacy-foot + .privacy-heading {
  padding-top: 24px;
}
.privacy-group {
  overflow: hidden;
  background: var(--group);
  border-radius: var(--r-widget);
}
.privacy-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  color: var(--label);
  text-align: left;
  text-decoration: none;
  transition: background-color 300ms ease;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  user-select: none;
  min-height: 44px;
  padding: 12px 16px;
  font: var(--t-body);
  letter-spacing: var(--ls-body);
}
.privacy-row:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 3px var(--ring);
}
.privacy-row + .privacy-row::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 16px;
  height: 0.5px;
  background: var(--separator);
}
a.privacy-row:active,
button.privacy-row:active {
  background: var(--fill-2);
  transition: none;
}
:is(a, button).privacy-row:active::before,
:is(a, button).privacy-row:active + .privacy-row::before {
  opacity: 0;
}
@media (hover: hover) and (pointer: fine) {
  a.privacy-row:hover,
  button.privacy-row:hover {
    background: var(--fill-3);
  }
}
.saved-state,
.privacy-value {
  min-width: 0;
  overflow: hidden;
  color: var(--label-2);
  text-overflow: ellipsis;
  white-space: nowrap;
  outline: none;
}
.privacy-clear {
  color: var(--red);
}
.privacy-out::after {
  content: "";
  flex: none;
  width: 12px;
  height: 12px;
  background: var(--label-3);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 9.5l7-7M4 2.5h5.5V8' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 9.5l7-7M4 2.5h5.5V8' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.privacy-foot {
  margin: 0;
  color: var(--label-2);
  text-wrap: pretty;
  padding: 7px 16px 0;
  font: var(--t-footnote);
}

@media (max-width: 900px) {
  :root {
    --margin: 32px;
    --gap: 20px;
  }
}

@media (max-width: 599px) {
  :root {
    --margin: 20px;
    --gap: 16px;
  }
  .desk {
    padding: max(16px, env(safe-area-inset-top)) 0 max(24px, env(safe-area-inset-bottom));
    margin-top: 0;
  }
  .search input {
    font-size: 17px;
  }
  .widgets {
    --unit: calc((100cqw - var(--gap)) / 2);
    --icon: calc(var(--unit) * 0.34);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "apps apps"
      "status status"
      "weather weather"
      "weather weather";
  }
  .apps {
    padding: 0 4px;
  }

  .privacy {
    --sheet: var(--canvas);
    inset: 0;
    width: 100%;
    height: 100%;
    max-height: none;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    transform: translateY(100%);
    transition:
      transform 300ms var(--ease-sheet),
      overlay 300ms allow-discrete,
      display 300ms allow-discrete;
  }
  .privacy[open] {
    transition:
      transform 500ms var(--ease-sheet),
      overlay 500ms allow-discrete,
      display 500ms allow-discrete;
  }
  @starting-style {
    .privacy[open] {
      opacity: 1;
      transform: translateY(100%);
    }
  }
  .privacy-head {
    padding-top: env(safe-area-inset-top);
    height: calc(56px + env(safe-area-inset-top));
  }
  .privacy-close {
    top: calc(12px + env(safe-area-inset-top));
  }
  .privacy-body {
    padding-bottom: max(40px, env(safe-area-inset-bottom));
  }
}

@media (prefers-color-scheme: dark) {
  [data-glass] {
    --lg-ink: 18 18 22;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}

@media (prefers-reduced-transparency: reduce) {
  :root {
    --mat-widget: Canvas;
  }
  [data-glass] {
    background: var(--mat-widget);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  [data-glass]::before {
    display: none;
  }
}

@media (prefers-contrast: more) {
  :root {
    --label-2: var(--label);
    --label-3: var(--label);
  }
  .weather {
    --w-2: #fff;
  }
  [data-glass] {
    --lg-tint: 0.82 !important;
    outline: 1px solid var(--label-3);
  }
  .privacy-group {
    outline: 1px solid var(--label-3);
    outline-offset: -1px;
  }
}
