/* Cass's Fixed card under Find (#178; docs/design/sketches/178-b-*): theme tokens only; logical sides so Arabic mirrors. */
#fixedhost[hidden], #fixedhost.off { display: none; }
.fixedcard { margin: 0 var(--edge) var(--s-3); border-radius: var(--r); background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 var(--line-w) var(--line); overflow: hidden; }
.fx-hd { display: flex; align-items: flex-start; gap: var(--s-3); padding-block: var(--s-3) 0; padding-inline: var(--s-3) var(--s-1); }
.fx-av { flex: none; inline-size: 2.25rem; block-size: 2.25rem; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); color: var(--ink); font-weight: var(--w-label); font-size: var(--t-small); }
.fx-words { flex: 1; min-width: 0; display: grid; gap: 2px; color: var(--ink); text-decoration: none; font-size: var(--t-body); line-height: 1.35; padding-block-end: var(--s-2); }
.fx-words b { font-weight: 700; }
.fx-x { flex: none; inline-size: var(--tap); block-size: var(--tap); display: grid; place-items: center; color: var(--muted); }
.fx-x svg.i { width: var(--icon); height: var(--icon); }
.fx-body { padding-block: 0 var(--s-4); padding-inline: calc(var(--s-3) + 2.25rem + var(--s-3)) var(--s-4); }
.fx-re { margin: 0 0 var(--s-3); padding-inline-start: var(--s-3); border-inline-start: 3px solid var(--sel); color: var(--muted); font-size: var(--t-small); line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.fx-show { box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; gap: var(--s-1); min-height: var(--tap); padding: 0 var(--s-4); border-radius: 999px;
  background: var(--sel); color: var(--sel-ink); font-weight: 700; font-size: var(--t-body); text-decoration: none; white-space: nowrap; }
.fx-show svg.i { width: var(--icon-sm); height: var(--icon-sm); stroke-width: 2.4; }
[dir="rtl"] .fx-show svg.i { transform: scaleX(-1); }
[data-theme="large"] .fx-body .fx-show { display: flex; inline-size: 100%; }
.fx-row { display: flex; align-items: center; gap: var(--s-3); padding-block: var(--s-3); padding-inline: calc(var(--s-3) + 2.25rem + var(--s-3)) var(--s-3); border-block-start: var(--line-w) solid var(--line); font-size: var(--t-body); line-height: 1.35; }
.fx-row span { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.fx-show.out { background: none; color: var(--sel); box-shadow: inset 0 0 0 1.5px var(--line); flex: none; }
[data-theme="large"] .fx-row { flex-wrap: wrap; }
[data-theme="large"] .fx-row .fx-show { inline-size: 100%; }
/* 1440: the card keeps the picture's 560 px, at the start under Find */
@media (min-width: 900px) { .fixedcard { max-inline-size: 560px; } }
