﻿.card-support.with-hints {
  padding: 0.7rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface-1);
}

.card-support.with-hints .card-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.card-support.with-hints .card-thumb {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  overflow: hidden;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  background: var(--surface-2);
}

.card-support.with-hints .card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-support.with-hints .thumb-initials {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: var(--text-1);
}

.card-support.with-hints .card-title {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  flex: 1 1 auto;
  min-width: 0;
}

.card-support.with-hints .card-title .line-1 {
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-support.with-hints .card-actions {
  display: flex;
  gap: 0.4rem;
}

.card-support.with-hints .rmv {
  height: 34px;
}

.card-support.with-hints .btn.subtle {
  height: 34px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text-1);
}

.card-support.with-hints .card-hints {
  margin-top: 0.6rem;
}

.card-support.with-hints .hints-title {
  font-size: 0.85rem;
  opacity: 0.8;
  margin-bottom: 0.25rem;
}

.hint-list {
  max-height: 160px;
  overflow: auto;
  padding-left: 1rem;
}

.hint-list li {
  font-size: 0.92rem;
  margin: 0.15rem 0;
}

.hint-list.empty {
  font-style: italic;
  opacity: 0.7;
  padding: 0.25rem 0;
}

.hints-popover {
  position: absolute;
  z-index: 95;
  background: var(--surface-1);
  color: var(--text-1);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgb(var(--shadow-rgb) / 0.2);
  overflow: hidden;
}

.hints-popover .pop-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 0.7rem;
  border-bottom: 1px solid var(--border);
}

.hints-popover .pop-title {
  font-weight: 600;
}

.hints-popover .btn.ghost {
  background: transparent;
  border: 0;
  color: inherit;
  padding: 0.25rem 0.45rem;
  border-radius: 8px;
}

.hints-popover .btn.ghost:hover {
  background: rgb(var(--surface-3-rgb) / 0.6);
}

.hints-popover .pop-content {
  padding: 0.6rem 0.8rem;
  max-height: 320px;
  overflow: auto;
}

.hint-list.big {
  padding-left: 1.1rem;
}

.hint-list.big li {
  margin: 0.2rem 0;
}
