/* a*side - shared styles for member lists (/community and /intro): category colours, tags, filters, sortable heads, hover cards. */
/* verticals: one soft tone each, so you see what people do at a glance */
.v-fundraising { --t-bg: #f7ecd6; --t-fg: #8a5a00; }
.v-grants      { --t-bg: #eceedb; --t-fg: #55620f; }
.v-cofounder   { --t-bg: #fbe6f3; --t-fg: #9a2f7a; }
.v-hiring      { --t-bg: #e3f1e6; --t-fg: #1f6b3a; }
.v-gtm         { --t-bg: #fbe3e0; --t-fg: #a3352a; }
.v-design      { --t-bg: #f6e3ea; --t-fg: #9a2f57; }
.v-product     { --t-bg: #e3e8fb; --t-fg: #2b46b5; }
.v-data        { --t-bg: #e6e3fa; --t-fg: #4a35a8; }
.v-legal       { --t-bg: #e4ebf2; --t-fg: #2f4f6e; }
.v-finance     { --t-bg: #e9f0dc; --t-fg: #3f6212; }
.v-ops         { --t-bg: #ece8e2; --t-fg: #5c4a32; }
.v-advisory    { --t-bg: #ddf1f0; --t-fg: #1d6b68; }
.v-perks       { --t-bg: #f8e9dc; --t-fg: #8f4a1c; }
.v-other       { --t-bg: var(--wash); --t-fg: var(--body); }
:root[data-theme="dark"] .v-fundraising { --t-bg: rgba(230, 180, 80, .14);  --t-fg: #e8c27a; }
:root[data-theme="dark"] .v-grants      { --t-bg: rgba(190, 200, 90, .14);  --t-fg: #cdd68a; }
:root[data-theme="dark"] .v-cofounder   { --t-bg: rgba(230, 120, 200, .14); --t-fg: #eaa3d8; }
:root[data-theme="dark"] .v-hiring      { --t-bg: rgba(90, 200, 130, .14);  --t-fg: #8fd9a8; }
:root[data-theme="dark"] .v-gtm         { --t-bg: rgba(235, 110, 95, .15);  --t-fg: #f0a59b; }
:root[data-theme="dark"] .v-design      { --t-bg: rgba(230, 120, 160, .14); --t-fg: #eaa3bf; }
:root[data-theme="dark"] .v-product     { --t-bg: rgba(127, 156, 255, .16); --t-fg: #a9bcff; }
:root[data-theme="dark"] .v-data        { --t-bg: rgba(160, 140, 250, .16); --t-fg: #c2b6fa; }
:root[data-theme="dark"] .v-legal       { --t-bg: rgba(120, 160, 210, .15); --t-fg: #a3c0e0; }
:root[data-theme="dark"] .v-finance     { --t-bg: rgba(140, 200, 90, .14);  --t-fg: #b5dc8f; }
:root[data-theme="dark"] .v-ops         { --t-bg: rgba(200, 180, 150, .14); --t-fg: #d8c8ae; }
:root[data-theme="dark"] .v-advisory    { --t-bg: rgba(80, 200, 190, .14);  --t-fg: #8fd8d2; }
:root[data-theme="dark"] .v-perks       { --t-bg: rgba(235, 150, 90, .14);  --t-fg: #eeb48c; }
.tag { display: inline-block; padding: .1rem .5rem; font-size: 12px; line-height: 1.5; white-space: nowrap; background: var(--t-bg); color: var(--t-fg); border-radius: 2px; }
.tags { display: flex; flex-wrap: wrap; gap: .3rem; }
/* legend doubles as a filter */
.legend { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1.25rem; }
.legend button { font: inherit; font-size: 12px; border: 1px solid transparent; cursor: pointer; padding: .2rem .6rem; background: var(--t-bg); color: var(--t-fg); border-radius: 2px; }
.legend button[aria-pressed="true"] { border-color: var(--t-fg); }
.legend.filtering button[aria-pressed="false"]:not(.all) { opacity: .45; }
.legend .all { background: none; color: var(--mute); border-color: var(--line); }
.legend .all[aria-pressed="true"] { color: var(--ink); border-color: var(--ink); }
/* sortable column heads */
.head button { font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.head button:hover, .head button[aria-sort] { color: var(--ink); }
.head button[aria-sort="ascending"]::after { content: " ↑"; }
.head button[aria-sort="descending"]::after { content: " ↓"; }
.head button:focus-visible { outline: 1px dashed var(--accent); outline-offset: 2px; }
.legend button:focus-visible { outline: 1px dashed var(--accent); outline-offset: 2px; }
.lk { position: relative; }
.lk a { color: inherit; text-decoration: underline dotted var(--mute); text-underline-offset: 4px; }
.lk a:hover { text-decoration-color: var(--accent); }
.lk .hc { position: absolute; left: 0; top: calc(100% + 10px); z-index: 20; display: flex; align-items: center; gap: .75rem; padding: .6rem .75rem .6rem .6rem; background: var(--paper); border: 1px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); white-space: nowrap; max-width: calc(100vw - 3rem); opacity: 0; transform: translateY(-4px); pointer-events: none; transition: opacity .15s ease, transform .15s ease; font-weight: 400; }
.lk .hc::before { content: ""; position: absolute; left: 14px; top: -6px; width: 10px; height: 10px; background: var(--paper); border-left: 1px solid var(--ink); border-top: 1px solid var(--ink); transform: rotate(45deg); }
.lk:hover .hc, .lk:focus-within .hc { opacity: 1; transform: none; }
.lk .hc img { width: 56px; height: 56px; flex: none; object-fit: cover; background: var(--wash); border: 1px solid var(--line); border-radius: 2px; }
.lk .hc img.logo { object-fit: contain; padding: 6px; }
.lk .hc .t { font-size: 12px; line-height: 1.4; color: var(--body); }
.lk .hc .t b { display: block; color: var(--ink); font-weight: 700; }
.lk .hc .t small { display: block; color: var(--mute); font-size: 11px; }
