/* VogChat thoughts (thoughts.js): anonymous posts in Discover + chat requests. Builds on open-rooms.css (.vo-*). */
.vt { gap: 12px; }
.vt-hero { display: grid; grid-template-columns: auto 1fr; gap: 12px 12px; align-items: center; padding: 16px; border-radius: 20px;
    background: linear-gradient(135deg, rgba(0, 168, 132, .14), rgba(99, 102, 241, .12) 60%, rgba(236, 72, 153, .10)); }
.vt-hero-ic { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--vo-green); box-shadow: 0 6px 18px rgba(0, 168, 132, .35); animation: vt-bob 3.4s ease-in-out infinite; }
@keyframes vt-bob { 50% { transform: translateY(-3px) rotate(-6deg); } }
.vt-hero-txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.vt-hero-txt b { font-size: 17px; line-height: 1.25; }
.vt-hero-txt small { font-size: 13.5px; line-height: 1.4; color: var(--vo-meta); }
.vt-write { grid-column: 1 / -1; min-height: 46px; }
.vt-latest { font-size: 17px; font-weight: 800; }

.vt-list { display: flex; flex-direction: column; gap: 10px; min-height: 64px; }
.vt-skel { height: 132px; }
.vt-card { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 13px 14px 12px; border-radius: 18px; background: var(--vo-sunk); animation: vo-in .4s cubic-bezier(.2, .8, .2, 1) both; }
.vt-card::before { content: ""; position: absolute; left: 0; top: 16px; bottom: 16px; width: 3px; border-radius: 0 3px 3px 0; background: var(--c); opacity: .85; }
.vt-meta { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--vo-meta); min-width: 0; }
.vt-ti { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--c); flex: none; }
.vt-who { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vt-who b { color: var(--vo-text); font-weight: 700; }
.vt-meta time { flex: none; font-variant-numeric: tabular-nums; }
.vt-text { margin: 0; font-size: 15.5px; line-height: 1.5; white-space: pre-line; overflow-wrap: anywhere; color: var(--vo-text); }
.vt-text.clamp { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; cursor: pointer; }
.vt-readmore { align-self: flex-start; border: 0; background: none; padding: 0; font: inherit; font-size: 13.5px; font-weight: 700; color: var(--vo-green-d); cursor: pointer; }
.vt-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 2px; }
.vt-n { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 700; color: var(--vo-meta); font-variant-numeric: tabular-nums; }
.vt-ask { display: inline-flex; align-items: center; gap: 6px; border: 0; border-radius: 999px; padding: 8px 14px; font: inherit; font-size: 13.5px; font-weight: 700; color: #fff; background: var(--vo-green); cursor: pointer; transition: transform .1s, opacity .15s; }
.vt-ask:active { transform: scale(.96); }
.vt-ask.done { background: var(--vo-soft); color: var(--vo-green-d); cursor: default; }
.vt-yours { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 700; color: var(--vo-green-d); }
.vt-icon { flex: none; width: 32px; height: 32px; border-radius: 50%; border: 0; background: transparent; color: var(--vo-meta); display: grid; place-items: center; cursor: pointer; }
.vt-icon:hover { background: var(--vo-line); color: var(--vo-text); }
.vt-flag { width: 28px; height: 28px; margin: -4px -6px -4px 0; }

/* my posts and my requests */
.vt-minebox { display: flex; flex-direction: column; gap: 8px; }
.vt-minebox[hidden] { display: none; }
.vt-minebox .vo-lbl { margin-top: 2px; }
.vt-mine { display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: 18px; background: var(--vo-bg); border: 1.5px solid var(--vo-line); }
.vt-mine-top { display: flex; align-items: flex-start; gap: 9px; }
.vt-mine-top .vt-ti { width: 24px; height: 24px; margin-top: 1px; }
.vt-mine-text { flex: 1; min-width: 0; font-size: 14px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.vt-mine-top .vt-icon { width: 28px; height: 28px; margin: -3px -4px 0 0; }
.vt-mine-meta { font-size: 12px; color: var(--vo-meta); margin-left: 33px; margin-top: -4px; }
.vt-wait, .vt-state { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; color: var(--vo-meta); }
.vt-wait { margin-left: 33px; }
.vt-state.ok { color: var(--vo-green-d); font-weight: 700; }
.vt-req { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 14px; background: var(--vo-sunk); animation: vo-in .4s cubic-bezier(.2, .8, .2, 1) both; }
.vt-av { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 16px; background: var(--c); flex: none; }
.vt-req-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.vt-req-txt b { font-size: 14.5px; }
.vt-req-txt small { font-size: 13px; line-height: 1.35; color: var(--vo-meta); overflow-wrap: anywhere; }
.vt-req-btns { display: flex; gap: 6px; flex: none; }
.vt-yes, .vt-no { display: inline-flex; align-items: center; gap: 5px; border: 0; border-radius: 999px; padding: 8px 13px; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.vt-yes { background: var(--vo-green); color: #fff; white-space: nowrap; flex: none; }
.vt-no { background: transparent; color: var(--vo-meta); }
.vt-no:hover { background: var(--vo-line); }
.vt-yes.busy, .vt-no.busy { opacity: .6; pointer-events: none; }
.vt-asked-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-left: 33px; }
.vt-asked.hot { border-color: var(--vo-green); box-shadow: 0 0 0 3px var(--vo-soft); }
@media (max-width: 380px) {
    .vt-req { flex-wrap: wrap; }
    .vt-req-btns { width: 100%; justify-content: flex-end; }
}

/* sheets */
.vt-lead { margin: 0; font-size: 14px; line-height: 1.45; color: var(--vo-meta); }
.vt-area { position: relative; }
.vt-area textarea, .vt-input { width: 100%; box-sizing: border-box; border: 1.5px solid var(--vo-line); border-radius: 16px; background: var(--vo-sunk); color: var(--vo-text); font: inherit; font-size: 16px; line-height: 1.45; padding: 12px 14px; outline: none; transition: border-color .15s; }
.vt-area textarea { resize: none; min-height: 96px; padding-bottom: 26px; }
.vt-area textarea:focus, .vt-input:focus { border-color: var(--vo-green); }
.vt-count { position: absolute; right: 12px; bottom: 9px; font-size: 11.5px; color: var(--vo-meta); font-variant-numeric: tabular-nums; pointer-events: none; }
.vt-note { display: flex; gap: 8px; margin: 0; font-size: 13px; line-height: 1.4; color: var(--vo-meta); }
.vt-note svg { flex: none; margin-top: 2px; color: var(--vo-green-d); }
.vt-quote { margin: 0; padding: 10px 12px; border-left: 3px solid var(--c); border-radius: 4px 14px 14px 4px; background: var(--vo-sunk); font-size: 14px; line-height: 1.45; white-space: pre-line; max-height: 140px; overflow-y: auto; overflow-wrap: anywhere; }
.vt-quote small { display: flex; align-items: center; gap: 5px; margin-bottom: 4px; font-size: 12px; color: var(--vo-meta); font-weight: 700; }
.vt-quote small svg { color: var(--c); }
.vt-btns { display: flex; gap: 8px; }
.vt-btns .vo-btn { flex: 1; min-height: 46px; }
.vt-soft { background: var(--vo-sunk) !important; color: var(--vo-text) !important; }
.vt-danger { background: #ef4444 !important; }
.vt-wrap .vo-topics { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }

/* badge on the Discover tab and the Thoughts switch */
.vt-badge { position: absolute; top: -2px; right: 8px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #ef4444; color: #fff; font-style: normal; font-size: 11px; font-weight: 800; line-height: 18px; text-align: center; box-shadow: 0 0 0 2px var(--bar, var(--bg, #fff)); animation: vo-pop .45s cubic-bezier(.2, .9, .3, 1.4); }
.tab-ic, [data-disc] { position: relative; }
[data-disc] .vt-badge { position: static; margin-left: 4px; box-shadow: none; }

.vt-toast { position: fixed; left: 50%; bottom: calc(86px + env(safe-area-inset-bottom, 0px)); z-index: 2100; max-width: min(92vw, 420px); transform: translate(-50%, 16px); opacity: 0; padding: 11px 16px; border-radius: 14px; background: #111b21; color: #fff; font-size: 14px; line-height: 1.4; text-align: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); transition: transform .25s, opacity .25s; }
.vt-toast.in { transform: translate(-50%, 0); opacity: 1; }
[data-theme="dark"] .vt-toast { background: #e9edef; color: #111b21; }

@media (prefers-reduced-motion: reduce) {
    .vt-hero-ic, .vt-card, .vt-req, .vt-badge { animation: none !important; }
}

/* the talk under a post (openThread) */
.vt-card { cursor: pointer; }
.vt-text.clamp { -webkit-line-clamp: 3; }
.vt-mine { cursor: pointer; }
.vt-mine-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-left: 33px; margin-top: -4px; }
.vt-mine-row .vt-mine-meta { margin: 0; }
.vt-mine-n { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 700; color: var(--vo-meta); }
.vt-mine-n.new { color: #fff; background: #ef4444; padding: 4px 10px; border-radius: 999px; }
.vt-wrap.vt-thread .vo-sheet { height: 90vh; max-height: 90vh; padding: 0; gap: 0; overflow: hidden; }
@media (min-width: 700px) { .vt-wrap.vt-thread .vo-sheet { height: 82vh; max-width: 640px; } }
.vt-th-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px 12px; border-bottom: 1px solid var(--vo-line); flex: none; }
.vt-th-head b { flex: 1; font-size: 17px; }
.vt-th-body { flex: 1; overflow-y: auto; padding: 14px 14px 10px; display: flex; flex-direction: column; gap: 12px; overscroll-behavior: contain; }
.vt-th-post { padding: 14px 15px; border-radius: 18px; background: var(--vo-sunk); }
.vt-th-post small { display: block; color: var(--vo-meta); font-size: 12.5px; margin-bottom: 6px; }
.vt-th-post small b { color: var(--vo-text); }
.vt-th-post p { margin: 0; font-size: 16px; line-height: 1.5; white-space: pre-line; overflow-wrap: anywhere; }
.vt-th-list { display: flex; flex-direction: column; gap: 8px; }
.vt-th-empty { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 18px 0; color: var(--vo-meta); font-size: 14px; text-align: center; }
.vt-rp { display: flex; align-items: flex-end; gap: 8px; max-width: 88%; }
.vt-rp.me { align-self: flex-end; flex-direction: row-reverse; }
.vt-rp.gone { align-self: center; font-size: 12.5px; color: var(--vo-meta); font-style: italic; }
.vt-rp-av { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--c); color: #fff; font-size: 13px; font-weight: 800; display: grid; place-items: center; }
.vt-rp-b { position: relative; padding: 8px 12px 9px; border-radius: 16px 16px 16px 4px; background: var(--vo-sunk); min-width: 90px; }
.vt-rp.me .vt-rp-b { border-radius: 16px 16px 4px 16px; background: #d9fdd3; color: #111b21; }
[data-theme="dark"] .vt-rp.me .vt-rp-b { background: #005c4b; color: #e9edef; }
.vt-rp-b small { display: flex; align-items: center; gap: 6px; font-size: 12px; margin-bottom: 2px; }
.vt-rp-b small time { margin-left: auto; padding-left: 8px; color: var(--vo-meta); font-size: 11px; }
.vt-rp.me .vt-rp-b small time { color: inherit; opacity: .6; }
.vt-op { font-style: normal; font-size: 10.5px; font-weight: 800; color: #fff; background: var(--vo-green); padding: 1px 7px; border-radius: 999px; }
.vt-rp-b p { margin: 0; font-size: 15px; line-height: 1.4; white-space: pre-line; overflow-wrap: anywhere; }
.vt-rp-act { display: flex; gap: 2px; justify-content: flex-end; margin-top: 2px; opacity: .55; }
.vt-rp-act button { border: 0; background: none; color: inherit; padding: 2px 4px; cursor: pointer; border-radius: 6px; }
.vt-rp-act button:hover { opacity: 1; background: var(--vo-line); }
.vt-th-comp { flex: none; border-top: 1px solid var(--vo-line); padding: 8px 12px calc(10px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; gap: 8px; background: var(--vo-bg); }
.vt-as { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--vo-meta); }
.vt-as .vo-chip { padding: 4px 11px; font-size: 12.5px; }
.vt-th-row { display: flex; align-items: flex-end; gap: 8px; }
.vt-th-row textarea { flex: 1; resize: none; min-height: 44px; max-height: 120px; box-sizing: border-box; border: 1.5px solid var(--vo-line); border-radius: 22px; background: var(--vo-sunk); color: var(--vo-text); font: inherit; font-size: 16px; line-height: 1.35; padding: 11px 16px; outline: none; }
.vt-th-row textarea:focus { border-color: var(--vo-green); }
.vt-send { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--vo-green); color: #fff; display: grid; place-items: center; cursor: pointer; }
.vt-send:disabled { opacity: .45; cursor: default; }
.vt-send.busy { opacity: .6; pointer-events: none; }

/* replies: nickname line, quoting a reply */
.vt-as b { color: var(--vo-text); font-size: 13px; }
.vt-link { border: 0; background: none; padding: 0 2px; font: inherit; font-size: 12.5px; font-weight: 700; color: var(--vo-green-d); cursor: pointer; text-decoration: underline; }
.vt-as input { flex: 1; min-width: 0; height: 32px; box-sizing: border-box; border: 1.5px solid var(--vo-line); border-radius: 999px; background: var(--vo-sunk); color: var(--vo-text); font: inherit; font-size: 16px; padding: 0 12px; outline: none; }
.vt-as input:focus { border-color: var(--vo-green); }
.vt-quote { display: flex; align-items: center; gap: 8px; padding: 6px 8px 6px 12px; border-left: 3px solid var(--vo-green); border-radius: 10px; background: var(--vo-sunk); }
.vt-quote[hidden] { display: none; }
.vt-quote div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.vt-quote b { font-size: 12.5px; color: var(--vo-green-d); }
.vt-quote span { font-size: 13px; color: var(--vo-meta); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vt-quote button { border: 0; background: none; color: var(--vo-meta); padding: 4px; cursor: pointer; }
.vt-rq { margin: 2px 0 4px; padding: 4px 8px; border-left: 3px solid var(--vo-green); border-radius: 6px; background: rgba(0, 0, 0, .05); display: flex; flex-direction: column; font-size: 12.5px; }
.vt-rq b { color: var(--vo-green-d); }
.vt-rq span { opacity: .8; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
