/* 2026-12-06 late (Milo): the buttons under a post are plain symbols with their number, like on the first /dev2: no grey pill,
   no white circle around the heart and the speech bubble. A liked heart is filled pink, open comments are green, a replanted
   sprout and a saved bookmark are green. Every button stays 38px high to tap. Loaded after postfoot.css / socialfx.css (zz-). */
html .post>.post-foot{gap:2px;padding:6px 8px 8px}
html .post>.post-foot .chip-btn,
html .post>.post-foot .chip-btn[data-like],
html .post>.post-foot .chip-btn[data-cmt-toggle]{box-sizing:border-box;height:38px;min-height:0;width:auto;min-width:38px;margin:0;padding:0 9px;gap:6px;border:0;border-radius:999px;background:none;box-shadow:none;color:var(--ink-2);font-size:14px;font-weight:650;line-height:1;justify-content:center}
html .post>.post-foot .chip-btn>i,
html .post>.post-foot .chip-btn[data-like]>i,
html .post>.post-foot .chip-btn[data-cmt-toggle]>i{display:inline-block;width:auto;height:auto;border-radius:0;background:none;box-shadow:none;color:inherit;font-size:18px}
html .post>.post-foot .rp-ico{font-size:18px}
html .post>.post-foot .chip-btn:hover,
html .post>.post-foot .chip-btn[data-like]:hover,
html .post>.post-foot .chip-btn[data-cmt-toggle]:hover{background:rgba(20,40,25,.06);color:var(--ink)}
html .post>.post-foot .chip-btn[data-like].on{background:none;color:#E11D48}
html .post>.post-foot .chip-btn[data-like].on>i{background:none;box-shadow:none;color:#E11D48}
html .post>.post-foot .chip-btn[data-cmt-toggle][aria-expanded="true"]{background:none;color:var(--leaf-2,#15803D)}
html .post>.post-foot .chip-btn[data-cmt-toggle][aria-expanded="true"]>i{background:none;color:inherit}
html .post>.post-foot .rp-btn.on,html .post>.post-foot .post-save.on{background:none;color:var(--leaf-2,#15803D)}
html .post>.post-foot .chip-btn:focus-visible{outline:none;box-shadow:0 0 0 2px var(--leaf,#16A34A)}
@media (max-width:430px){
  html .post>.post-foot{gap:0;padding-left:6px;padding-right:6px}
  html .post>.post-foot .chip-btn,
  html .post>.post-foot .chip-btn[data-like],
  html .post>.post-foot .chip-btn[data-cmt-toggle]{padding:0 6px;gap:5px;min-width:34px;font-size:13.5px}
  html .post>.post-foot .chip-btn>i,
  html .post>.post-foot .chip-btn[data-like]>i,
  html .post>.post-foot .chip-btn[data-cmt-toggle]>i,
  html .post>.post-foot .rp-ico{font-size:17px}
}

/* A replanted post is ONE box: a green frame around the post, and "{name} replanted" is its top line inside the frame
   (before: a loose line floating above the card). inc/replant.php rpCard */
html .rp{border:2px solid color-mix(in srgb,var(--leaf,#16A34A) 60%,#fff);border-radius:20px;background:#F0FDF4}
html .rp>.rp-by{padding:6px 14px 6px;font-weight:600;color:var(--forest,#14532D)}
html .rp>.post.card{margin:0;border:0;box-shadow:none;border-radius:0 0 18px 18px}
/* 22:59: tight. The recipe page uses the class "rp" too (recipes.css: 18px room above, 56px below) and that leaked into the frame:
   no room inside the frame now, the post sits right against it, only the "replanted" line is above. Also inside the app, where
   feed posts have their own big rounding and shadow (zzzz-feed-home.css). */
html .rp[data-rp-of]{padding:0;max-width:none}
html.is-app body.ap-tab-community .sc-posts .rp>.post.card{border-radius:0 0 18px 18px!important;box-shadow:none!important;margin:0!important}

/* 2026-12-06 23:19 (Milo): the post page. The post and its comments are ONE box: no rounded corners and no gap where they meet
   (inside the app ".is-app .card{border-radius:20px}" in app-mode.css rounded them again), and the two halves no longer shrink
   separately when pressed (the app's press effect on cards). */
html .sc-postpage>.post.card{margin-bottom:0!important;border-bottom:0;border-bottom-left-radius:0!important;border-bottom-right-radius:0!important;box-shadow:none!important}
html .sc-postpage>.sc-comments-card{margin-top:0!important;border-top:0;border-top-left-radius:0!important;border-top-right-radius:0!important}
html.is-app .sc-postpage>.card:active{transform:none!important}
