nomadro/apps/miniprogram/h5/src/styles/social-next/experience.css
Eric 4389ebe6cb Ship WeChat audit release 2026-11-02: realtime config, audit vip-ebook shell, admin ops.
Document test9 tag 2026-11-02 for upload; POST config pull + WS, fixed dark home, no debug bar.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-02 16:12:57 +08:00

1630 lines
34 KiB
CSS

/* The social product: one palette, a connected world, every screen. */
.social-experience {
--sx-mint: #4ecdc4;
--sx-coral: #ff7b75;
--sx-gold: #ffe195;
--sx-line: rgba(165, 195, 210, 0.13);
--sx-surface: rgba(17, 26, 37, 0.84);
--sx-ease: cubic-bezier(0.22, 1, 0.36, 1);
position: relative;
isolation: isolate;
min-height: 100dvh;
}
/* 勿用 :is() — 微信 WXSS 不支持;热重载可能赶在 sanitize 前报错 */
.social-experience button:focus-visible,
.social-experience a:focus-visible,
.social-experience input:focus-visible,
.social-experience textarea:focus-visible,
.social-experience select:focus-visible,
.social-experience .as-button:focus-visible,
.social-experience .as-a:focus-visible,
.social-experience .as-input:focus-visible,
.social-experience .as-textarea:focus-visible,
.social-experience .as-select:focus-visible {
outline: 2px solid var(--sx-mint);
outline-offset: 4px;
}
.social-experience button {
font-family: inherit;
cursor: pointer;
}
.social-experience button:disabled {
cursor: not-allowed;
opacity: 0.5;
}
.social-experience a,
.social-experience button,
.social-experience input,
.social-experience textarea,
.social-experience select,
.social-experience .as-a,
.social-experience .as-button,
.social-experience .as-input,
.social-experience .as-textarea,
.social-experience .as-select {
-webkit-tap-highlight-color: transparent;
}
.social-experience .social-root {
background: transparent;
}
.social-experience .social-flow {
background: transparent;
}
.social-ambient {
position: fixed;
inset: 0;
z-index: -3;
overflow: hidden;
pointer-events: none;
background: var(--bg-primary);
}
.social-ambient i {
position: absolute;
width: 55vw;
height: 55vw;
border-radius: 50%;
filter: blur(110px);
opacity: 0.07;
animation: sx-aurora 22s ease-in-out infinite alternate;
background: var(--sx-mint);
top: 5%;
right: -25%;
}
.social-ambient i:nth-child(2) {
background: var(--sx-coral);
width: 40vw;
height: 40vw;
left: -20%;
top: 48%;
animation-delay: -8s;
}
.social-ambient i:nth-child(3) {
background: var(--sx-gold);
width: 25vw;
height: 25vw;
left: 35%;
top: -15%;
animation-delay: -14s;
opacity: 0.03;
}
.social-constellation {
position: fixed;
inset: 0;
width: 100%;
height: 100dvh;
pointer-events: none;
z-index: -1;
}
.social-pointer-glow {
position: fixed;
inset: 0;
z-index: -1;
pointer-events: none;
background: radial-gradient(
360px circle at var(--pointer-x, -1000px) var(--pointer-y, -1000px),
#4ecdc409,
transparent 75%
);
}
.social-fx-control {
position: fixed;
bottom: 18px;
right: 20px;
z-index: 1100;
display: flex;
align-items: center;
gap: 8px;
padding: 8px 12px 8px 9px;
min-height: 36px;
border: 1px solid var(--sx-line);
border-radius: 999px;
background: color-mix(in srgb, var(--bg-primary) 85%, transparent);
backdrop-filter: blur(18px);
color: var(--text-secondary);
font-size: 10px;
}
.social-fx-control > span:first-child {
display: grid;
place-items: center;
color: var(--sx-mint);
}
.social-fx-control:hover {
border-color: #4ecdc455;
}
.social-workspace {
--nav-height: 72px;
min-height: 100dvh;
}
.social-workspace-dense {
--nav-height: 64px;
}
.social-page-head {
display: flex;
flex-wrap: wrap;
align-items: flex-start;
justify-content: space-between;
gap: 12px 18px;
padding: 4px 0 14px;
margin-bottom: 6px;
border-bottom: 1px solid var(--sx-line);
}
.social-page-head-copy {
display: grid;
gap: 6px;
min-width: min(100%, 28rem);
}
.social-page-head h1 {
display: flex;
align-items: center;
gap: 10px;
margin: 0;
font-size: clamp(22px, 2.4vw, 28px);
letter-spacing: -0.04em;
font-weight: 750;
line-height: 1.2;
}
.social-page-head-eyebrow {
margin: 0;
font-size: 12px;
letter-spacing: 0.08em;
text-transform: uppercase;
color: var(--sx-mint);
opacity: 0.9;
}
.social-page-head-desc {
margin: 0;
max-width: 42rem;
color: var(--text-secondary, rgba(255, 255, 255, 0.62));
font-size: 14px;
line-height: 1.55;
}
.social-page-head-mark {
font-size: 0.92em;
line-height: 1;
opacity: 0.72;
}
.social-page-head-title {
display: inline-flex;
flex-wrap: wrap;
align-items: baseline;
gap: 0.35em;
}
.social-page-head-accent {
color: var(--sx-mint);
font-weight: 650;
font-size: 0.72em;
letter-spacing: 0.02em;
}
.social-demo-badge {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 6px 10px;
border-radius: 999px;
border: 1px solid color-mix(in srgb, var(--sx-mint) 35%, transparent);
background: color-mix(in srgb, var(--sx-mint) 12%, transparent);
color: var(--sx-mint);
font-size: 12px;
font-weight: 600;
letter-spacing: 0.02em;
white-space: nowrap;
}
.social-nav-join {
min-height: 36px;
padding-inline: 14px;
}
.social-join-paths {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 16px;
margin: 8px 0 22px;
}
.social-join-path {
display: grid;
gap: 10px;
align-content: start;
}
.social-join-path h2 {
margin: 0;
font-size: 1.15rem;
}
.social-join-path p {
margin: 0;
color: var(--text-secondary, rgba(255, 255, 255, 0.62));
line-height: 1.5;
}
.social-join-path-ico {
width: 44px;
height: 44px;
display: grid;
place-items: center;
border-radius: 14px;
background: color-mix(in srgb, var(--sx-mint) 14%, transparent);
color: var(--sx-mint);
}
.social-benefit-list {
list-style: none;
margin: 0 0 12px;
padding: 0;
display: grid;
gap: 8px;
}
.social-benefit-list li {
display: flex;
align-items: center;
gap: 8px;
font-size: 14px;
}
.social-publish-toggle {
display: flex;
align-items: flex-start;
gap: 10px;
margin: 4px 0 12px;
font-size: 14px;
line-height: 1.45;
}
.social-publish-toggle input {
margin-top: 3px;
width: 18px;
height: 18px;
}
.social-join-success {
display: grid;
gap: 14px;
justify-items: start;
}
.social-channel-solo {
max-width: 32rem;
}
@media (max-width: 720px) {
.social-join-paths {
grid-template-columns: 1fr;
}
}
.social-chat-live {
background: var(--sc-bg, var(--bg-primary));
}
.social-chat-live-bar {
flex-shrink: 0;
}
.social-chat-live .social-live-stage {
min-height: 0;
}
.social-chat-live .social-conversation {
height: 100%;
min-height: 0;
display: flex;
flex-direction: column;
margin: 0;
padding: 0;
border: 0 !important;
border-radius: 0 !important;
box-shadow: none !important;
background: transparent !important;
}
.social-chat-live .social-conversation-top {
display: none !important;
}
.social-chat-live .social-connection-status {
margin: 0;
border-radius: 0;
padding: 6px 12px;
}
.social-chat-live .social-thread-wrap,
.social-chat-live .social-chat-thread {
flex: 1;
min-height: 0;
margin: 0;
padding: 12px;
border: 0;
border-radius: 0;
background: transparent;
}
.social-chat-live .social-chat-composer {
margin: 0;
border-radius: 0 !important;
border-left: 0;
border-right: 0;
border-bottom: 0;
}
.social-live-root .social-mobile-dock {
z-index: 40;
}
/* 唯一聊天室:隐藏旧频道分类条 */
.social-chat-solo .social-chat-live-tabs,
.social-chat-live-tabs {
display: none !important;
}
.social-chat-live-tabs-legacy {
display: flex;
flex-wrap: nowrap;
flex-shrink: 0;
overflow-x: auto;
gap: 6px;
padding: 8px 12px;
border-bottom: var(--sc-border, 1px solid rgba(171, 195, 213, 0.12));
background: color-mix(in srgb, var(--sc-bg, #0a0e17) 92%, transparent);
-webkit-overflow-scrolling: touch;
}
.social-chat-live-tabs .social-live-tab {
display: inline-flex;
align-items: center;
flex: 0 0 auto;
min-height: 36px;
padding: 0 12px;
border-radius: 999px;
border: 0;
text-decoration: none;
white-space: nowrap;
color: var(--sc-muted, var(--text-muted));
background: transparent;
font: inherit;
font-weight: 600;
font-size: 12px;
}
.social-chat-live-tabs .social-live-tab.active,
.social-chat-live-tabs .social-live-tab[aria-current="page"] {
color: #0a0e17;
background: var(--sc-gradient, linear-gradient(90deg, #ff6b6b, #4ecdc4));
}
.social-workspace .navbar {
position: fixed;
inset: 0 0 auto;
height: 80px;
padding: 12px 24px;
border: 0;
background: transparent;
box-shadow: none;
}
.social-workspace .nav-container {
height: 56px;
max-width: 1500px;
padding: 0 18px;
border: 1px solid var(--sx-line);
border-radius: 16px;
background: color-mix(in srgb, var(--bg-primary) 84%, transparent);
backdrop-filter: blur(24px);
gap: 20px;
}
.social-workspace .nav-logo {
display: flex;
align-items: center;
gap: 10px;
font-size: 15px;
font-weight: 750;
white-space: nowrap;
}
.social-workspace .nav-logo .logo-icon {
display: grid;
place-items: center;
width: 30px;
height: 30px;
border-radius: 9px;
background: #4ecdc412;
color: var(--sx-mint);
font-size: 24px;
animation: none;
}
.social-workspace .nav-actions {
display: flex;
align-items: center;
gap: 7px;
margin-left: auto;
}
.social-workspace .nav-icon-btn {
display: grid;
place-items: center;
width: 38px;
height: 38px;
background: none;
color: var(--text-secondary);
border: 0;
border-radius: 10px;
}
.social-workspace .nav-actions .btn {
padding: 0 16px;
min-height: 36px;
border-radius: 9px;
font-size: 12px;
}
.social-workspace .nav-actions .btn-primary {
background: var(--text-primary);
color: var(--bg-primary);
box-shadow: none;
}
.social-workspace .nav-actions .btn-ghost {
color: var(--text-secondary);
background: var(--bg-glass);
}
.social-workspace .nav-group-btn {
min-height: 42px;
font-size: 12px;
}
.social-workspace .nav-group-panel::before {
content: "";
position: absolute;
top: -12px;
height: 12px;
left: 0;
right: 0;
}
.social-workspace .nav-mobile-extras {
display: none;
}
.social-workspace-grid {
display: block;
max-width: none;
width: 100%;
margin: 0;
padding: calc(var(--nav-height) + 12px) 20px 88px;
min-height: 100dvh;
box-sizing: border-box;
}
.social-workspace-dense .social-workspace-grid {
padding: calc(var(--nav-height) + 8px) 16px 80px;
}
.social-workspace .social-main {
width: 100%;
min-width: 0;
max-width: 1400px;
padding: 0;
margin: 0 auto;
}
.social-mobile-dock {
display: none;
}
.social-breadcrumb {
display: flex;
gap: 8px;
align-items: center;
color: var(--text-muted);
font-size: 10px;
padding: 10px 0 0;
}
.social-breadcrumb a:hover {
color: var(--sx-mint);
}
.social-page-intro {
position: relative;
padding: 36px 0 34px;
overflow: hidden;
}
.social-page-intro .social-emoji-field {
z-index: 0;
opacity: 0.85;
}
/* 不用 :not —— 微信 WXSS 不支持;内容层显式抬高 */
.social-page-intro > .container,
.social-page-intro > .social-page-head,
.social-page-intro > .social-room-hero,
.social-page-intro > .as-div,
.social-page-intro > view {
position: relative;
z-index: 1;
}
.social-workspace .social-fx-orbs {
opacity: 0.35;
}
.social-workspace .social-fx-orb.o3 {
display: block;
}
.social-room-hero {
position: relative;
margin: 8px 0 22px;
padding: 22px 22px 20px;
border: 1px solid var(--sx-line);
border-radius: 20px;
background: color-mix(in srgb, var(--sx-surface) 88%, transparent);
backdrop-filter: blur(14px);
overflow: hidden;
}
.social-room-hero h1 {
font-size: clamp(26px, 3vw, 36px);
letter-spacing: -0.04em;
margin: 12px 0 8px;
line-height: 1.25;
}
.social-room-hero > p {
color: var(--text-secondary);
font-size: 13px;
max-width: 54ch;
line-height: 1.7;
}
.social-room-hero-emoji {
position: absolute;
inset: auto 16px 14px auto;
display: flex;
gap: 8px;
pointer-events: none;
}
.social-room-hero-emoji i {
font-style: normal;
font-size: 0.95rem;
opacity: 0.28;
filter: none;
animation: social-emoji-fly 10s ease-in-out infinite;
}
.social-room-hero-emoji i:nth-child(2) {
animation-delay: 0.4s;
}
.social-room-hero-emoji i:nth-child(3) {
animation-delay: 0.8s;
}
.social-room-hero-emoji i:nth-child(4) {
animation-delay: 1.2s;
}
.social-workspace .reveal {
opacity: 0;
transform: translateY(18px);
transition:
opacity 0.55s var(--sx-ease),
transform 0.55s var(--sx-ease);
}
.social-workspace .reveal.visible {
opacity: 1;
transform: none;
}
.social-page-kicker {
display: flex;
align-items: center;
gap: 8px;
color: var(--sx-mint);
font-size: 9px;
letter-spacing: 0.18em;
}
.social-page-kicker > span {
height: 5px;
width: 5px;
background: var(--sx-mint);
box-shadow: 0 0 0 4px #4ecdc40c;
border-radius: 50%;
animation: sx-beacon 3s ease-in-out infinite;
}
.social-page-intro h1 {
position: relative;
font-size: clamp(31px, 3vw, 43px);
line-height: 1.4;
letter-spacing: -0.05em;
font-weight: 750;
margin: 18px 0 16px;
animation: sx-arrive 0.7s var(--sx-ease) both;
}
.social-page-intro h1 > span {
color: var(--sx-mint);
}
.social-page-intro > p {
position: relative;
color: var(--text-secondary);
max-width: 620px;
font-size: 13px;
line-height: 1.9;
animation: sx-arrive 0.8s 0.1s var(--sx-ease) backwards;
}
.social-page-orbit {
position: absolute;
width: 240px;
height: 240px;
right: 10px;
top: 8px;
pointer-events: none;
opacity: 0.25;
display: grid;
place-items: center;
}
.social-page-orbit i {
position: absolute;
width: 170px;
height: 170px;
border: 1px solid var(--sx-mint);
border-radius: 50%;
transform: rotateX(60deg) rotate(-25deg);
animation: sx-orbit 24s linear infinite;
}
.social-page-orbit i:nth-child(2) {
width: 220px;
height: 220px;
border-color: var(--sx-coral);
animation-delay: -8s;
animation-direction: reverse;
transform: rotateY(60deg) rotate(25deg);
}
.social-page-orbit i:nth-child(3) {
border-style: dashed;
width: 110px;
height: 110px;
animation-duration: 38s;
}
.social-page-orbit span {
font-size: 54px;
color: var(--sx-mint);
animation: sx-breathe 5s ease-in-out infinite;
}
.social-workspace
:is(.social-card, .social-list-item, .social-panel, .social-member-card) {
position: relative;
border: 1px solid var(--sx-line);
border-radius: 17px;
background: var(--sx-surface);
backdrop-filter: blur(10px);
box-shadow: inset 0 1px 0 #ffffff03;
transition:
transform 0.35s var(--sx-ease),
border-color 0.3s,
box-shadow 0.3s;
}
.social-workspace
:is(.social-card, .social-list-item, .social-member-card)::before {
content: "";
position: absolute;
inset: 0;
border-radius: inherit;
background: radial-gradient(
360px circle at var(--spot-x, 50%) var(--spot-y, 0%),
#4ecdc40b,
transparent 70%
);
pointer-events: none;
opacity: 0;
transition: opacity 0.3s;
}
.social-workspace
:is(.social-card, .social-list-item, .social-member-card):hover {
border-color: #4ecdc44a;
transform: translateY(-4px);
box-shadow: 0 16px 35px #0002;
}
.social-workspace
:is(.social-card, .social-list-item, .social-member-card):hover::before {
opacity: 1;
}
.social-workspace .social-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 16px;
}
.social-workspace .social-card {
padding: 24px;
display: flex;
flex-direction: column;
gap: 13px;
min-width: 0;
}
.social-workspace .social-card > strong {
font-size: 17px;
line-height: 1.5;
letter-spacing: -0.025em;
}
.social-workspace .social-card > p {
flex: 1;
font-size: 12px;
line-height: 1.9;
color: var(--text-secondary);
}
.social-workspace .social-card-top {
display: flex;
align-items: center;
justify-content: space-between;
}
.social-workspace .social-card-ico {
display: grid;
place-items: center;
width: 48px;
height: 48px;
border-radius: 15px;
background: #4ecdc40b;
border: 1px solid #4ecdc426;
color: var(--sx-mint);
font-size: 25px;
}
.social-workspace .social-badge {
border: 1px solid var(--sx-line);
background: transparent;
padding: 4px 8px;
color: var(--text-secondary);
border-radius: 6px;
font-size: 9px;
}
.social-workspace .social-badge.live {
color: var(--sx-mint);
border-color: #4ecdc42b;
}
.social-workspace .social-list {
display: grid;
gap: 12px;
}
.social-workspace .social-list-item {
display: flex;
align-items: center;
justify-content: space-between;
gap: 20px;
padding: 23px;
text-align: left;
color: inherit;
font: inherit;
width: 100%;
}
.social-workspace .social-list-item strong {
font-size: 15px;
}
.social-workspace .social-list-item p {
font-size: 12px;
color: var(--text-secondary);
line-height: 1.8;
margin-top: 8px;
}
.social-workspace .social-list-item > em {
font-size: 12px;
color: var(--sx-mint);
font-style: normal;
}
.social-workspace .social-list-stack {
flex-direction: column;
align-items: stretch;
}
.social-workspace .social-panel {
padding: 26px;
margin-top: 24px;
}
.social-workspace .social-panel h2 {
font-size: 20px;
letter-spacing: -0.03em;
}
.social-workspace .social-muted {
color: var(--text-secondary);
font-size: 12px;
line-height: 1.85;
}
.social-workspace .social-actions {
display: flex;
gap: 10px;
flex-wrap: wrap;
align-items: center;
}
.social-experience .social-btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 9px;
border: 1px solid var(--sx-line);
background: var(--bg-glass);
color: var(--text-primary);
padding: 10px 16px;
min-height: 43px;
font-size: 12px;
font-weight: 600;
border-radius: 10px;
text-decoration: none;
transition:
transform 0.25s var(--sx-ease),
background 0.25s,
border-color 0.25s;
}
.social-experience .social-btn:hover {
transform: translateY(-2px);
border-color: #4ecdc46b;
}
.social-experience .social-btn.primary {
background: var(--sx-mint);
border-color: var(--sx-mint);
color: #092b2a;
box-shadow: 0 6px 25px #4ecdc410;
}
.social-experience .social-btn.coral {
background: linear-gradient(120deg, #ff9781, #ff7778);
color: #321b1c;
border-color: #ff9781;
}
.social-experience .social-card-btn {
cursor: pointer;
font: inherit;
color: inherit;
text-align: left;
}
.social-workspace .social-card-btn.active {
border-color: #4ecdc47a;
background:
linear-gradient(135deg, #4ecdc410, transparent), var(--sx-surface);
}
.social-form {
display: grid;
gap: 18px;
}
.social-workspace .social-form label {
display: grid;
gap: 9px;
font-size: 12px;
color: var(--text-secondary);
}
.social-workspace
:is(.social-form, .social-compose, .social-chat-nick)
:is(input, textarea, select) {
min-height: 46px;
width: 100%;
border: 1px solid var(--sx-line);
border-radius: 10px;
padding: 12px 14px;
color: var(--text-primary);
background: color-mix(in srgb, var(--bg-primary) 80%, transparent);
font: inherit;
font-size: 14px;
line-height: 1.65;
transition:
border-color 0.2s,
box-shadow 0.2s;
}
.social-workspace textarea {
resize: vertical;
}
.social-workspace :is(input, textarea, select):focus {
border-color: #4ecdc46b;
box-shadow: 0 0 0 3px #4ecdc40b;
outline: none;
}
.social-workspace input[type="range"] {
padding: 0;
accent-color: var(--sx-mint);
}
.social-form-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 18px;
}
.social-form-grid .full {
grid-column: 1/-1;
}
.social-toolbar {
display: flex;
align-items: center;
justify-content: space-between;
gap: 14px;
margin: 0 0 24px;
flex-wrap: wrap;
}
.social-search {
display: flex;
align-items: center;
gap: 10px;
min-height: 45px;
padding: 0 13px;
border: 1px solid var(--sx-line);
border-radius: 11px;
background: var(--bg-glass);
color: var(--text-muted);
min-width: 220px;
flex: 1;
max-width: 420px;
}
.social-search input {
width: 100%;
min-width: 0;
padding: 11px 0;
font: inherit;
font-size: 12px;
outline: none !important;
border: 0 !important;
box-shadow: none !important;
background: none;
color: var(--text-primary);
}
.social-search input::-webkit-search-cancel-button {
display: none;
}
.social-search button {
display: grid;
place-items: center;
border: 0;
padding: 6px;
color: var(--text-secondary);
background: none;
}
.social-filters {
display: flex;
align-items: center;
gap: 7px;
flex-wrap: wrap;
}
.social-filters button,
.social-team-tab {
min-height: 39px;
padding: 8px 13px;
border: 1px solid var(--sx-line);
border-radius: 9px;
color: var(--text-secondary);
background: transparent;
font: inherit;
font-size: 11px;
}
.social-filters button.active,
.social-team-tab.active {
color: var(--sx-mint);
background: #4ecdc410;
border-color: #4ecdc43b;
}
.social-team-tabs {
display: flex;
flex-wrap: wrap;
gap: 8px;
}
.social-save {
display: inline-flex;
gap: 7px;
align-items: center;
justify-content: center;
min-height: 38px;
padding: 6px 11px;
background: transparent;
color: var(--text-secondary);
border: 1px solid var(--sx-line);
border-radius: 9px;
font: inherit;
font-size: 11px;
}
.social-save.selected {
color: var(--sx-mint);
border-color: #4ecdc43b;
background: #4ecdc408;
}
.social-card-actions {
display: flex;
align-items: center;
gap: 8px;
flex-wrap: wrap;
margin-top: auto;
}
.social-section-label {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
margin: 26px 0 18px;
font-size: 12px;
font-weight: 600;
}
.social-section-label span {
color: var(--text-muted);
font-weight: 400;
font-size: 10px;
}
.social-empty {
grid-column: 1/-1;
text-align: center;
padding: 50px 20px;
border: 1px dashed var(--sx-line);
border-radius: 16px;
}
.social-empty > span {
display: block;
font-size: 30px;
color: var(--sx-mint);
margin-bottom: 15px;
}
.social-empty h3 {
font-size: 16px;
}
.social-empty p {
color: var(--text-muted);
margin-top: 8px;
font-size: 12px;
line-height: 1.9;
}
.social-empty-actions {
display: flex;
flex-wrap: wrap;
gap: 8px;
justify-content: center;
margin-top: 4px;
}
.social-empty .social-btn {
margin-top: 18px;
}
.social-status {
display: flex;
gap: 8px;
align-items: center;
padding: 12px 15px;
border: 1px solid var(--sx-line);
border-radius: 10px;
background: #4ecdc407;
color: var(--text-secondary);
font-size: 11px;
line-height: 1.8;
margin: 16px 0;
}
.social-status.warn {
background: #ffe19508;
color: var(--sx-gold);
border-color: #ffe19526;
}
.social-status.error {
background: #ff7b7508;
color: var(--sx-coral);
border-color: #ff7b7533;
}
.social-tags {
display: flex;
flex-wrap: wrap;
gap: 6px;
}
.social-tags span {
background: var(--bg-glass);
border: 1px solid var(--sx-line);
border-radius: 6px;
padding: 3px 7px;
font-size: 10px;
color: var(--text-secondary);
}
.social-detail-dialog {
width: min(590px, calc(100vw - 32px));
max-height: 88dvh;
overflow: auto;
margin: auto;
padding: 0;
border: 1px solid var(--sx-line);
border-radius: 22px;
background: var(--bg-secondary);
color: var(--text-primary);
box-shadow: 0 30px 100px #0007;
}
.social-detail-dialog::backdrop {
background: #03090ed9;
backdrop-filter: blur(14px);
}
.social-detail-dialog > div {
padding: 26px;
animation: sx-arrive 0.35s var(--sx-ease);
}
.social-detail-dialog header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 17px;
}
.social-detail-dialog header > span {
display: flex;
gap: 12px;
color: var(--sx-mint);
font-size: 9px;
letter-spacing: 0.12em;
}
.social-detail-dialog header button {
display: grid;
place-items: center;
width: 42px;
height: 42px;
border: 0;
border-radius: 10px;
color: inherit;
background: var(--bg-glass);
}
.social-detail-dialog h2 {
font-size: 25px;
letter-spacing: -0.03em;
margin-bottom: 16px;
}
.social-detail-dialog p {
font-size: 13px;
line-height: 1.9;
color: var(--text-secondary);
margin-bottom: 18px;
}
.social-detail-dialog .social-actions {
display: flex;
gap: 10px;
flex-wrap: wrap;
margin-top: 24px;
}
.social-detail-dialog .social-tags {
margin-bottom: 16px;
}
.social-member-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 16px;
}
.social-member-card {
padding: 23px;
display: flex;
flex-direction: column;
gap: 13px;
}
.social-member-head {
display: flex;
gap: 13px;
align-items: center;
}
.social-member-head img {
width: 51px;
height: 51px;
border-radius: 50%;
object-fit: cover;
background: var(--bg-glass);
}
.social-member-head h2 {
font-size: 16px;
margin-bottom: 4px;
}
.social-member-head p {
font-size: 11px;
color: var(--text-secondary);
}
.social-member-city {
display: flex;
align-items: center;
gap: 6px;
color: var(--sx-mint);
font-size: 11px;
}
.social-member-card > p {
font-size: 12px;
color: var(--text-secondary);
line-height: 1.9;
flex: 1;
}
.social-member-card .social-btn {
width: 100%;
}
.social-member-profile {
display: flex;
align-items: center;
gap: 17px;
margin: 10px 0 24px;
}
.social-member-profile img {
width: 74px;
height: 74px;
border-radius: 50%;
}
.social-member-profile strong {
font-size: 21px;
}
.social-member-profile p {
margin: 6px 0 0;
font-size: 12px;
}
.social-member-profile .social-member-city {
margin-top: 9px;
}
.social-world-strip {
position: relative;
display: grid;
grid-template-columns: 1.2fr repeat(4, 1fr);
gap: 12px;
padding-block: 24px;
margin: 18px auto 36px;
border-block: 1px solid var(--sx-line);
z-index: 1;
}
.social-world-strip > div:first-child {
display: flex;
flex-direction: column;
justify-content: center;
gap: 6px;
}
.social-world-strip strong {
font-size: 13px;
}
.social-world-strip p {
color: var(--text-muted);
font-size: 10px;
}
.social-world-city {
position: relative;
padding: 12px 14px;
border-left: 1px solid var(--sx-line);
}
.social-world-city strong {
display: flex;
align-items: center;
gap: 8px;
font-size: 12px;
}
.social-world-city time {
display: block;
color: var(--text-secondary);
font-size: 22px;
font-variant-numeric: tabular-nums;
font-weight: 500;
margin: 6px 0 3px;
}
.social-world-city small {
color: var(--text-muted);
font-size: 9px;
}
.social-world-city a {
position: absolute;
inset: 0;
border-radius: 10px;
}
.social-world-city:hover {
background: #4ecdc407;
}
.social-workspace-footer {
margin-top: 50px;
padding: 24px 0 5px;
border-top: 1px solid var(--sx-line);
display: flex;
align-items: center;
justify-content: space-between;
gap: 14px;
flex-wrap: wrap;
font-size: 10px;
color: var(--text-muted);
}
.social-workspace-footer > div {
display: flex;
gap: 16px;
}
.social-workspace-footer a:hover {
color: var(--sx-mint);
}
.social-experience[data-immersive="true"] .social-workspace .social-card {
animation: sx-arrive 0.65s var(--sx-ease) backwards;
}
.social-experience[data-immersive="true"]
.social-workspace
.social-card:nth-child(2) {
animation-delay: 0.07s;
}
.social-experience[data-immersive="true"]
.social-workspace
.social-card:nth-child(3) {
animation-delay: 0.14s;
}
.social-experience[data-immersive="true"]
.social-workspace
.social-card:nth-child(4) {
animation-delay: 0.21s;
}
/* 不用 * — 微信 WXSS 编译失败 */
.social-experience[data-immersive="false"],
.social-experience[data-immersive="false"] view,
.social-experience[data-immersive="false"] text,
.social-experience[data-immersive="false"] div,
.social-experience[data-immersive="false"] span {
animation: none !important;
transition-duration: 0.12s !important;
}
.social-experience[data-immersive="false"]
:is(.social-ambient i, .social-pointer-glow, .social-constellation) {
display: none;
}
.social-experience[data-immersive="false"] .social-home .reveal {
opacity: 1 !important;
transform: none !important;
}
[data-theme="light"] .social-experience {
--sx-mint: #137f78;
--sx-coral: #d85451;
--sx-gold: #936919;
--sx-line: rgba(29, 62, 78, 0.13);
--sx-surface: rgba(255, 255, 255, 0.86);
}
.social-experience [aria-busy="true"] {
cursor: progress;
}
@keyframes sx-arrive {
from {
opacity: 0;
transform: translateY(16px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes sx-aurora {
from {
transform: translate(0, 0) scale(1);
}
to {
transform: translate(-10vw, 12vh) scale(1.2);
}
}
@keyframes sx-orbit {
from {
rotate: 0deg;
}
to {
rotate: 360deg;
}
}
@keyframes sx-beacon {
0%,
100% {
box-shadow: 0 0 0 4px #4ecdc40c;
}
50% {
box-shadow: 0 0 0 7px #4ecdc405;
}
}
@keyframes sx-breathe {
0%,
100% {
opacity: 0.45;
scale: 0.9;
}
50% {
opacity: 1;
scale: 1.1;
}
}
@media (min-width: 901px) {
.social-workspace .mobile-menu-btn {
display: none;
}
}
@media (max-width: 1150px) {
.social-workspace-grid {
padding-inline: 24px;
}
.social-workspace .social-grid,
.social-member-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.social-workspace .nav-container {
gap: 12px;
}
.social-page-orbit {
right: -45px;
}
}
@media (max-width: 900px) {
.social-workspace-grid {
display: block;
padding: 98px 24px 90px;
}
.social-workspace .navbar {
padding: 12px 20px;
}
.social-workspace .nav-container {
padding-inline: 14px;
}
.social-workspace .nav-links:not(.open) {
display: none;
}
.social-workspace .nav-links.open {
display: flex;
position: fixed;
inset: 68px 0 auto;
width: 100%;
max-height: calc(100dvh - 160px);
overflow: auto;
padding: 20px;
border: 1px solid var(--sx-line);
border-radius: 16px;
background: var(--bg-primary);
gap: 8px;
transform: none;
flex-direction: column;
}
.social-workspace .nav-group-btn {
width: 100%;
justify-content: space-between;
}
.social-workspace .nav-group-panel {
position: static;
background: transparent;
box-shadow: none;
border: 0;
}
.social-workspace .nav-group-panel::before {
display: none;
}
.social-workspace .nav-mobile-extras {
display: flex;
gap: 10px;
padding-top: 12px;
border-top: 1px solid var(--sx-line);
}
.social-workspace .social-nav-desktop-cta {
display: none;
}
.social-workspace .mobile-menu-btn {
display: flex;
width: 44px;
height: 44px;
padding: 10px;
justify-content: center;
align-items: center;
}
.social-workspace .nav-icon-btn {
width: 42px;
height: 42px;
}
.social-mobile-dock {
position: fixed;
display: grid;
grid-template-columns: repeat(5, 1fr);
z-index: 1000;
bottom: 0;
left: 0;
right: 0;
border-top: 1px solid var(--sx-line);
background: color-mix(in srgb, var(--bg-primary) 93%, transparent);
backdrop-filter: blur(20px);
padding: 8px 10px max(9px, env(safe-area-inset-bottom));
}
.social-chat-live .social-chat-composer {
padding-bottom: calc(12px + 64px + env(safe-area-inset-bottom, 0px));
}
.social-date-root .social-date-stage {
padding-bottom: calc(12px + 72px + env(safe-area-inset-bottom, 0px));
}
.social-date-root .social-date-deck {
height: min(520px, calc(100dvh - 300px));
}
.social-mobile-dock a {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 4px;
min-height: 44px;
color: var(--text-muted);
font-size: 9px;
border-radius: 10px;
}
.social-mobile-dock a[aria-current="page"] {
color: var(--sx-mint);
background: #4ecdc409;
}
.social-fx-control {
bottom: 80px;
right: 14px;
}
.social-world-strip {
grid-template-columns: repeat(4, 1fr);
}
.social-world-strip > div:first-child {
grid-column: 1/-1;
padding-bottom: 6px;
}
.social-world-strip > div:first-child p {
display: none;
}
.social-world-city {
padding: 10px;
}
.social-world-city time {
font-size: 18px;
}
}
@media (max-width: 600px) {
.social-workspace-grid {
padding: 93px 20px 90px;
}
.social-page-intro {
padding: 26px 0 27px;
}
.social-page-intro h1 {
font-size: 32px;
}
.social-page-intro > p {
font-size: 12px;
max-width: 90%;
}
.social-page-orbit {
opacity: 0.14;
width: 190px;
height: 190px;
right: -70px;
top: 30px;
}
.social-workspace .social-grid,
.social-member-grid {
grid-template-columns: 1fr;
gap: 13px;
}
.social-workspace .social-card {
padding: 22px;
}
.social-workspace .social-panel {
padding: 20px;
}
.social-form-grid {
grid-template-columns: 1fr;
}
.social-form-grid .full {
grid-column: auto;
}
.social-toolbar {
gap: 12px;
}
.social-search {
max-width: none;
width: 100%;
}
.social-workspace .social-list-item {
padding: 18px;
gap: 14px;
}
.social-workspace .social-list-item strong {
font-size: 14px;
}
.social-workspace .social-list-item p {
font-size: 11px;
}
.social-workspace :is(input, textarea, select) {
font-size: 16px !important;
}
.social-world-strip {
gap: 0;
}
.social-world-city {
padding: 10px 7px;
}
.social-world-city strong {
font-size: 10px;
gap: 4px;
}
.social-world-city time {
font-size: 17px;
}
.social-world-city small {
font-size: 8px;
}
.social-detail-dialog > div {
padding: 22px;
}
.social-detail-dialog h2 {
font-size: 22px;
}
.social-member-card {
padding: 22px;
}
.social-fx-control > span:last-child {
display: none;
}
.social-fx-control {
width: 34px;
height: 34px;
min-height: 34px;
padding: 0;
justify-content: center;
bottom: 82px;
}
.social-workspace .social-actions .social-btn {
min-height: 44px;
}
.social-workspace-footer {
margin-top: 35px;
font-size: 9px;
}
.social-workspace .nav-actions {
gap: 1px;
}
.social-workspace .nav-logo {
font-size: 14px;
}
.social-workspace .nav-container {
gap: 5px;
}
.social-workspace .nav-icon-btn {
width: 38px;
}
}
@media (prefers-reduced-motion: reduce) {
html:has(.social-experience) {
scroll-behavior: auto;
}
/* Light mode only — immersive opt-in keeps motion (see motion.css).
不用 * — 微信 WXSS 编译失败 */
.social-experience[data-immersive="false"],
.social-experience[data-immersive="false"] view,
.social-experience[data-immersive="false"] text,
.social-experience[data-immersive="false"] div,
.social-experience[data-immersive="false"] span {
animation: none !important;
transition: none !important;
scroll-behavior: auto !important;
}
.social-experience[data-immersive="false"] .social-constellation,
.social-experience[data-immersive="false"] .social-pointer-glow {
display: none;
}
.social-experience[data-immersive="false"] .reveal {
opacity: 1 !important;
transform: none !important;
}
}