/* v3.75.0 — community and growth: friends feed, passport, XP explainer, seat heat */

/* ── Friends feed ───────────────────────────────────────────── */
.gr-feed { margin: 22px 0 6px; }
.gr-feed.is-home { padding: 0 var(--v-pad, 16px); }
.gr-feed-h { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 0 0 10px; }
.gr-feed-h h2 { margin: 0; font-family: var(--v-display, inherit); font-size: 20px; font-weight: 800; letter-spacing: -.02em; color: var(--v-text, #fff); }
.gr-feed-h a { font-size: 13px; font-weight: 800; color: var(--v-amber, #f5a623) !important; text-decoration: none; }
.gr-feed-tools { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.gr-scan, .gr-pp-chip { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 0 14px; border-radius: 999px; font: inherit; font-size: 13px; font-weight: 800; text-decoration: none; cursor: pointer; }
.gr-scan { border: 0; background: var(--v-amber, #f5a623); color: #0b0b0c !important; }
.gr-scan svg { flex: 0 0 auto; }
.gr-pp-chip { border: 1px solid var(--v-line, #2a2a2e); background: var(--v-surface, #141416); color: var(--v-text-2, #d4d4d8) !important; }
.gr-pp-chip b { color: var(--v-amber, #f5a623); }
.gr-rail { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; }
.gr-rail::-webkit-scrollbar { display: none; }
.gr-card { flex: 0 0 min(300px, 82vw); display: flex; gap: 12px; padding: 12px; border: 1px solid var(--v-line, #2a2a2e); border-radius: 18px; background: var(--v-surface, #141416); scroll-snap-align: start; align-self: flex-start; }
.gr-card-img { flex: 0 0 64px; height: 96px; border-radius: 10px; background: hsl(var(--h, 30) 45% 22%) center / cover no-repeat; }
.gr-card-img:not(.is-poster) { height: 64px; }
.gr-card-t { flex: 1 1 auto; min-width: 0; }
.gr-card-t p { margin: 0; }
.gr-card-who { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12.5px; }
.gr-card-who a { display: inline-flex; align-items: center; gap: 6px; min-width: 0; color: var(--v-text-2, #d4d4d8) !important; text-decoration: none; }
.gr-card-who b { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-weight: 800; }
.gr-card-who small { flex: 0 0 auto; color: var(--v-dim, #71717a); font-size: 11.5px; }
.gr-card-who .rp-ava { flex: 0 0 22px; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; overflow: hidden; background: hsl(var(--h, 30) 55% 42%); color: #fff; font-size: 10px; font-weight: 800; line-height: 1; box-shadow: none; outline-offset: 1px; }
.gr-card-who .rp-ava img { width: 100%; height: 100%; object-fit: cover; }
.gr-card-what { margin-top: 6px !important; font-size: 15px; font-weight: 800; line-height: 1.25; color: var(--v-text, #fff); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.gr-st { color: var(--v-amber, #f5a623); font-size: 13px; white-space: nowrap; }
.gr-card-at { margin-top: 3px !important; font-size: 12.5px; color: var(--v-muted, #a1a1aa); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.gr-card-at a { color: inherit !important; text-decoration: none; }
.gr-card-fx { display: block; margin-top: 6px; font-size: 13px; line-height: 1.4; color: var(--v-text-2, #d4d4d8); quotes: '“' '”'; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.gr-card-fx.is-sp { color: var(--v-dim, #71717a); font-style: italic; }
.gr-card .sx { margin: 6px 0 0 -8px; }
.gr-feed-empty { margin: 0; padding: 14px 16px; border: 1px dashed var(--v-line, #2a2a2e); border-radius: 16px; font-size: 14px; color: var(--v-muted, #a1a1aa); }
.gr-feed-empty a { color: var(--v-amber, #f5a623) !important; font-weight: 800; }
.sx-share.has-l span { font-size: 12.5px; }

/* ── Passport ───────────────────────────────────────────────── */
.gr-pp { padding: 18px; border: 1px solid var(--v-line, #2a2a2e); border-radius: 22px; background: radial-gradient(120% 140% at 100% 0, rgba(245, 166, 35, .10), transparent 55%), var(--v-surface, #141416); }
.gr-pp-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.gr-pp-k { margin: 0 0 2px; font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--v-amber, #f5a623); }
.gr-pp-n { margin: 0; font-family: var(--v-display, inherit); font-size: 22px; font-weight: 700; letter-spacing: -.02em; color: var(--v-text-2, #d4d4d8); }
.gr-pp-n b { font-size: 34px; color: var(--v-text, #fff); }
.gr-pp-pct { font-size: 15px; font-weight: 800; color: var(--v-muted, #a1a1aa); }
.gr-pp-bar { height: 8px; margin: 12px 0 16px; border-radius: 99px; background: var(--v-raised, #1d1d21); overflow: hidden; }
.gr-pp-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--v-amber, #f5a623), #fb923c); }
.gr-stamps { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.gr-stamp { display: flex; align-items: center; gap: 10px; min-width: 0; }
.gr-stamp-i { flex: 0 0 52px; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 2px dashed var(--v-line-strong, #3f3f46); color: var(--v-dim, #71717a); }
.gr-stamp-i span { max-width: 44px; font-family: var(--v-display, inherit); font-size: 10.5px; font-weight: 800; line-height: 1.05; text-align: center; letter-spacing: -.01em; overflow: hidden; }
.gr-stamp.is-on .gr-stamp-i { border: 2px solid currentColor; transform: rotate(-8deg); box-shadow: inset 0 0 0 3px var(--v-surface, #141416), inset 0 0 0 5px currentColor; color: var(--st); background: color-mix(in srgb, var(--st) 14%, transparent); }
.gr-stamp.is-blue { --st: #60a5fa; } .gr-stamp.is-violet { --st: #a78bfa; } .gr-stamp.is-amber { --st: #f5a623; } .gr-stamp.is-teal { --st: #2dd4bf; } .gr-stamp.is-rose { --st: #fb7185; } .gr-stamp.is-gold { --st: #facc15; }
.gr-stamp-l { display: flex; flex-direction: column; min-width: 0; }
.gr-stamp-l b { font-size: 13.5px; font-weight: 800; color: var(--v-text, #fff); }
.gr-stamp:not(.is-on) .gr-stamp-l b { color: var(--v-text-2, #d4d4d8); }
.gr-stamp-l small { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 11.5px; color: var(--v-dim, #71717a); }
.gr-stamp.is-on .gr-stamp-l small { color: var(--st); font-weight: 700; }
.gr-stamp-l a { color: inherit !important; }
.gr-pp-how { margin: 14px 0 0; font-size: 12.5px; color: var(--v-dim, #71717a); }
.gr-pp-how a { color: var(--v-amber, #f5a623) !important; font-weight: 700; }

/* ── XP explainer by the leaderboard ────────────────────────── */
.gr-xp { margin: 0 0 14px; }
.gr-xp-me { margin: 0 0 8px; font-size: 13px; color: var(--v-muted, #a1a1aa); }
.gr-xp-me b { color: var(--v-amber, #f5a623); }
.gr-xp-l { display: flex; gap: 6px; margin: 0; padding: 0 0 4px; list-style: none; overflow-x: auto; scrollbar-width: none; }
.gr-xp-l::-webkit-scrollbar { display: none; }
.gr-xp-l li { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px 0 6px; border: 1px solid var(--v-line, #2a2a2e); border-radius: 999px; background: var(--v-surface, #141416); font-size: 12.5px; font-weight: 700; color: var(--v-text-2, #d4d4d8); white-space: nowrap; }
.gr-xp-l b { display: inline-grid; place-items: center; min-width: 34px; height: 22px; padding: 0 6px; border-radius: 99px; background: rgba(245, 166, 35, .14); color: var(--v-amber, #f5a623); font-size: 12px; font-weight: 800; }
@media (min-width: 900px) { .gr-xp-l { flex-wrap: wrap; overflow: visible; } }

/* ── Seat heat (screen pages) ───────────────────────────────── */
.gr-heat-sum { margin: -4px 0 14px; font-size: 14px; color: var(--v-text-2, #d4d4d8); }
.gr-heat-sum b { color: var(--v-text, #fff); }
.gr-heat-sum small { color: var(--v-dim, #71717a); }
.gr-heat-sum.is-empty { color: var(--v-muted, #a1a1aa); }
.sv4-seat.gr-heat { opacity: var(--hv, 1); background: var(--hc); box-shadow: 0 0 7px var(--hc); }
.sv4-seat.gr-heat.h-hi { --hc: #34d399; } .sv4-seat.gr-heat.h-mid { --hc: #fbbf24; } .sv4-seat.gr-heat.h-lo { --hc: #fb7185; } .sv4-seat.gr-heat.h-n { --hc: #c4b5fd; }
.sv4-seat.gr-heat.is-me { opacity: 1; background: #fff; box-shadow: 0 0 8px #fff; }
.gr-heat-key { background: linear-gradient(90deg, #34d399, #fbbf24, #fb7185) !important; box-shadow: 0 0 6px rgba(52, 211, 153, .6); }
.sv4-pick.has-heat .sv4-seat.is-best:not(.gr-heat):not(.is-me) { background: #3a3a40; box-shadow: inset 0 -3px 0 var(--v-green, #4ade80); }
/* v3.76.0: screen pages — verified badge in the Specs heading, links to format pages */
.sv4-specs h2 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; }
.ss-ver { display: inline-flex; align-items: center; gap: 4px; font-family: var(--v-sans, inherit); font-size: 12.5px; font-weight: 700; letter-spacing: 0; color: var(--v-muted, #a1a1aa); }
.ss-ver.is-team { color: #4ade80; }
.ss-ver.is-old { color: #fbbf24; }
.sv4-fmts { margin: 14px 0 0; font-size: 14px; }
.sv4-fmts a { color: var(--v-amber, #f5a623) !important; font-weight: 700; text-decoration: none; }
.sv4-fmts span { color: var(--v-dim, #71717a); }

/* v3.76.1: friends feed — equal-height cards, actions on one line at the bottom; a grid on desktop (no card cut off at the edge) */
.gr-card { align-self: stretch; }
.gr-card-t { display: flex; flex-direction: column; }
.gr-card .sx { margin-top: auto; padding-top: 6px; }
.gr-card-what { min-height: 2.5em; }
@media (min-width: 900px) {
    .gr-rail { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: visible; scroll-snap-type: none; padding-bottom: 0; }
    .gr-card { flex: none; min-width: 0; }
    .gr-rail > .gr-card:nth-child(n+9) { display: none; }
}
@media (min-width: 900px) and (max-width: 1199px) {
    .gr-rail { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .gr-rail > .gr-card:nth-child(n+7) { display: none; }
}

/* v3.78.1: phones — cards fit their content (no forced equal height), and no double gap under the feed */
@media (max-width: 899px) {
    .gr-card { align-self: flex-start; }
    .gr-card-what { min-height: 0; }
    .gr-card .sx { margin-top: 4px; padding-top: 0; }
    .gr-feed { margin-bottom: 0; }
}
.gr-feed + .hm { padding-top: 0; }
.gr-feed + .hm .hm-sub:first-of-type { margin-top: 28px; }
@media (max-width: 899px) { .gr-card-fx { display: none; } }
.gr-feed-hint { display: inline-flex; align-items: center; gap: 4px; margin: 0 0 0 6px; align-self: center; font-size: 13.5px; font-weight: 800; color: var(--v-amber, #f5a623) !important; text-decoration: none; }
.gr-feed-hint svg { transition: transform .15s; }
.gr-feed-hint:hover svg { transform: translateX(3px); }

/* v3.86.8: phones too — every card in the row the same height, actions pinned to the bottom.
   Titles stay on one line and the photo strip is left out of the small card (it made one card twice as tall). */
@media (max-width: 899px) {
    .gr-rail { align-items: stretch; }
    .gr-card { align-self: stretch; min-height: 122px; }
    .gr-card-what { -webkit-line-clamp: 1; }
    .gr-card .sx { margin-top: auto; padding-top: 6px; }
    .gr-card .mp-strip { display: none; }
    .gr-card-img:not(.is-poster) { height: 96px; }
}

/* v3.86.9: "Latest from the community" — a live dot, the next card peeking in, cards running to the screen edge */
.gr-live { display: inline-block; width: 8px; height: 8px; margin: 0 9px 0 2px; border-radius: 50%; background: #22c55e; vertical-align: 3px; box-shadow: 0 0 0 0 rgba(34,197,94,.55); }
@media (prefers-reduced-motion: no-preference) { .gr-live { animation: grLive 2s ease-out infinite; } }
@keyframes grLive { 0% { box-shadow: 0 0 0 0 rgba(34,197,94,.55); } 70%, 100% { box-shadow: 0 0 0 8px rgba(34,197,94,0); } }
@media (max-width: 899px) {
    .gr-feed.is-home .gr-rail { margin: 0 calc(-1 * var(--v-pad, 16px)); padding: 0 var(--v-pad, 16px) 6px; scroll-padding-left: var(--v-pad, 16px); }
    .gr-feed.is-home .gr-card { flex: 0 0 84%; max-width: 340px; }
}

/* v3.86.10: desktop — both rows of cards the same height */
@media (min-width: 900px) { .gr-rail { grid-auto-rows: 1fr; } }
@media (max-width: 899px) { .gr-feed-hint { margin: 2px 0 0 2px; } }
@media (min-width: 900px) {
    .gr-card .mp-strip { margin-top: 6px; gap: 4px; }
    .gr-card .mp-t { width: 36px; height: 36px; border-radius: 7px; }
    .gr-card .mp-t b { font-size: 12px; }
    .gr-card-fx { -webkit-line-clamp: 2; }
}

/* ==========================================================================
   v3.87.0 · Poster-first feed cards
   ========================================================================== */
.gr-rail.is-posters { gap: 12px; align-items: flex-start; }
.gr-pc { position: relative; flex: 0 0 38%; max-width: 180px; min-width: 0; scroll-snap-align: start; display: flex; flex-direction: column; }
.gr-pc-top { position: relative; }
.gr-pc-art { position: relative; display: block; aspect-ratio: 2 / 3; border-radius: 12px; overflow: hidden; background: hsl(var(--h, 30) 40% 18%); box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 10px 24px rgba(0,0,0,.45); }
.gr-pc-art img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.gr-pc-art.is-place::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,8,10,.55) 0%, rgba(8,8,10,0) 40%); }
.gr-pc-cap { position: absolute; z-index: 1; left: 8px; right: 8px; top: 8px; font-size: 12.5px; font-weight: 800; line-height: 1.25; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.6); }
.gr-pc-ava { position: absolute; z-index: 2; left: -4px; bottom: -14px; display: block; border-radius: 50%; box-shadow: 0 0 0 3px var(--v-bg, #0b0b0c); }
.gr-pc-ava .rp-ava { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; overflow: hidden; background: hsl(var(--h, 30) 55% 42%); color: #fff; font-size: 14px; font-weight: 800; line-height: 1; }
.gr-pc-ava .rp-ava img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gr-pc-who { display: flex; align-items: baseline; gap: 6px; margin: 24px 0 0 !important; font-size: 13.5px; min-width: 0; }
.gr-pc-who a { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-weight: 800; color: var(--v-text, #fff) !important; text-decoration: none; }
.gr-pc-who small { flex: none; margin-left: auto; font-size: 11.5px; color: var(--v-dim, #71717a); }
.gr-pc-row { display: flex; align-items: center; gap: 8px; min-height: 26px; margin-top: 2px; color: var(--v-dim, #8b8b93); }
.gr-pc-row .gr-st { font-size: 13px; letter-spacing: .5px; }
.gr-pc-ic { display: inline-flex; color: var(--v-dim, #8b8b93) !important; }
.gr-pc-ic:hover { color: var(--v-text, #fff) !important; }
.gr-pc .sx { margin: 0 0 0 auto !important; padding: 0 !important; }
.gr-pc .sx-cm, .gr-pc .sx-thread { display: none !important; }
.gr-pc .sx-b { padding: 2px 2px 2px 4px; min-height: 0; }
.gr-pc .sx-b svg { width: 15px; height: 15px; }
.gr-pc-at { margin: 0 !important; font-size: 12px; color: var(--v-muted, #a1a1aa); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.gr-pc-at a { color: inherit !important; text-decoration: none; }
.gr-pc-at a:hover { color: var(--v-text, #fff) !important; }
@media (hover: hover) { .gr-pc-art:hover img { transform: scale(1.04); } }
@media (min-width: 900px) {
    .gr-rail.is-posters { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: auto; gap: 20px; overflow: visible; }
    .gr-rail.is-posters > .gr-pc { max-width: none; }
    .gr-rail.is-posters > .gr-pc:nth-child(n+7) { display: none; }
    .gr-pc-who { font-size: 14px; }
}
@media (min-width: 900px) and (max-width: 1199px) {
    .gr-rail.is-posters { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    .gr-rail.is-posters > .gr-pc:nth-child(n+6) { display: none; }
}

/* ── v3.94.0 · "Latest from the community" — compact, phone-first ─────────────
   ~3 posters per phone screen with the next one peeking; avatar, stars, time on the poster;
   then one line "who ♡" and one line "where". Header + tools fit in one tight block. */
.gr-feed-h { margin-bottom: 8px; }
.gr-feed-tools { flex-wrap: nowrap; align-items: center; gap: 10px; margin-bottom: 12px; min-width: 0; }
.gr-scan, .gr-pp-chip { flex: none; min-height: 32px; padding: 0 12px; font-size: 12.5px; gap: 6px; }
.gr-scan svg { width: 14px; height: 14px; }
.gr-feed-hint { flex: 1 1 auto; min-width: 0; margin: 0; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.gr-feed-hint svg { display: inline-block; vertical-align: -2px; margin-left: 2px; }
.gr-pp-chip + .gr-feed-hint { display: none; }   /* phones: chip + hint don't both fit; the chip is personal, keep it */
@media (min-width: 900px) { .gr-pp-chip + .gr-feed-hint { display: block; flex: none; } }

.gr-rail.is-posters { gap: 10px; scroll-padding-left: 0; overscroll-behavior-x: contain; }
.gr-pc { flex: 0 0 calc((100% - 20px) / 3.3); max-width: 150px; }
.gr-pc-art { border-radius: 10px; box-shadow: 0 0 0 1px rgba(255,255,255,.07), 0 6px 16px rgba(0,0,0,.4); }
.gr-pc-cap { font-size: 11.5px; left: 7px; right: 7px; top: 7px; }
.gr-pc-ago { position: absolute; z-index: 2; top: 6px; right: 6px; padding: 2px 6px; border-radius: 99px; background: rgba(10,10,12,.66); font-size: 10.5px; font-weight: 700; line-height: 1.3; color: rgba(255,255,255,.88); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.gr-pc-art.is-place .gr-pc-ago { top: auto; bottom: 34px; }
.gr-pc-ov { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: flex-end; gap: 4px; min-height: 36px; padding: 18px 6px 6px 34px; background: linear-gradient(to top, rgba(6,6,8,.92), rgba(6,6,8,.55) 55%, transparent); }
.gr-pc-ov .gr-st { font-size: 11px; letter-spacing: 0; line-height: 1; text-shadow: 0 1px 3px rgba(0,0,0,.6); }
.gr-pc-ov .gr-pc-ic { display: inline-grid; place-items: center; width: 17px; height: 17px; border-radius: 50%; background: rgba(255,255,255,.16); color: #fff !important; font-style: normal; }
.gr-pc-ava { left: 6px; bottom: 6px; box-shadow: 0 0 0 2px rgba(10,10,12,.9); }
.gr-pc-ava .rp-ava { width: 24px; height: 24px; font-size: 11px; }
.gr-pc-who { display: flex; align-items: center; gap: 2px; margin: 7px 0 0 !important; font-size: 12.5px; line-height: 1.25; min-height: 22px; }
.gr-pc-who > a { flex: 1 1 auto; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-weight: 800; color: var(--v-text, #fff) !important; text-decoration: none; }
.gr-pc-who .sx { flex: none; margin: 0 -4px 0 0 !important; padding: 0 !important; }
.gr-pc-who .sx-b { padding: 2px 4px; min-height: 22px; }
.gr-pc-who .sx-b svg { width: 14px; height: 14px; }
.gr-pc-at { margin: 1px 0 0 !important; font-size: 11.5px; line-height: 1.3; }
@media (min-width: 900px) {
    .gr-pc { max-width: none; }
    .gr-pc-ava .rp-ava { width: 28px; height: 28px; font-size: 12px; }
    .gr-pc-ov { padding-left: 40px; min-height: 42px; }
    .gr-pc-ov .gr-st { font-size: 12.5px; }
    .gr-pc-who { font-size: 13.5px; } .gr-pc-at { font-size: 12.5px; }
}
.gr-pc-mk { position: absolute; z-index: 2; top: 6px; left: 6px; display: flex; gap: 3px; }
.gr-pc-mk .gr-pc-ic { display: inline-grid; place-items: center; width: 19px; height: 19px; border-radius: 50%; background: rgba(10,10,12,.66); color: #fff !important; font-style: normal; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.gr-pc-art.is-place .gr-pc-mk { top: auto; bottom: 34px; }
.gr-pc-art.is-place .gr-pc-ago { right: 6px; }
