:root[data-theme= "cat"] {
  --primary: #cba6f7;
  --on-primary: #1e1e2e;
  --background: #1e1e2e;
  --on-background: #d9e0ee;
  --surface: #313244;
  --on-surface: #cdd6f4;
  --on-surface-variant: #9399b2;
  --on-surface-variant-2: #bac2de;
  --outline: #6c7086;
  --bg-aqi-1: #a6e3a1;
  --on-bg-aqi-1: #1e1e2e;
  --bg-aqi-2: #f9e2af;
  --on-bg-aqi-2: #1e1e2e;
  --bg-aqi-3: #fab387;
  --on-bg-aqi-3: #1e1e2e;
  --bg-aqi-4: #f38ba8;
  --on-bg-aqi-4: #1e1e2e;
  --bg-aqi-5: #cba6f7;
  --on-bg-aqi-5: #1e1e2e;
  --white: #f5e0dc;
  --white-alpha-4: rgba(245, 224, 220, 0.04);
  --white-alpha-8: rgba(245, 224, 220, 0.08);
  --black-alpha-10: rgba(30, 30, 46, 0.1);

}
:root[data-theme= "gruv"] {
  --primary: #458588;
  --on-primary: #282828;
  --background: #282828;
  --on-background: #ebdbb2;
  --surface: #3c3836;
  --on-surface: #d5c4a1;
  --on-surface-variant: #928374;
  --on-surface-variant-2: #a89984;
  --outline: #665c54;
  --bg-aqi-2: #83a598;
  --on-bg-aqi-2: #282828;
  --bg-aqi-1: #8ec07c;
  --on-bg-aqi-1: #282828;
  --bg-aqi-3: #fabd2f;
  --on-bg-aqi-3: #282828;
  --bg-aqi-4: #fe8019;
  --on-bg-aqi-4: #282828;
  --bg-aqi-5: #fb4934;
  --on-bg-aqi-5: #282828;
  --white: #fbf1c7;
  --white-alpha-4: rgba(251, 241, 199, 0.04);
  --white-alpha-8: rgba(251, 241, 199, 0.08);
  --black-alpha-10: rgba(40, 40, 40, 0.1);
  --card-border: 1px solid var(--outline);
}
:root[data-theme= "nord"] {
  --primary: #8fbcbb;
  --on-primary: #2e3440;
  --background: #2e3440;
  --on-background: #d8dee9;
  --surface: #3b4252;
  --on-surface: #bcc5d4;
  --on-surface-variant: #717c91;
  --on-surface-variant-2: #88c0d0;
  --outline: #434c5e;
  --bg-aqi-1: #8fbcbb;
  --on-bg-aqi-1: #2e3440;
  --bg-aqi-2: #88c0d0;
  --on-bg-aqi-2: #2e3440;
  --bg-aqi-3: #ebcb8b;
  --on-bg-aqi-3: #2e3440;
  --bg-aqi-4: #bf616a;
  --on-bg-aqi-4: #2e3440;
  --bg-aqi-5: #b48ead;
  --on-bg-aqi-5: #2e3440;
  --white: #eceff4;
  --white-alpha-4: rgba(236, 239, 244, 0.04);
  --white-alpha-8: rgba(236, 239, 244, 0.08);
  --black-alpha-10: rgba(46, 52, 64, 0.1);  
  --card-border: 2px solid var(--outline);
}
:root[data-theme= "ayu"] {
  --primary: #f77669;
  --on-primary: #0f1419;
  --background: #0f1419;
  --on-background: #e6e1cf;
  --surface: #1a1c23;
  --on-surface: #d9d7ce;
  --on-surface-variant: #6a737d;
  --on-surface-variant-2: #a2adb9;
  --outline: #5c6167;
  --bg-aqi-1: #a6e3a1;
  --on-bg-aqi-1: #0f1419;
  --bg-aqi-2: #f9e2af;
  --on-bg-aqi-2: #0f1419;
  --bg-aqi-3: #f77669;
  --on-bg-aqi-3: #0f1419;
  --bg-aqi-4: #d3869b;
  --on-bg-aqi-4: #0f1419;
  --bg-aqi-5: #82aaef;
  --on-bg-aqi-5: #0f1419;
  --white: #fafafa;
  --white-alpha-4: rgba(250, 250, 250, 0.04);
  --white-alpha-8: rgba(250, 250, 250, 0.08);
  --black-alpha-10: rgba(15, 20, 25, 0.1);  

}
:root[data-theme= "tokyo"] {
  --primary: #bb9af7;
  --on-primary: #1a1b26;
  --background: #1a1b26;
  --on-background: #c0caf5;
  --surface: #24283b;
  --on-surface: #a9b1d6;
  --on-surface-variant: #565f89;
  --on-surface-variant-2: #9aa5ce;
  --outline: #414868;
  --bg-aqi-1: #9ece6a;
  --on-bg-aqi-1: #1a1b26;
  --bg-aqi-2: #e0af68;
  --on-bg-aqi-2: #1a1b26;
  --bg-aqi-3: #ff9e64;
  --on-bg-aqi-3: #1a1b26;
  --bg-aqi-4: #f7768e;
  --on-bg-aqi-4: #1a1b26;
  --bg-aqi-5: #bb9af7;
  --on-bg-aqi-5: #1a1b26;
  --white: #cfc9c2;
  --white-alpha-4: rgba(207, 201, 194, 0.04);
  --white-alpha-8: rgba(207, 201, 194, 0.08);
  --black-alpha-10: rgba(26, 27, 38, 0.1);  
  --card-border: 2px solid var(--on-surface-variant);
}
:root[data-theme= "mono"] {
  --primary: #f7768e; 
  --on-primary: #100E17; 
  --background: #131214;
  --on-background: #EAE6F2;
  --surface: #1D1C1F;
  --on-surface: #DDDAE5;
  --on-surface-variant: #7B7980; 
  --on-surface-variant-2: #B9B6BF;
  --outline: #3E3D40;
  --bg-aqi-1: #89E589;
  --on-bg-aqi-1: #1F331F;
  --bg-aqi-2: #E5DD89;
  --on-bg-aqi-2: #33311F;
  --bg-aqi-3: #E5C089;
  --on-bg-aqi-3: #332B1F;
  --bg-aqi-4: #E58989;
  --on-bg-aqi-4: #331F1F;
  --bg-aqi-5: #E589B7;
  --on-bg-aqi-5: #331F29;
  --white: hsl(0, 0%, 100%);
  --white-alpha-4: hsla(0, 0%, 100%, 0.04);
  --white-alpha-8: hsla(0, 0%, 100%, 0.08);
  --black-alpha-10: hsla(0, 0%, 0%, 0.1);

}
:root {
  --ff-nunito-sans: 'Nunito Sans', sans-serif;

  --heading: 5.6rem;
  --title-1: 2rem;
  --title-2: 1.8rem;
  --title-3: 1.6rem;
  --body-1: 2.2rem;
  --body-2: 2rem;
  --body-3: 1.6rem;
  --label-1: 1.4rem;
  --label-2: 1.2rem;

  --weight-regular: 400;
  --weight-semiBold: 600;

  --shadow-1: 0px 1px 3px hsla(0, 0%, 0%, 0.5);
  --shadow-2: 0px 3px 6px hsla(0, 0%, 0%, 0.4);

  --radius-28: 28px;
  --radius-16: 16px;
  --radius-pill: 500px;
  --radius-circle: 50%;

  --transition-short: 100ms ease;
  --gradient-1: linear-gradient(180deg, rgba(19, 18, 20, 0) 0%, rgba(29, 28, 31, 0.3) 65%, var(--background) 100%);
  --gradient-2: linear-gradient(180deg, rgba(29, 28, 31, 0) 0%, rgba(29, 28, 31, 0.8) 65%, var(--surface) 100%);
}
*, *::before, *::after {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}
li {
  list-style: none;
}
a,img,span,input,button {
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  height: auto;
}
input, button {
  background: none;
  border: none;
  color: inherit;
  font: inherit;
}
input {
  width: 100%;  
}
button {
  cursor: pointer;
}
sub {
  vertical-align: baseline;
}
sup {
  vertical-align: top;
}
sub, sup {
  font-size: .75em;
}
html {
  font-family: var(--ff-nunito-sans);
  font-size: 10px;
}
body {
  background-color: var(--background);
  color: var(--on-background);
  font-size: var(--body-3);
  overflow: hidden;
  margin-top:1rem;
}
:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 2px;
}
::selection {
  background-color: var(--white-alpha-8);
}
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-thumb {
  background-color: var(--white-alpha-8);
  border-radius: var(--radius-pill);
}
@font-face {
  font-family: 'Material Symbols Rounded';
  font-style: normal;
  font-weight: 400;
  src: url(../font/material-symbol-rounded.woff2) format('woff2');
}
.m-icon {
  font-family: 'Material Symbols Rounded';
  font-style: normal;
  font-weight: normal;
  font-size: 2.4rem;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  font-feature-settings: "liga";
  -webkit-font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
  width: 1em;
  height: 1em;
  overflow: hidden;
}
/* ---------------------------------------------------- */
.container {
  width: 100%;
  margin-inline: auto;
  padding: 16px;
}
.icon-btn {
  background-color: var(--white-alpha-8);
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-circle);
}
.has-state {
  position: relative;
}
.has-state:hover {
  box-shadow: var(--shadow-1);
}
.has-state:is(:focus, :focus-visible) {
  box-shadow: none;
}
.has-state::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  clip-path: circle(100% at 50% 50%);
  transition: var(--transition-short);
}
.has-state:hover::before {
  background-color: var(--white-alpha-4);
}
.has-state:is(:focus, :focus-visible)::before {
  background-color: var(--white-alpha-8);
  animation: ripple 250ms ease forwards;
}
@keyframes ripple {
  0% {
    clip-path: circle(0% at 50% 50%);
  }
  100% {
    clip-path: circle(100% at 50% 50%);
  }
}
.btn-primary {
  background-color: var(--primary);
  color: var(--on-primary);
  height: 48px;
  line-height: 48px;
  max-width: max-content;
  display: flex;
  align-items: center;
  gap: 16px;
  padding-inline: 16px;
  border-radius: var(--radius-pill);
}
.btn-primary .span {
  font-weight: var(--weight-semiBold);
  display: none;
}
.btn-primary[disabled] {
  background-color: var(--outline);
  color: var(--on-surface-variant);
  cursor: not-allowed;
}
.btn-primary[disabled]::before {
  display: none;
}
.card {
  background-color: var(--surface);
  color: var(--on-surface);
}
.card-lg {
  border-radius: var(--radius-28);
  padding: 20px;
  border: var(--card-border); 
}
.card-sm {
  padding: 16px;
  border-radius: var(--radius-16);
}
.heading {
  color: var(--white);
  font-size: var(--heading);
  line-height: 1.1;
}
.title-1 {
  font-size: var(--title-1);
}
.title-2 {
  font-size: var(--title-2);
  margin-block-end: 12px;
}
.title-3 {
  font-size: var(--title-3);
  font-weight: var(--weight-semiBold);
}
.body-1 {
  font-size: var(--body-1);
}
.body-2 {
  font-size: var(--body-2);
  font-weight: var(--weight-semiBold);
}
.body-3 {
  font-size: var(--body-3);
}
.label-1 {
  font-size: var(--label-1);
}
.label-2 {
  font-size: var(--label-2);
}
.fade-in {
  animation: fade-in 250ms ease forwards;
}
@keyframes fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.logo img {
  width: 75px;
}
.header .container, .header-actions {
  display: flex;
  align-items: center;
}
.header .container {
  justify-content: space-between;
}
.header-actions {
  gap: 16px;
}
.header .btn-primary {
  padding-inline: 12px;
}
.search-view {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100svh;
  background-color: var(--surface);
  color: var(--on-surface);
  clip-path: circle(4% at calc(100% - 102px) 5%);
  opacity: 0;
  visibility: hidden;
  z-index: 4;
  transition: clip-path 500ms ease;
}
.search-view.active {
  opacity: 1;
  visibility: visible;
  clip-path: circle(130% at 73% 5%);
}
.search-wrapper {
  position: relative;
  border-block-end: 1px solid var(--outline);
}
.search-wrapper::before {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 16px;
  width: 24px;
  height: 24px;
  border: 3px solid var(--on-surface);
  border-block-start-color: transparent;
  border-radius: var(--radius-circle);
  animation: loading 500ms linear infinite;
  display: none;
}
@keyframes loading {
  0% {
    transform: translateY(-50%) rotate(0);
  }
  100% {
    transform: translateY(-50%) rotate(1turn);
  }
}
.search-wrapper:has(.searching)::before {
  display: block;
}
.search-field {
  height: 80px;
  line-height: 80px;
  padding-inline: 56px 16px;
  outline: none;
}
.search-field::placeholder {
  color: var(--on-surface-variant-2);
}
.search-field::-webkit-search-cancel-button {
  display: none;
}
.search-wrapper .leading-icon {
  position: absolute;
  top: 50%;
  left: 28px;
  transform: translate(-50%, -50%);
}
.search-wrapper > .m-icon {
  display: none;
}
.search-wrapper .icon-btn {
  background-color: transparent;
  box-shadow: none;
}
.search-view .view-list {
  padding-block: 8px 16px;
}
.search-view .view-item {
  position: relative;
  height: 56px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 16px;
  padding-inline: 16px 24px;
}
.search-view .view-item :is(.m-icon, .item-subtitle) {
  color: var(--on-surface-variant);
}
.search-view .view-item .item-link {
  position: absolute;
  inset: 0;
  box-shadow: none;
}
/* ---------------------------------------------------------------- */
main {
  height: calc(100vh - 80px);
  height: calc(100svh - 80px);
  overflow: hidden;
}
article.container {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  height: 100%;
  overflow-y: auto;
  overflow-y: overlay;
}
article.container::-webkit-scrollbar-thumb {
  background-color: transparent;
}
article.container:is(:hover, :focus-within)::-webkit-scrollbar-thumb {
  background-color: var(--white-alpha-8);
}
article.container::-webkit-scrollbar-button {
  height: 10px;
}
article.container::before {
  content: "";
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40px;
  background-image: var(--gradient-1);
  pointer-events: none;
  z-index: 1;
}
.section:not(:last-child) {
  margin-block-end: 16px;
}
.current-weather-card .wrapper{
  margin-block: 12px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.current-weather-card .weather-icon {
  margin-inline: auto;
}
.current-weather-card > .body-3 {
  text-transform: capitalize;
}
.current-weather-card .meta-list {
  margin-block-start: 16px;
  padding-block-start: 16px;
  border-block-start: 1px solid var(--outline);
}
.current-weather-card .meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
}
.current-weather-card .meta-item:not(:last-child) {
  margin-block-end: 12px;
} 
.current-weather-card .meta-text {
  color: var(--on-surface-variant);
}
.forecast-card .title-2 {
  margin-block-end: 0;
}
.forecast-card :is(.card-item, .icon-wrapper) {
  display: flex;
  align-items: center;
}
.forecast-card .card-item:not(:last-child) {
  margin-block-end: 12px;
}
.forecast-card .icon-wrapper {
  gap: 8px;
}
.forecast-card .label-1 {
  color: var(--on-surface-variant);
  font-weight: var(--weight-semiBold);
}
.forecast-card .card-item > .label-1 {
  width: 100%;
  text-align: right;
}
.highlights .m-icon {
  font-size: 3.2rem;
}
.highlight-list {
  display: grid;
  gap: 20px;
}
.highlight-list .title-3 {
  color: var(--on-surface-variant);
  margin-block-end: 20px;
}
.highlights .card-sm {
  background-color: var(--black-alpha-10);
  position: relative;
}
.highlight-card :is(.wrapper, .card-list, .card-item) {
  display: flex;
  align-items: center;
}
.highlight-card .wrapper {
  justify-content: space-between;
  gap: 16px;
}
.highlight-card .card-list {
  flex-wrap: wrap;
  flex-grow: 1;
  row-gap: 8px;
}
.highlight-card .card-item {
  width: 50%;
  justify-content: flex-end;
  gap: 4px;
}
.highlight-card .label-1 {
  color: var(--on-surface-variant);
}
.badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 2px 12px;
  border-radius: var(--radius-pill);
  font-weight: var(--weight-semiBold);
  cursor: help;
}
.badge.aqi-1 {
  background-color: var(--bg-aqi-1);
  color: var(--on-bg-aqi-1);
}
.badge.aqi-2 {
  background-color: var(--bg-aqi-2);
  color: var(--on-bg-aqi-2);
}
.badge.aqi-3 {
  background-color: var(--bg-aqi-3);
  color: var(--on-bg-aqi-3);
}
.badge.aqi-4 {
  background-color: var(--bg-aqi-4);
  color: var(--on-bg-aqi-4);
}
.badge.aqi-5 {
  background-color: var(--bg-aqi-5);
  color: var(--on-bg-aqi-5);
}
.highlight-card.two .card-item {
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 8px 16px;
}
.highlight-card.two .label-1 {
  margin-block-end: 4px;
}

