/* H5 (M14): every tappable control on a phone is at least 44 x 44 px.
   Phone widths only. Controls whose look must not change (the live room's
   icon buttons) get an invisible hit area instead of a bigger box. Inline
   links inside running text are left as they are (the usual exception). */

@media (max-width: 767px) {
  /* Footer and shared header */
  .foot nav a { display: inline-flex; align-items: center; min-height: 44px !important; min-width: 44px !important; justify-content: center; }
  .top .wordmark, .watch-head .wordmark { display: inline-flex; align-items: center; min-height: 44px !important; }
  .primary-nav a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px !important; min-height: 44px !important; }
  .lang-switch { height: auto; }
  .lang-switch > summary { height: 44px; min-height: 44px !important; }
  .hosts-phone-menu > summary { min-width: 44px !important; min-height: 44px !important; }

  /* Home / shop (r159) */
  .r159-question-examples button,
  .r159-link-form input,
  .r159-link-form button,
  .r159-buy { min-height: 44px !important; }
  .r159-buy, .r159-question button { min-width: 44px !important; }
  .r159-question button { min-height: 44px !important; }
  a.r159-agent-pill,
  .r159-section-head a,
  .r159-panel-head a { display: inline-flex; align-items: center; min-height: 44px !important; }
  .r159-bottom-actions a { min-height: 44px !important; }
  a[href$="llms.txt"] { display: inline-flex; align-items: center; min-height: 44px !important; }
  a.r159-product-room { display: inline-flex; align-items: center; min-height: 44px !important; }
  a.r159-product-name { display: flex; align-items: center; min-height: 44px !important; }

  /* Hosts guide: standalone links (not inline links inside a paragraph) */
  .guide-actions a, .guide-section a:not(p a) { display: inline-flex; align-items: center; min-height: 44px !important; }

  /* Product page: the supplier-original disclosure */
  .pdp-original > summary { display: flex; align-items: center; min-height: 44px !important; }

  /* Seller wall (current staging seller page) */
  .wall-brand, .wall-mode, .wall-mode button { display: inline-flex; align-items: center; min-height: 44px !important; }

  /* Agent spec / host terms documents */
  .doc-page nav a, body > main > nav a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px !important; min-width: 44px !important; }

  /* Live room product drawer */
  .watch .room-buy-154 { min-height: 44px !important; }

  /* Live room icon controls: same look and footprint, 44 px tap box.
     A transparent border grows the box; the negative margin gives the space back,
     and the visible ring/fill is drawn on the padding box. */
  .watch .top .room-more-154 {
    flex: 0 0 44px !important; width: 44px !important; height: 44px !important; min-width: 44px !important; min-height: 44px !important;
    margin: -5px !important; border: 5px solid transparent !important; background-clip: padding-box !important;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3);
  }
  .watch .desktop-follow {
    min-height: 44px !important; margin-block: -6px !important;
    border-top: 6px solid transparent !important; border-bottom: 6px solid transparent !important; background-clip: padding-box !important;
  }
  .watch .ai-disclosure-group > summary { position: relative; }
  .watch .ai-disclosure-group > summary::after { content: ""; position: absolute; inset: -10px -6px; }
}
