/* Presentation only. No pseudo-element is a new click target or statistic. */
html body #testimonyFeed .testimony-card footer{display:flex;align-items:center;flex-wrap:wrap;gap:10px 14px}
html body #testimonyFeed .testimony-card:not(.own-record):not(.v6-own-record):not(.v22-session-card) :is(.v20-witness-button,.witness-button){
  min-width:96px;min-height:44px;width:auto;max-width:100%;box-sizing:border-box;
  display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:10px 14px;
  border:1px solid #9b7158;background:#211913;color:#e4d2b9;border-radius:2px;
  font:600 12px/1.5 system-ui,sans-serif;letter-spacing:.025em;white-space:normal;cursor:pointer;
}
html body #testimonyFeed :is(.v20-witness-button,.witness-button)::before{
  content:'';display:block;flex:0 0 11px;width:11px;height:11px;box-sizing:border-box;
  border:1px solid currentColor;border-radius:50%;
}
html body #testimonyFeed :is(.v20-witness-button,.witness-button)[aria-pressed='true']{
  background:#452921;border-color:#d5a17e;color:#f0ddc5;
}
html body #testimonyFeed :is(.v20-witness-button,.witness-button)[aria-pressed='true']::before{background:currentColor;box-shadow:inset 0 0 0 2px #452921}
html body #testimonyFeed .v98-care{padding:14px;border-color:rgba(168,119,86,.42);background:rgba(32,23,18,.5)}
html body #testimonyFeed .v98-care-summary{display:grid;gap:5px;margin-top:10px}
html body #testimonyFeed .v98-care-chip{display:block;border:0;background:transparent;padding:0;color:#b8a797;font-size:12px;cursor:default}
html body #testimonyFeed .v98-care-chip b{margin-left:8px;font-variant-numeric:tabular-nums}
html body #testimonyFeed .v98-care-toggle{
  width:100%;min-height:48px;display:flex;align-items:center;justify-content:space-between;gap:14px;
  margin-top:14px;padding:11px 14px;border:1px solid #a87b60;background:#33241c;color:#efdbc1;
  box-sizing:border-box;text-align:left;font:600 13px/1.5 system-ui,sans-serif;letter-spacing:.02em;cursor:pointer;
}
html body #testimonyFeed .v98-care-toggle::after{
  content:'';flex:0 0 7px;width:7px;height:7px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;
  transform:rotate(45deg);margin:0 2px 4px 0;transition:transform 180ms ease;
}
html body #testimonyFeed .v98-care-toggle[aria-expanded='true']::after{transform:rotate(225deg);margin-top:6px}
html body #testimonyFeed .v98-care-choice{gap:10px;border-color:#715442;color:#dfcdb8;min-height:48px;overflow-wrap:anywhere}
html body #testimonyFeed .v98-care-choice::before{content:'';flex:0 0 12px;width:12px;height:12px;border:1px solid #bd9274;border-radius:50%;box-sizing:border-box}
html body #testimonyFeed .v98-care-choice>span:first-child{flex:1}
html body #testimonyFeed .v98-care-choice[aria-pressed='true']{border-color:#d2a07c;background:#40281f;color:#f1dcc2}
html body #testimonyFeed .v98-care-choice[aria-pressed='true']::before{background:#e4bd95;box-shadow:inset 0 0 0 2px #40281f}
html body #testimonyFeed :is(.v20-witness-button,.witness-button,.v98-care-toggle,.v98-care-choice):focus-visible{outline:2px solid #e0b891!important;outline-offset:3px!important}
html body #testimonyFeed :is(.v20-witness-button,.witness-button,.v98-care-choice):disabled{cursor:wait;opacity:.6}
html body #testimonyFeed :is(.v20-witness-button,.witness-button,.v98-care-choice)[aria-busy='true']{border-style:dashed}
/* Keep the established owner/hidden semantics stronger than the button styles. */
html body #testimonyFeed :is(.v20-witness-button,.witness-button,.witness-count)[hidden]{display:none!important}
@media(hover:hover){
  html body #testimonyFeed :is(.v20-witness-button,.witness-button,.v98-care-toggle,.v98-care-choice):not(:disabled):hover{border-color:#e0b38c;background:#442d22}
}
@media(prefers-reduced-motion:reduce){html body #testimonyFeed .v98-care-toggle::after{transition:none}}

html body #testimonyFeed :is(.v20-witness-button,.witness-button).witnessed{background:#452921;border-color:#d5a17e;color:#f0ddc5}
html body #testimonyFeed :is(.v20-witness-button,.witness-button).witnessed::before{background:currentColor;box-shadow:inset 0 0 0 2px #452921}
html body #testimonyFeed :is(.v20-witness-button,.witness-button,.v98-care-toggle,.v98-care-choice){transition:background .22s,border-color .22s,color .22s}
/* Original generated objects identify presence only; private media never leaves its owner. */
html body #testimonyFeed :is(.v20-trace-presence,.v22-field-presence){display:flex;align-items:flex-end;gap:20px;flex-wrap:wrap;margin:16px 0 12px}
html body #testimonyFeed :is(.v20-trace-presence,.v22-field-presence):not(:has(.is-present)){display:none}
html body #testimonyFeed [data-trace-kind]:not(.is-present){display:none!important}
html body #testimonyFeed [data-trace-kind].is-present{
  display:inline-flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:5px;
  padding:0;border:0;background:none;box-shadow:none;color:#c6b7a6;
  font:500 11px/1.5 system-ui,sans-serif;letter-spacing:.025em;max-width:112px;
}
html body #testimonyFeed [data-trace-kind].is-present::before{
  content:'';display:block;width:74px;height:74px;background:center/contain no-repeat;
  filter:drop-shadow(0 5px 7px #0008);pointer-events:none;
}
html body #testimonyFeed [data-trace-kind='handwriting'].is-present::before{background-image:url('/assets/field/red-washi-note.webp');transform:rotate(-6deg)}
html body #testimonyFeed [data-trace-kind='voice'].is-present::before{background-image:url('/assets/field/compact-audio-cassette.webp');width:94px;transform:rotate(4deg)}
/* The original reaction button owns click/keyboard, localized name, and server state. */
html body #testimonyFeed .testimony-card:not(.own-record):not(.v6-own-record):not(.v22-session-card) :is(.v20-witness-button,.witness-button){
  position:relative;display:inline-flex;flex-direction:column;align-items:center;justify-content:center;
  gap:1px;min-width:112px;min-height:126px;padding:5px 10px 9px;
  border:1px solid #78604b66;background:radial-gradient(ellipse at 50% 70%,#66503714,transparent 75%),#18120f66;
  border-radius:3px;color:#c6b6a2;line-height:1.5;overflow:visible;
}
html body #testimonyFeed :is(.v20-witness-button,.witness-button)::before,
html body #testimonyFeed :is(.v20-witness-button,.witness-button)::after{
  content:'';width:92px;height:92px;flex:none;box-sizing:border-box;border:0;border-radius:0;
  background-image:url('/assets/field/candle-two-state-sprite.webp');background-repeat:no-repeat;background-size:200% 100%;
  box-shadow:none;pointer-events:none;transition:opacity .34s ease;
}
html body #testimonyFeed :is(.v20-witness-button,.witness-button)::before{display:block;background-position:left center;background-color:transparent}
html body #testimonyFeed :is(.v20-witness-button,.witness-button)::after{position:absolute;left:50%;top:5px;transform:translateX(-50%);background-position:right center;opacity:0}
html body #testimonyFeed :is(.v20-witness-button,.witness-button):is(.witnessed,[aria-pressed='true']){border-color:#ac794e99;color:#eed3af;background-color:#32211788}
html body #testimonyFeed :is(.v20-witness-button,.witness-button):is(.witnessed,[aria-pressed='true'])::before{background-image:url('/assets/field/candle-two-state-sprite.webp');background-color:transparent;box-shadow:none;opacity:0}
html body #testimonyFeed :is(.v20-witness-button,.witness-button):is(.witnessed,[aria-pressed='true'])::after{opacity:1}
@media(hover:hover){html body #testimonyFeed :is(.v20-witness-button,.witness-button):not(:disabled):hover{border-color:#c79b6c;background-color:#302218}}
@media(prefers-reduced-motion:reduce){html body #testimonyFeed :is(.v20-witness-button,.witness-button)::before,html body #testimonyFeed :is(.v20-witness-button,.witness-button)::after{transition:none}}
