/* Hinge Prompt Ideas: profile-style answer card, prompt picker, "my profile" slots. */
.tool .hp-pickrow { display: flex; gap: 8px; }
.tool .hp-pick {
  flex: 1; min-width: 0; min-height: 56px; display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; align-items: center; text-align: left;
  padding: 8px 16px; border-radius: 18px; background: var(--surface); color: rgb(var(--ink)); box-shadow: inset 0 0 0 1px rgb(var(--ink) / .1); -webkit-tap-highlight-color: transparent;
  transition: box-shadow .15s ease, transform .15s ease;
}
.tool .hp-pick:active { transform: scale(.98); }
.tool .hp-pick:focus-visible { outline: 0; box-shadow: inset 0 0 0 2px rgb(var(--accent)); }
.tool .hp-pick-k { grid-column: 1; font-size: 12px; line-height: 16px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: rgb(var(--ink) / .45); }
.tool .hp-pick-name { grid-column: 1; font-size: 17px; line-height: 24px; font-weight: 850; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tool .hp-chev { grid-column: 2; grid-row: 1 / 3; width: 10px; height: 10px; border-right: 2.5px solid rgb(var(--ink) / .5); border-bottom: 2.5px solid rgb(var(--ink) / .5); transform: rotate(45deg) translate(-3px, -3px); transition: transform .2s var(--ease-out); }
.tool .hp-pick[aria-expanded="true"] .hp-chev { transform: rotate(225deg) translate(-3px, -3px); }
.tool .hp-icon { width: 56px; min-width: 56px; min-height: 56px; padding: 0; border-radius: 18px; display: grid; place-items: center; flex: 0 0 auto; }

.tool .hp-picker { display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: 20px; background: var(--surface); box-shadow: var(--shadow); }
.tool .hp-list { max-height: min(360px, 52vh); overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; gap: 2px; }
.tool .hp-cat { font-size: 12px; line-height: 16px; font-weight: 850; letter-spacing: .04em; text-transform: uppercase; color: rgb(var(--ink) / .45); padding: 12px 8px 4px; }
.tool .hp-list button { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 44px; padding: 8px 12px; border-radius: 12px; text-align: left; font-size: 16px; font-weight: 700; color: rgb(var(--ink)); background: transparent; }
.tool .hp-list button[aria-selected="true"] { background: rgb(var(--accent) / .12); color: var(--link); }
.tool .hp-list button:focus-visible { outline: 2px solid rgb(var(--accent)); outline-offset: -2px; }
.tool .hp-tag { font-size: 12px; font-weight: 800; color: var(--link); white-space: nowrap; }

/* Profile card: prompt label, big answer, footer */
.tool .hp-card { position: relative; padding: 20px 20px 16px; border-radius: 24px; background: var(--surface); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 8px; text-align: left; }
.tool .hp-card.is-new { animation: card-in .45s var(--ease-out) both; }
.tool .hp-q { font-size: 14px; line-height: 20px; font-weight: 800; color: rgb(var(--ink) / .72); }
.tool .hp-a { font-size: 24px; line-height: 34px; font-weight: 850; letter-spacing: -.01em; color: rgb(var(--ink)); text-wrap: pretty; overflow-wrap: anywhere; }
.tool .hp-main .hp-a { min-height: 102px; }
.tool .hp-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 4px; }
.tool .hp-more svg { width: 16px; height: 16px; }
.tool .hp-another { display: inline-flex; align-items: center; gap: 8px; }
.tool .hp-hint { margin-top: -4px; }
.tool .hp-reply { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin-top: -4px; }
.tool .hp-reply-k { font-size: 13px; line-height: 18px; font-weight: 850; color: rgb(var(--ink) / .7); }
.tool .hp-reply-b { padding: 8px 14px; border-radius: 18px 18px 18px 6px; background: var(--surface); box-shadow: inset 0 0 0 1px rgb(var(--ink) / .1); font-size: 15px; line-height: 21px; font-weight: 700; color: rgb(var(--ink)); max-width: 85%; }
.tool .hp-add { display: inline-flex; align-items: center; gap: 8px; }
.tool .hp-lead { margin: 0; }

