/* Family App — Group (2026-10-04, Porchlight 2.9w). Its own file for the
 * 500-line rule. */

nav button { position: relative; }
.badge { position: absolute; top: 4px; left: calc(50% + 6px); min-width: 18px; height: 18px; padding: 0 5px;
         border-radius: 999px; background: var(--rose); color: var(--rose-ink);
         font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; }
.badge[hidden] { display: none; }
.gpost { padding: var(--s-3) 0; border-bottom: 1px solid var(--hair); }
.gpost.found { background: var(--pink-lo); }
/* 2.9x (Harold): your own posts are tinted on your phone, so what you wrote
 * stands out. Everyone else's stay plain. */
.gpost.mine { background: var(--pink-lo); border-left: 3px solid var(--rose);
              border-radius: 10px; padding-left: var(--s-3); padding-right: var(--s-3); margin: 4px 0; }
.gpost.mine.found { background: color-mix(in srgb, var(--pink) 18%, var(--paper)); }
.gmeta { font-size: var(--t-sm); color: var(--muted); }
.gmeta strong { color: var(--ink); font-weight: 600; }
.gbody { margin: 4px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; font-size: var(--t-md); }
.gacts { display: flex; gap: var(--s-2); margin-top: 4px; }
.gacts .btn { min-height: 36px; padding: 6px 10px; }
.gcompose { margin-top: var(--s-4); display: flex; flex-direction: column; gap: var(--s-2); }
.gcompose[hidden] { display: none; }
.gcompose textarea, .gedit { font: inherit; font-size: var(--t-md); width: 100%; box-sizing: border-box;
  border: 1px solid var(--silver-1); border-radius: 14px; padding: 10px 12px; resize: vertical; background: var(--paper); color: var(--ink); }
.gcompose-row { display: flex; justify-content: space-between; align-items: center; gap: var(--s-2); }
.gcount { font-size: var(--t-sm); color: var(--muted); }
@media (min-width: 700px) {
  .badge { top: -6px; left: auto; right: -6px; }
}

/* 2.9y: search with suggestions, person and order. */
.gfind { display: flex; flex-direction: column; gap: var(--s-2); margin: var(--s-2) 0 var(--s-3); }
.gfind[hidden] { display: none; }
.gsearch { position: relative; }
.gsearch input { font: inherit; font-size: var(--t-md); width: 100%; box-sizing: border-box; min-height: 44px;
  border: 1px solid var(--silver-1); border-radius: 999px; padding: 8px 16px; background: var(--paper); color: var(--ink); }
.gsuggest { position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 30; background: var(--paper);
  border: 1px solid var(--silver-1); border-radius: 14px; box-shadow: 0 8px 24px -12px rgba(0,0,0,.3); overflow: hidden; }
.gsuggest[hidden] { display: none; }
.gsuggest button { display: block; width: 100%; text-align: left; min-height: 44px; padding: 8px 16px;
  border: none; background: none; font: inherit; color: var(--ink); }
.gsuggest button.on, .gsuggest button:hover { background: var(--pink-lo); }
.gbody mark { background: color-mix(in srgb, var(--pink) 30%, transparent); color: inherit; border-radius: 3px; }

/* 3.1b (049): private messages and replies. */
.gto { display: flex; align-items: center; gap: 6px; margin-left: auto; font-size: var(--t-sm); color: var(--muted); }
.gto select { font: inherit; min-height: 36px; }
.gprivate { color: var(--rose); font-weight: 600; }
.gpost.private { border-left: 3px dashed var(--rose); padding-left: var(--s-3); }
.gquote { display: block; margin-top: 4px; padding: 4px 10px; border: none; border-left: 3px solid var(--silver-1);
  background: none; font: inherit; font-size: var(--t-sm); color: var(--muted); text-align: left; cursor: pointer; }
.greply { display: flex; align-items: center; justify-content: space-between; gap: var(--s-2);
  font-size: var(--t-sm); color: var(--muted); border-left: 3px solid var(--rose); padding-left: 10px; }
.greply[hidden] { display: none; }
