/* Keep the reference layout while making compact and touch surfaces easier to use. */
@media (width <= 1100px), (pointer: coarse) {
  button {
    min-width: 44px;
    min-height: 44px;
  }

  .top__brand {
    min-height: 44px;
    position: relative;
  }

  .top__brand::after {
    content: "";
    position: absolute;
    width: 44px;
    height: 44px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .tl__track {
    min-height: 44px;
  }

  .drawer__x {
    width: 44px;
    height: 44px;
  }

  .legal a {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .srch {
    overscroll-behavior: contain;
    padding-bottom: max(32px, env(safe-area-inset-bottom));
  }

  .srch__field input {
    scroll-margin-top: 24px;
  }
}

@media (width <= 360px) {
  .top__place {
    gap: 4px;
    padding-inline: 8px;
  }

  .seg button {
    padding-inline: 8px;
  }

  .facts {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 12px;
  }

  .fact {
    padding: 0;
  }

  .fact:nth-child(2) {
    padding-left: 12px;
  }

  .facts .fact--look {
    grid-column: 1 / -1;
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-top: 10px;
  }
}

/* Each card keeps its own forecast palette, including the non-WebGL fallback. */
.day{height:clamp(84px,11.5vh,116px);padding-bottom:12px}.day__sky{background:var(--day-sky)}.day__word{color:var(--day-color)}.day:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
