/* 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; } .social-home { padding-bottom: 0 !important; } /* 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: relative; z-index: 1; margin: 0 0 10px; padding: 6px 0; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; } html[data-theme="dark"] .social-home .social-path { background: 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:单卡 CTA,勿桌面横排 —— */ .social-home .connection-invite { margin: 12px 14px 8px !important; padding: 22px 18px 20px !important; border-radius: 22px !important; display: flex !important; flex-direction: column; align-items: stretch; gap: 14px !important; border: 1px solid color-mix(in srgb, var(--text-primary, #111) 8%, transparent); background: radial-gradient(120% 80% at 100% 0%, #f59e0b18, transparent 45%), color-mix(in srgb, var(--bg-card, #12141a) 94%, transparent); box-shadow: none; } .social-home .connection-invite::before { display: none !important; } .social-home .connection-invite-orbit { display: none !important; } .social-home .connection-invite .connection-eyebrow { font-size: 11px; letter-spacing: 0.06em; opacity: 0.65; } .social-home .connection-invite h2 { font-size: clamp(20px, 5.6vw, 24px) !important; line-height: 1.25; letter-spacing: -0.03em; margin: 4px 0 0 !important; } .social-home .connection-invite p { font-size: 13px !important; line-height: 1.55 !important; margin: 0; color: color-mix(in srgb, var(--text-primary, #111) 62%, transparent); } .social-home .connection-invite .btn, .social-home .connection-invite .connection-join { width: 100% !important; margin: 4px 0 0 !important; min-height: 48px; justify-content: center; border-radius: 14px; font-size: 15px; font-weight: 650; } /* —— Footer:取消三栏密链接,改成居中品牌 + 胶囊入口 —— */ .social-home .footer { padding: 8px 0 calc(92px + env(safe-area-inset-bottom, 0px)) !important; border-top: none !important; background: transparent !important; } .social-home .footer > .container { padding-inline: 16px; } .social-home .footer-grid, .social-home .footer-grid-rings, .footer-grid-rings { display: flex !important; flex-direction: column; align-items: center; gap: 14px !important; grid-template-columns: none !important; } .social-home .footer-brand { grid-column: auto !important; margin: 0 !important; text-align: center; display: flex; flex-direction: column; align-items: center; } .social-home .footer-brand p { max-width: 16rem !important; margin: 10px auto 0 !important; font-size: 12px !important; line-height: 1.5 !important; color: color-mix(in srgb, var(--text-primary, #111) 48%, transparent); } .social-home .footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; width: 100%; margin: 0; } .social-home .footer-links h4 { display: none !important; } /* H5 只留主入口,去掉密密麻麻第二/第三栏 */ .social-home .footer-links-secondary, .social-home .footer-links-more { display: none !important; } .social-home .footer-links a, .social-home .social-footer-link { min-height: 40px !important; padding: 0 16px !important; display: inline-flex !important; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--text-primary, #111) 10%, transparent); background: color-mix(in srgb, var(--bg-card, #fff) 72%, transparent); font-size: 13px !important; font-weight: 600; color: color-mix(in srgb, var(--text-primary, #111) 78%, transparent); text-decoration: none; } .social-home .footer-links-primary a[href*="/chat"], .social-home .footer-links-primary a[href*="/meetup"] { display: none !important; } .social-home .footer-links a:active, .social-home .social-footer-link:active { background: color-mix(in srgb, #f59e0b 16%, transparent); border-color: #f59e0b55; } .social-home .footer-bottom { margin-top: 6px !important; padding-block: 10px 4px !important; border-top: none !important; text-align: center; } .social-home .footer-bottom p { font-size: 11px !important; letter-spacing: 0.02em; color: color-mix(in srgb, var(--text-primary, #111) 38%, transparent); } /* —— Workspace pages —— */ .social-workspace { padding: 0; } .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: static; display: grid !important; grid-template-columns: 1fr 1fr; gap: 8px; margin: 20px 0 0; 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; height: 100dvh; max-height: 100dvh; } .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 { flex: 0 0 auto; gap: 8px; } .social-date-root .social-date-filters { width: 100%; } .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: auto; max-height: min(52dvh, 480px); min-height: 260px; aspect-ratio: auto; } .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-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 —— */ /* 锁 visualViewport:键盘顶起时整页缩高,消息区跟着上移,不挡最新气泡 */ .social-chat-live { position: fixed; inset: auto 0 0 0; top: var(--vv-top, 0px); height: var(--vv-height, 100dvh); max-height: var(--vv-height, 100dvh); width: 100%; min-height: 0; display: flex; flex-direction: column; overflow: hidden; padding-bottom: 0; z-index: 40; } .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 .layout-chat-countries { flex-direction: column; } .social-chat-country-rail { flex: 0 0 auto; width: 100%; max-width: none; min-width: 0; flex-direction: row; align-items: center; gap: 8px; padding: 10px 12px; border-right: 0; border-bottom: 1px solid rgba(171, 195, 213, 0.12); overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; scrollbar-width: none; } .social-chat-country-rail::-webkit-scrollbar { display: none; } .social-chat-country-rail-glow, .social-chat-country-rail-head, .social-chat-country-rail-label { display: none; } .social-chat-country-list, .social-chat-country-list--scroll { flex-direction: row; overflow: visible; min-height: 0; gap: 8px; } .social-chat-country-item { width: auto; min-width: 0; min-height: 44px; border-radius: 999px; } .social-chat-country-flag { width: 28px; height: 28px; border-radius: 999px; } .social-chat-country-flag-emoji { display: none; } .social-chat-country-flag.is-lobby .social-chat-country-flag-emoji { display: inline; font-size: 14px; } .social-chat-country-meta em, .social-chat-country-count { display: none; } .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: flex; padding: 8px 12px; } .social-chat-live .social-thread-wrap, .social-chat-live .social-chat-thread { flex: 1 1 auto; min-height: 0; height: auto !important; max-height: none !important; } .social-chat-live .social-chat-thread { scrollbar-width: none; } .social-chat-live .social-chat-thread::-webkit-scrollbar { display: none; } .social-chat-live .social-chat-composer { flex-shrink: 0; /* 默认给底栏留位;键盘打开时 dock 隐藏,收掉这段 padding */ padding: 8px 12px calc(10px + 64px + env(safe-area-inset-bottom, 0px)); 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: 0; position: relative; z-index: 20; } .social-chat-live[data-keyboard-open="true"] .social-chat-composer, html[data-keyboard-open="true"] .social-chat-live .social-chat-composer { padding-bottom: 10px; } 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, .social-message-body > .social-msg-bubble { 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:贴底轻栏,去掉浮岛高光 —— */ .social-mobile-dock { left: 0 !important; right: 0 !important; bottom: 0 !important; padding: 6px 8px max(8px, env(safe-area-inset-bottom, 0px)) !important; border-radius: 0 !important; border: none !important; border-top: 1px solid color-mix(in srgb, var(--text-primary, #111) 8%, transparent) !important; background: color-mix(in srgb, var(--bg-primary, #0c0c0f) 92%, transparent) !important; backdrop-filter: blur(18px) saturate(1.15) !important; -webkit-backdrop-filter: blur(18px) saturate(1.15); box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.12) !important; z-index: 60; gap: 0; } .social-mobile-dock a { min-height: 52px; gap: 3px; font-size: 10px; font-weight: 600; letter-spacing: 0.01em; border-radius: 12px; color: color-mix(in srgb, var(--text-primary, #111) 42%, transparent); } .social-mobile-dock a svg { width: 22px; height: 22px; stroke-width: 1.85; } .social-mobile-dock a[aria-current="page"] { color: #f59e0b !important; background: color-mix(in srgb, #f59e0b 12%, transparent) !important; box-shadow: none !important; } /* —— 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: 0; } .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: 0; } .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, .social-immersive .navbar { padding-top: env(safe-area-inset-top, 0px); } .social-home .nav-container, .social-workspace .nav-container, .social-immersive .nav-container { min-height: 52px; } .social-immersive .navbar { height: 80px; padding: 12px 20px; padding-top: max(12px, env(safe-area-inset-top, 0px)); } .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; } } /* Shared page system: readable cards, resilient grids and keyboard access. */ .social-experience :is(a, button, input, textarea, select, summary):focus-visible { outline: 2px solid var(--sx-mint, #4ecdc4); outline-offset: 4px; } .social-workspace .social-main > :is(section, article, div), .social-workspace :is(.social-card, .social-panel, .social-profile-grid > *, .social-cafe-layout > *) { min-width: 0; } .social-workspace :is(.social-card, .social-panel, .social-profile-card) { overflow-wrap: anywhere; } .social-workspace :is(.social-grid, .social-event-grid) > .social-empty, .social-people-grid > .social-empty { grid-column: 1 / -1; width: 100%; } .social-result-summary { min-height: 44px; display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 10px 0; color: var(--text-secondary); font-size: 13px; } .social-result-summary p { margin: 0; } .social-result-summary button { min-height: 44px; } .social-route-state { display: grid; justify-items: center; align-content: center; gap: 20px; padding: 80px 24px; min-height: 70dvh; text-align: center; color: var(--text-primary); } .social-route-state p { margin: 0; color: var(--text-secondary); } .social-route-state h1 { font-size: clamp(24px, 4vw, 32px); margin: 0; } .social-route-state-mark { font-size: 40px; } .social-route-skeleton { width: min(100%, 600px); display: grid; gap: 16px; } .social-route-skeleton span { min-height: 96px; border-radius: 20px; background: var(--bg-glass); border: 1px solid var(--sx-fog); } /* —— Route loader: spinner only, no transit page —— */ .social-loader { min-height: 52dvh; display: grid; place-items: center; padding: 48px 16px; } .social-loader-ring { width: 36px; height: 36px; border-radius: 50%; border: 2.5px solid rgba(245, 158, 11, 0.18); border-top-color: #f59e0b; animation: social-loader-spin 0.7s linear infinite; } @keyframes social-loader-spin { to { transform: rotate(360deg); } } html[data-theme="light"] .social-experience { --text-muted: #596b80; --sx-mint: #087f78; } html[data-theme="light"] .social-mobile-dock { background: color-mix(in srgb, #ffffff 94%, transparent) !important; border-top-color: #24364b18 !important; box-shadow: 0 -6px 24px #1428370f !important; } html[data-theme="light"] .social-mobile-dock a { color: #6b7c8f; } html[data-theme="light"] .social-mobile-dock a[aria-current="page"] { color: #b45309 !important; background: #f59e0b14 !important; } .social-discovery-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; } .social-discovery-grid .social-people-chip.is-rich { grid-template-columns: 52px minmax(0, 1fr); grid-template-rows: auto auto auto auto; align-content: start; justify-items: start; align-items: center; gap: 6px 14px; padding: 20px; min-height: 174px; text-align: left; } .social-discovery-grid .social-people-chip-ava { grid-row: 1 / 3; } .social-discovery-grid .social-people-chip strong { grid-column: 2; font-size: 16px; white-space: normal; overflow-wrap: anywhere; } .social-discovery-grid .connection-member-role { grid-column: 2; font-size: 12px; line-height: 1.5; } .social-discovery-grid .social-people-chip > em { grid-column: 1 / -1; margin-top: 8px; white-space: normal; font-size: 12px; color: var(--text-secondary); } .social-discovery-grid .social-people-chip-want { grid-column: 1 / -1; font-size: 13px; line-height: 1.6; -webkit-line-clamp: 2; color: var(--text-secondary); } .social-dialog { color: var(--text-primary); width: min(560px, calc(100% - 40px)); max-width: 560px; max-height: min(90dvh, 900px); margin: auto; overflow: hidden; } .social-dialog-sheet { display: flex; flex-direction: column; max-height: min(90dvh, 900px); background: var(--bg-secondary, #101925); } .social-dialog-sheet > header { display: flex; justify-content: space-between; align-items: center; flex-shrink: 0; gap: 16px; } .social-dialog-sheet > header h2 { margin: 0; font-size: 20px; } .social-dialog-sheet > header button { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; border: 1px solid var(--sx-fog); border-radius: 12px; background: var(--bg-glass); color: inherit; cursor: pointer; } .social-dialog-body { overflow-y: auto; overscroll-behavior: contain; min-height: 0; } .social-experience :is(.social-form, .social-dialog-body) :is(input, textarea, select) { max-width: 100%; } .social-workspace :is(.social-profile, .social-cafe-detail, .social-library-card, .social-role-card) { scroll-margin-top: calc(var(--nav-height, 72px) + 24px); } .social-chat-live .social-thread-wrap { display: flex; flex-direction: column; min-height: 0; overflow: hidden; padding: 0; } .social-chat-live .social-chat-thread { min-height: 0; max-height: none; height: 100%; overflow-y: auto; display: flex; flex-direction: column; } .social-chat-live .social-chat-thread::before { content: ""; flex: 1 1 auto; min-height: 0; pointer-events: none; } .social-chat-live .social-msg-block { display: flex; flex-direction: column; width: 100%; } .social-chat-live .social-message { margin-right: auto; } .social-chat-live .social-message.mine { margin-left: auto; margin-right: 0; align-self: flex-end; } .social-chat-live .social-composer-toolbar { flex-wrap: nowrap; } .social-chat-live .social-chat-composer textarea { display: block; width: 100%; box-sizing: border-box; color: var(--text-primary); font-family: inherit; line-height: 1.6; resize: vertical; } .social-experience .social-form label.social-publish-toggle { display: flex; align-items: center; min-height: 44px; cursor: pointer; } .social-experience .social-form .social-publish-toggle input[type="checkbox"] { appearance: auto; flex: 0 0 20px; width: 20px; height: 20px; min-height: 20px; padding: 0; margin: 0; accent-color: var(--sx-mint); } .social-chat-live .social-composer-emoji { order: 0; } .social-chat-live .social-nick-label { order: 1; white-space: nowrap; } .social-chat-live .social-nick-label input { border: 1px solid var(--sx-fog); border-radius: 10px; background: var(--sx-glass); color: var(--text-primary); padding: 8px; } .social-chat-live .social-composer-toolbar button[type="submit"] { order: 2; margin-left: auto; } .social-date-root { height: 100dvh; max-height: 100dvh; overflow: hidden; } .social-meetup-live .social-live-video { overflow-y: auto; overscroll-behavior: contain; } .social-meetup-live .social-live-gate { flex: 1 0 auto; min-height: min-content; } .social-live-iframe-overlay button { pointer-events: auto; } @media (min-width: 601px) and (max-width: 900px) { .social-workspace :is(.social-role-grid, .social-library-grid, .social-event-grid) { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 16px; } } @media (max-width: 900px) { .social-workspace.social-workspace-dense .social-workspace-grid { min-height: 100dvh; padding: calc(80px + env(safe-area-inset-top, 0px)) 16px calc(100px + env(safe-area-inset-bottom, 0px)); } .social-workspace .nav-container, .social-home .nav-container { gap: 8px; padding-inline: 10px; min-width: 0; } .social-experience .social-brand-logo { min-width: 0; gap: 6px; } .social-experience .nav-actions { flex-shrink: 0; gap: 4px; } .social-experience :is(.nav-icon-btn, .mobile-menu-btn) { min-width: 44px; min-height: 44px; } .social-workspace .nav-links.open, .social-home .nav-links.open { top: calc(72px + env(safe-area-inset-top, 0px)); max-height: calc(100dvh - 170px - env(safe-area-inset-top, 0px)); overscroll-behavior: contain; } .social-experience .nav-group-panel a { min-height: 44px; } .social-workspace .social-toolbar { align-items: stretch; } .social-workspace .social-toolbar .social-search { width: 100%; max-width: none; } .social-workspace .social-filters { max-width: 100%; padding: 4px 2px; } .social-workspace .social-filters button { min-height: 44px; } .social-workspace .social-grid .social-save { min-height: 44px; } .social-composer-toolbar .social-nick-label { display: flex; flex: 0 1 130px; min-width: 0; } .social-chat-live .social-chat-composer textarea { font-size: 16px; } .social-composer-toolbar .social-nick-label input { min-width: 0; width: 100%; min-height: 44px; font-size: 16px; } .social-mobile-dock[data-keyboard-open="true"], html[data-keyboard-open="true"] .social-mobile-dock { display: none !important; } .social-discovery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .social-discovery-grid .social-people-chip.is-rich { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; padding: 16px 12px; gap: 7px; min-height: 220px; } .social-discovery-grid .social-people-chip.is-rich > * { grid-column: 1; grid-row: auto; } .social-discovery-grid .social-people-chip-ava { width: 52px; height: 52px; } .social-discovery-grid .social-people-chip > em { margin-top: 2px; } .social-discovery-grid .social-people-chip-want { font-size: 12px; } .social-workspace .social-profile-studio { gap: 20px; } .social-profile-preview { order: 0; } .social-dialog { width: 100%; max-width: 100%; max-height: 100dvh; margin: 0; } .social-dialog[open] { height: 100dvh; display: flex; align-items: flex-end; } .social-dialog-sheet { max-height: 88dvh; border-bottom: 0; } .social-workspace .social-people-cta-bar { position: static; } } @media (max-width: 380px) { .social-experience .social-brand-section, .social-experience .social-brand-sep { display: none; } .social-experience .social-brand-name { font-size: 15px; } .social-discovery-grid { grid-template-columns: minmax(0, 1fr); } .social-discovery-grid .social-people-chip.is-rich { grid-template-columns: 52px minmax(0, 1fr); justify-items: start; text-align: left; min-height: 156px; gap: 6px 12px; } .social-discovery-grid .social-people-chip-ava { grid-row: 1 / 3; } .social-discovery-grid .social-people-chip :is(strong, .connection-member-role) { grid-column: 2; } .social-discovery-grid .social-people-chip :is(em, .social-people-chip-want) { grid-column: 1 / -1; } } @media (max-height: 500px) { .social-meetup-live { height: auto; max-height: none; overflow: visible; } .social-meetup-live .social-live-stage { flex: none; height: 480px; } /* chat 仍锁 visualViewport,勿再拆成页面滚动 */ .social-chat-live { height: var(--vv-height, 100dvh); max-height: var(--vv-height, 100dvh); overflow: hidden; } .social-chat-live .social-live-stage { flex: 1 1 auto; height: auto; min-height: 0; } } /* —— Geo map / places / globe —— */ .social-main--immersive { padding: 0 !important; max-width: none !important; } .social-immersive .navbar { height: 88px; padding: 14px 28px; background: transparent; border: 0; box-shadow: none; backdrop-filter: none; } .social-immersive .navbar.scrolled { background: transparent; border-bottom: 0; box-shadow: none; backdrop-filter: none; } .social-immersive .nav-container { max-width: 1184px; min-height: 56px; padding: 0 20px; border: 1px solid var(--connection-border, rgba(171, 195, 213, 0.12)); border-radius: 18px; background: color-mix(in srgb, var(--bg-primary, #0a0e17) 84%, transparent); backdrop-filter: blur(24px); gap: 24px; } @media (max-width: 900px) { .social-immersive .nav-container { padding: 0 6px 0 12px; /* 汉堡贴右 */ gap: 8px; } .social-immersive .nav-actions { margin-left: auto !important; } .social-immersive .mobile-menu-btn { margin-left: auto; } } .social-immersive .navbar.scrolled .nav-container { box-shadow: 0 8px 32px #0002; } .sm-discover { display: grid; grid-template-columns: 1fr; min-height: calc(100dvh - 64px); background: #05060a; } .sm-discover.is-globe .sm-discover-stage { min-height: 72dvh; background: radial-gradient(ellipse at 50% 45%, rgba(14, 165, 233, 0.22), transparent 52%), #02040a; } .sm-discover-stage { position: relative; min-height: 58vh; overflow: hidden; isolation: isolate; background: radial-gradient(ellipse at 50% 40%, rgba(14, 165, 233, 0.12), transparent 55%), radial-gradient(ellipse at 80% 10%, rgba(245, 158, 11, 0.08), transparent 40%), #05060a; } .sm-globe-title { margin: 0; padding: 0.45rem 0.85rem; border-radius: 999px; background: rgba(8, 10, 16, 0.72); border: 1px solid rgba(255,255,255,0.12); font: 800 0.95rem/1.2 ui-sans-serif, system-ui, sans-serif; color: #f8fafc; backdrop-filter: blur(10px); } .sm-globe-title span { background: linear-gradient(120deg, #f59e0b, #38bdf8); -webkit-background-clip: text; background-clip: text; color: transparent; } .sm-globe--immersive { touch-action: none; } .sm-discover.is-globe .sm-globe, .sm-discover.is-globe .sm-globe--skeleton { height: 72dvh; min-height: 420px; } .sm-discover-stage > .social-map-canvas-wrap, .sm-discover-stage > .sm-globe { position: relative; z-index: 1; } .sm-discover-ui { position: absolute; inset: 0; z-index: 20; pointer-events: none; } .sm-discover-ui .sm-mode-switch, .sm-discover-ui .sm-discover-search, .sm-discover-ui .sm-discover-topbar { pointer-events: auto; } .sm-discover-topbar { position: absolute; left: 1.1rem; right: 1.1rem; top: 6.2rem; z-index: 30; display: flex; flex-wrap: wrap; align-items: center; gap: 0.55rem; } .social-map-canvas-wrap { position: relative; width: 100%; height: calc(100dvh - 64px); min-height: 420px; } .social-map-canvas { width: 100%; height: 100%; min-height: 420px; background: #0b1020; } .sm-map-status { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 3; padding: 0.55rem 0.9rem; border-radius: 999px; background: rgba(8, 10, 16, 0.78); border: 1px solid rgba(255,255,255,0.12); color: #e2e8f0; font-size: 0.85rem; pointer-events: none; } .social-map-canvas--skeleton, .sm-globe--skeleton { width: 100%; height: calc(100dvh - 64px); min-height: 420px; background: radial-gradient(circle at 50% 45%, rgba(56, 189, 248, 0.18), transparent 42%), #05060a; } .sm-globe { position: relative; width: 100%; height: calc(100dvh - 64px); min-height: 420px; cursor: grab; touch-action: none; } .sm-globe:active { cursor: grabbing; } .sm-globe-canvas { display: block; width: 100%; height: 100%; } .sm-globe-vignette { pointer-events: none; position: absolute; inset: 0; background: radial-gradient(ellipse at center, transparent 40%, rgba(5, 6, 10, 0.55) 100%); } .sm-globe-overlays { position: absolute; inset: 0; pointer-events: none; } .sm-globe-pin { pointer-events: auto; position: absolute; left: 0; top: 0; will-change: transform; border: 0; background: transparent; padding: 0; cursor: pointer; display: grid; justify-items: center; gap: 0.2rem; filter: drop-shadow(0 8px 18px rgba(0,0,0,0.45)); z-index: 2; } .sm-globe-pin:hover, .sm-globe-pin.is-selected { z-index: 5; filter: drop-shadow(0 10px 22px rgba(245,158,11,0.45)); } .sm-globe-pin.is-selected img, .sm-globe-pin.is-selected .sm-globe-emoji { box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.75); } .sm-globe-pin img, .sm-globe-emoji { width: 44px; height: 44px; border-radius: 999px; border: 2px solid rgba(255,255,255,0.85); object-fit: cover; background: #0f172a; display: grid; place-items: center; font-size: 1.2rem; } .sm-globe-count { position: absolute; top: -6px; right: -2px; min-width: 1.25rem; height: 1.15rem; padding: 0 0.35rem; border-radius: 999px; background: #fb7185; color: #fff; font: 700 10px/1.15rem ui-sans-serif, system-ui, sans-serif; z-index: 2; } .sm-globe-pin em { font-style: normal; font-size: 0.7rem; color: rgba(255,255,255,0.82); text-shadow: 0 1px 4px rgba(0,0,0,0.8); white-space: nowrap; } .sm-globe-hint { position: absolute; left: 50%; bottom: 1.1rem; transform: translateX(-50%); margin: 0; padding: 0.35rem 0.75rem; border-radius: 999px; font-size: 0.75rem; color: rgba(255,255,255,0.7); background: rgba(0,0,0,0.35); backdrop-filter: blur(8px); pointer-events: none; } .sm-discover-hero { position: absolute; left: 1.1rem; top: 1rem; z-index: 4; max-width: min(420px, 86vw); pointer-events: none; } .sm-discover-kicker { margin: 0 0 0.35rem; font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: #38bdf8; } .sm-discover-hero h1 { margin: 0; font-size: clamp(1.75rem, 4vw, 2.6rem); font-weight: 800; letter-spacing: -0.03em; color: #f8fafc; text-shadow: 0 8px 40px rgba(0,0,0,0.55); } .sm-discover-hero h1 span { background: linear-gradient(120deg, #f59e0b, #38bdf8); -webkit-background-clip: text; background-clip: text; color: transparent; } .sm-discover-lead { margin: 0.4rem 0 0; color: rgba(248,250,252,0.72); font-size: 0.92rem; max-width: 28ch; } .sm-mode-switch { position: relative; z-index: 30; display: inline-flex; flex-shrink: 0; gap: 0.25rem; padding: 0.3rem; border-radius: 999px; background: rgba(8, 10, 16, 0.88); border: 1px solid rgba(245, 158, 11, 0.45); box-shadow: 0 8px 28px rgba(0,0,0,0.45); backdrop-filter: blur(12px); } .sm-mode-switch button { display: inline-flex; align-items: center; gap: 0.35rem; min-height: 44px; padding: 0.4rem 1rem; border: 0; border-radius: 999px; background: transparent; color: rgba(255,255,255,0.78); font: 700 0.9rem/1 ui-sans-serif, system-ui, sans-serif; cursor: pointer; } .sm-mode-switch button.is-on { background: linear-gradient(120deg, rgba(245,158,11,0.98), rgba(56,189,248,0.9)); color: #0b1020; } .sm-discover-search { position: relative; z-index: 30; display: flex; align-items: center; gap: 0.45rem; flex: 1 1 180px; max-width: 280px; min-height: 44px; padding: 0 0.85rem; border-radius: 999px; background: rgba(8, 10, 16, 0.88); border: 1px solid rgba(255,255,255,0.14); backdrop-filter: blur(12px); color: #e2e8f0; } .sm-rail-mode { display: grid; grid-template-columns: 1fr 1fr; gap: 0.4rem; padding: 0.35rem; border-radius: 1rem; background: rgba(255,255,255,0.04); border: 1px solid rgba(245, 158, 11, 0.35); } .sm-rail-mode button { display: inline-flex; align-items: center; justify-content: center; gap: 0.35rem; min-height: 48px; border: 0; border-radius: 0.75rem; background: transparent; color: rgba(255,255,255,0.75); font: 700 0.92rem/1 ui-sans-serif, system-ui, sans-serif; cursor: pointer; } .sm-rail-mode button.is-on { background: linear-gradient(120deg, #f59e0b, #38bdf8); color: #0b1020; } .sm-discover-search input { flex: 1; border: 0; background: transparent; color: inherit; font: inherit; outline: none; min-width: 0; } .sm-discover-legend { position: absolute; left: 1.1rem; bottom: 1.1rem; z-index: 4; display: flex; flex-wrap: wrap; gap: 0.45rem; pointer-events: none; } .sm-discover-legend span { padding: 0.3rem 0.65rem; border-radius: 999px; font-size: 0.72rem; color: rgba(255,255,255,0.75); background: rgba(0,0,0,0.4); backdrop-filter: blur(8px); } .sm-discover-rail { display: flex; flex-direction: column; gap: 0.75rem; padding: 0.85rem 1rem 1.25rem; background: linear-gradient(180deg, #0a0c12, #07080c); border-top: 1px solid rgba(255,255,255,0.06); } .sm-rail-card { position: relative; padding: 1rem 1.05rem; border-radius: 1.1rem; background: color-mix(in oklab, #141822 88%, #f59e0b 4%); border: 1px solid rgba(255,255,255,0.08); } .sm-rail-close { position: absolute; top: 0.65rem; right: 0.65rem; width: 36px; height: 36px; border-radius: 999px; border: 0; background: rgba(255,255,255,0.06); color: inherit; display: grid; place-items: center; cursor: pointer; } .sm-rail-emoji { font-size: 1.6rem; margin: 0 0 0.25rem; } .sm-rail-card h2 { margin: 0; font-size: 1.2rem; display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: baseline; } .sm-rail-card h2 span, .sm-rail-card h2 em { font-size: 0.85rem; font-weight: 500; font-style: normal; opacity: 0.65; } .sm-rail-vibe { margin: 0.4rem 0 0.75rem; opacity: 0.72; font-size: 0.9rem; } .sm-rail-stats { list-style: none; margin: 0 0 0.85rem; padding: 0; display: flex; gap: 0.85rem; } .sm-rail-stats li { display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.9rem; } .sm-rail-faces { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.85rem; } .sm-rail-faces button { border: 2px solid transparent; border-radius: 999px; padding: 0; background: transparent; cursor: pointer; } .sm-rail-faces button.is-on { border-color: #f59e0b; } .sm-rail-empty { font-size: 0.85rem; opacity: 0.65; } .sm-rail-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; } .sm-rail-person-head { display: flex; gap: 0.85rem; align-items: center; margin-bottom: 0.65rem; padding-right: 2rem; } .sm-rail-route { display: inline-block; margin-top: 0.25rem; padding: 0.15rem 0.5rem; border-radius: 0.4rem; font-size: 0.75rem; font-weight: 700; background: rgba(255,255,255,0.08); } .sm-rail-meta { display: flex; align-items: center; gap: 0.35rem; margin: 0 0 0.85rem; font-size: 0.88rem; opacity: 0.75; } .sm-rail-hot { list-style: none; margin: 0 0 0.85rem; padding: 0; display: grid; gap: 0.35rem; } .sm-rail-hot button { width: 100%; min-height: 44px; display: flex; justify-content: space-between; align-items: center; gap: 0.75rem; padding: 0.5rem 0.7rem; border-radius: 0.75rem; border: 1px solid transparent; background: rgba(255,255,255,0.04); color: inherit; font: inherit; cursor: pointer; } .sm-rail-hot button:hover { border-color: rgba(245,158,11,0.45); } .sm-rail-hot em { font-style: normal; opacity: 0.65; } .sm-rail-privacy { margin: 0; font-size: 0.75rem; opacity: 0.5; text-align: center; } /* Flat map markers */ .sm-pulse { --pulse: 36px; position: relative; width: var(--pulse); height: var(--pulse); border: 0; background: transparent; cursor: pointer; padding: 0; } .sm-pulse-ring { position: absolute; inset: 0; border-radius: 999px; border: 2px solid rgba(56, 189, 248, 0.55); box-shadow: 0 0 18px rgba(56, 189, 248, 0.45); animation: smPulse 2.4s ease-out infinite; } .sm-pulse-ring--delay { animation-delay: 0.8s; opacity: 0.6; } .sm-pulse-core { position: absolute; inset: 28%; border-radius: 999px; display: grid; place-items: center; background: radial-gradient(circle, #f59e0b, #0ea5e9); color: #0b1020; font-size: 0.7rem; box-shadow: 0 0 16px rgba(245, 158, 11, 0.55); } .sm-pulse-label { position: absolute; left: 50%; top: calc(100% + 4px); transform: translateX(-50%); white-space: nowrap; font-style: normal; font-size: 0.7rem; font-weight: 700; color: #f8fafc; text-shadow: 0 1px 4px #000; display: inline-flex; gap: 0.3rem; align-items: center; } .sm-pulse-label b { font-weight: 600; opacity: 0.75; } .sm-pulse.is-selected .sm-pulse-core, .sm-pulse.is-hot .sm-pulse-core { background: radial-gradient(circle, #fbbf24, #f59e0b); } .sm-pulse.is-underlay { opacity: 0.35; pointer-events: none; transform: scale(1.6); } @keyframes smPulse { 0% { transform: scale(0.55); opacity: 0.9; } 100% { transform: scale(1.85); opacity: 0; } } .sm-person { position: relative; border: 0; background: transparent; padding: 0 0 6px; cursor: pointer; display: grid; justify-items: center; filter: drop-shadow(0 10px 18px rgba(0,0,0,0.4)); } .sm-route { display: grid; justify-items: center; gap: 2px; margin-bottom: 4px; padding: 3px 7px 4px; border-radius: 8px; background: rgba(255,255,255,0.95); color: #0f172a; font: 700 10px/1.1 ui-sans-serif, system-ui, sans-serif; box-shadow: 0 4px 12px rgba(0,0,0,0.18); } .sm-route b { letter-spacing: 0.02em; } .sm-route i { font-style: normal; opacity: 0.45; margin: 0 2px; } .sm-route-bars { display: flex; gap: 3px; width: 100%; height: 3px; } .sm-route-bars i:first-child { flex: 1; border-radius: 99px; background: #22c55e; } .sm-route-bars i:last-child { flex: 1; border-radius: 99px; background: #f97316; } .sm-approx-tag { position: absolute; top: -1.35rem; left: 50%; transform: translateX(-50%); white-space: nowrap; padding: 0.2rem 0.5rem; border-radius: 0.45rem; background: #ef4444; color: #fff; font: 700 10px/1 ui-sans-serif, system-ui, sans-serif; z-index: 3; } .sm-approx-halo { position: absolute; left: 50%; top: 58%; width: 88px; height: 88px; transform: translate(-50%, -50%); border-radius: 999px; border: 2px dashed rgba(56, 189, 248, 0.65); background: rgba(56, 189, 248, 0.12); animation: smHalo 2.8s ease-in-out infinite; z-index: 0; } @keyframes smHalo { 0%, 100% { transform: translate(-50%, -50%) scale(0.92); opacity: 0.75; } 50% { transform: translate(-50%, -50%) scale(1.05); opacity: 1; } } .sm-ava-wrap { position: relative; z-index: 1; width: 48px; height: 48px; } .sm-ava { width: 48px; height: 48px; border-radius: 999px; object-fit: cover; border: 2.5px solid #fff; background: #1e293b; } .sm-badge { position: absolute; width: 16px; height: 16px; border-radius: 999px; display: grid; place-items: center; font-size: 9px; font-weight: 800; z-index: 2; border: 1.5px solid #fff; } .sm-badge--vip { top: -2px; left: -2px; background: #f59e0b; color: #111; } .sm-badge--ok { top: -2px; right: -2px; background: #3b82f6; color: #fff; } .sm-gender { position: absolute; right: -2px; bottom: -2px; width: 18px; height: 18px; border-radius: 999px; display: grid; place-items: center; font-size: 11px; border: 1.5px solid #fff; z-index: 2; } .sm-gender--f { background: #fb7185; color: #fff; } .sm-gender--m { background: #38bdf8; color: #0b1020; } .sm-pin-tip { width: 10px; height: 10px; margin-top: -3px; background: #111827; transform: rotate(45deg); border-radius: 2px; } .sm-person.is-active .sm-ava { box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.55); } .sm-person.is-online .sm-ava { box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.7); } .social-places-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 0.4rem; margin: 0 0 1.1rem; padding: 0.3rem; border-radius: 1rem; background: color-mix(in oklab, var(--social-surface, #141418) 92%, transparent); border: 1px solid color-mix(in oklab, var(--social-border, #2a2a32) 70%, transparent); } .social-places-tabs button { min-height: 44px; border: 0; border-radius: 0.75rem; background: transparent; color: inherit; font: 700 0.92rem/1 ui-sans-serif, system-ui, sans-serif; cursor: pointer; } .social-places-tabs button.active { background: linear-gradient(120deg, rgba(245,158,11,0.95), rgba(56,189,248,0.85)); color: #0b1020; } /* Places hub — simple city-first */ .sp-hub { --sp-amber: #f59e0b; --sp-ink: #f4f4f5; --sp-muted: rgba(244, 244, 245, 0.65); --sp-line: rgba(255, 255, 255, 0.1); max-width: 960px; margin: 0 auto; padding: 0.5rem 1rem 3rem; color: var(--sp-ink); } .sp-hub .sr-only, .sp-cafes .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; } .sp-hero { margin: 0 0 1.25rem; padding: 1.5rem 1.15rem 1.35rem; border-radius: 22px; border: 1px solid var(--sp-line); background: radial-gradient(520px 220px at 12% -30%, rgba(245, 158, 11, 0.22), transparent 55%), linear-gradient(165deg, #16120e 0%, #0c0c0f 70%); } .sp-eyebrow { margin: 0 0 0.4rem; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sp-amber); } .sp-hero h1 { margin: 0 0 0.45rem; font-size: clamp(1.55rem, 4vw, 2rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; } .sp-hero h1 span { color: var(--sp-amber); } .sp-lead { margin: 0 0 1rem; max-width: 28rem; color: var(--sp-muted); line-height: 1.5; font-size: 0.95rem; } .sp-hero-acts { display: flex; flex-wrap: wrap; gap: 0.5rem; } .sp-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0.5rem 1rem; border-radius: 999px; border: 1px solid var(--sp-line); background: transparent; color: inherit; font: inherit; font-weight: 600; font-size: 0.9rem; text-decoration: none; cursor: pointer; } .sp-btn-primary { background: var(--sp-amber); border-color: var(--sp-amber); color: #0c0c0f; } .sp-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 0.35rem; margin: 0 0 1rem; padding: 0.3rem; border-radius: 14px; border: 1px solid var(--sp-line); background: rgba(255, 255, 255, 0.03); } .sp-seg button { min-height: 44px; border: 0; border-radius: 10px; background: transparent; color: var(--sp-muted); font: inherit; font-weight: 700; cursor: pointer; } .sp-seg button.is-on { background: var(--sp-amber); color: #0c0c0f; } .sp-toolbar { display: flex; flex-wrap: wrap; gap: 0.55rem; margin: 0 0 0.75rem; align-items: center; } .sp-search { flex: 1 1 200px; } .sp-search input { width: 100%; min-height: 44px; padding: 0.5rem 0.9rem; border-radius: 12px; border: 1px solid var(--sp-line); background: rgba(0, 0, 0, 0.28); color: var(--sp-ink); font: inherit; } .sp-hot { min-height: 44px; padding: 0 0.95rem; border-radius: 999px; border: 1px solid var(--sp-line); background: transparent; color: var(--sp-muted); font: inherit; font-weight: 600; cursor: pointer; } .sp-hot.is-on { border-color: rgba(245, 158, 11, 0.55); color: var(--sp-amber); background: rgba(245, 158, 11, 0.1); } .sp-count { margin: 0 0 0.75rem; font-size: 0.82rem; color: var(--sp-muted); } .sp-muted { color: var(--sp-muted); font-size: 0.9rem; } .sp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.65rem; } @media (min-width: 720px) { .sp-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } } @media (min-width: 980px) { .sp-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } } .sp-card { position: relative; display: block; min-height: 150px; border-radius: 16px; overflow: hidden; text-decoration: none; color: #fff; background: #1a1612 center / cover no-repeat; border: 1px solid var(--sp-line); transition: transform 0.15s ease, border-color 0.15s ease; } .sp-card:hover { transform: translateY(-2px); border-color: rgba(245, 158, 11, 0.45); } .sp-card-veil { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 15%, rgba(0, 0, 0, 0.78)); } .sp-card-body { position: relative; z-index: 1; display: grid; gap: 0.2rem; align-content: end; min-height: 150px; padding: 0.85rem 0.9rem; } .sp-card-body em { font-style: normal; font-size: 0.7rem; color: rgba(255, 255, 255, 0.7); } .sp-card-body strong { font-size: 1.1rem; letter-spacing: -0.02em; } .sp-card-body p { margin: 0; font-size: 0.78rem; color: rgba(255, 255, 255, 0.72); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } /* Cafes tab — city-first list + expand sheet */ .sp-cafe-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 0.75rem; margin: 0 0 0.85rem; padding: 0.25rem 0 0.15rem; } .sp-cafe-head h1 { margin: 0; font-size: clamp(1.35rem, 3.6vw, 1.7rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; } .sp-cafe-head h1 span { color: var(--sp-amber, #f59e0b); } .sp-cafe-head .sp-btn { flex-shrink: 0; min-height: 40px; padding: 0 0.9rem; font-size: 0.84rem; } .sp-lead--tight { margin: -0.35rem 0 0.9rem; font-size: 0.9rem; } .sp-card { width: 100%; cursor: pointer; font: inherit; text-align: left; appearance: none; } .sp-places-cafes { margin-top: 1.35rem; padding-top: 1.1rem; border-top: 1px solid var(--sp-line, rgba(255, 255, 255, 0.1)); } .sp-places-cafes-head { display: flex; align-items: baseline; justify-content: space-between; gap: 0.75rem; margin: 0 0 0.85rem; } .sp-places-cafes-head h2 { margin: 0; font-size: 1.05rem; font-weight: 800; letter-spacing: -0.02em; } .sp-link { color: var(--sp-amber, #f59e0b); font-size: 0.82rem; font-weight: 600; text-decoration: none; } .sp-cafe-city-banner-acts { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 0.45rem; } .sp-cafe-city-banner-acts .sp-btn { min-height: 36px; padding: 0 0.85rem; font-size: 0.82rem; } .sp-cafes { display: grid; gap: 0.85rem; } .sp-cafe-sheet-acts .social-save { min-height: 44px; padding: 0 0.85rem; border-radius: 999px; border: 1px solid var(--sp-line, rgba(255, 255, 255, 0.1)); background: transparent; color: inherit; font: inherit; font-size: 0.86rem; font-weight: 600; cursor: pointer; } .sp-cafe-page-head { margin: 0 0 0.25rem; } .sp-cafe-page-head h1 { margin: 0 0 0.4rem; font-size: clamp(1.45rem, 4vw, 1.85rem); font-weight: 800; letter-spacing: -0.03em; } .sp-cafe-page-head h1 span { color: var(--sp-amber, #f59e0b); } .sp-cafe-city-rail { display: flex; gap: 0.45rem; overflow-x: auto; padding: 0.15rem 0 0.25rem; scrollbar-width: none; -webkit-overflow-scrolling: touch; } .sp-cafe-city-rail::-webkit-scrollbar { display: none; } .sp-cafe-city-rail button { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 0.35rem; min-height: 40px; padding: 0 0.9rem; border-radius: 999px; border: 1px solid var(--sp-line, rgba(255, 255, 255, 0.1)); background: transparent; color: var(--sp-muted, rgba(244, 244, 245, 0.65)); font: inherit; font-size: 0.86rem; font-weight: 600; cursor: pointer; white-space: nowrap; } .sp-cafe-city-rail button.is-on { color: #0c0c0f; background: var(--sp-amber, #f59e0b); border-color: var(--sp-amber, #f59e0b); } .sp-cafe-city-banner { position: relative; overflow: hidden; min-height: 112px; border-radius: 16px; border: 1px solid var(--sp-line, rgba(255, 255, 255, 0.1)); background: #16120e center / cover no-repeat; } .sp-cafe-city-banner-veil { position: absolute; inset: 0; background: linear-gradient( 105deg, rgba(12, 12, 15, 0.9) 8%, rgba(12, 12, 15, 0.35) 70%, rgba(12, 12, 15, 0.55) ); } .sp-cafe-city-banner-copy { position: relative; z-index: 1; display: grid; gap: 0.2rem; padding: 1rem 1.05rem; color: #f4f4f5; } .sp-cafe-city-banner-copy p { margin: 0; display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.72rem; color: rgba(244, 244, 245, 0.7); } .sp-cafe-city-banner-copy strong { font-size: 1.2rem; letter-spacing: -0.02em; } .sp-cafe-city-banner-copy em { font-style: normal; font-size: 0.8rem; color: var(--sp-amber, #f59e0b); } .sp-cafe-toolbar { display: flex; flex-wrap: wrap; gap: 0.55rem; align-items: center; } .sp-cafe-sort-select { min-height: 44px; padding: 0 0.85rem; border-radius: 12px; border: 1px solid var(--sp-line, rgba(255, 255, 255, 0.1)); background: rgba(0, 0, 0, 0.28); color: var(--sp-ink, #f4f4f5); font: inherit; font-size: 0.86rem; } .sp-cafe-search { flex: 1 1 180px; display: flex; align-items: center; gap: 0.5rem; min-height: 44px; padding: 0 0.85rem; border-radius: 12px; border: 1px solid var(--sp-line, rgba(255, 255, 255, 0.1)); background: rgba(0, 0, 0, 0.28); color: var(--sp-muted, rgba(244, 244, 245, 0.65)); } .sp-cafe-search input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--sp-ink, #f4f4f5); font: inherit; outline: none; } .sp-cafe-sort { display: flex; flex-wrap: wrap; gap: 0.35rem; } .sp-cafe-sort button { min-height: 34px; padding: 0 0.75rem; border-radius: 999px; border: 1px solid transparent; background: rgba(255, 255, 255, 0.04); color: var(--sp-muted, rgba(244, 244, 245, 0.65)); font: inherit; font-size: 0.78rem; font-weight: 600; cursor: pointer; } .sp-cafe-sort button.is-on { border-color: rgba(245, 158, 11, 0.45); color: var(--sp-amber, #f59e0b); background: rgba(245, 158, 11, 0.1); } .sp-cafe-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; } .sp-cafe-row { width: 100%; display: grid; grid-template-columns: auto 1fr auto; gap: 0.75rem; align-items: center; min-height: 72px; padding: 0.85rem 0.9rem; border-radius: 16px; border: 1px solid var(--sp-line, rgba(255, 255, 255, 0.1)); background: rgba(255, 255, 255, 0.03); color: inherit; text-align: left; font: inherit; cursor: pointer; transition: border-color 0.15s ease, background 0.15s ease; } .sp-cafe-row:hover, .sp-cafe-row.is-open { border-color: rgba(245, 158, 11, 0.45); background: rgba(245, 158, 11, 0.06); } .sp-cafe-row.is-partner .sp-cafe-row-mark { background: rgba(245, 158, 11, 0.16); color: var(--sp-amber, #f59e0b); } .sp-cafe-row-mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, 0.06); color: rgba(244, 244, 245, 0.75); } .sp-cafe-row-main { display: grid; gap: 0.18rem; min-width: 0; } .sp-cafe-row-main strong { font-size: 1rem; letter-spacing: -0.02em; line-height: 1.25; } .sp-cafe-row-main em { display: inline-flex; align-items: center; gap: 0.25rem; font-style: normal; font-size: 0.78rem; color: var(--sp-muted, rgba(244, 244, 245, 0.65)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .sp-cafe-row-meta { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.1rem; } .sp-cafe-row-meta > span { font-size: 0.7rem; padding: 0.12rem 0.45rem; border-radius: 999px; background: rgba(255, 255, 255, 0.06); color: rgba(244, 244, 245, 0.72); } .sp-cafe-row-meta .is-tag { color: var(--sp-amber, #f59e0b); background: rgba(245, 158, 11, 0.12); } .sp-cafe-row-go { color: rgba(244, 244, 245, 0.45); flex-shrink: 0; } .sp-cafe-row.is-open .sp-cafe-row-go { color: var(--sp-amber, #f59e0b); transform: rotate(90deg); } .sp-cafe-sheet { margin-top: 0.45rem; border-radius: 18px; border: 1px solid rgba(245, 158, 11, 0.28); overflow: hidden; background: #0f0e0c; animation: sp-cafe-in 0.22s ease; } @keyframes sp-cafe-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } } @media (prefers-reduced-motion: reduce) { .sp-cafe-sheet { animation: none; } } .sp-cafe-sheet-hero { position: relative; min-height: 132px; background: #1a1612 center / cover no-repeat; } .sp-cafe-sheet-veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0.15), rgba(12, 12, 15, 0.92)); } .sp-cafe-sheet-close { position: absolute; top: 0.65rem; right: 0.65rem; z-index: 2; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.18); background: rgba(0, 0, 0, 0.45); color: #fff; cursor: pointer; } .sp-cafe-sheet-hero-copy { position: relative; z-index: 1; display: grid; gap: 0.25rem; padding: 1.35rem 1.05rem 1rem; color: #f4f4f5; } .sp-cafe-sheet-hero-copy p { margin: 0; font-size: 0.75rem; color: rgba(244, 244, 245, 0.75); } .sp-cafe-sheet-hero-copy h2 { margin: 0; font-size: 1.35rem; letter-spacing: -0.03em; line-height: 1.15; } .sp-cafe-sheet-hero-copy em { font-style: normal; font-size: 0.86rem; color: var(--sp-amber, #f59e0b); } .sp-cafe-sheet-body { display: grid; gap: 0.85rem; padding: 0.95rem 1.05rem 1.15rem; } .sp-cafe-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; } .sp-cafe-facts li { display: inline-flex; align-items: center; gap: 0.35rem; min-height: 34px; padding: 0 0.7rem; border-radius: 999px; background: rgba(255, 255, 255, 0.05); font-size: 0.78rem; color: rgba(244, 244, 245, 0.82); } .sp-cafe-sheet-acts { display: grid; gap: 0.5rem; } .sp-cafe-sheet-cta { width: 100%; gap: 0.4rem; } .sp-cafe-sheet-sec { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; } .sp-cafe-sheet-sec .sp-btn { flex: 1 1 auto; min-width: 8.5rem; } .sp-cafe-soft { margin: 0; font-size: 0.82rem; line-height: 1.45; color: var(--sp-muted, rgba(244, 244, 245, 0.65)); } .sp-cafe-reviews { border-top: 1px solid var(--sp-line, rgba(255, 255, 255, 0.1)); padding-top: 0.35rem; } .sp-cafe-reviews-toggle { width: 100%; display: flex; align-items: center; justify-content: space-between; min-height: 44px; padding: 0 0.15rem; border: 0; background: transparent; color: inherit; font: inherit; font-weight: 700; cursor: pointer; } .sp-cafe-reviews-toggle svg { transition: transform 0.15s ease; color: var(--sp-muted, rgba(244, 244, 245, 0.65)); } .sp-cafe-reviews-toggle.is-open svg { transform: rotate(180deg); } .sp-cafe-reviews-body { display: grid; gap: 0.75rem; padding-bottom: 0.35rem; } .sp-cafe-review-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; } .sp-cafe-review-list li { padding: 0.7rem 0.8rem; border-radius: 12px; background: rgba(255, 255, 255, 0.04); } .sp-cafe-review-list header { display: flex; justify-content: space-between; gap: 0.5rem; margin-bottom: 0.25rem; font-size: 0.82rem; } .sp-cafe-review-list p { margin: 0; font-size: 0.86rem; line-height: 1.45; color: rgba(244, 244, 245, 0.85); } .sp-cafe-review-form { display: grid; gap: 0.55rem; } .sp-cafe-review-form label { display: grid; gap: 0.3rem; font-size: 0.78rem; color: var(--sp-muted, rgba(244, 244, 245, 0.65)); } .sp-cafe-review-form input, .sp-cafe-review-form textarea { min-height: 42px; padding: 0.55rem 0.75rem; border-radius: 10px; border: 1px solid var(--sp-line, rgba(255, 255, 255, 0.1)); background: rgba(0, 0, 0, 0.28); color: var(--sp-ink, #f4f4f5); font: inherit; } .sp-cafe-review-form textarea { min-height: 84px; resize: vertical; } .sp-cafe-stars { margin: 0; padding: 0; border: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem; } .sp-cafe-stars legend { width: 100%; margin-bottom: 0.25rem; font-size: 0.78rem; color: var(--sp-muted, rgba(244, 244, 245, 0.65)); } .sp-cafe-stars button { display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 8px; background: transparent; color: rgba(244, 244, 245, 0.35); cursor: pointer; } .sp-cafe-stars button.is-on { color: var(--sp-amber, #f59e0b); } .social-places-remote { margin: 0 0 1.25rem; } .social-places-remote h2 { font-size: 1rem; margin: 0 0 0.6rem; } .social-places-remote-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; } .social-places-remote-list a, .social-places-remote-row { display: flex; justify-content: space-between; align-items: center; gap: 0.75rem; min-height: 48px; padding: 0.55rem 0.8rem; border-radius: 0.75rem; background: color-mix(in oklab, var(--social-surface, #141418) 92%, transparent); text-decoration: none; color: inherit; } .social-place-hero { margin: 0 0 1.5rem; padding: 1.1rem 1.2rem; border-radius: 1rem; background: color-mix(in oklab, var(--social-surface, #141418) 92%, transparent); } .social-people-geo-filters { display: flex; flex-wrap: wrap; gap: 0.5rem; width: 100%; margin-top: 0.35rem; } .social-people-geo-filters label { display: grid; gap: 0.2rem; font-size: 0.75rem; opacity: 0.9; } .social-people-geo-filters select, .social-people-geo-filters button { min-height: 40px; padding: 0.35rem 0.65rem; border-radius: 0.65rem; border: 1px solid color-mix(in oklab, var(--social-border, #2a2a32) 80%, transparent); background: color-mix(in oklab, var(--social-surface, #141418) 90%, transparent); color: inherit; font: inherit; } .social-people-geo-filters button.active { border-color: #f59e0b; color: #f59e0b; } .social-trip-editor { margin-bottom: 1rem; } .social-trip-list { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: 0.45rem; } .social-trip-list li { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.75rem; padding: 0.55rem 0.7rem; border-radius: 0.65rem; background: color-mix(in oklab, #fff 3%, transparent); } .social-map-teaser { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin: 0 0 1.25rem; padding: 1rem 1.15rem; border-radius: 1rem; background: radial-gradient(ellipse at 10% 0%, rgba(245, 158, 11, 0.18), transparent 55%), color-mix(in oklab, var(--social-surface, #141418) 95%, transparent); border: 1px solid color-mix(in oklab, #f59e0b 28%, transparent); } .social-map-teaser-chips { display: flex; flex-wrap: wrap; gap: 0.35rem; } .social-map-teaser-chips span { padding: 0.2rem 0.55rem; border-radius: 999px; font-size: 0.78rem; background: color-mix(in oklab, #f59e0b 18%, transparent); } @media (min-width: 960px) { .sm-discover { grid-template-columns: minmax(0, 1fr) minmax(300px, 360px); min-height: calc(100dvh - 72px); } .sm-discover-stage, .social-map-canvas-wrap, .social-map-canvas, .sm-globe, .social-map-canvas--skeleton, .sm-globe--skeleton { height: calc(100dvh - 72px); min-height: 520px; } .sm-discover-rail { border-top: 0; border-left: 1px solid rgba(255,255,255,0.06); padding: 1.1rem; overflow: auto; } .sm-discover-topbar { top: 7.2rem; } .sm-globe-hint { bottom: 1.4rem; } } @media (max-width: 959px) { .sm-discover-hero, .sm-discover-legend, .sm-mode-switch, .sm-discover.is-h5 .sm-discover-rail { display: none !important; } .sm-discover.is-h5 { min-height: calc(100dvh - 56px); } .sm-discover.is-h5 .sm-discover-stage, .sm-discover.is-h5 .sm-globe, .sm-discover.is-h5 .sm-globe--skeleton, .sm-discover.is-h5 .social-map-canvas-wrap { height: calc(100dvh - 56px); min-height: calc(100dvh - 56px); } .sm-discover-topbar { top: 0.65rem; left: 0.65rem; right: 0.65rem; justify-content: flex-end; } .sm-discover.is-h5 .sm-discover-topbar { display: none; } .sm-h5-sheet { position: absolute; left: 0.75rem; right: 0.75rem; bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px)); z-index: 40; pointer-events: auto; } .sm-h5-sheet .sm-rail-card { margin: 0; box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55); } } @media (prefers-reduced-motion: reduce) { .social-experience *, .social-experience *::before, .social-experience *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; } .social-experience .reveal { opacity: 1 !important; transform: none !important; } }