/* Mobile UI sizes: approximately 120%, rounded to whole CSS pixels.
   Change shared type tokens so unboxed text stays consistent with pill labels.
   Control heights add only the content-size increase; padding stays unchanged. */
@media (max-width: 800px) {
  .consumer-app, .ds-legacy {
    --type-100: 12px;
    --type-200: 14px;
    --type-300: 18px;
    --type-400: 23px;
    --type-500: 28px;
  }

  .concept-3 {
    --extra-small-label-size: 14px;
    --extra-small-line-height: 19px;
    --extra-small-icon-size: 14px;
    --extra-small-control-height: 27px;
  }

  .concept-3 :where(.ww-button, #bottle-notes) {
    --ww-button-radius: 7px;
  }

  /* Icon-only pills retain their six pixels of space on each side. */
  .concept-3 :is(.canvas-back, .lineup-clock, .ww-button--icon),
  .concept-3 .ww-button:has(> .canvas-nav-icon) {
    --ww-button-height: 26px;
    width: 26px;
    height: 26px;
  }

  .scent-atlas .atlas-count-button {
    width: 31px;
    min-width: 31px;
    height: 31px;
  }
  .atlas-count-button svg { width: 17px; height: 17px; }

  /* Other concept pages use the standard shared control sizes. */
  :is(.concept-1, .concept-2) .ww-theme {
    --ww-button-small-font-size: 14px;
    --ww-button-small-line-height: 19px;
    --ww-button-small-icon-size: 17px;
    --ww-button-small-height: 33px;
    --ww-button-medium-font-size: 17px;
    --ww-button-medium-line-height: 24px;
    --ww-button-medium-icon-size: 22px;
    --ww-button-medium-height: 41px;
    --ww-button-large-font-size: 19px;
    --ww-button-large-line-height: 30px;
    --ww-button-large-icon-size: 28px;
    --ww-button-large-height: 49px;
  }

  .consumer-app :is(.bookmark-count, .collection-count):not(:empty) {
    min-width: 20px;
    height: auto;
    min-height: 20px;
  }
}