.slider-container {
  overflow-x: auto;
  margin-inline: -16px;
}
.slider-container::-webkit-scrollbar {
  display: none;
}
.slider-list {
  display: flex;
  gap: 12px;
}
.slider-list:first-child {
  margin-block-end: 16px;
}
.slider-list::before, .slider-list::after {
  content: "";
  min-width: 4px;
}
.slider-item {
  min-width: 110px;
  flex: 1 1 100%;
}
.slider-card {
  text-align: center;
}
.slider-item .weather-icon {
  margin-inline: auto;
  margin-block: 12px;
}
.footer, .footer .body-3:last-child {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.footer {
  color: var(--on-surface-variant);
  text-align: center;
  gap: 12px 24px;
  margin-block-start: 28px;
  display: none;
}
.fade-in .footer {
  display: flex;
}
.footer .body-3:last-child {
  gap: 6px;
}
.loading {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--background);
  display: grid;
  place-items: center;
  z-index: 1;
  display: none;
}
.loading::before {
  content: "";
  width: 48px;
  height: 48px;
  border: 4px solid var(--on-background);
  border-block-start-color: transparent;
  border-radius: var(--radius-circle);
  animation: loading 500ms linear infinite; 
}
.error-content {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100svh;
  background-color: var(--background);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  display: none;
  z-index: 8;
}
.error-content::before {
  --line: color-mix(in lch, canvasText 75%, var(--primary));
  --size: 70px;
  content: "";
  position: fixed;
  top: -.125vh;
  height: 100vh;
  width: 100vw;
  position: absolute;
  background:
      linear-gradient(90deg, var(--line) 1px, transparent 1px var(--size)) 0 -5vmin /
          var(--size) var(--size),
      linear-gradient(var(--line) 1px, transparent 1px var(--size)) 0 -5vmin /
          var(--size) var(--size);
  mask: linear-gradient(-15deg, transparent 60%, white);
  z-index: -1;
}
.error-content::after {
  --line: color-mix(in lch, canvasText 75%, var(--primary));
  --size: 70px;
  content: "";
  transform: rotate(180deg);
  position: fixed;
  top: -.125vh;
  height: 100vh;
  width: 100vw;
  position: absolute;
  background:
      linear-gradient(90deg, var(--line) 1px, transparent 1px var(--size)) 0 -5vmin /
          var(--size) var(--size),
      linear-gradient(var(--line) 1px, transparent 1px var(--size)) 0 -5vmin /
          var(--size) var(--size);
  mask: linear-gradient(-15deg, transparent 60%, white);
  z-index: -1;
}
.error-content .btn-primary {
  margin-block-start: 20px;
}
/* ------------------------------------------------------- */
@media (min-width: 768px) {
  .container {
    padding: 24px;
  }
  .title-1 {
    --title-1: 2.4rem
  }
  .section > .title-2 {
    margin-block-end: 16px;
  }
  .card-lg {
    padding: 24px;
  }
  .card-sm {
    padding: 20px;
    display: grid;
    grid-template-rows: min-content 1fr;
  }
  .badge {
    top: 20px;
    right: 20px;
  }
  .header-actions {
    gap: 24px;
  }
  .header .btn-primary {
    padding-inline: 16px 24px;
  }
  .header .btn-primary .span {
    display: block;
  }
  .search-view {
    clip-path: circle(3% at calc(100% - 273px) 6%);
  }
  main {
    height: calc(100vh - 96px);
    height: calc(100svh - 96px);
  }
  article.container {
    padding-block-start: 0;
    grid-template-columns: 280px minmax(0, 1fr);
    align-items: flex-start;
    gap: 24px;
  }
  .content-left {
    position: sticky;
    top: 0;
  }
  .section:not(:last-child) {
    margin-block: 20px;
  }
  .forecast-card .card-item:not(:last-child) {
    margin-block-end: 16px;
  }
  .highlight-list {
    grid-template-columns: 1fr 1fr;
  }
  .highlight-card:nth-child(-n+2) {
    grid-column: span 2;
    height: 160px;
  }
  .highlight-card:nth-child(n+3) {
    height: 120px;
  }
  .highlights .m-icon {
    font-size: 3.6rem;
  }
  .highlight-card.one .card-item {
    width: 25%;
    flex-direction: column-reverse;
    gap: 8px;
  }
  .slider-container {
    margin-inline: 0 -24px;
    border-bottom-left-radius: var(--radius-16);
    border-top-left-radius: var(--radius-16);
  }
  .slider-list::before {
    display: none;
  }
  .slider-list::after {
    min-width: 12px;
  }
  .hourly-forecast .card-sm {
    padding: 16px;
  }
}
@media (min-width: 1200px) {
  :root {
    --heading: 6rem;
    --title-2: 2rem
  }
  .container {
    padding: 40px;
  }
  .card-lg {
    padding: 36px;
  }
  .card-sm {
    padding: 24px;
  }
  .title-1 {
    --title-1: 3.4rem;
  }
  .highlight-card.two .card-item {
    column-gap: 24px;
  }
  .header .icon-btn {
    display: none;
  }
  .header {
    position: relative;
    height: 120px;
    z-index: 4;
  }
  .header .container {
    padding-block: 0;
    height: 100%;
  }
  .search-view, .search-view.active {
    all:unset;
    display: block;
    position: relative;
    width: 500px;
    animation: none;
  }
  .search-wrapper {
    border-block-end: none;
  }
  .search-wrapper > .m-icon {
    display: block;
  }
  .search-field, .search-view .view-list {
    background-color: var(--surface);
  }
  .search-field {
    height: 56px;
    border-radius: var(--radius-28);
  }
  .search-result, .search-view:not(:focus-within) .search-result {
    display: none;
  }
  .search-view:focus-within .search-result.active {
    display: block;
  }
  .search-view:has(.search-result.active):focus-within .search-field {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }
  .search-view .view-list {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: 360px;
    border-radius: 0 0 var(--radius-28) var(--radius-28);
    border-block-start: 1px solid var(--outline);
    overflow-y: auto;
    overflow-y: overlay;
  }
  .search-view .view-list:empty {
    min-height: 120px;
  }
  .search-view .view-list::-webkit-scrollbar-button {
    height: 20px;
  }
  .search-view:is(:hover, :has(.view-list):hover) {
    filter: drop-shadow(var(--shadow-1));
  }
  .search-view:is(:focus-within, :has(.view-list):focus-within) {
    filter: drop-shadow(var(--shadow-2));
  } 
  main {
    height: calc(100vh - 100px);
    height: calc(100svh - 100px);
  }
  article.container {
    grid-template-columns: 360px minmax(0, 1fr);
    gap: 40px;
  }
  .current-weather .weather-icon {
    width: 80px;
  }
  .forecast-card .title-2 {
    --title-2: 2.2rem;
  }
  .highlight-card:nth-child(-n+2) {
    height: 200px;
  }
  .highlight-card:nth-child(n+3) {
    height: 150px;
  }
  .highlight-card .m-icon {
    font-size: 4.8rem;
  }
  .slider-list {
    gap: 16px;
  }
}
@media (min-width: 1400px) {
  .highlight-list {
    grid-template-columns: repeat(4, 1fr);
  }
}