.post[hidden],.empty-posts[hidden]{display:none!important}
.save-text svg{transform-origin:center}
@media(max-width:700px){
 .post-head{display:grid;grid-template-columns:40px minmax(65px,1fr) 105px;column-gap:8px;align-items:center}
 .post-head>div:nth-child(2){min-width:0}
 .post-head .post-date{grid-column:3;grid-row:1;justify-self:end;align-self:center;margin-left:0;text-align:right;max-width:105px;white-space:normal;font-size:11px;line-height:1.5}
 .post-head .post-meta{overflow-wrap:anywhere}
 .mobile-nav button,.feed-tabs button,.profile-links button,.save-text{-webkit-tap-highlight-color:transparent;touch-action:manipulation}
 .workspace,.feed-panel,.chat-panel,.profile{scroll-behavior:auto}
}

/* A touch browser may retain :hover after tapping. Never paint a surface behind this text action. */
.save-text,.save-text:hover,.save-text:active,.save-text:focus,.save-text.selected{background:transparent;border:0;box-shadow:none;-webkit-tap-highlight-color:transparent;appearance:none}
.save-text:focus:not(:focus-visible){outline:none}
.save-text:focus-visible{outline:2px solid currentColor;outline-offset:4px}

/* Reaction chooser: selection is colour-only, never a border or a layout change. */
.reaction-picker .chat-reaction,.reaction-picker .chat-reaction.selected{border-color:transparent;box-shadow:none}
.reaction-picker .chat-reaction:focus:not(:focus-visible){outline:none}
.reaction-picker .chat-reaction:focus-visible{outline:2px solid currentColor;outline-offset:1px}
@media(max-width:700px),(hover:none){
 .local-message .reaction-picker{position:absolute;top:auto;bottom:52px;right:0;left:auto;margin:0;max-width:100%;flex-wrap:nowrap}
 .local-message .chat-reactions{clear:both;min-height:44px;flex-wrap:nowrap;gap:2px}
 .local-message .chat-reactions .chat-reaction{min-width:0;width:calc((100% - 10px)/6);padding:4px 2px;flex-shrink:0}
}
.local-message:focus-within:not(.reactions-dismissed) .reaction-picker{display:flex}
.local-message .reaction-picker{border-color:transparent}
/* Mobile theme control belongs to the KVEY profile only; the shared theme is unchanged. */
@media(max-width:900px){
 .mobile-profile .theme-toggle{display:none}
 .mobile-profile{padding-top:0}
}
/* Give the compact feed identity a little breathing room on phones. */
@media(max-width:700px){.mobile-profile{padding-top:16px}}
