nomadro/src/modules/social/app/vivid.css
Eric efb408162d Deepen /social UX: people profiles, city directory, date deck, and plain-language IA.
Hide membership entry, brand ebook/video as 共创, harden H5 touch layout, and align copy with everyday nomad language.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-01 21:25:37 +08:00

1250 lines
27 KiB
CSS

/* =========================================================
Social VIVID — final visual authority (loads after depth)
Goal: best-looking, best-feeling /social across all pages
========================================================= */
.social-experience,
.social-home,
.social-workspace,
.social-live-root {
font-family: var(--font-body, inherit);
-webkit-font-smoothing: antialiased;
text-rendering: optimizeLegibility;
}
.social-experience :is(h1, h2, h3, .logo-text, .social-page-head-title),
.social-home :is(h1, h2, h3, .logo-text) {
font-family: var(--font-display, inherit);
}
/* —— Quick rail (workspace IA) —— */
.social-quick-rail {
margin: 0 0 18px;
}
.social-quick-rail-track {
display: flex;
gap: 8px;
overflow-x: auto;
padding: 6px;
border-radius: 18px;
border: 1px solid var(--sx-fog, rgba(186, 214, 230, 0.14));
background: color-mix(in srgb, var(--sx-glass, #0d1520b8) 92%, transparent);
backdrop-filter: blur(14px);
scrollbar-width: none;
}
.social-quick-rail-track::-webkit-scrollbar {
display: none;
}
.social-quick-chip {
display: inline-flex;
align-items: center;
gap: 6px;
flex: 0 0 auto;
min-height: 40px;
padding: 0 14px;
border-radius: 999px;
border: 1px solid transparent;
color: var(--text-secondary);
text-decoration: none;
font-size: 13px;
font-weight: 650;
letter-spacing: -0.01em;
transition:
background 0.2s,
color 0.2s,
transform 0.2s,
border-color 0.2s;
}
.social-quick-chip:hover {
color: var(--text-primary);
border-color: #5ce1d644;
background: #5ce1d612;
}
.social-quick-chip.is-active {
color: #062525;
background: linear-gradient(125deg, #7aefe4, #4ecdc4);
box-shadow: 0 8px 20px #4ecdc433;
}
/* —— Connection ways (post-hero chooser) —— */
.social-home .connection-ways {
margin-top: 8px;
margin-bottom: 36px;
}
.social-home .connection-way {
position: relative;
min-height: 128px;
padding: 20px 18px;
overflow: hidden;
}
.social-home .connection-way::after {
content: "";
position: absolute;
inset: auto -30% -55% auto;
width: 140px;
height: 140px;
border-radius: 50%;
pointer-events: none;
opacity: 0.55;
}
.social-home .connection-way.mint::after {
background: radial-gradient(circle, #5ce1d633, transparent 70%);
}
.social-home .connection-way.coral::after {
background: radial-gradient(circle, #ff7a7233, transparent 70%);
}
.social-home .connection-way.yellow::after {
background: radial-gradient(circle, #ffd97833, transparent 70%);
}
.social-home .connection-way-copy {
display: grid;
gap: 4px;
min-width: 0;
}
.social-home .connection-way-copy em {
margin-top: 6px;
font-style: normal;
font-size: 12px;
font-weight: 700;
letter-spacing: -0.01em;
color: var(--sx-mint, #5ce1d6);
}
.social-home .connection-way.coral .connection-way-copy em {
color: var(--sx-coral, #ff7a72);
}
.social-home .connection-way.yellow .connection-way-copy em {
color: #e6c35a;
}
.social-date-hint {
margin: 4px auto 10px;
text-align: center;
color: var(--text-muted);
font-size: 12px;
letter-spacing: 0.01em;
}
.social-people-cta-bar {
position: sticky;
bottom: calc(78px + env(safe-area-inset-bottom, 0px));
z-index: 20;
margin-top: 18px !important;
box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
}
@media (min-width: 901px) {
.social-people-cta-bar {
position: static;
box-shadow: none;
}
}
@media (max-width: 720px) {
.social-date-hint {
display: none;
}
}
/* —— Stronger home hero —— */
.social-home .connection-hero {
isolation: isolate;
}
.social-home .connection-hero::before {
content: "";
position: absolute;
inset: 0 0 auto;
height: min(78vh, 720px);
pointer-events: none;
z-index: 0;
background:
radial-gradient(ellipse 70% 55% at 18% 20%, #5ce1d61f, transparent 60%),
radial-gradient(ellipse 55% 45% at 88% 18%, #ff7a7218, transparent 55%),
radial-gradient(ellipse 40% 35% at 60% 70%, #ffd97810, transparent 50%);
}
.social-home .connection-copy,
.social-home .connection-universe {
position: relative;
z-index: 1;
}
.social-home .connection-copy h1 {
text-wrap: balance;
}
.social-home .section-header h2 {
font-size: clamp(28px, 3.6vw, 40px);
letter-spacing: -0.05em;
font-weight: 800;
}
.social-home .section-tag {
display: inline-flex;
gap: 8px;
align-items: center;
padding: 6px 10px;
border-radius: 999px;
border: 1px solid var(--sx-fog, rgba(186, 214, 230, 0.14));
background: #ffffff06;
font-size: 11px;
letter-spacing: 0.04em;
}
/* —— Workspace polish —— */
.social-workspace .social-main {
animation: social-page-in 0.45s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes social-page-in {
from {
opacity: 0;
transform: translateY(10px);
}
to {
opacity: 1;
transform: none;
}
}
.social-workspace .nav-group-panel {
border-radius: 16px !important;
border: 1px solid var(--sx-fog, rgba(186, 214, 230, 0.14)) !important;
background: color-mix(in srgb, #0d1520 94%, transparent) !important;
backdrop-filter: blur(18px);
box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
padding: 8px !important;
}
.social-workspace .nav-group-panel a,
.social-home .nav-group-panel a {
border-radius: 12px;
min-height: 40px;
padding: 0 12px !important;
display: flex !important;
align-items: center;
}
.social-workspace .nav-group-panel a:hover,
.social-home .nav-group-panel a:hover,
.social-workspace .nav-group-panel a[aria-current="page"],
.social-home .nav-group-panel a[aria-current="page"] {
background: #5ce1d614;
color: var(--sx-mint, #5ce1d6);
}
/* —— Date remaining progress —— */
.social-date-progress {
width: min(100%, 420px);
height: 4px;
margin: 0 auto 14px;
border-radius: 999px;
background: #ffffff10;
overflow: hidden;
}
.social-date-progress > i {
display: block;
height: 100%;
border-radius: inherit;
background: linear-gradient(90deg, #ff9a90, #5ce1d6);
transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
/* —— Chat jump —— */
.social-jump-latest {
position: absolute;
left: 50%;
bottom: 12px;
translate: -50% 0;
z-index: 5;
display: none;
min-height: 36px;
padding: 0 14px;
border-radius: 999px;
border: 1px solid #5ce1d655;
background: color-mix(in srgb, #0d1520 88%, transparent);
color: var(--sx-mint, #5ce1d6);
font: inherit;
font-size: 12px;
font-weight: 700;
box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
backdrop-filter: blur(12px);
}
.social-thread-wrap:has([data-unread="true"]) .social-jump-latest {
display: inline-flex;
align-items: center;
gap: 6px;
}
/* —— Membership cards —— */
.social-onboarding-heading {
margin: 8px 0 14px;
font-size: 15px;
letter-spacing: -0.02em;
color: var(--text-secondary);
font-weight: 650;
}
.social-onboarding-card p {
margin: 0 0 8px;
font-size: 13px;
line-height: 1.5;
}
.social-membership-card {
min-height: 120px;
padding: 18px !important;
display: grid;
gap: 8px;
align-content: space-between;
text-decoration: none;
color: inherit;
}
.social-membership-card h2 {
margin: 0;
font-size: 1.1rem;
}
.social-membership-card span {
display: inline-flex;
align-items: center;
gap: 4px;
color: var(--sx-mint, #5ce1d6);
font-size: 13px;
font-weight: 650;
}
/* —— Form focus glow —— */
.social-experience :is(input, textarea, select):focus-visible,
.social-join-field input:focus-visible,
.social-compose input:focus-visible,
.social-chat-live .social-chat-composer textarea:focus-visible {
border-color: #5ce1d688 !important;
box-shadow: 0 0 0 4px #5ce1d622;
outline: none;
}
/* —— Skeleton-ish status —— */
.social-status {
display: inline-flex;
align-items: center;
gap: 8px;
min-height: 36px;
padding: 0 12px;
border-radius: 12px;
font-size: 13px;
}
.social-status.warn {
color: var(--sx-gold, #ffd978);
background: #ffd97814;
border: 1px solid #ffd97844;
}
html.light .social-quick-rail-track,
html[data-theme="light"] .social-quick-rail-track {
background: color-mix(in srgb, #ffffff 82%, transparent);
}
html.light .social-workspace .nav-group-panel,
html[data-theme="light"] .social-workspace .nav-group-panel {
background: color-mix(in srgb, #ffffff 94%, transparent) !important;
}
@media (max-width: 900px) {
.social-quick-rail {
margin-bottom: 14px;
}
}
@media (max-width: 560px) {
.social-quick-chip {
min-height: 38px;
padding: 0 12px;
font-size: 12px;
}
}
@media (prefers-reduced-motion: reduce) {
.social-workspace .social-main,
.social-quick-chip {
animation: none !important;
transition: none !important;
}
}
/* -- product pass: brand / people / date / city / ugc -- */
.social-brand-logo {
display: inline-flex;
align-items: center;
gap: 10px;
text-decoration: none;
color: inherit;
}
.social-brand-mark {
flex-shrink: 0;
filter: drop-shadow(0 0 10px #4ecdc433);
}
.social-brand-name {
font-weight: 700;
letter-spacing: -0.04em;
font-size: 17px;
background: linear-gradient(120deg, #ff8f8f, #ffe66d 45%, #4ecdc4);
-webkit-background-clip: text;
background-clip: text;
color: transparent;
}
.social-brand-sep {
opacity: 0.45;
margin: 0 2px;
}
.social-brand-section {
font-weight: 600;
font-size: 14px;
opacity: 0.82;
}
.social-home .nav-logo .logo-icon,
.social-workspace .nav-logo .logo-icon {
display: none;
}
.social-people-chip.is-rich {
position: relative;
grid-template-rows: auto auto auto auto;
padding-right: 36px;
}
.social-people-chip-want {
grid-column: 2;
display: -webkit-box;
-webkit-line-clamp: 1;
-webkit-box-orient: vertical;
overflow: hidden;
font-size: 10px;
line-height: 1.3;
color: color-mix(in srgb, var(--text-muted, #9aa3af) 92%, #4ecdc4);
opacity: 0.92;
}
.social-people-chip-like {
position: absolute;
top: 8px;
right: 8px;
width: 28px;
height: 28px;
border: 0;
border-radius: 999px;
background: #ff6b6b18;
color: #ff8f8f;
cursor: pointer;
font-size: 13px;
line-height: 1;
}
.social-people-chip-like:hover {
background: #ff6b6b33;
}
.social-burst-float {
position: fixed;
left: 50%;
top: 42%;
transform: translate(-50%, -50%);
font-size: 48px;
color: #ff6b6b;
pointer-events: none;
animation: social-burst-pop 0.7s ease forwards;
z-index: 80;
}
@keyframes social-burst-pop {
from { opacity: 0; transform: translate(-50%, -40%) scale(0.6); }
40% { opacity: 1; transform: translate(-50%, -55%) scale(1.15); }
to { opacity: 0; transform: translate(-50%, -70%) scale(0.9); }
}
/* Home date teaser — keep selectors away from swipe page (.social-date-root) */
.social-home .social-date-hero {
display: grid;
grid-template-columns: 1fr 1.05fr;
gap: 28px;
align-items: center;
padding: 28px;
border-radius: 28px;
border: 1px solid #ff7a7233;
background:
radial-gradient(circle at 8% 12%, #ff7a722e, transparent 42%),
radial-gradient(circle at 92% 78%, #ffe66d1a, transparent 42%),
color-mix(in srgb, var(--sx-glass, #12141a) 88%, transparent);
box-shadow: var(--sx-lift, 0 18px 40px #00000033);
overflow: hidden;
}
.social-home .social-date-hero-copy h2 {
margin: 10px 0 12px;
font-size: clamp(24px, 3.2vw, 36px);
letter-spacing: -0.045em;
}
.social-home .social-date-hero-copy > p {
margin: 0 0 16px;
color: var(--text-muted, #9aa3af);
max-width: 38ch;
line-height: 1.65;
}
.social-home .social-date-hero-steps {
display: flex;
flex-wrap: wrap;
gap: 10px;
list-style: none;
margin: 0 0 18px;
padding: 0;
}
.social-home .social-date-hero-steps li {
display: inline-flex;
align-items: center;
gap: 8px;
min-height: 36px;
padding: 0 12px;
border-radius: 999px;
border: 1px solid #ff7a7233;
background: #ff7a7212;
font-size: 13px;
color: #ffc4c0;
}
.social-home .social-date-hero-steps em {
font-style: normal;
font-weight: 700;
color: #ff8f8f;
}
.social-date-stage-acts {
display: flex;
flex-wrap: wrap;
gap: 10px;
}
.social-home .social-date-hero-deck {
position: relative;
display: block;
min-height: 360px;
text-decoration: none;
color: inherit;
}
.social-home .social-date-hero-card {
position: absolute;
left: 50%;
top: 50%;
width: min(280px, 78%);
aspect-ratio: 3 / 4.1;
margin: 0;
border-radius: 26px;
border: 1px solid #ffffff22;
background-size: cover;
background-position: center top;
box-shadow: 0 22px 50px #00000066;
overflow: hidden;
transform:
translate(-50%, -50%)
translateX(calc((var(--i, 0) - 1) * 34px))
rotate(calc((var(--i, 0) - 1) * 6deg));
transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.social-home .social-date-hero-card-0 { z-index: 3; }
.social-home .social-date-hero-card-1 { z-index: 2; opacity: 0.94; }
.social-home .social-date-hero-card-2 { z-index: 1; opacity: 0.8; }
.social-home .social-date-hero-deck:hover .social-date-hero-card-0 {
transform: translate(-50%, calc(-50% - 8px)) rotate(-2deg) scale(1.03);
box-shadow: 0 28px 60px #ff6b6b33;
}
.social-home .social-date-hero-online {
position: absolute;
top: 14px;
left: 14px;
padding: 4px 10px;
border-radius: 999px;
background: #22c55ecc;
color: #fff;
font-size: 11px;
font-weight: 650;
}
.social-home .social-date-hero-meta {
position: absolute;
inset: auto 0 0;
padding: 18px 16px 16px;
display: grid;
gap: 4px;
color: #fff;
}
.social-home .social-date-hero-meta strong {
display: grid;
gap: 2px;
font-size: 20px;
letter-spacing: -0.03em;
}
.social-home .social-date-hero-meta strong small {
font-size: 12px;
font-weight: 500;
color: rgba(255, 255, 255, 0.72);
}
.social-home .social-date-hero-meta > em {
font-style: normal;
font-size: 12px;
color: #7aefe4;
}
.social-home .social-date-hero-meta > p {
margin: 2px 0 0;
font-size: 12px;
color: #ffc4c0;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
}
.social-date-card-tags {
display: flex;
gap: 6px;
margin-top: 8px;
}
.social-date-card-tags span {
font-size: 10px;
padding: 3px 8px;
border-radius: 999px;
background: #ff6b6b22;
color: #ffb4b0;
}
.social-home .social-date-hero-cta {
position: absolute;
right: 8%;
bottom: 6%;
z-index: 5;
display: inline-flex;
align-items: center;
gap: 6px;
min-height: 36px;
padding: 0 12px;
border-radius: 999px;
background: #ff6b6bcc;
color: #fff;
font-size: 12px;
font-weight: 600;
box-shadow: 0 10px 24px #ff6b6b44;
}
.social-home .connection-team.is-clickable {
text-decoration: none;
color: inherit;
display: grid;
transition: transform 0.25s ease, border-color 0.25s;
}
.social-home .connection-team.is-clickable:hover {
transform: translateY(-3px);
border-color: #4ecdc455;
}
.social-city-card {
text-decoration: none;
color: inherit;
}
.connection-meetup-art.is-video,
.social-event-art.is-video {
display: grid;
grid-template-columns: auto 1fr auto;
align-items: center;
gap: 12px;
}
.social-video-grid {
display: grid;
grid-template-columns: repeat(2, 36px);
gap: 6px;
}
.social-video-grid-sm {
grid-template-columns: repeat(2, 28px);
}
.social-video-tile {
width: 36px;
height: 36px;
border-radius: 10px;
overflow: hidden;
border: 1px solid #4ecdc455;
background: #4ecdc418;
display: grid;
place-items: center;
}
.social-video-grid-sm .social-video-tile {
width: 28px;
height: 28px;
}
.social-video-tile.is-ghost {
background:
linear-gradient(135deg, #4ecdc433, #ffe66d22),
#0f1218;
animation: social-video-pulse 2.4s ease-in-out infinite;
}
.social-video-tile.is-ghost:nth-child(2) { animation-delay: 0.3s; }
.social-video-tile.is-ghost:nth-child(3) { animation-delay: 0.6s; }
.social-video-tile.is-ghost:nth-child(4) { animation-delay: 0.9s; }
@keyframes social-video-pulse {
0%, 100% { opacity: 0.55; }
50% { opacity: 1; }
}
.social-city-filters {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin-bottom: 16px;
}
.social-city-filter {
min-height: 36px;
padding: 0 12px;
border-radius: 999px;
border: 1px solid var(--sx-fog, #ffffff18);
background: transparent;
color: inherit;
font-size: 12px;
cursor: pointer;
}
.social-city-filter.is-active {
border-color: #4ecdc466;
background: #4ecdc41a;
color: #7aefe4;
}
.social-city-grid {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 12px;
}
.social-city-card {
padding: 16px;
border-radius: 18px;
border: 1px solid var(--sx-fog, #ffffff18);
background: var(--sx-glass, #12141acc);
display: grid;
gap: 10px;
transition: transform 0.25s ease, border-color 0.25s;
}
.social-city-card:hover {
transform: translateY(-3px);
border-color: #4ecdc455;
}
.social-city-card.is-hot {
border-color: #ffe66d44;
background:
radial-gradient(circle at 100% 0%, #ffe66d18, transparent 45%),
var(--sx-glass, #12141acc);
}
.social-city-card-top {
display: flex;
gap: 10px;
align-items: center;
}
.social-city-emoji {
font-size: 28px;
line-height: 1;
}
.social-city-card h3 {
margin: 0;
font-size: 16px;
display: flex;
align-items: center;
gap: 6px;
}
.social-city-card h3 em {
font-style: normal;
font-size: 9px;
padding: 2px 6px;
border-radius: 999px;
background: #ffe66d33;
color: #ffe66d;
letter-spacing: 0.04em;
}
.social-city-card-top p,
.social-city-vibe {
margin: 0;
font-size: 12px;
color: var(--text-muted, #9aa3af);
}
.social-city-stats {
display: flex;
flex-wrap: wrap;
gap: 8px;
font-size: 11px;
color: var(--text-muted, #9aa3af);
}
.social-city-stats span {
display: inline-flex;
align-items: center;
gap: 4px;
}
.social-city-tags {
display: flex;
flex-wrap: wrap;
gap: 6px;
}
.social-city-tags span {
font-size: 10px;
padding: 3px 8px;
border-radius: 999px;
background: #ffffff0d;
}
.social-city-acts {
display: flex;
gap: 8px;
flex-wrap: wrap;
}
.social-city-dir.is-compact .social-city-grid {
grid-template-columns: repeat(4, minmax(0, 1fr));
}
.social-cafe-cities {
margin-bottom: 8px;
}
.social-together-tabs {
display: inline-flex;
gap: 6px;
margin-bottom: 14px;
padding: 4px;
border-radius: 999px;
border: 1px solid var(--sx-fog, #ffffff18);
background: #ffffff08;
}
.social-together-tabs span {
min-height: 32px;
padding: 0 12px;
display: inline-grid;
place-items: center;
border-radius: 999px;
font-size: 12px;
color: var(--text-muted, #9aa3af);
}
.social-together-tabs span.is-on {
background: linear-gradient(120deg, #4ecdc4, #7aefe4);
color: #062525;
font-weight: 600;
}
.social-ugc-row {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 12px;
margin-top: 16px;
}
.social-ugc-card {
display: grid;
grid-template-columns: auto 1fr auto;
gap: 12px;
align-items: center;
padding: 16px;
border-radius: 18px;
border: 1px solid var(--sx-fog, #ffffff18);
background: var(--sx-glass, #12141acc);
text-decoration: none;
color: inherit;
transition: border-color 0.25s, transform 0.25s;
}
.social-ugc-card:hover {
border-color: #4ecdc455;
transform: translateY(-2px);
}
.social-ugc-card.is-video:hover {
border-color: #ffe66d55;
}
.social-ugc-ico {
width: 42px;
height: 42px;
border-radius: 12px;
display: grid;
place-items: center;
background: #4ecdc41a;
font-size: 20px;
}
.social-ugc-card em {
display: block;
font-style: normal;
font-size: 10px;
letter-spacing: 0.06em;
color: #7aefe4;
margin-bottom: 2px;
}
.social-ugc-card strong {
display: block;
font-size: 14px;
}
.social-ugc-card p {
margin: 4px 0 0;
font-size: 12px;
color: var(--text-muted, #9aa3af);
}
.social-profile {
max-width: 920px;
margin: 0 auto 40px;
}
.social-profile-nav {
display: flex;
justify-content: space-between;
align-items: center;
gap: 12px;
margin-bottom: 16px;
}
.social-profile-hero {
position: relative;
border-radius: 24px;
overflow: hidden;
border: 1px solid var(--sx-fog, #ffffff18);
margin-bottom: 16px;
}
.social-profile-cover {
height: 160px;
background:
radial-gradient(circle at 20% 30%, #ff6b6b44, transparent 45%),
radial-gradient(circle at 80% 20%, #4ecdc444, transparent 40%),
linear-gradient(135deg, #1a1d27, #0c0c0f);
background-size: cover;
background-position: center;
}
.social-profile-identity {
display: flex;
gap: 16px;
align-items: flex-end;
padding: 0 20px 20px;
margin-top: -48px;
position: relative;
}
.social-profile-identity h1 {
margin: 4px 0;
font-size: clamp(24px, 3vw, 34px);
letter-spacing: -0.04em;
}
.social-profile-kicker {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin: 0;
font-size: 12px;
color: var(--text-muted, #9aa3af);
}
.social-profile-kicker .is-online {
color: #4ecdc4;
}
.social-profile-title {
margin: 0;
font-size: 14px;
color: var(--text-muted, #9aa3af);
}
.social-profile-city {
margin: 6px 0 0;
display: inline-flex;
align-items: center;
gap: 6px;
font-size: 13px;
}
.social-profile-actions {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin-bottom: 18px;
}
.social-profile-grid {
display: grid;
grid-template-columns: 1.2fr 0.8fr;
gap: 12px;
margin-bottom: 18px;
}
.social-profile-card {
padding: 18px;
border-radius: 18px;
border: 1px solid var(--sx-fog, #ffffff18);
background: var(--sx-glass, #12141acc);
}
.social-profile-card h2 {
margin: 0 0 10px;
font-size: 14px;
letter-spacing: 0.04em;
text-transform: uppercase;
opacity: 0.7;
}
.social-profile-looking {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 6px;
margin-top: 12px;
color: #ffc4c0;
}
.social-tags.is-soft span {
background: #4ecdc414;
}
.social-profile-gallery h2,
.social-profile-similar h2 {
font-size: 16px;
margin: 0 0 12px;
}
.social-profile-gallery-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 10px;
margin-bottom: 22px;
}
.social-profile-gallery-grid img,
.social-profile-gallery-ava {
width: 100%;
aspect-ratio: 4 / 3;
object-fit: cover;
border-radius: 16px;
border: 1px solid var(--sx-fog, #ffffff18);
}
.social-profile-gallery-ava {
display: grid;
place-items: center;
background: #4ecdc412;
}
.social-profile-similar-grid {
margin-bottom: 20px;
}
.social-profile-footer-cta {
display: flex;
flex-wrap: wrap;
gap: 10px;
}
.social-event-lead {
margin: -4px 0 14px;
}
@media (max-width: 1000px) {
.social-city-grid,
.social-city-dir.is-compact .social-city-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.social-home .social-date-hero,
.social-profile-grid,
.social-ugc-row {
grid-template-columns: 1fr;
}
.social-home .social-date-hero-deck {
min-height: 340px;
margin-top: 4px;
}
}
@media (max-width: 640px) {
.social-city-grid,
.social-city-dir.is-compact .social-city-grid {
grid-template-columns: 1fr;
}
.social-profile-gallery-grid {
grid-template-columns: 1fr 1fr;
}
.social-home .social-date-hero {
padding: 20px;
}
.social-home .social-date-hero-card {
width: min(240px, 82%);
}
}
@media (prefers-reduced-motion: reduce) {
.social-burst-float,
.social-video-tile.is-ghost,
.social-home .social-date-hero-card,
.social-date-root .social-date-card {
animation: none !important;
transition: none !important;
}
}
/* —— H5 / mobile first polish —— */
.social-cocreate-switch {
flex-wrap: wrap;
align-items: center;
gap: 8px;
}
@media (max-width: 760px) {
.social-home .social-path {
top: 64px;
margin-bottom: 8px;
}
.social-home .social-path-track {
overflow-x: auto;
-webkit-overflow-scrolling: touch;
scrollbar-width: none;
flex-wrap: nowrap;
justify-content: flex-start;
gap: 6px;
padding: 8px;
}
.social-home .social-path-track::-webkit-scrollbar {
display: none;
}
.social-home .social-path-link {
flex: 0 0 auto;
min-height: 44px;
padding: 0 14px;
white-space: nowrap;
}
.social-home .social-date-hero {
padding: 18px 16px 22px;
gap: 16px;
border-radius: 22px;
}
.social-home .social-date-hero-copy h2 {
font-size: clamp(22px, 6.4vw, 28px);
}
.social-home .social-date-hero-steps {
gap: 8px;
}
.social-home .social-date-hero-steps li {
min-height: 40px;
font-size: 12px;
}
.social-home .social-date-hero-deck {
min-height: 300px;
}
.social-home .social-date-hero-card {
width: min(220px, 76%);
}
.social-home .social-date-hero-cta {
right: 50%;
bottom: 2%;
transform: translateX(50%);
min-height: 40px;
}
.social-home .social-ugc-row {
grid-template-columns: 1fr;
gap: 10px;
}
.social-home .social-ugc-card {
min-height: 72px;
padding: 14px;
}
.social-city-filters,
.social-people-filters {
overflow-x: auto;
-webkit-overflow-scrolling: touch;
flex-wrap: nowrap;
scrollbar-width: none;
padding-bottom: 2px;
}
.social-city-filters::-webkit-scrollbar,
.social-people-filters::-webkit-scrollbar {
display: none;
}
.social-city-filter,
.social-people-filter {
flex: 0 0 auto;
min-height: 44px;
}
.social-city-grid,
.social-city-dir.is-compact .social-city-grid {
grid-template-columns: 1fr 1fr;
gap: 10px;
}
.social-city-card {
padding: 14px;
border-radius: 16px;
}
.social-city-emoji {
font-size: 22px;
}
.social-city-card h3 {
font-size: 14px;
}
.social-city-stats {
gap: 6px;
font-size: 10px;
}
.social-quick-rail {
margin: 0 0 12px;
}
.social-quick-rail-track {
overflow-x: auto;
-webkit-overflow-scrolling: touch;
flex-wrap: nowrap;
scrollbar-width: none;
padding: 6px;
gap: 6px;
}
.social-quick-rail-track::-webkit-scrollbar {
display: none;
}
.social-quick-chip {
flex: 0 0 auto;
min-height: 44px;
padding: 0 14px;
}
.social-workspace {
padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
}
.social-home {
padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
}
.social-mobile-dock {
padding-bottom: env(safe-area-inset-bottom, 0px);
}
.social-mobile-dock a {
min-height: 52px;
gap: 2px;
}
.social-date-root .social-date-bar {
flex-wrap: wrap;
gap: 8px;
padding: 10px 12px;
}
.social-date-root .social-date-bar-tools {
width: 100%;
justify-content: space-between;
}
.social-date-root .social-date-deck {
width: min(100%, 420px);
height: min(58dvh, 560px);
min-height: 360px;
}
.social-date-root .social-date-actions {
gap: 14px;
padding-bottom: env(safe-area-inset-bottom, 0px);
}
.social-date-root .social-date-act {
width: 58px;
height: 58px;
}
.social-date-root .social-date-act.like {
width: 68px;
height: 68px;
}
.social-date-root .social-date-meta {
padding: 16px 16px 18px;
}
.social-date-root .social-date-name h2 {
font-size: clamp(22px, 6vw, 28px);
}
.social-profile-nav,
.social-profile-actions,
.social-profile-footer-cta {
gap: 8px;
}
.social-profile-actions .social-btn,
.social-profile-footer-cta .social-btn {
min-height: 44px;
}
.social-profile-cover {
height: 120px;
}
.social-profile-identity {
flex-direction: column;
align-items: flex-start;
margin-top: -36px;
}
.social-live-bar {
flex-wrap: wrap;
gap: 8px;
}
.social-live-bar-tools {
width: 100%;
}
.social-panel-grid-2,
.social-panel-grid-3 {
grid-template-columns: 1fr;
}
.footer-grid-rings {
grid-template-columns: 1fr 1fr;
gap: 18px;
}
}
@media (max-width: 420px) {
.social-city-grid,
.social-city-dir.is-compact .social-city-grid {
grid-template-columns: 1fr;
}
.footer-grid-rings {
grid-template-columns: 1fr;
}
.social-home .social-people-chip-want {
display: none;
}
.social-home .social-date-hero-steps li:last-child {
display: none;
}
}