/* web/css/phone.css: phones (up to 700 px): one column; the preview and the plan sheet slide up from the bottom.
   The bottom bar is na.js's own .na-mini (na.css, up to 900 px; css/player.css). */
@media (max-width:700px){
  .pa-findmore{font-size:15px}
  #view{gap:16px}
  .pa-panel{padding:12px 12px 14px}
  .pa-strip{--cw:128px;gap:12px}
  .pa-card-t{font-size:13.5px}
  .pa-grid{--gx:12px;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px var(--gx)}
  .pa-row-h{gap:6px 10px}
  .pa-row-h .pa-note{order:3;flex-basis:100%}
  /* a heading with its note under it (a chart's attribution, See all's count): See all, SAMPLE and the arrows sit
     centred on the title and the note, never level with the title alone (the iPhone's RowHeading, operator
     2026-11-19); a heading without a note keeps them level with its title */
  .pa-row-h:has(>.pa-note){display:grid;grid-template-columns:minmax(0,1fr);grid-auto-columns:auto;align-items:center}
  .pa-row-h:has(>.pa-note)>h2{grid-area:1/1}
  .pa-row-h:has(>.pa-note)>.pa-note{grid-area:2/1}
  .pa-row-h:has(>.pa-note)>:not(h2,.pa-note){grid-row:1/span 2}

  .pa-ep{gap:10px;padding:7px 6px}
  .pa-hits,.pa-eps,.pa-pv-eps{margin-left:-6px;margin-right:-6px}
  .pa-ep-t{font-size:14px}

  /* Search's head and Add by RSS URL's: the heading and its link (or x) on one line, the note under them */
  .pa-results .pa-panel-h .pa-note,.pa-add .pa-panel-h .pa-note{order:3;flex-basis:100%}
  .pa-add .pa-panel-h{margin-bottom:10px}
  .pa-b.pa-add-go{padding:0 14px 0 10px}

  .pa-preview{top:auto;left:0;right:0;bottom:0;width:auto;max-height:84vh;z-index:800;border-left:0;border-top:1px solid var(--edge);
    border-radius:14px 14px 0 0;box-shadow:0 -24px 48px -20px rgba(0,0,0,.5)}
  .pa-scrim{z-index:790}
  .pa-pv{padding:8px 16px calc(22px + env(safe-area-inset-bottom));border-radius:14px 14px 0 0}
  .pa-pv-top::before{content:"";position:absolute;left:50%;top:7px;width:40px;height:4px;margin-left:-20px;border-radius:2px;background:var(--edge)}
  .pa-pv-top{position:relative;padding-top:6px}
  .pa-pv-head{grid-template-columns:96px minmax(0,1fr);gap:14px}
  .pa-pv-head>.pa-art{width:96px}
  .pa-pv-head:has(>.pa-art.pa-wide){grid-template-columns:171px minmax(0,1fr)}
  .pa-pv-head>.pa-art.pa-wide{width:171px}
  .pa-pv-title{font-size:17px}

  .pa-pod{grid-template-columns:104px minmax(0,1fr);gap:12px 14px;padding:14px 12px}
  .pa-pod>.pa-art{width:104px;grid-row:auto}
  .pa-pod>.pa-art.pa-wide{width:185px}
  .pa-pod:has(>.pa-art.pa-wide){grid-template-columns:185px minmax(0,1fr)}
  .pa-pod-title{font-size:20px}
  .pa-pod-more{grid-column:1/-1}
  .pa-ychips{grid-template-columns:repeat(4,minmax(0,1fr))}
  .pa-detail{padding:14px 12px}
  .pa-detail-h{gap:12px}
  .pa-detail-h .pa-b-play{width:48px;height:48px;min-width:48px}
  .pa-detail-t h2{font-size:16px;letter-spacing:.04em}
  .pa-chap{grid-template-columns:20px 58px minmax(0,1fr)}

  .pa-my-head h1{font-size:20px}
  .pa-my-eps{margin:6px -6px 0 4px}
  .pa-my-pod.pa-panel{padding:12px 12px 14px}
  .pa-my-head{gap:4px 12px}
  .pa-getplus{order:2;margin-left:auto}
  .pa-my-count{order:3;flex-basis:100%}

  .pa-plan{margin:auto 0 0;width:100%;max-width:100%;border-radius:14px 14px 0 0;border-bottom:0}
  .pa-plan-in{padding-bottom:calc(20px + env(safe-area-inset-bottom))}
}
