#callouts {
  --ink: #fff1d4;
  --amber: #f5c180;
  --muted: #d3cbb6;
  --rule: #53604d;
  --forest: #24352a;
  --deep-forest: #1c2c22;
  color: var(--ink);
  font: 15px/1.45 "Segoe UI", sans-serif;
  background: var(--forest);
  border: 1px solid #85866b;
  border-radius: 8px;
  overflow: hidden;

  .section-heading, .feed-pages {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-inline: clamp(16px, 3vw, 28px);
    background: var(--deep-forest);
  }
  .section-heading {
    padding-block: 16px;
    border-bottom: 1px solid var(--rule);
  }
  h2 {
    margin: 0;
    font: normal clamp(24px, 3vw, 32px)/1.1 Georgia, serif;
    letter-spacing: -.035em;
  }
  .signal {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--amber);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
  }
  .signal::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
  }
  .signal.active { color: #c3d89d; }

  .row, .empty {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px clamp(16px, 3vw, 28px);
    overflow-wrap: anywhere;
  }
  .row + .row { border-top: 1px solid var(--rule); }
  .avatar, .empty > span {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    flex: none;
    border: 1px solid #867958;
    border-radius: 50%;
    color: var(--amber);
    background: #344437;
    font: bold 17px Georgia, serif;
  }
  .avatar { position: relative; overflow: hidden; }
  .avatar img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }
  .entry { min-width: 0; flex: 1; }
  .entry div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
  .entry strong { font-weight: 600; }
  .row time, #page-number { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
  .row time { white-space: nowrap; }
  .entry p, .empty p { margin: 3px 0 0; line-height: 1.4; color: #e4dfcd; }

  .empty { justify-content: center; }
  .empty > span { width: 48px; height: 48px; font-size: 24px; }
  .empty b { font: normal 22px/1.2 Georgia, serif; }
  .empty p { font-size: 14px; color: var(--muted); }

  .feed-pages { padding-block: 10px; border-top: 1px solid var(--rule); }
  .feed-pages button {
    min-height: 36px;
    padding: 6px 16px;
    border-radius: 5px;
    border: 1px solid #99835c;
    background: transparent;
    color: var(--amber);
  }
  .feed-pages button:enabled:hover { color: #2d2a1a; background: var(--amber); }
  .feed-pages button:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
  .feed-pages button:disabled { color: #b3b9a8; border-color: var(--rule); opacity: 1; cursor: default; }

  @media (min-width: 621px) {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    #feed-body { --row-height: 90px; position: relative; min-height: 0; }
    .empty { position: absolute; inset: 0; }
    .row { height: var(--row-height); padding-block: 6px; }
    .entry strong { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .entry p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  }
  @media (min-width: 621px) and (max-height: 800px) {
    #feed-body { --row-height: 76px; }
  }
  @media (max-width: 620px) {
    #feed-body, .empty { min-height: 220px; }
    .row { align-items: flex-start; }
    .feed-pages button { min-height: 44px; }
  }
  @media (prefers-reduced-motion: no-preference) {
    .new-call { animation: field-call-arrival 1.8s ease-out; }
  }
}

@keyframes field-call-arrival {
  from { background-color: #494932; }
  to { background-color: transparent; }
}