/* My profile */
.tool .hp-mine { padding-top: 8px; border-top: 1px solid rgb(var(--ink) / .08); }
.tool .hp-profile { display: grid; gap: 10px; }
.tool .hp-profile .hp-card { box-shadow: 0 1px 2px rgb(0 0 0 / .05), 0 4px 16px rgb(var(--accent) / .08); }
.tool .hp-profile .hp-a { font-size: 19px; line-height: 27px; }
.tool .hp-cardbar { display: flex; align-items: center; gap: 4px; margin-top: 2px; }
.tool .hp-cardbar .tk-count { margin-right: auto; }
.tool .hp-edit, .tool .hp-x { min-height: 40px; min-width: 40px; padding: 0 12px; border-radius: 20px; font-size: 14px; font-weight: 800; color: rgb(var(--ink) / .65); background: transparent; display: inline-grid; place-items: center; }
.tool .hp-x { padding: 0; }
.tool .hp-x svg { width: 18px; height: 18px; }
.tool .hp-edit:active, .tool .hp-x:active { transform: scale(.96); }
.tool .hp-slot { min-height: 64px; border-radius: 24px; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 15px; font-weight: 800; color: rgb(var(--ink) / .6); box-shadow: inset 0 0 0 2px rgb(var(--ink) / .1); background: transparent; transition: transform .15s ease, background-color .2s ease; }
.tool .hp-slot:active { transform: scale(.98); }
.tool .hp-slot svg { width: 18px; height: 18px; }
.tool .hp-shared .hp-profile .hp-card { padding: 20px; }

@media (hover: hover) and (pointer: fine) {
  .tool .hp-list button:hover { background: rgb(var(--ink) / .05); }
  .tool .hp-edit:hover, .tool .hp-x:hover { background: rgb(var(--ink) / .06); color: rgb(var(--ink)); }
}
@media (max-width: 599px) {
  .tool .hp-a { font-size: 22px; line-height: 31px; }
  .tool .hp-main .hp-a { min-height: 124px; }
}
@media (prefers-color-scheme: dark) {
  .tool .hp-card { box-shadow: inset 0 0 0 1px rgb(var(--ink) / .14), var(--shadow); }
  .tool .hp-pick { box-shadow: inset 0 0 0 1px rgb(var(--ink) / .22); }
}
@media (hover: hover) and (pointer: fine) { .tool .hp-slot:hover { background: rgb(var(--ink) / .04); } }
@media (prefers-reduced-motion: reduce) { .tool .hp-card.is-new { animation: none; } }
/* Round 2: Random label, next-answer chip, all answers list, reset */
.tool .hp-icon { width: auto; min-width: 56px; padding: 0 14px; display: inline-flex; gap: 6px; font-size: 14px; font-weight: 800; }
.tool .hp-more { gap: 6px; }
.tool .hp-n { font-weight: 700; color: rgb(var(--ink) / .6); font-variant-numeric: tabular-nums; }
.tool .hp-allbox summary { font-size: 15px; }
.tool .hp-all { display: grid; gap: 8px; }
.tool .hp-allrow { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; padding: 12px 14px; border-radius: 16px; background: var(--surface-2); }
.tool .hp-allrow.is-on { box-shadow: inset 0 0 0 2px rgb(var(--accent) / .6); }
.tool .hp-alltone { grid-column: 1 / -1; font-size: 12px; line-height: 16px; font-weight: 850; letter-spacing: .04em; text-transform: uppercase; color: rgb(var(--ink) / .7); }
.tool .hp-allrow p { font-size: 16px; line-height: 23px; font-weight: 700; color: rgb(var(--ink)); }
.tool .hp-reset { align-self: flex-start; min-height: 44px; padding: 0 4px; font-size: 14px; font-weight: 800; color: rgb(var(--ink) / .7); text-decoration: underline; text-underline-offset: 3px; background: none; }
.tool .hp-pactions { gap: 10px; }
.tool .hp-edit, .tool .hp-x { min-height: 44px; min-width: 44px; }
@media (min-width: 600px) { .tool .hp-main .hp-a { min-height: 0; } }
/* Round 3 */
.tool .hp-askone { display: inline-flex; align-items: center; gap: 8px; }
@media (max-width: 599px) {
  .tool .hp-main ~ .tool-actions { flex-direction: row; flex-wrap: wrap; }
  .tool .hp-main ~ .tool-actions .tk-copy { flex: 1 0 100%; }
  .tool .hp-main ~ .tool-actions .hp-add, .tool .hp-main ~ .tool-actions .hp-askone { flex: 1 1 0; width: auto; padding: 0 10px; font-size: 15px; }
}
@media (prefers-color-scheme: dark) {
  .tool .hp-card { background: #26143D; }
}
.tool .tk-count, .tool .hp-more, .tool .hp-add, .tool .hp-askone { white-space: nowrap; }
.tool .hp-foot { flex-wrap: nowrap; }
@media (max-width: 599px) { .tool .hp-main ~ .tool-actions .hp-add, .tool .hp-main ~ .tool-actions .hp-askone { gap: 6px; font-size: 15px; padding: 0 8px; } }
