.phone-disclosure { display: none; }

@media (max-width: 680px), (max-width: 900px) and (max-height: 500px) and (pointer: coarse) {
  body { margin: 0; }
  body .bar.gut {
    gap: 6px;
    padding: 6px max(12px, env(safe-area-inset-right)) 6px max(12px, env(safe-area-inset-left));
    flex-wrap: wrap;
    background: #101216f5;
  }
  .bar .mark { min-width: 0; }
  .bar .mark.has-logo img { max-width: min(23vw, 110px); height: 34px; object-fit: contain; }
  body .bar .nav {
    position: static;
    transform: none;
    margin: 0;
    padding: 0;
    gap: 0;
    flex: none;
    background: transparent;
  }
  body .bar .nav :is(a, button) { display: grid; place-items: center; padding: 0 10px; min-height: 44px; }
  .bar .fl-vol { width: clamp(40px, 12vw, 58px); margin: 0 2px; }
  .bar .tk-sndbar { padding: 0; }
  .bar .tk-sndmute, .bar #snd { width: 44px; min-height: 44px; padding: 0; justify-content: center; }
  .phone-disclosure {
    display: inline-flex; align-items: center; justify-content: space-between; gap: 12px;
    min-height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px;
    background: #171a20ef; color: var(--text); font: 600 15px/1.2 var(--body); cursor: pointer;
  }
  .phone-disclosure::after { content: ''; width: 7px; height: 7px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-2px) rotate(45deg); }
  .phone-disclosure[aria-expanded="true"]::after { transform: translateY(2px) rotate(225deg); }
  .phone-disclosure[aria-expanded="false"] + :is(#filters, #opts) { display: none; }

  .tk .tk-head {
    display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px;
    padding: 16px 16px 0;
  }
  .tk-head .tk-title { margin: 0; }
  .tk-head #filters { grid-column: 1 / -1; }
  .tk .tk-list { padding-inline: 12px; }
  .tk-list .tk-askcon { padding: 8px 12px; align-items: center; margin: 10px 0 4px; }
  .tk-list .tk-askcon :is(.mono, .tk-askp) { display: none; }
  .tk-list .tk-askcon strong { font-size: 22px; }
  .tk-list .tk-askcon i { grid-row: 1; width: 36px; height: 36px; }
  .tk-zoom button { width: 44px; height: 44px; }
  .tk .tk-mapcol { margin-top: 8px; }
  .wl .wl-row input { font-size: 16px; min-width: 0; }

  body.play .playwrap { padding: 6px 10px 32px; }
  #play .col { min-width: 0; padding: 14px 10px; }
  #play .c2 { gap: 8px; }
  .sheet .viewer { width: 100%; }
  #play .sheet .arr { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 12px; align-items: center; justify-items: start; }
  #arr > div > :is(.mono, strong) { display: none; }
  #arr > div { grid-row: 1; grid-column: 1; }
  #arr > [data-go] { grid-row: 1; grid-column: 2; justify-self: end; max-width: 100%; }
  #arr > button:not([data-go]) { order: 2; min-height: 44px; }
  #optsEyebrow, #optsTitle { display: none; }
  #placesToggle { width: 100%; }
  #placesToggle[aria-expanded="true"] + #opts { margin-top: 10px; }
}

@media (max-height: 500px) and (max-width: 900px) and (pointer: coarse) {
  body.play #play .sheet .viewer { min-height: 180px; height: 68dvh; max-height: 320px; aspect-ratio: auto; }
}

@media (max-width: 380px) {
  body .bar.gut { padding-inline: 8px; gap: 4px; }
  .bar .mark.has-logo img { max-width: 20vw; }
  body .bar .nav :is(a, button) { padding-inline: 8px; }
  /* Keep the volume slider beside its speaker when the picks control also appears. */
  .bar:has(#picks:not([hidden])) .fl-vol { margin-left: auto; }
}
