nomadro/src/modules/social/app/h5.css
Eric da22814584 Polish /social H5: Ways order, dock, mobile sheets, and chat/date touch UX.
Add dedicated h5.css so group chat leads CTAs, orbit stays compact on phones, and composer/actions clear the bottom dock.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-01 22:43:27 +08:00

1158 lines
26 KiB
CSS
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/* Social H5 — clean mobile adaptation (load last). ≤900px */
@media (max-width: 900px) {
/* —— Basics —— */
.social-home,
.social-workspace,
.social-live-root,
.social-date-root {
-webkit-tap-highlight-color: transparent;
}
/* iOS: avoid input zoom */
.social-form input,
.social-form textarea,
.social-form select,
.social-select,
.social-nick-label input,
.social-live-nick input,
.social-chat-composer textarea,
.social-join-field input,
.social-search input,
input[type="search"],
input[type="text"],
input[type="email"],
textarea {
font-size: 16px;
}
/* —— Ways: clear full-width list (not carousel) —— */
.social-home .connection-ways,
.connection-ways {
display: grid !important;
grid-template-columns: 1fr !important;
gap: 8px !important;
overflow: visible !important;
margin: 4px 0 16px !important;
padding: 0 14px !important;
scroll-snap-type: none !important;
}
.social-home .connection-ways::before {
content: "选一种方式开始";
display: block;
grid-column: 1 / -1;
margin: 0 2px 2px;
font-size: 11px;
font-weight: 600;
letter-spacing: 0.04em;
color: color-mix(in srgb, var(--text-primary, #111) 48%, transparent);
}
.social-home .connection-way,
.connection-way {
flex: none !important;
width: 100%;
min-height: 64px;
padding: 14px 14px;
border-radius: 16px;
gap: 12px;
background: color-mix(in srgb, var(--bg-card, #fff) 92%, transparent);
border: 1px solid color-mix(in srgb, var(--text-primary, #111) 10%, transparent);
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}
html[data-theme="dark"] .social-home .connection-way,
html[data-theme="dark"] .connection-way {
background: color-mix(in srgb, var(--sx-glass, #12141a) 92%, transparent);
border-color: var(--connection-border, #ffffff18);
box-shadow: none;
}
.connection-way-icon {
width: 40px;
height: 40px;
}
.connection-way-index {
font-size: 48px;
top: -4px;
right: 40px;
opacity: 0.05;
}
.connection-way-copy {
flex: 1;
min-width: 0;
}
.connection-way-copy strong {
font-size: 15px;
letter-spacing: -0.02em;
}
.connection-way-copy small {
margin-top: 2px;
font-size: 12px;
line-height: 1.4;
}
.connection-way-copy em {
display: none; /* keep mobile row compact; arrow is enough */
}
.connection-way-arrow {
flex-shrink: 0;
}
/* —— Hero —— */
.social-home .connection-hero {
padding-top: calc(68px + env(safe-area-inset-top, 0px));
padding-bottom: 8px;
min-height: auto;
}
.social-home .social-emoji-field {
display: none; /* quieter fold on phone */
}
.social-home .connection-eyebrow {
font-size: 11px;
margin-bottom: 10px;
}
.social-home .connection-copy h1 {
font-size: clamp(26px, 7.2vw, 34px);
line-height: 1.18;
margin-bottom: 10px;
}
.social-home .connection-description {
font-size: 13px;
line-height: 1.55;
max-width: none;
display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
overflow: hidden;
margin-bottom: 14px;
}
.social-home .connection-actions {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 8px;
align-items: stretch;
}
.social-home .connection-actions .connection-join,
.social-home .connection-actions .btn {
grid-column: 1 / -1;
width: 100%;
min-height: 48px;
justify-content: center;
gap: 10px;
padding-inline: 16px;
font-size: 15px;
}
.social-home .connection-actions .connection-film {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
width: 100%;
min-height: 44px;
padding: 0 10px;
border-radius: 12px;
border: 1px solid color-mix(in srgb, var(--text-primary, #111) 12%, transparent);
background: color-mix(in srgb, var(--bg-card, #fff) 80%, transparent);
color: var(--text-primary, #1a1a1a);
font-size: 13px;
font-weight: 600;
}
/* 群组聊天 | 认识一下 side-by-side; story demoted */
.social-home .connection-actions .connection-film-story {
grid-column: 1 / -1;
min-height: 40px;
border: 0;
background: transparent;
color: color-mix(in srgb, var(--text-primary, #111) 62%, transparent);
font-weight: 500;
font-size: 12px;
justify-content: flex-start;
padding-inline: 4px;
box-shadow: none;
}
/* —— Hero universe: compact, don’t eat the fold —— */
.social-home .connection-universe {
max-width: 100%;
max-height: 220px;
margin: 2px auto 0;
transform: none !important;
overflow: hidden;
}
.social-home .connection-orbit-scene {
aspect-ratio: 1.35 / 1;
max-height: 180px;
margin-inline: auto;
}
.social-home .connection-person {
min-width: 88px;
transform: scale(0.78);
}
.social-home .connection-person strong {
font-size: 11px;
}
.social-home .connection-person span,
.social-home .connection-person small {
font-size: 9px;
}
.social-home .connection-universe-label,
.social-home .connection-universe-footer {
font-size: 10px;
}
.social-home .connection-scroll-hint {
margin-top: 4px;
font-size: 11px;
}
.social-home .connection-proof {
margin-top: 12px;
gap: 8px;
}
.social-home .connection-proof strong {
font-size: 12px;
}
.social-home .connection-proof span {
font-size: 11px;
}
.social-home .connection-hero-bottom {
margin-top: 4px;
}
/* —— Path chips —— */
.social-home .social-path {
position: sticky;
top: calc(52px + env(safe-area-inset-top, 0px));
z-index: 30;
margin: 0 0 10px;
padding: 6px 0;
background: color-mix(in srgb, var(--bg-body, #f7f8fa) 88%, transparent);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
}
html[data-theme="dark"] .social-home .social-path {
background: color-mix(in srgb, #0c0c0f 88%, transparent);
}
.social-home .social-path .container {
padding-inline: 12px;
}
.social-home .social-path-track {
gap: 6px;
padding: 4px;
overflow-x: auto;
-webkit-overflow-scrolling: touch;
scrollbar-width: none;
}
.social-home .social-path-track::-webkit-scrollbar {
display: none;
}
.social-home .social-path-link {
flex: 0 0 auto;
min-height: 36px;
padding: 0 11px;
font-size: 12px;
}
/* —— Sections —— */
.social-home .section.section-compact {
padding-block: 28px;
}
.social-home .container {
padding-inline: 14px;
}
.social-home .section-header h2 {
font-size: clamp(22px, 6vw, 28px);
}
.social-home .section-header > p {
font-size: 13px;
line-height: 1.6;
}
/* —— Date hero —— */
.social-home .social-date-hero {
display: grid;
grid-template-columns: 1fr;
gap: 16px;
padding: 18px 14px 20px;
border-radius: 20px;
}
.social-home .social-date-hero-copy h2 {
font-size: clamp(22px, 6vw, 28px);
margin: 8px 0 10px;
}
.social-home .social-date-hero-copy > p {
font-size: 13px;
margin-bottom: 12px;
}
.social-home .social-date-hero-steps {
gap: 8px;
margin-bottom: 14px;
}
.social-home .social-date-hero-steps li {
min-height: 36px;
font-size: 12px;
padding: 0 10px;
}
.social-date-stage-acts {
display: flex;
flex-wrap: wrap;
gap: 8px;
}
.social-date-stage-acts .btn {
min-height: 44px;
flex: 1 1 auto;
justify-content: center;
}
.social-home .social-date-hero-deck {
min-height: 320px;
margin: 0 auto;
width: 100%;
}
.social-home .social-date-hero-card {
width: min(230px, 72%);
}
.social-home .social-date-hero-cta {
right: 50%;
bottom: 8px;
transform: translateX(50%);
min-height: 36px;
}
.social-home .social-date-hero-deck::before,
.social-home .social-date-hero-deck::after {
width: 32px;
height: 32px;
font-size: 12px;
}
/* —— Meetup / team panels —— */
.social-panel-grid,
.social-panel-grid-2,
.social-panel-grid-3 {
grid-template-columns: 1fr !important;
gap: 12px;
}
.social-home .social-panel {
padding: 18px 16px;
border-radius: 18px;
}
.connection-meetup-art {
min-height: 72px;
padding-bottom: 12px;
}
.connection-meetup-number {
font-size: 48px;
}
.connection-audio-bars,
.social-event-bars {
height: 48px;
gap: 3px;
opacity: 1;
visibility: visible;
}
.social-event-art .connection-audio-bars i,
.social-event-bars i {
min-width: 3px;
border-radius: 2px;
}
.social-event-art {
min-height: 120px;
}
.social-event-cta {
margin-top: 8px;
}
.social-event-cta .social-btn {
min-height: 44px;
}
.social-video-grid {
grid-template-columns: repeat(2, 32px);
gap: 4px;
}
.social-video-tile {
width: 32px;
height: 32px;
border-radius: 8px;
}
.social-meetup-faces {
margin: 4px 0 10px;
}
.social-home .social-panel .btn {
width: 100%;
min-height: 44px;
justify-content: center;
margin-top: 10px;
}
.social-home .social-section-actions {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin-top: 14px;
}
.social-home .social-section-actions .btn {
flex: 1 1 calc(50% - 8px);
min-height: 44px;
justify-content: center;
}
/* —— People —— */
.social-people-bar {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 10px;
padding: 12px;
border-radius: 16px;
}
.social-people-bar .btn {
margin-left: auto;
min-height: 40px;
}
.social-people-filters {
display: flex;
gap: 8px;
overflow-x: auto;
-webkit-overflow-scrolling: touch;
scrollbar-width: none;
margin-bottom: 12px;
}
.social-people-filters::-webkit-scrollbar {
display: none;
}
.social-people-filter {
flex: 0 0 auto;
min-height: 40px;
padding: 0 14px;
}
.social-people-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 10px;
}
.social-people-chip {
min-height: 96px;
padding: 12px 10px 14px;
border-radius: 16px;
}
.social-people-chip-ava {
width: 44px;
height: 44px;
}
.social-people-chip-want {
font-size: 11px;
line-height: 1.35;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
}
.social-people-chip-like {
width: 40px;
height: 40px;
}
.social-people-hint {
margin: 12px 0 8px;
font-size: 12px;
}
/* —— UGC / cities —— */
.social-ugc-row {
grid-template-columns: 1fr !important;
gap: 10px;
}
.social-ugc-card {
padding: 14px;
border-radius: 16px;
min-height: 72px;
}
.social-city-grid,
.social-city-dir.is-compact .social-city-grid {
grid-template-columns: 1fr 1fr;
gap: 10px;
}
.social-city-card {
padding: 12px;
border-radius: 14px;
}
.social-together-tabs {
margin-bottom: 12px;
}
/* —— Invite / footer —— */
.social-home .connection-invite {
margin: 24px 14px 32px;
padding: 22px 18px;
border-radius: 20px;
display: grid;
gap: 14px;
}
.social-home .connection-invite .btn,
.social-home .connection-invite .connection-join {
width: 100%;
min-height: 48px;
justify-content: center;
}
.footer-grid-rings {
grid-template-columns: 1fr !important;
gap: 20px;
}
/* —— Workspace pages —— */
.social-workspace {
padding: 12px 12px calc(96px + env(safe-area-inset-bottom, 0px));
}
.social-toolbar {
display: flex;
flex-direction: column;
gap: 10px;
}
.social-filters {
display: flex;
gap: 8px;
overflow-x: auto;
-webkit-overflow-scrolling: touch;
scrollbar-width: none;
}
.social-filters::-webkit-scrollbar {
display: none;
}
.social-filters button,
.social-filters .social-btn {
flex: 0 0 auto;
min-height: 40px;
}
.social-grid,
.social-role-grid,
.social-library-grid,
.social-event-grid,
.social-onboarding-grid {
grid-template-columns: 1fr !important;
gap: 12px;
}
.social-event-cta,
.social-card-actions {
display: flex;
flex-wrap: wrap;
gap: 8px;
}
.social-event-cta .social-btn,
.social-card-actions .social-btn {
flex: 1 1 auto;
min-height: 44px;
justify-content: center;
}
.social-actions {
display: flex;
flex-wrap: wrap;
gap: 8px;
}
.social-actions .social-btn {
min-height: 44px;
}
.social-role-card > .social-btn,
.social-library-card .social-btn {
width: 100%;
min-height: 48px;
justify-content: center;
}
.social-apply-form .social-btn.primary,
.social-form .social-btn.primary {
width: 100%;
min-height: 48px;
justify-content: center;
}
.social-apply-progress {
margin-bottom: 4px;
}
.social-page-intro .social-actions {
width: 100%;
}
.social-page-intro .social-actions .social-btn {
flex: 1 1 auto;
justify-content: center;
}
.social-people-cta-bar {
position: sticky;
bottom: calc(72px + env(safe-area-inset-bottom, 0px));
z-index: 25;
display: grid !important;
grid-template-columns: 1fr 1fr;
gap: 8px;
margin: 12px 14px calc(12px + env(safe-area-inset-bottom, 0px));
padding: 10px;
border-radius: 16px;
background: color-mix(in srgb, var(--bg-card, #fff) 92%, transparent);
border: 1px solid color-mix(in srgb, var(--text-primary, #111) 10%, transparent);
box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}
.social-people-cta-bar .social-btn {
width: 100%;
min-height: 44px;
justify-content: center;
margin: 0;
font-size: 13px;
}
.social-profile-studio {
grid-template-columns: 1fr !important;
}
.social-profile-actions {
display: flex;
flex-wrap: wrap;
gap: 8px;
}
.social-profile-actions .social-btn {
flex: 1 1 calc(50% - 8px);
min-height: 44px;
justify-content: center;
}
/* —— Dialogs: bottom sheet —— */
.social-dialog {
width: 100%;
max-width: 100vw;
margin: 0;
padding: 0;
border: 0;
background: transparent;
}
.social-dialog[open] {
display: flex;
align-items: flex-end;
}
.social-dialog-sheet {
width: 100%;
max-height: min(86dvh, 720px);
border-radius: 20px 20px 0 0;
display: flex;
flex-direction: column;
overflow: hidden;
}
.social-dialog-sheet header {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
min-height: 52px;
padding: 12px 16px;
flex-shrink: 0;
}
.social-dialog-sheet header h2 {
font-size: 1rem;
margin: 0;
}
.social-dialog-sheet header button {
width: 40px;
height: 40px;
border: 0;
border-radius: 10px;
background: #ffffff12;
color: inherit;
display: grid;
place-items: center;
}
.social-dialog-body {
overflow: auto;
-webkit-overflow-scrolling: touch;
padding: 12px 16px calc(16px + env(safe-area-inset-bottom, 0px));
}
.social-join-sheet {
width: 100%;
max-width: none;
border-radius: 20px 20px 0 0;
padding: 18px 16px calc(18px + env(safe-area-inset-bottom, 0px));
}
.social-join-title {
font-size: 1.25rem;
margin: 4px 0 8px;
}
.social-join-field {
margin-top: 14px;
}
.social-join-field input {
min-height: 48px;
font-size: 16px;
}
.social-join-submit {
width: 100%;
min-height: 52px;
justify-content: center;
gap: 8px;
}
.social-join-privacy {
margin-top: 10px;
font-size: 11px;
}
.social-join-paths {
display: grid;
grid-template-columns: 1fr;
gap: 12px;
}
.social-join-path .social-btn,
.social-join-path .btn {
width: 100%;
min-height: 48px;
justify-content: center;
}
/* —— Date swipe —— */
.social-date-root {
min-height: 100dvh;
padding-bottom: calc(78px + env(safe-area-inset-bottom, 0px));
}
.social-date-root .social-date-bar {
padding: 10px 12px;
gap: 8px;
}
.social-date-root .social-date-bar .social-demo-badge,
.social-date-root .DemoBadge {
display: none;
}
.social-date-root .social-live-bar-main > div > p {
font-size: 11px;
}
.social-date-root .social-date-bar-tools {
width: 100%;
overflow-x: auto;
-webkit-overflow-scrolling: touch;
gap: 8px;
}
.social-date-root .social-date-stage {
padding: 4px 12px 0;
}
.social-date-root .social-date-progress {
margin: 0 12px 8px;
height: 4px;
border-radius: 999px;
}
.social-date-root .social-date-deck {
width: 100%;
max-width: 420px;
margin-inline: auto;
height: min(52dvh, 480px);
min-height: 300px;
}
.social-date-card.is-top {
touch-action: none;
}
.social-date-root .social-date-hint,
.social-date-hint.is-alive {
display: none !important;
}
.social-date-root .social-date-actions {
gap: 18px;
padding: 10px 16px 4px;
margin-bottom: 0;
justify-content: center;
}
.social-date-root .social-fx-control {
display: none;
}
.social-date-root .social-date-act {
width: 56px;
height: 56px;
box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
}
.social-date-root .social-date-act.like {
width: 66px;
height: 66px;
}
.social-date-root .social-date-bar-tools .social-filters {
flex: 1;
min-width: 0;
}
.social-date-root .social-date-bar-tools .social-btn {
flex: 0 0 auto;
min-height: 36px;
padding-inline: 12px;
}
.social-date-root .social-date-likes {
margin: 8px 12px 0;
min-height: 48px;
border-radius: 14px;
font-size: 12px;
}
.social-date-toast {
left: 50%;
right: auto;
bottom: calc(92px + env(safe-area-inset-bottom, 0px));
transform: translateX(-50%);
max-width: calc(100% - 32px);
padding: 10px 14px;
border-radius: 999px;
font-size: 13px;
}
.social-date-empty {
padding: 28px 16px;
text-align: center;
}
.social-date-empty .social-btn {
width: min(100%, 280px);
min-height: 44px;
justify-content: center;
}
.social-date-match-list {
display: grid;
gap: 10px;
}
.social-date-match-row {
display: grid;
grid-template-columns: auto 1fr;
gap: 8px 10px;
align-items: center;
padding: 10px;
border-radius: 14px;
background: #ffffff08;
}
.social-date-match-row .social-btn {
min-height: 40px;
}
/* —— Chat —— */
.social-chat-live {
min-height: 100dvh;
display: flex;
flex-direction: column;
padding-bottom: calc(78px + env(safe-area-inset-bottom, 0px));
}
.social-chat-live-bar {
padding: 8px 12px;
gap: 6px;
}
.social-chat-live-bar .social-live-bar-main > div > strong {
font-size: 16px;
}
.social-chat-live-bar .social-muted {
font-size: 11px;
}
.social-chat-bar-tools {
display: flex;
flex-wrap: nowrap;
gap: 6px;
width: 100%;
overflow-x: auto;
-webkit-overflow-scrolling: touch;
scrollbar-width: none;
}
.social-chat-bar-tools::-webkit-scrollbar {
display: none;
}
.social-chat-bar-tools .social-btn {
flex: 0 0 auto;
min-height: 34px;
padding-inline: 10px;
font-size: 12px;
}
.social-chat-live-bar .social-demo-badge {
display: none;
}
.social-chat-presence {
margin: 0 12px 6px;
padding: 6px 10px;
border-radius: 12px;
gap: 8px;
}
.social-chat-presence > p {
font-size: 11px;
}
.social-chat-live .social-connection-status {
margin: 0 12px 6px;
min-height: 28px;
font-size: 11px;
}
.social-chat-live .social-live-stage {
flex: 1;
min-height: 0;
}
.social-chat-live .social-conversation {
height: 100%;
display: flex;
flex-direction: column;
border-radius: 0;
border-left: 0;
border-right: 0;
}
.social-chat-live .social-conversation-top {
display: none; /* bar already shows room title */
}
.social-chat-live .social-thread-wrap,
.social-chat-live .social-chat-thread {
flex: 1;
min-height: 180px;
}
.social-chat-live .social-chat-composer {
flex-shrink: 0;
padding: 8px 12px 10px;
border-top: 1px solid color-mix(in srgb, var(--text-primary, #111) 10%, transparent);
background: color-mix(in srgb, var(--bg-card, #fff) 94%, transparent);
margin-bottom: calc(var(--vv-offset, 0px));
position: relative;
z-index: 20;
}
html[data-theme="dark"] .social-chat-live .social-chat-composer {
background: #0b121c;
border-top-color: #ffffff14;
}
.social-chat-composer textarea {
min-height: 44px;
max-height: 100px;
}
.social-composer-toolbar {
gap: 8px;
align-items: center;
}
.social-composer-toolbar .social-nick-label {
display: none; /* keep composer clean on H5; nick stays in storage */
}
.social-composer-toolbar small {
display: none;
}
.social-composer-toolbar .social-btn.primary {
min-height: 44px;
min-width: 88px;
margin-left: auto;
}
.social-composer-emoji {
width: 44px;
height: 44px;
flex: 0 0 auto;
}
.social-emoji-picker {
display: grid;
grid-template-columns: repeat(8, 1fr);
gap: 4px;
max-height: 140px;
overflow-y: auto;
-webkit-overflow-scrolling: touch;
padding: 8px;
margin-bottom: 6px;
border-radius: 12px;
}
.social-emoji-picker button {
min-width: 36px;
min-height: 36px;
font-size: 20px;
}
.social-reply-chip {
margin-bottom: 6px;
font-size: 12px;
}
.social-jump-latest {
bottom: calc(120px + env(safe-area-inset-bottom, 0px));
min-height: 36px;
padding-inline: 12px;
}
.social-chat-starters {
display: grid;
gap: 8px;
}
.social-chat-starters .social-btn {
width: 100%;
min-height: 44px;
justify-content: flex-start;
text-align: left;
white-space: normal;
}
.social-message {
max-width: 92%;
gap: 8px;
}
.social-chat-thread {
gap: 10px;
padding: 8px 12px 12px;
}
.social-message-avatar {
width: 28px;
height: 28px;
border-radius: 9px;
font-size: 12px;
}
.social-message-body header {
margin-bottom: 4px;
gap: 6px;
}
.social-message-body > p {
padding: 10px 12px;
font-size: 14px;
line-height: 1.55;
}
.social-message-tools {
gap: 6px;
margin-top: 4px;
}
.social-message-tools button {
min-height: 32px;
padding-inline: 8px;
font-size: 11px;
}
/* —— Meetup live —— */
.social-meetup-live {
padding-bottom: calc(78px + env(safe-area-inset-bottom, 0px));
}
.social-live-bar {
padding: 10px 12px;
}
.social-live-bar-tools {
width: 100%;
}
.social-live-tabs {
display: grid;
grid-template-columns: repeat(3, 1fr);
width: 100%;
}
.social-live-tab {
min-height: 40px;
}
.social-live-gate {
padding: 28px 16px;
text-align: center;
}
.social-live-gate .social-btn.primary {
width: min(100%, 280px);
min-height: 48px;
justify-content: center;
}
/* —— Dock / nav —— */
.social-mobile-dock {
left: 10px;
right: 10px;
bottom: calc(8px + env(safe-area-inset-bottom, 0px));
padding: 4px 6px;
border-radius: 18px;
z-index: 60;
}
.social-mobile-dock a {
min-height: 50px;
gap: 2px;
font-size: 10px;
border-radius: 14px;
}
.social-mobile-dock a[aria-current="page"] {
background: color-mix(in srgb, var(--sx-mint, #4ecdc4) 14%, transparent);
color: var(--sx-mint, #0f766e);
}
/* —— Profile / forms —— */
.social-profile-studio {
display: grid;
gap: 12px;
padding-bottom: 12px;
}
.social-profile-studio .social-form-grid {
grid-template-columns: 1fr;
gap: 12px;
}
.social-profile-studio .social-btn.primary {
width: 100%;
min-height: 48px;
justify-content: center;
}
.social-publish-toggle {
display: flex;
align-items: flex-start;
gap: 10px;
padding: 12px;
border-radius: 14px;
background: color-mix(in srgb, var(--bg-card, #fff) 80%, transparent);
border: 1px solid color-mix(in srgb, var(--text-primary, #111) 8%, transparent);
font-size: 13px;
line-height: 1.45;
}
.social-publish-toggle input {
width: 20px;
height: 20px;
margin-top: 2px;
flex-shrink: 0;
}
.social-profile-preview {
order: -1; /* preview first on phone so users see result while editing */
}
.social-member-grid {
grid-template-columns: 1fr;
gap: 10px;
}
.social-member-card {
padding: 12px;
border-radius: 16px;
}
.social-member-card .social-btn {
min-height: 40px;
}
.social-workspace {
padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
}
.social-page-intro {
padding: 12px 14px 8px;
}
.social-page-intro h1 {
font-size: clamp(22px, 6vw, 28px);
}
.social-home .social-fx-control,
.social-workspace .social-fx-control {
bottom: calc(78px + env(safe-area-inset-bottom, 0px));
right: 12px;
width: 44px;
height: 44px;
}
.social-home .navbar,
.social-workspace .navbar {
padding-top: env(safe-area-inset-top, 0px);
}
.social-home .nav-container,
.social-workspace .nav-container {
min-height: 52px;
}
.nav-group-btn {
min-height: 48px;
}
.nav-group-panel a {
min-height: 44px;
display: flex;
align-items: center;
}
.social-nav-join {
min-height: 48px;
width: 100%;
justify-content: center;
}
/* —— Quick rail —— */
.social-quick-rail-track {
overflow-x: auto;
-webkit-overflow-scrolling: touch;
scrollbar-width: none;
gap: 6px;
padding: 6px;
}
.social-quick-rail-track::-webkit-scrollbar {
display: none;
}
.social-quick-chip {
flex: 0 0 auto;
min-height: 40px;
}
}
@media (max-width: 420px) {
.social-city-grid,
.social-city-dir.is-compact .social-city-grid {
grid-template-columns: 1fr;
}
.social-home .social-date-hero-card {
width: min(210px, 78%);
}
.social-people-bar .btn {
width: 100%;
margin-left: 0;
}
/* Phone: drop heavy orbit so Ways enters first viewport */
.social-home .connection-universe {
max-height: none;
overflow: visible;
margin-top: 2px;
}
.social-home .connection-orbit-scene,
.social-home .connection-universe-label,
.social-home .connection-universe-footer,
.social-home .connection-hero-bottom .connection-scroll-hint {
display: none !important;
}
.social-home .connection-proof {
margin-top: 8px;
margin-bottom: 4px;
}
}