/* 2026-12-06: the row of buttons under a feed post on a phone. With the bookmark and the views there are up to eight controls
   (heart, comments, replant, forward, bookmark, views, report, and the moderation shield for staff); on a phone they ran out of the
   card on the right. Now: heart and comments keep their pill, the others are plain icons with their number, "Report" is its flag
   only (the word stays for screen readers), and if a very narrow phone still has no room the row wraps instead of running out.
   Everything stays there and stays at least 34px to tap. Selectors start with .post> to win over social.css / socialfx.css. */
@media (max-width:640px){
  .post>.post-foot{flex-wrap:wrap;gap:6px 3px;padding:10px 10px 12px}
  .post>.post-foot .chip-btn{flex:none;min-height:36px;padding:6px 7px;gap:5px;border-color:transparent;background:none;font-size:13px;line-height:1}
  .post>.post-foot .chip-btn[data-like],.post>.post-foot .chip-btn[data-cmt-toggle]{height:36px;min-height:0;padding:3px 10px 3px 3px;gap:6px;background:#F4F1E8;margin-right:2px}
  .post>.post-foot .chip-btn[data-like].on{background:#FFF1F2}
  .post>.post-foot .chip-btn[data-cmt-toggle][aria-expanded="true"]{background:#F0FDF4}
  .post>.post-foot .rp-btn.on{background:#F0FDF4;border-color:transparent}
  .post>.post-foot .post-save.on{background:#EAF7E1;border-color:transparent}
  .post>.post-foot .post-share{min-width:34px;justify-content:center}
  .post>.post-foot .post-save{min-width:34px;justify-content:center}
  .post>.post-foot .chip-btn>i,.post>.post-foot .rp-ico{font-size:15px}
  .post>.post-foot .chip-btn[data-like]>i,.post>.post-foot .chip-btn[data-cmt-toggle]>i{font-size:14px}
  .post>.post-foot [data-report]{display:inline-flex;align-items:center;justify-content:center;min-width:34px;min-height:36px;padding:8px 6px;font-size:0}
  .post>.post-foot [data-report] i{font-size:15px}
}
/* Phones (up to 430px wide): tighter, so heart, comments, replant, forward, bookmark, views and the flag stay on ONE row from 360px up.
   Staff have one control more (the shield); on the narrowest phones it goes to a second row. */
@media (max-width:430px){
  .post>.post-foot{gap:6px 1px;padding-left:9px;padding-right:9px}
  .post>.post-foot .chip-btn{padding:6px 5px;gap:4px}
  .post>.post-foot .chip-btn[data-like],.post>.post-foot .chip-btn[data-cmt-toggle]{height:34px;padding:3px 8px 3px 3px;gap:5px;margin-right:1px}
  .post>.post-foot .chip-btn[data-like]>i,.post>.post-foot .chip-btn[data-cmt-toggle]>i{width:28px;height:28px}
  .post>.post-foot .chip-btn[data-like] span,.post>.post-foot .chip-btn[data-cmt-toggle] span{min-width:8px;font-size:13.5px}
  .post>.post-foot .post-share,.post>.post-foot .post-save{min-width:30px}
  .post>.post-foot [data-report]{min-width:30px;padding:8px 4px}
}
