/* answer-cards.css - the answer cards in Just Chat's "See each AI's answer" (unified.js compareView).

   Kept from trycompare.css when Compare answers was merged into the chat (the owner's ask) and that stylesheet went:
   only the rules the chat's cards still use - the grid, a card, its mark and name, the heart and thumbs, the answer's
   text, the foot with Regenerate - and the screen-reader line under the box (.tc-sr). The chat's own touches are in
   unified.css (.ws-cv). gen-light.mjs writes this file's light twin into light.css. */
.tc-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;
  overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

.tc-btn{font:inherit;font-size:13.5px;font-weight:600;cursor:pointer;
  display:inline-flex;align-items:center;gap:8px;
  height:36px;padding:0 14px;border-radius:9px;
  color:var(--ink);background:rgba(255,255,255,.08);
  border:1px solid var(--tc-edge)}
.tc-btn[hidden]{display:none}
.tc-btn:hover:not(:disabled){border-color:var(--teal-dk);background:rgba(255,255,255,.13)}
.tc-btn:focus-visible{outline:2px solid var(--teal-tx);outline-offset:2px}
.tc-btn:disabled{opacity:.6;cursor:not-allowed}

.tc-cards{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;align-items:start}
@media (min-width:720px){.tc-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (min-width:1100px){.tc-cards{gap:20px}}
.tc-card{display:flex;flex-direction:column;min-width:0;
  border:1px solid var(--rule);border-radius:14px;
  background:var(--card);padding:15px 17px 13px}
.tc-card.fav{border-color:var(--teal-tx);box-shadow:0 0 0 1px var(--teal-tx) inset}

.tc-card-top{display:flex;align-items:center;gap:13px;margin:0 0 14px}
.tc-logo{width:52px;height:52px;flex:none;border-radius:13px;padding:7px;
  display:grid;place-items:center;overflow:hidden;
  background:rgba(255,255,255,.07);border:1px solid var(--rule)}
.tc-logo img{width:100%;height:100%;object-fit:contain}
.tc-logo span{font-family:var(--display);font-size:19px;font-weight:700;color:var(--teal-dk)}
.tc-card-n{font-size:26px;font-weight:700;letter-spacing:-.022em;line-height:1.15;
  color:var(--ink);min-width:0;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tc-card-ms{display:block;margin-top:2px;
  font-size:11.5px;font-weight:600;color:var(--muted-2);
  font-variant-numeric:tabular-nums}
@media (max-width:620px){
  .tc-card-top{gap:10px;flex-wrap:wrap;row-gap:8px}
  .tc-logo{width:40px;height:40px;border-radius:11px;padding:5px}
  .tc-logo span{font-size:15px}
  .tc-card-n{font-size:19px;min-width:auto;max-width:calc(100% - 50px)}
}

.tc-acts{display:flex;align-items:center;gap:4px;margin-left:auto;flex:none}
.tc-ico{cursor:pointer;width:30px;height:30px;border-radius:8px;
  display:grid;place-items:center;
  background:transparent;border:1px solid transparent;color:var(--muted-2)}
.tc-ico:hover:not(:disabled){color:var(--ink);background:rgba(255,255,255,.07);border-color:var(--tc-edge)}
.tc-ico:focus-visible{outline:2px solid var(--teal-tx);outline-offset:2px}
.tc-ico:disabled{opacity:.3;cursor:not-allowed}
.tc-heart[aria-pressed="true"]{color:var(--rust);border-color:var(--rust);background:rgba(251,113,133,.12)}
.tc-heart:hover:not(:disabled){color:var(--rust);border-color:var(--rust)}

.tc-body{font-size:14.5px;line-height:1.65;color:var(--ink);word-wrap:break-word}
.tc-body > :first-child{margin-top:0}
.tc-body > :last-child{margin-bottom:0}
.tc-body p{margin:0 0 .85em}
.tc-body h4,.tc-body h5,.tc-body h6{font-family:var(--body);color:var(--ink);
  margin:1.35em 0 .5em;line-height:1.3;letter-spacing:-.01em}
.tc-body h4{font-size:15.5px;font-weight:700}
.tc-body h5{font-size:14.5px;font-weight:700}
.tc-body h6{font-size:13.5px;font-weight:700;color:var(--muted)}
.tc-body strong{font-weight:700;color:var(--ink)}
.tc-body em{font-style:italic}
.tc-body code{font-family:var(--mono);font-size:.88em;
  background:rgba(255,255,255,.07);border:1px solid var(--rule-soft);
  border-radius:5px;padding:.08em .35em;color:var(--ochre)}
.tc-body hr{border:0;border-top:1px solid var(--rule);margin:1.2em 0}

.tc-card-foot{display:flex;align-items:center;gap:10px;flex-wrap:wrap;row-gap:8px;
  margin:12px 0 0;padding-top:11px;border-top:1px solid var(--rule-soft)}
