Align Taro pages with Next hub/nav/book/community/VIP, pack the single-index Xiaohongshu portal with host-chrome safe areas, and refresh shared book content plus portal README constraints. Co-authored-by: Cursor <cursoragent@cursor.com>
4779 lines
92 KiB
CSS
4779 lines
92 KiB
CSS
/* ===== hub.css ===== */
|
||
/* nomadHub homepage — PC + H5 */
|
||
.hub-root {
|
||
--hub-bg: #0a0e17;
|
||
--hub-bg-card: rgba(17, 24, 39, 0.7);
|
||
--hub-bg-glass: rgba(255, 255, 255, 0.05);
|
||
--hub-text: #f1f5f9;
|
||
--hub-muted: #94a3b8;
|
||
--hub-accent-1: #ff6b6b;
|
||
--hub-accent-2: #ffe66d;
|
||
--hub-accent-3: #4ecdc4;
|
||
--hub-gradient-text: linear-gradient(135deg, #ff6b6b 0%, #ffe66d 50%, #4ecdc4 100%);
|
||
--hub-shadow-glow: 0 0 40px rgba(78, 205, 196, 0.15);
|
||
--hub-shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);
|
||
--hub-border: 1px solid rgba(255, 255, 255, 0.08);
|
||
--hub-radius-md: 16px;
|
||
--hub-font-display: var(--font-outfit), var(--font-noto-sc), sans-serif;
|
||
--hub-font-body: var(--font-noto-sc), var(--font-outfit), sans-serif;
|
||
--hub-nav-height: 72px;
|
||
--hub-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
||
|
||
position: relative;
|
||
min-height: 100dvh;
|
||
font-family: var(--hub-font-body);
|
||
background: var(--hub-bg);
|
||
color: var(--hub-text);
|
||
line-height: 1.6;
|
||
overflow-x: hidden;
|
||
transition: background var(--hub-transition), color var(--hub-transition);
|
||
}
|
||
|
||
html.light .hub-root,
|
||
[data-theme="light"] .hub-root {
|
||
--hub-bg: #f8fafc;
|
||
--hub-bg-card: rgba(255, 255, 255, 0.85);
|
||
--hub-bg-glass: rgba(15, 23, 42, 0.04);
|
||
--hub-text: #0f172a;
|
||
--hub-muted: #64748b;
|
||
--hub-accent-1: #e11d48;
|
||
--hub-accent-2: #d97706;
|
||
--hub-accent-3: #0d9488;
|
||
--hub-gradient-text: linear-gradient(135deg, #e11d48 0%, #d97706 50%, #0d9488 100%);
|
||
--hub-shadow-glow: 0 0 40px rgba(13, 148, 136, 0.12);
|
||
--hub-shadow-card: 0 8px 32px rgba(15, 23, 42, 0.08);
|
||
--hub-border: 1px solid rgba(15, 23, 42, 0.08);
|
||
}
|
||
|
||
.hub-root a {
|
||
color: inherit;
|
||
text-decoration: none;
|
||
}
|
||
|
||
.hub-particle-canvas {
|
||
position: fixed;
|
||
inset: 0;
|
||
z-index: 0;
|
||
pointer-events: none;
|
||
}
|
||
|
||
/* Loader */
|
||
.hub-loader {
|
||
position: fixed;
|
||
inset: 0;
|
||
z-index: 9999;
|
||
display: grid;
|
||
place-items: center;
|
||
background: var(--hub-bg, #0a0e17);
|
||
transition: opacity 0.6s ease, visibility 0.6s;
|
||
}
|
||
|
||
.hub-loader.hidden {
|
||
opacity: 0;
|
||
visibility: hidden;
|
||
pointer-events: none;
|
||
}
|
||
|
||
.hub-loader-inner {
|
||
text-align: center;
|
||
}
|
||
|
||
.hub-loader-globe {
|
||
width: 64px;
|
||
height: 64px;
|
||
margin: 0 auto 12px;
|
||
}
|
||
|
||
.hub-loader-ring {
|
||
transform-origin: center;
|
||
animation: hub-spin 1.1s linear infinite;
|
||
}
|
||
|
||
@keyframes hub-spin {
|
||
to {
|
||
transform: rotate(360deg);
|
||
}
|
||
}
|
||
|
||
.hub-loader-text {
|
||
font-family: var(--hub-font-display);
|
||
font-weight: 700;
|
||
background: var(--hub-gradient-text);
|
||
-webkit-background-clip: text;
|
||
-webkit-text-fill-color: transparent;
|
||
background-clip: text;
|
||
}
|
||
|
||
/* Nav */
|
||
.hub-navbar {
|
||
position: fixed;
|
||
top: 0;
|
||
left: 0;
|
||
right: 0;
|
||
height: var(--hub-nav-height);
|
||
z-index: 100;
|
||
transition: background var(--hub-transition), border-color var(--hub-transition);
|
||
}
|
||
|
||
.hub-navbar.scrolled {
|
||
background: rgba(10, 14, 23, 0.85);
|
||
backdrop-filter: blur(20px);
|
||
border-bottom: var(--hub-border);
|
||
}
|
||
|
||
html.light .hub-navbar.scrolled,
|
||
[data-theme="light"] .hub-navbar.scrolled {
|
||
background: rgba(248, 250, 252, 0.88);
|
||
}
|
||
|
||
.hub-nav-container {
|
||
width: min(1200px, calc(100% - clamp(2rem, 6vw, 5rem)));
|
||
margin: 0 auto;
|
||
height: 100%;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
gap: 12px;
|
||
}
|
||
|
||
.hub-nav-actions {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 8px;
|
||
margin-left: auto;
|
||
}
|
||
|
||
.hub-logo {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 10px;
|
||
font-family: var(--hub-font-display);
|
||
font-weight: 700;
|
||
font-size: 1.2rem;
|
||
}
|
||
|
||
.hub-logo-icon {
|
||
width: 34px;
|
||
height: 34px;
|
||
animation: hub-spin 20s linear infinite;
|
||
}
|
||
|
||
/* Local-dev only shortcuts */
|
||
.hub-dev-nav {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 8px;
|
||
}
|
||
|
||
.hub-dev-link {
|
||
display: inline-flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
min-height: 36px;
|
||
padding: 0 14px;
|
||
border-radius: 10px;
|
||
border: 1px solid rgba(78, 205, 196, 0.28);
|
||
background: rgba(78, 205, 196, 0.1);
|
||
color: #4ecdc4;
|
||
font-family: var(--hub-font-display);
|
||
font-size: 0.82rem;
|
||
font-weight: 700;
|
||
letter-spacing: 0.02em;
|
||
transition: background var(--hub-transition), border-color var(--hub-transition),
|
||
transform var(--hub-transition);
|
||
}
|
||
|
||
.hub-dev-link:hover {
|
||
background: rgba(78, 205, 196, 0.18);
|
||
border-color: rgba(78, 205, 196, 0.5);
|
||
transform: translateY(-1px);
|
||
}
|
||
|
||
.hub-dev-link:nth-child(2) {
|
||
border-color: rgba(255, 107, 107, 0.28);
|
||
background: rgba(255, 107, 107, 0.1);
|
||
color: #ff8a8a;
|
||
}
|
||
|
||
.hub-dev-link:nth-child(2):hover {
|
||
background: rgba(255, 107, 107, 0.18);
|
||
border-color: rgba(255, 107, 107, 0.5);
|
||
}
|
||
|
||
/* Hero */
|
||
.hub-hero {
|
||
position: relative;
|
||
z-index: 1;
|
||
width: 100%;
|
||
min-height: 100svh;
|
||
overflow: hidden;
|
||
}
|
||
|
||
.hub-hero-bg-shapes {
|
||
position: absolute;
|
||
inset: 0;
|
||
pointer-events: none;
|
||
z-index: 0;
|
||
}
|
||
|
||
.hub-hero-bg-shapes .hub-shape {
|
||
position: absolute;
|
||
border-radius: 50%;
|
||
filter: blur(90px);
|
||
opacity: 0.45;
|
||
animation: hub-float-shape 8s ease-in-out infinite;
|
||
}
|
||
|
||
.hub-shape-1 {
|
||
width: min(52vw, 620px);
|
||
height: min(52vw, 620px);
|
||
background: var(--hub-accent-1);
|
||
top: -8%;
|
||
left: -8%;
|
||
}
|
||
|
||
.hub-shape-2 {
|
||
width: min(46vw, 560px);
|
||
height: min(46vw, 560px);
|
||
background: var(--hub-accent-3);
|
||
top: 28%;
|
||
right: -10%;
|
||
animation-delay: -3s;
|
||
}
|
||
|
||
.hub-shape-3 {
|
||
width: min(38vw, 480px);
|
||
height: min(38vw, 480px);
|
||
background: var(--hub-accent-2);
|
||
bottom: -12%;
|
||
left: 32%;
|
||
animation-delay: -5s;
|
||
}
|
||
|
||
@keyframes hub-float-shape {
|
||
0%,
|
||
100% {
|
||
transform: translate(0, 0) scale(1);
|
||
}
|
||
33% {
|
||
transform: translate(24px, -24px) scale(1.05);
|
||
}
|
||
66% {
|
||
transform: translate(-16px, 16px) scale(0.96);
|
||
}
|
||
}
|
||
|
||
.hub-hero-inner {
|
||
position: relative;
|
||
z-index: 1;
|
||
width: min(1200px, calc(100% - clamp(2rem, 6vw, 5rem)));
|
||
margin: 0 auto;
|
||
min-height: 100svh;
|
||
display: grid;
|
||
grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
|
||
grid-template-areas:
|
||
"title visual"
|
||
"portals visual";
|
||
align-content: center;
|
||
align-items: center;
|
||
column-gap: clamp(1.5rem, 4vw, 3.5rem);
|
||
row-gap: 1.75rem;
|
||
padding: calc(var(--hub-nav-height) + clamp(1.5rem, 4vh, 2.5rem)) 0
|
||
clamp(2rem, 5vh, 3.5rem);
|
||
}
|
||
|
||
.hub-hero-title {
|
||
grid-area: title;
|
||
align-self: end;
|
||
font-family: var(--hub-font-display);
|
||
font-size: clamp(2.4rem, 5vw, 3.8rem);
|
||
font-weight: 800;
|
||
line-height: 1.15;
|
||
letter-spacing: -0.02em;
|
||
}
|
||
|
||
.hub-hero-lead {
|
||
grid-area: title;
|
||
align-self: start;
|
||
margin-top: 0.75rem;
|
||
max-width: 28rem;
|
||
font-size: clamp(0.9rem, 1.6vw, 1.05rem);
|
||
color: var(--hub-muted, #94a3b8);
|
||
line-height: 1.45;
|
||
}
|
||
|
||
.hub-hero-visual {
|
||
grid-area: visual;
|
||
position: relative;
|
||
z-index: 1;
|
||
display: flex;
|
||
justify-content: center;
|
||
align-items: center;
|
||
min-width: 0;
|
||
padding: clamp(0.75rem, 2vw, 1.5rem);
|
||
align-self: center;
|
||
}
|
||
|
||
.hub-portal-grid {
|
||
grid-area: portals;
|
||
align-self: start;
|
||
display: grid;
|
||
grid-template-columns: repeat(3, 1fr);
|
||
gap: 12px;
|
||
max-width: 520px;
|
||
margin-top: 0;
|
||
}
|
||
|
||
.hub-gradient-text {
|
||
background: var(--hub-gradient-text);
|
||
-webkit-background-clip: text;
|
||
-webkit-text-fill-color: transparent;
|
||
background-clip: text;
|
||
background-size: 200% auto;
|
||
animation: hub-gradient-shift 4s ease-in-out infinite;
|
||
}
|
||
|
||
@keyframes hub-gradient-shift {
|
||
0%,
|
||
100% {
|
||
background-position: 0% center;
|
||
}
|
||
50% {
|
||
background-position: 100% center;
|
||
}
|
||
}
|
||
|
||
.hub-portal-card {
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: flex-start;
|
||
gap: 14px;
|
||
padding: 20px 16px;
|
||
background: var(--hub-bg-card);
|
||
border: var(--hub-border);
|
||
border-radius: var(--hub-radius-md);
|
||
backdrop-filter: blur(18px);
|
||
box-shadow: var(--hub-shadow-card);
|
||
transition: transform var(--hub-transition), box-shadow var(--hub-transition),
|
||
border-color var(--hub-transition);
|
||
}
|
||
|
||
.hub-portal-card:hover {
|
||
transform: translateY(-4px);
|
||
box-shadow: var(--hub-shadow-glow), var(--hub-shadow-card);
|
||
border-color: rgba(78, 205, 196, 0.35);
|
||
}
|
||
|
||
.hub-portal-card--main {
|
||
background: linear-gradient(
|
||
160deg,
|
||
rgba(255, 107, 107, 0.12),
|
||
rgba(78, 205, 196, 0.08)
|
||
),
|
||
var(--hub-bg-card);
|
||
border-color: rgba(255, 107, 107, 0.22);
|
||
}
|
||
|
||
.hub-portal-ico {
|
||
width: 40px;
|
||
height: 40px;
|
||
display: grid;
|
||
place-items: center;
|
||
border-radius: 12px;
|
||
background: var(--hub-bg-glass);
|
||
border: var(--hub-border);
|
||
font-size: 1.15rem;
|
||
}
|
||
|
||
.hub-portal-name {
|
||
font-family: var(--hub-font-display);
|
||
font-size: clamp(0.92rem, 1.4vw, 1.05rem);
|
||
font-weight: 800;
|
||
letter-spacing: -0.02em;
|
||
line-height: 1.25;
|
||
white-space: nowrap;
|
||
}
|
||
|
||
.hub-portal-card--main .hub-portal-name {
|
||
background: var(--hub-gradient-text);
|
||
-webkit-background-clip: text;
|
||
-webkit-text-fill-color: transparent;
|
||
background-clip: text;
|
||
}
|
||
|
||
.hub-globe-container {
|
||
position: relative;
|
||
width: min(100%, 440px);
|
||
aspect-ratio: 1;
|
||
margin-inline: auto;
|
||
}
|
||
|
||
.hub-globe-svg {
|
||
display: block;
|
||
width: 100%;
|
||
height: 100%;
|
||
overflow: visible;
|
||
animation: hub-globe-float 6s ease-in-out infinite;
|
||
}
|
||
|
||
@keyframes hub-globe-float {
|
||
0%,
|
||
100% {
|
||
transform: translateY(0);
|
||
}
|
||
50% {
|
||
transform: translateY(-12px);
|
||
}
|
||
}
|
||
|
||
.hub-orbit-ring,
|
||
.hub-orbit-ring-2 {
|
||
transform-box: fill-box;
|
||
transform-origin: center;
|
||
animation: hub-orbit-spin 20s linear infinite;
|
||
}
|
||
|
||
.hub-orbit-ring-2 {
|
||
animation-direction: reverse;
|
||
animation-duration: 15s;
|
||
}
|
||
|
||
@keyframes hub-orbit-spin {
|
||
to {
|
||
transform: rotate(360deg);
|
||
}
|
||
}
|
||
|
||
.hub-continent {
|
||
animation: hub-continent-pulse 4s ease-in-out infinite;
|
||
}
|
||
|
||
@keyframes hub-continent-pulse {
|
||
0%,
|
||
100% {
|
||
opacity: 0.7;
|
||
}
|
||
50% {
|
||
opacity: 1;
|
||
}
|
||
}
|
||
|
||
.hub-pulse-dot {
|
||
animation: hub-dot-pulse 2s ease-in-out infinite;
|
||
}
|
||
|
||
.hub-pulse-dot:nth-of-type(2) {
|
||
animation-delay: 0.5s;
|
||
}
|
||
|
||
.hub-pulse-dot:nth-of-type(3) {
|
||
animation-delay: 1s;
|
||
}
|
||
|
||
@keyframes hub-dot-pulse {
|
||
0%,
|
||
100% {
|
||
r: 5;
|
||
opacity: 1;
|
||
}
|
||
50% {
|
||
r: 8;
|
||
opacity: 0.6;
|
||
}
|
||
}
|
||
|
||
.hub-flight-path {
|
||
animation: hub-dash-move 3s linear infinite;
|
||
}
|
||
|
||
@keyframes hub-dash-move {
|
||
to {
|
||
stroke-dashoffset: -20;
|
||
}
|
||
}
|
||
|
||
.hub-float-card {
|
||
position: absolute;
|
||
z-index: 2;
|
||
padding: 10px 14px;
|
||
background: var(--hub-bg-card);
|
||
border: var(--hub-border);
|
||
border-radius: var(--hub-radius-md);
|
||
font-size: 0.8rem;
|
||
font-weight: 600;
|
||
backdrop-filter: blur(20px);
|
||
box-shadow: var(--hub-shadow-card);
|
||
animation: hub-card-float 4s ease-in-out infinite;
|
||
white-space: nowrap;
|
||
pointer-events: none;
|
||
}
|
||
|
||
.hub-fc-1 {
|
||
top: 6%;
|
||
right: 0;
|
||
}
|
||
|
||
.hub-fc-2 {
|
||
top: 58%;
|
||
left: 0;
|
||
animation-delay: -1.5s;
|
||
}
|
||
|
||
.hub-fc-3 {
|
||
bottom: 4%;
|
||
right: 6%;
|
||
animation-delay: -3s;
|
||
}
|
||
|
||
@keyframes hub-card-float {
|
||
0%,
|
||
100% {
|
||
transform: translateY(0);
|
||
}
|
||
50% {
|
||
transform: translateY(-8px);
|
||
}
|
||
}
|
||
|
||
.hub-reveal {
|
||
opacity: 0;
|
||
transform: translateY(24px);
|
||
transition: opacity 0.8s ease, transform 0.8s ease;
|
||
}
|
||
|
||
.hub-reveal.visible {
|
||
opacity: 1;
|
||
transform: none;
|
||
}
|
||
|
||
/* Tablet / H5 */
|
||
@media (max-width: 960px) {
|
||
.hub-hero-inner {
|
||
grid-template-columns: 1fr;
|
||
grid-template-areas:
|
||
"visual"
|
||
"title"
|
||
"portals";
|
||
align-content: start;
|
||
justify-items: stretch;
|
||
min-height: 100svh;
|
||
gap: 0.85rem;
|
||
padding-top: calc(var(--hub-nav-height) + 0.85rem);
|
||
padding-bottom: max(1.5rem, env(safe-area-inset-bottom));
|
||
}
|
||
|
||
.hub-hero-title {
|
||
align-self: start;
|
||
text-align: center;
|
||
font-size: clamp(2.35rem, 11vw, 3.2rem);
|
||
letter-spacing: -0.04em;
|
||
}
|
||
|
||
.hub-hero-visual {
|
||
width: 100%;
|
||
padding: 0.25rem 0.5rem 0.5rem;
|
||
}
|
||
|
||
.hub-globe-container {
|
||
width: min(62vw, 300px);
|
||
}
|
||
|
||
.hub-portal-grid {
|
||
max-width: none;
|
||
width: 100%;
|
||
margin-top: 0.35rem;
|
||
}
|
||
|
||
.hub-fc-1 {
|
||
right: -2%;
|
||
font-size: 0.72rem;
|
||
padding: 8px 10px;
|
||
}
|
||
|
||
.hub-fc-2 {
|
||
left: -2%;
|
||
font-size: 0.72rem;
|
||
padding: 8px 10px;
|
||
}
|
||
|
||
.hub-fc-3 {
|
||
font-size: 0.72rem;
|
||
padding: 8px 10px;
|
||
}
|
||
}
|
||
|
||
@media (max-width: 640px) {
|
||
.hub-hero-inner {
|
||
min-height: 100svh;
|
||
gap: 0.65rem;
|
||
padding-top: calc(var(--hub-nav-height) + 0.65rem);
|
||
}
|
||
|
||
.hub-hero-title {
|
||
font-size: clamp(2.2rem, 10.5vw, 2.85rem);
|
||
}
|
||
|
||
.hub-globe-container {
|
||
width: min(64vw, 250px);
|
||
}
|
||
|
||
.hub-globe-svg {
|
||
animation-duration: 7s;
|
||
}
|
||
|
||
.hub-portal-grid {
|
||
gap: 8px;
|
||
}
|
||
|
||
.hub-portal-card {
|
||
padding: 14px 10px;
|
||
gap: 10px;
|
||
align-items: center;
|
||
text-align: center;
|
||
}
|
||
|
||
.hub-portal-ico {
|
||
width: 32px;
|
||
height: 32px;
|
||
font-size: 0.95rem;
|
||
}
|
||
|
||
.hub-portal-name {
|
||
font-size: 0.78rem;
|
||
letter-spacing: -0.03em;
|
||
}
|
||
|
||
.hub-fc-1 {
|
||
top: 4%;
|
||
right: 0;
|
||
}
|
||
|
||
.hub-fc-2 {
|
||
top: 54%;
|
||
left: 0;
|
||
}
|
||
|
||
.hub-fc-3 {
|
||
bottom: 2%;
|
||
right: 2%;
|
||
}
|
||
}
|
||
|
||
@media (max-width: 380px) {
|
||
.hub-portal-grid {
|
||
gap: 6px;
|
||
}
|
||
|
||
.hub-portal-card {
|
||
padding: 12px 6px;
|
||
}
|
||
|
||
.hub-portal-name {
|
||
font-size: 0.7rem;
|
||
}
|
||
}
|
||
|
||
@media (prefers-reduced-motion: reduce) {
|
||
.hub-reveal {
|
||
opacity: 1;
|
||
transform: none;
|
||
transition: none;
|
||
}
|
||
|
||
.hub-loader {
|
||
display: none;
|
||
}
|
||
|
||
/* 注意:小红书 Android WebView 常误报 reduce,禁止在此关掉地球/卡片动画 */
|
||
}
|
||
|
||
/* 强制动效(覆盖误报的 prefers-reduced-motion) */
|
||
.hub-globe-container {
|
||
animation: hub-globe-float 6s ease-in-out infinite !important;
|
||
}
|
||
.hub-globe-svg {
|
||
/* 漂浮交给外层 container;轨道用 SVG SMIL,兼容 XHS WebView */
|
||
animation: none !important;
|
||
}
|
||
.hub-orbit-ring,
|
||
.hub-orbit-ring-2 {
|
||
animation: none !important;
|
||
}
|
||
.hub-float-card {
|
||
animation: hub-card-float 4s ease-in-out infinite !important;
|
||
}
|
||
.hub-continent {
|
||
animation: hub-continent-pulse 4s ease-in-out infinite !important;
|
||
}
|
||
.hub-pulse-dot {
|
||
animation: none !important; /* r 动画用 SMIL */
|
||
}
|
||
.hub-flight-path {
|
||
animation: none !important; /* dash 用 SMIL */
|
||
}
|
||
.hub-logo-icon {
|
||
animation: hub-spin 20s linear infinite !important;
|
||
}
|
||
|
||
/* ===== XHS patches (align H5 hub, safe-area, buttons) ===== */
|
||
.hub-root {
|
||
--hub-safe-top: 88px;
|
||
--hub-nav-height: 44px;
|
||
--hub-font-display: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans GB', 'Noto Sans SC', sans-serif;
|
||
--hub-font-body: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans GB', 'Noto Sans SC', sans-serif;
|
||
z-index: 1;
|
||
}
|
||
.hub-navbar {
|
||
/* 硬编码 fallback:XHS 对嵌套 var() 常失效 → top 回落到 0 导致 logo 压返回箭头 */
|
||
top: 88px !important;
|
||
top: var(--app-pad-top, 88px) !important;
|
||
padding-top: 0 !important;
|
||
height: 44px !important;
|
||
min-height: 44px !important;
|
||
box-sizing: border-box;
|
||
}
|
||
.hub-navbar .hub-nav-container,
|
||
.hub-navbar .nav-container {
|
||
width: 100%;
|
||
max-width: none;
|
||
margin: 0;
|
||
height: 44px;
|
||
padding-left: 16px;
|
||
padding-right: 12px;
|
||
box-sizing: border-box;
|
||
}
|
||
.hub-hero-inner {
|
||
padding-top: 136px !important; /* 88 + 44 + 4 */
|
||
padding-top: calc(44px + var(--app-pad-top, 88px) + 0.25rem) !important;
|
||
}
|
||
.hub-particle-canvas {
|
||
z-index: 0;
|
||
}
|
||
.hub-hero {
|
||
z-index: 1;
|
||
}
|
||
.nd-theme-toggle {
|
||
display: inline-flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
width: 40px;
|
||
height: 40px;
|
||
border-radius: 12px;
|
||
border: 1px solid rgba(78, 205, 196, 0.28);
|
||
background: rgba(78, 205, 196, 0.1);
|
||
color: #4ecdc4;
|
||
font-size: 1.05rem;
|
||
cursor: pointer;
|
||
}
|
||
[data-theme='light'] .nd-theme-toggle,
|
||
html.light .nd-theme-toggle {
|
||
border-color: rgba(13, 148, 136, 0.3);
|
||
background: rgba(13, 148, 136, 0.1);
|
||
color: #0d9488;
|
||
}
|
||
button.hub-portal-card {
|
||
width: 100%;
|
||
color: inherit;
|
||
font: inherit;
|
||
text-align: left;
|
||
cursor: pointer;
|
||
-webkit-tap-highlight-color: transparent;
|
||
}
|
||
@media (max-width: 640px) {
|
||
button.hub-portal-card {
|
||
text-align: center;
|
||
}
|
||
}
|
||
|
||
|
||
/* ===== styles.css ===== */
|
||
:root,
|
||
[data-theme="light"] {
|
||
--bg: #e9eef4;
|
||
--bg-elevated: #f7fafc;
|
||
--ink: #15202b;
|
||
--ink-muted: #5b6b7c;
|
||
--ink-faint: #8a98a8;
|
||
--line: rgba(21, 32, 43, 0.08);
|
||
--surface: rgba(255, 255, 255, 0.88);
|
||
--surface-solid: #ffffff;
|
||
--accent: #0d8f7b;
|
||
--accent-deep: #0a6e5f;
|
||
--accent-soft: rgba(13, 143, 123, 0.12);
|
||
--glow-a: rgba(13, 143, 123, 0.2);
|
||
--glow-b: rgba(56, 120, 180, 0.14);
|
||
--shadow: 0 8px 24px rgba(21, 32, 43, 0.08);
|
||
--shadow-card: 0 1px 2px rgba(21, 32, 43, 0.04), 0 6px 16px rgba(21, 32, 43, 0.04);
|
||
--toast-bg: #15202b;
|
||
--toast-ink: #f4f7fa;
|
||
--chip: rgba(21, 32, 43, 0.045);
|
||
--chip-active: #15202b;
|
||
--chip-active-ink: #f7fafc;
|
||
--topbar-bg: rgba(233, 238, 244, 0.9);
|
||
--font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
|
||
"Microsoft YaHei", "Noto Sans SC", sans-serif;
|
||
--radius: 14px;
|
||
--app-pad-top: 88px;
|
||
--app-pad-left: 16px;
|
||
--safe-bottom: env(safe-area-inset-bottom, 0px);
|
||
}
|
||
|
||
[data-theme="dark"] {
|
||
--bg: #0a0f14;
|
||
--bg-elevated: #121820;
|
||
--ink: #e8eef4;
|
||
--ink-muted: #8b99a8;
|
||
--ink-faint: #5d6c7c;
|
||
--line: rgba(232, 238, 244, 0.1);
|
||
--surface: rgba(18, 24, 32, 0.92);
|
||
--surface-solid: #121820;
|
||
--accent: #3dceb8;
|
||
--accent-deep: #2aa892;
|
||
--accent-soft: rgba(61, 206, 184, 0.14);
|
||
--glow-a: rgba(61, 206, 184, 0.14);
|
||
--glow-b: rgba(70, 130, 200, 0.12);
|
||
--shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
|
||
--shadow-card: 0 1px 0 rgba(255, 255, 255, 0.03), 0 8px 20px rgba(0, 0, 0, 0.28);
|
||
--toast-bg: #e8eef4;
|
||
--toast-ink: #0a0f14;
|
||
--chip: rgba(232, 238, 244, 0.06);
|
||
--chip-active: #e8eef4;
|
||
--chip-active-ink: #0a0f14;
|
||
--topbar-bg: rgba(10, 15, 20, 0.9);
|
||
}
|
||
|
||
*,
|
||
*::before,
|
||
*::after {
|
||
box-sizing: border-box;
|
||
}
|
||
|
||
html,
|
||
body {
|
||
margin: 0;
|
||
min-height: 100%;
|
||
background: var(--bg);
|
||
color: var(--ink);
|
||
font-family: var(--font);
|
||
-webkit-font-smoothing: antialiased;
|
||
-webkit-tap-highlight-color: transparent;
|
||
}
|
||
|
||
button {
|
||
font: inherit;
|
||
color: inherit;
|
||
border: none;
|
||
background: none;
|
||
padding: 0;
|
||
cursor: pointer;
|
||
}
|
||
|
||
img {
|
||
display: block;
|
||
}
|
||
|
||
.app-shell {
|
||
position: relative;
|
||
min-height: 100vh;
|
||
isolation: isolate;
|
||
}
|
||
|
||
.bg-glow {
|
||
position: fixed;
|
||
inset: 0;
|
||
pointer-events: none;
|
||
z-index: -1;
|
||
overflow: hidden;
|
||
/* 禁止不透明底:否则会盖住全部 .view(此前首页只剩背景色) */
|
||
background:
|
||
radial-gradient(680px 380px at 8% -12%, var(--glow-a), transparent 58%),
|
||
radial-gradient(560px 320px at 100% 4%, var(--glow-b), transparent 55%);
|
||
}
|
||
|
||
.orb {
|
||
position: absolute;
|
||
border-radius: 50%;
|
||
opacity: 0.5;
|
||
}
|
||
|
||
.orb-a {
|
||
width: 200px;
|
||
height: 200px;
|
||
left: -60px;
|
||
top: 18%;
|
||
background: radial-gradient(circle, var(--glow-a), transparent 70%);
|
||
}
|
||
|
||
.orb-b {
|
||
width: 240px;
|
||
height: 240px;
|
||
right: -80px;
|
||
top: 42%;
|
||
background: radial-gradient(circle, var(--glow-b), transparent 70%);
|
||
}
|
||
|
||
.topbar {
|
||
/* fixed 从屏幕顶开始,padding-top 让出宿主壳;实色底遮住上滑内容 */
|
||
position: fixed;
|
||
top: 0 !important;
|
||
left: 0;
|
||
right: 0;
|
||
z-index: 1000;
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 10px;
|
||
padding: 88px 12px 10px 16px;
|
||
padding-top: var(--app-pad-top, 88px);
|
||
background: #0a0f14;
|
||
border-bottom: 1px solid var(--line);
|
||
box-sizing: border-box;
|
||
}
|
||
.topbar #btn-menu {
|
||
order: 0;
|
||
flex-shrink: 0;
|
||
}
|
||
.topbar .brand-mark {
|
||
order: 1;
|
||
}
|
||
.topbar #btn-theme {
|
||
order: 2;
|
||
margin-left: auto;
|
||
}
|
||
[data-theme="light"] .topbar,
|
||
html[data-theme="light"] .topbar {
|
||
background: #e9eef4;
|
||
}
|
||
|
||
/* 导航页:内容避开 fixed 顶栏(安全区 + 约 52px 操作行) */
|
||
#view-nav {
|
||
padding-top: 0 !important;
|
||
box-sizing: border-box;
|
||
}
|
||
#view-nav .page {
|
||
padding-top: calc(var(--app-pad-top, 88px) + 52px);
|
||
}
|
||
|
||
/* 对齐微信 nav:菜单 + nomadro · 导航 */
|
||
.topbar .brand-row {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 10px;
|
||
width: 100%;
|
||
min-height: 44px;
|
||
}
|
||
.nav-portal-logo {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 8px;
|
||
cursor: pointer;
|
||
-webkit-tap-highlight-color: transparent;
|
||
flex: 1;
|
||
min-width: 0;
|
||
}
|
||
.nav-portal-mark {
|
||
width: 28px;
|
||
height: 28px;
|
||
display: block;
|
||
flex-shrink: 0;
|
||
}
|
||
.nav-portal-brand {
|
||
font-weight: 800;
|
||
font-size: 1.05rem;
|
||
color: var(--ink);
|
||
}
|
||
.nav-portal-sep {
|
||
color: var(--ink-muted, #94a3b8);
|
||
font-weight: 600;
|
||
}
|
||
.nav-portal-section {
|
||
font-weight: 700;
|
||
font-size: 0.95rem;
|
||
color: var(--ink);
|
||
}
|
||
.pc-section-label {
|
||
font-size: 0.78rem;
|
||
color: var(--ink-muted, #94a3b8);
|
||
white-space: nowrap;
|
||
max-width: 5.5em;
|
||
overflow: hidden;
|
||
text-overflow: ellipsis;
|
||
}
|
||
|
||
.icon-btn {
|
||
width: 36px;
|
||
height: 36px;
|
||
border-radius: 11px;
|
||
background: var(--surface);
|
||
border: 1px solid var(--line);
|
||
box-shadow: var(--shadow-card);
|
||
display: grid;
|
||
place-items: center;
|
||
flex-shrink: 0;
|
||
font-size: 1rem;
|
||
}
|
||
|
||
.icon-btn:active {
|
||
transform: scale(0.94);
|
||
}
|
||
|
||
.menu-bars {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 3.5px;
|
||
width: 14px;
|
||
}
|
||
|
||
.menu-bars i {
|
||
display: block;
|
||
height: 1.5px;
|
||
border-radius: 1px;
|
||
background: var(--ink);
|
||
}
|
||
|
||
.brand-mark {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 8px;
|
||
min-width: 0;
|
||
flex: 1;
|
||
}
|
||
|
||
.brand-logo {
|
||
width: 28px;
|
||
height: 28px;
|
||
border-radius: 8px;
|
||
object-fit: cover;
|
||
border: 1px solid var(--line);
|
||
}
|
||
|
||
.brand-text {
|
||
min-width: 0;
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: flex-start;
|
||
justify-content: center;
|
||
gap: 2px;
|
||
}
|
||
|
||
.brand-name {
|
||
margin: 0;
|
||
font-size: 1rem;
|
||
font-weight: 700;
|
||
letter-spacing: -0.02em;
|
||
line-height: 1.2;
|
||
}
|
||
|
||
.brand-current {
|
||
margin: 0;
|
||
max-width: 100%;
|
||
font-size: 0.72rem;
|
||
font-weight: 600;
|
||
letter-spacing: -0.01em;
|
||
line-height: 1.25;
|
||
color: var(--accent-deep);
|
||
white-space: nowrap;
|
||
overflow: hidden;
|
||
text-overflow: ellipsis;
|
||
}
|
||
|
||
[data-theme="dark"] .brand-current {
|
||
color: var(--accent);
|
||
}
|
||
|
||
.page {
|
||
position: relative;
|
||
z-index: 1;
|
||
padding: 12px 12px calc(72px + var(--safe-bottom));
|
||
}
|
||
|
||
.cat-panel + .cat-panel {
|
||
margin-top: 22px;
|
||
}
|
||
|
||
.cat-panel {
|
||
scroll-margin-top: calc(var(--app-pad-top) + 52px);
|
||
}
|
||
|
||
.cat-heading {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 8px;
|
||
margin: 0 0 10px;
|
||
padding-left: 10px;
|
||
position: relative;
|
||
}
|
||
|
||
.cat-heading::before {
|
||
content: "";
|
||
position: absolute;
|
||
left: 0;
|
||
top: 0.25em;
|
||
bottom: 0.25em;
|
||
width: 3px;
|
||
border-radius: 99px;
|
||
background: var(--accent);
|
||
}
|
||
|
||
.cat-heading h2 {
|
||
margin: 0;
|
||
font-size: 1.05rem;
|
||
font-weight: 700;
|
||
}
|
||
|
||
.cat-count {
|
||
font-size: 0.66rem;
|
||
font-weight: 700;
|
||
color: var(--accent-deep);
|
||
background: var(--accent-soft);
|
||
padding: 2px 7px;
|
||
border-radius: 999px;
|
||
}
|
||
|
||
[data-theme="dark"] .cat-count {
|
||
color: var(--accent);
|
||
}
|
||
|
||
.group-block + .group-block {
|
||
margin-top: 12px;
|
||
}
|
||
|
||
.group-title {
|
||
margin: 0 0 7px;
|
||
font-size: 0.7rem;
|
||
font-weight: 700;
|
||
letter-spacing: 0.04em;
|
||
text-transform: uppercase;
|
||
color: var(--ink-faint);
|
||
}
|
||
|
||
.link-grid {
|
||
display: grid;
|
||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||
gap: 7px;
|
||
}
|
||
|
||
.link-card {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 8px;
|
||
width: 100%;
|
||
min-width: 0;
|
||
text-align: left;
|
||
padding: 9px;
|
||
border-radius: var(--radius);
|
||
background: var(--surface);
|
||
border: 1px solid var(--line);
|
||
box-shadow: var(--shadow-card);
|
||
}
|
||
|
||
.link-card:active {
|
||
transform: scale(0.978);
|
||
}
|
||
|
||
.link-icon-wrap {
|
||
width: 34px;
|
||
height: 34px;
|
||
border-radius: 10px;
|
||
overflow: hidden;
|
||
border: 1px solid var(--line);
|
||
background: var(--chip);
|
||
flex-shrink: 0;
|
||
}
|
||
|
||
.link-icon {
|
||
width: 100%;
|
||
height: 100%;
|
||
object-fit: cover;
|
||
}
|
||
|
||
.link-meta {
|
||
min-width: 0;
|
||
flex: 1;
|
||
}
|
||
|
||
.link-title {
|
||
display: block;
|
||
font-size: 0.82rem;
|
||
font-weight: 700;
|
||
white-space: nowrap;
|
||
overflow: hidden;
|
||
text-overflow: ellipsis;
|
||
}
|
||
|
||
.link-desc {
|
||
display: block;
|
||
margin-top: 2px;
|
||
font-size: 0.65rem;
|
||
color: var(--ink-muted);
|
||
white-space: nowrap;
|
||
overflow: hidden;
|
||
text-overflow: ellipsis;
|
||
}
|
||
|
||
.footer {
|
||
margin-top: 28px;
|
||
padding-top: 14px;
|
||
border-top: 1px solid var(--line);
|
||
text-align: center;
|
||
font-size: 0.7rem;
|
||
color: var(--ink-faint);
|
||
}
|
||
|
||
.drawer-root {
|
||
position: fixed;
|
||
inset: 0;
|
||
z-index: 60;
|
||
pointer-events: none;
|
||
}
|
||
|
||
.drawer-root.open {
|
||
pointer-events: auto;
|
||
}
|
||
|
||
.drawer-mask {
|
||
position: absolute;
|
||
inset: 0;
|
||
background: rgba(8, 12, 18, 0.46);
|
||
opacity: 0;
|
||
transition: opacity 0.22s ease;
|
||
}
|
||
|
||
.drawer-root.open .drawer-mask {
|
||
opacity: 1;
|
||
}
|
||
|
||
.drawer-panel {
|
||
position: absolute;
|
||
top: 0;
|
||
left: 0;
|
||
bottom: 0;
|
||
width: min(80vw, 300px);
|
||
background: var(--bg-elevated);
|
||
border-right: 1px solid var(--line);
|
||
box-shadow: var(--shadow);
|
||
transform: translateX(-104%);
|
||
transition: transform 0.26s cubic-bezier(0.22, 1, 0.36, 1);
|
||
display: flex;
|
||
flex-direction: column;
|
||
padding: calc(var(--app-pad-top) + 4px) 0 calc(16px + var(--safe-bottom));
|
||
}
|
||
|
||
.drawer-root.open .drawer-panel {
|
||
transform: translateX(0);
|
||
}
|
||
|
||
.drawer-head {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
gap: 10px;
|
||
padding: 4px 12px 12px;
|
||
border-bottom: 1px solid var(--line);
|
||
}
|
||
|
||
.drawer-brand-wrap {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 8px;
|
||
min-width: 0;
|
||
}
|
||
|
||
.drawer-brand-wrap img {
|
||
width: 28px;
|
||
height: 28px;
|
||
border-radius: 8px;
|
||
object-fit: cover;
|
||
border: 1px solid var(--line);
|
||
}
|
||
|
||
.drawer-brand {
|
||
display: block;
|
||
font-weight: 700;
|
||
font-size: 1rem;
|
||
}
|
||
|
||
.drawer-sub {
|
||
display: block;
|
||
margin-top: 2px;
|
||
font-size: 0.68rem;
|
||
color: var(--ink-muted);
|
||
}
|
||
|
||
.drawer-nav {
|
||
padding: 12px 10px;
|
||
overflow-y: auto;
|
||
-webkit-overflow-scrolling: touch;
|
||
}
|
||
|
||
.drawer-item {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 10px;
|
||
width: 100%;
|
||
text-align: left;
|
||
padding: 12px;
|
||
border-radius: 12px;
|
||
color: var(--ink-muted);
|
||
margin-bottom: 4px;
|
||
}
|
||
|
||
.drawer-item.active {
|
||
background: var(--accent-soft);
|
||
color: var(--accent);
|
||
}
|
||
|
||
.drawer-item-title {
|
||
flex: 1;
|
||
font-size: 0.92rem;
|
||
font-weight: 600;
|
||
color: inherit;
|
||
}
|
||
|
||
.drawer-item.active .drawer-item-title {
|
||
color: var(--ink);
|
||
}
|
||
|
||
.drawer-item-count {
|
||
font-size: 0.68rem;
|
||
font-weight: 650;
|
||
background: var(--chip);
|
||
color: var(--ink-faint);
|
||
padding: 2px 7px;
|
||
border-radius: 999px;
|
||
}
|
||
|
||
.back-top {
|
||
position: fixed;
|
||
right: 14px;
|
||
bottom: calc(18px + var(--safe-bottom));
|
||
width: 40px;
|
||
height: 40px;
|
||
border-radius: 14px;
|
||
background: var(--chip-active);
|
||
color: var(--chip-active-ink);
|
||
box-shadow: var(--shadow);
|
||
opacity: 0;
|
||
pointer-events: none;
|
||
transform: translateY(8px);
|
||
transition: opacity 0.2s ease, transform 0.2s ease;
|
||
z-index: 40;
|
||
font-size: 1rem;
|
||
}
|
||
|
||
.back-top.show {
|
||
opacity: 1;
|
||
pointer-events: auto;
|
||
transform: translateY(0);
|
||
}
|
||
|
||
/* Link detail sheet */
|
||
.sheet-root {
|
||
position: fixed;
|
||
inset: 0;
|
||
z-index: 70;
|
||
pointer-events: none;
|
||
}
|
||
|
||
.sheet-root.open {
|
||
pointer-events: auto;
|
||
}
|
||
|
||
.sheet-mask {
|
||
position: absolute;
|
||
inset: 0;
|
||
background: rgba(8, 12, 18, 0.48);
|
||
opacity: 0;
|
||
transition: opacity 0.22s ease;
|
||
}
|
||
|
||
.sheet-root.open .sheet-mask {
|
||
opacity: 1;
|
||
}
|
||
|
||
.sheet-panel {
|
||
position: absolute;
|
||
left: 0;
|
||
right: 0;
|
||
bottom: 0;
|
||
max-height: min(86vh, 640px);
|
||
overflow-y: auto;
|
||
-webkit-overflow-scrolling: touch;
|
||
background: var(--bg-elevated);
|
||
border-radius: 20px 20px 0 0;
|
||
border: 1px solid var(--line);
|
||
border-bottom: none;
|
||
box-shadow: var(--shadow);
|
||
padding: 10px 16px calc(16px + var(--safe-bottom));
|
||
transform: translateY(108%);
|
||
transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 12px;
|
||
}
|
||
|
||
.sheet-root.open .sheet-panel {
|
||
transform: translateY(0);
|
||
}
|
||
|
||
.sheet-handle {
|
||
width: 36px;
|
||
height: 4px;
|
||
border-radius: 99px;
|
||
background: var(--chip);
|
||
margin: 0 auto 4px;
|
||
}
|
||
|
||
.sheet-head {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 12px;
|
||
}
|
||
|
||
.sheet-icon {
|
||
width: 44px;
|
||
height: 44px;
|
||
border-radius: 12px;
|
||
object-fit: cover;
|
||
border: 1px solid var(--line);
|
||
background: var(--chip);
|
||
flex-shrink: 0;
|
||
}
|
||
|
||
.sheet-head-text {
|
||
min-width: 0;
|
||
flex: 1;
|
||
}
|
||
|
||
.sheet-title {
|
||
margin: 0;
|
||
font-size: 1.05rem;
|
||
font-weight: 700;
|
||
letter-spacing: -0.02em;
|
||
}
|
||
|
||
.sheet-sub {
|
||
margin: 4px 0 0;
|
||
font-size: 0.78rem;
|
||
color: var(--ink-muted);
|
||
line-height: 1.35;
|
||
}
|
||
|
||
/* Visual guide steps */
|
||
.guide-steps {
|
||
list-style: none;
|
||
margin: 0;
|
||
padding: 10px;
|
||
border-radius: 14px;
|
||
background: var(--chip);
|
||
border: 1px solid var(--line);
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 8px;
|
||
}
|
||
|
||
.guide-step {
|
||
display: flex;
|
||
align-items: flex-start;
|
||
gap: 10px;
|
||
opacity: 0.42;
|
||
transition: opacity 0.25s ease, transform 0.25s ease;
|
||
transform: translateX(0);
|
||
}
|
||
|
||
.guide-step.is-active {
|
||
opacity: 1;
|
||
transform: translateX(2px);
|
||
}
|
||
|
||
.guide-step.is-done {
|
||
opacity: 0.78;
|
||
}
|
||
|
||
.guide-step.is-done .guide-num {
|
||
background: var(--accent);
|
||
color: #fff;
|
||
}
|
||
|
||
.guide-num {
|
||
width: 24px;
|
||
height: 24px;
|
||
border-radius: 50%;
|
||
flex-shrink: 0;
|
||
display: grid;
|
||
place-items: center;
|
||
font-size: 0.75rem;
|
||
font-weight: 800;
|
||
background: var(--surface-solid);
|
||
border: 1px solid var(--line);
|
||
color: var(--ink-muted);
|
||
}
|
||
|
||
.guide-step.is-active .guide-num {
|
||
background: var(--chip-active);
|
||
color: var(--chip-active-ink);
|
||
border-color: transparent;
|
||
box-shadow: 0 0 0 4px var(--accent-soft);
|
||
animation: num-pop 0.35s ease;
|
||
}
|
||
|
||
.guide-text {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 2px;
|
||
min-width: 0;
|
||
padding-top: 1px;
|
||
}
|
||
|
||
.guide-text strong {
|
||
font-size: 0.84rem;
|
||
font-weight: 750;
|
||
color: var(--ink);
|
||
}
|
||
|
||
.guide-text em {
|
||
font-style: normal;
|
||
font-size: 0.72rem;
|
||
color: var(--ink-muted);
|
||
}
|
||
|
||
.sheet-label {
|
||
margin: 0 0 8px;
|
||
font-size: 0.7rem;
|
||
font-weight: 700;
|
||
letter-spacing: 0.04em;
|
||
text-transform: uppercase;
|
||
color: var(--ink-faint);
|
||
}
|
||
|
||
.url-stage {
|
||
position: relative;
|
||
}
|
||
|
||
.sheet-url-wrap {
|
||
position: relative;
|
||
}
|
||
|
||
.sheet-url-box {
|
||
padding: 14px 12px;
|
||
border-radius: 14px;
|
||
background: color-mix(in srgb, var(--accent) 8%, var(--surface-solid));
|
||
border: 2px solid color-mix(in srgb, var(--accent) 45%, var(--line));
|
||
font-size: 0.86rem;
|
||
line-height: 1.5;
|
||
word-break: break-all;
|
||
user-select: text;
|
||
-webkit-user-select: text;
|
||
color: var(--ink);
|
||
transition: box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
|
||
position: relative;
|
||
z-index: 1;
|
||
}
|
||
|
||
.sheet-url-box.is-pulse {
|
||
animation: url-pulse 1.4s ease-in-out infinite;
|
||
}
|
||
|
||
.sheet-url-box.is-selected {
|
||
border-color: var(--accent);
|
||
background: color-mix(in srgb, var(--accent) 16%, var(--surface-solid));
|
||
box-shadow: 0 0 0 4px var(--accent-soft);
|
||
animation: none;
|
||
}
|
||
|
||
.finger-ico {
|
||
font-size: 1.75rem;
|
||
line-height: 1;
|
||
filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.2));
|
||
}
|
||
|
||
.finger-btn.is-hidden,
|
||
.finger-url.is-hidden {
|
||
display: none !important;
|
||
}
|
||
|
||
/* 第一步:仅小手,悬浮在绿色按钮上方,朝下指 */
|
||
.sheet-actions-wrap {
|
||
position: relative;
|
||
padding-top: 36px;
|
||
}
|
||
|
||
.finger-btn {
|
||
position: absolute;
|
||
left: 22%;
|
||
top: 0;
|
||
z-index: 3;
|
||
pointer-events: none;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
animation: finger-bounce-down 1.1s ease-in-out infinite;
|
||
}
|
||
|
||
.finger-btn .finger-ico {
|
||
display: block;
|
||
}
|
||
|
||
/* 第二步:小手紧贴网址区下沿朝上指,文案在右边 */
|
||
.sheet-url-wrap.is-pointing {
|
||
padding-bottom: 34px;
|
||
}
|
||
|
||
.finger-url {
|
||
position: absolute;
|
||
left: 6px;
|
||
top: auto;
|
||
bottom: 0;
|
||
z-index: 3;
|
||
pointer-events: none;
|
||
display: flex;
|
||
flex-direction: row;
|
||
align-items: center;
|
||
gap: 8px;
|
||
max-width: calc(100% - 12px);
|
||
animation: finger-nudge-up 1.05s ease-in-out infinite;
|
||
}
|
||
|
||
.finger-url .finger-ico {
|
||
flex-shrink: 0;
|
||
}
|
||
|
||
.finger-url .finger-bubble {
|
||
max-width: 150px;
|
||
padding: 6px 9px;
|
||
border-radius: 10px;
|
||
background: var(--chip-active);
|
||
color: var(--chip-active-ink);
|
||
font-size: 0.68rem;
|
||
font-weight: 700;
|
||
line-height: 1.3;
|
||
text-align: left;
|
||
box-shadow: var(--shadow);
|
||
position: relative;
|
||
}
|
||
|
||
.finger-url .finger-bubble::before {
|
||
content: "";
|
||
position: absolute;
|
||
left: -4px;
|
||
top: 50%;
|
||
width: 8px;
|
||
height: 8px;
|
||
background: var(--chip-active);
|
||
transform: translateY(-50%) rotate(45deg);
|
||
}
|
||
|
||
.sheet-status {
|
||
margin: 10px 0 0;
|
||
min-height: 1.2em;
|
||
font-size: 0.78rem;
|
||
font-weight: 650;
|
||
color: var(--accent-deep);
|
||
line-height: 1.4;
|
||
}
|
||
|
||
[data-theme="dark"] .sheet-status {
|
||
color: var(--accent);
|
||
}
|
||
|
||
.sheet-status.is-error {
|
||
color: #c44;
|
||
}
|
||
|
||
.sheet-actions {
|
||
display: grid;
|
||
grid-template-columns: 1.7fr 0.9fr;
|
||
gap: 8px;
|
||
}
|
||
|
||
.sheet-btn {
|
||
min-height: 48px;
|
||
border-radius: 14px;
|
||
border: 1px solid var(--line);
|
||
background: var(--surface);
|
||
font-size: 0.9rem;
|
||
font-weight: 650;
|
||
padding: 8px 10px;
|
||
}
|
||
|
||
.sheet-btn.primary {
|
||
background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 88%, #fff), var(--accent-deep));
|
||
color: #fff;
|
||
border-color: transparent;
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: center;
|
||
justify-content: center;
|
||
gap: 2px;
|
||
}
|
||
|
||
.sheet-btn.primary.pulse {
|
||
animation: cta-pulse 1.5s ease-in-out infinite;
|
||
}
|
||
|
||
.sheet-btn.primary.is-done {
|
||
animation: none;
|
||
background: var(--chip);
|
||
color: var(--ink);
|
||
border: 1px solid var(--line);
|
||
}
|
||
|
||
.sheet-btn-main {
|
||
font-size: 0.92rem;
|
||
font-weight: 800;
|
||
}
|
||
|
||
.sheet-btn-sub {
|
||
font-size: 0.66rem;
|
||
font-weight: 600;
|
||
opacity: 0.88;
|
||
}
|
||
|
||
.sheet-btn:active {
|
||
transform: scale(0.98);
|
||
}
|
||
|
||
@keyframes url-pulse {
|
||
0%,
|
||
100% {
|
||
box-shadow: 0 0 0 0 var(--accent-soft);
|
||
}
|
||
50% {
|
||
box-shadow: 0 0 0 6px var(--accent-soft);
|
||
}
|
||
}
|
||
|
||
@keyframes cta-pulse {
|
||
0%,
|
||
100% {
|
||
transform: scale(1);
|
||
box-shadow: 0 0 0 0 rgba(13, 143, 123, 0.35);
|
||
}
|
||
50% {
|
||
transform: scale(1.015);
|
||
box-shadow: 0 0 0 8px rgba(13, 143, 123, 0);
|
||
}
|
||
}
|
||
|
||
@keyframes finger-bounce-down {
|
||
0%,
|
||
100% {
|
||
transform: translateY(0);
|
||
}
|
||
50% {
|
||
transform: translateY(6px);
|
||
}
|
||
}
|
||
|
||
@keyframes finger-nudge-up {
|
||
0%,
|
||
100% {
|
||
transform: translateY(0);
|
||
}
|
||
50% {
|
||
transform: translateY(-6px);
|
||
}
|
||
}
|
||
|
||
@keyframes num-pop {
|
||
from {
|
||
transform: scale(0.7);
|
||
}
|
||
to {
|
||
transform: scale(1);
|
||
}
|
||
}
|
||
|
||
.toast {
|
||
position: fixed;
|
||
left: 50%;
|
||
bottom: calc(28px + var(--safe-bottom));
|
||
transform: translateX(-50%) translateY(10px);
|
||
padding: 9px 16px;
|
||
border-radius: 999px;
|
||
background: var(--toast-bg);
|
||
color: var(--toast-ink);
|
||
font-size: 0.8rem;
|
||
font-weight: 600;
|
||
opacity: 0;
|
||
pointer-events: none;
|
||
transition: opacity 0.2s ease, transform 0.2s ease;
|
||
z-index: 80;
|
||
box-shadow: var(--shadow);
|
||
}
|
||
|
||
.toast.show {
|
||
opacity: 1;
|
||
transform: translateX(-50%) translateY(0);
|
||
}
|
||
|
||
/* ===== nomadro 门户首页 ===== */
|
||
.view {
|
||
display: none;
|
||
position: relative;
|
||
z-index: 1;
|
||
min-height: 100vh;
|
||
}
|
||
.view.is-active {
|
||
display: block;
|
||
}
|
||
.is-hidden {
|
||
display: none !important;
|
||
}
|
||
.home-top {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
padding: var(--app-pad-top) 20px 8px;
|
||
}
|
||
.home-brand {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 12px;
|
||
}
|
||
.home-logo {
|
||
width: 40px;
|
||
height: 40px;
|
||
}
|
||
.home-name {
|
||
margin: 0;
|
||
font-size: 1.45rem;
|
||
font-weight: 800;
|
||
letter-spacing: -0.03em;
|
||
color: var(--ink);
|
||
background: linear-gradient(135deg, #ff6b6b, #ffe66d 50%, #4ecdc4);
|
||
-webkit-background-clip: text;
|
||
background-clip: text;
|
||
}
|
||
@supports (-webkit-background-clip: text) or (background-clip: text) {
|
||
.home-name {
|
||
color: transparent;
|
||
}
|
||
}
|
||
.home-tag {
|
||
margin: 2px 0 0;
|
||
font-size: 0.78rem;
|
||
color: var(--ink-muted);
|
||
}
|
||
.home-lead {
|
||
margin: 8px 20px 4px;
|
||
color: var(--ink-muted);
|
||
font-size: 0.9rem;
|
||
}
|
||
.home-badge {
|
||
margin: 0 20px 16px;
|
||
font-size: 0.75rem;
|
||
color: var(--accent);
|
||
}
|
||
.home-cards {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 12px;
|
||
padding: 0 20px 40px;
|
||
}
|
||
.home-card {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 14px;
|
||
width: 100%;
|
||
text-align: left;
|
||
padding: 16px 16px;
|
||
border-radius: 18px;
|
||
border: 1px solid var(--line);
|
||
background: var(--surface);
|
||
color: var(--ink);
|
||
box-shadow: var(--shadow-card);
|
||
min-height: 72px;
|
||
}
|
||
.home-card-main {
|
||
border-color: rgba(78, 205, 196, 0.35);
|
||
background: linear-gradient(135deg, rgba(255, 107, 107, 0.12), rgba(78, 205, 196, 0.12));
|
||
}
|
||
.home-card-emoji {
|
||
font-size: 1.6rem;
|
||
}
|
||
.home-card-body {
|
||
flex: 1;
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 4px;
|
||
}
|
||
.home-card-body strong {
|
||
font-size: 1.05rem;
|
||
}
|
||
.home-card-body em {
|
||
font-style: normal;
|
||
font-size: 0.8rem;
|
||
color: var(--ink-muted);
|
||
}
|
||
.home-card-go {
|
||
color: var(--accent);
|
||
font-size: 1.2rem;
|
||
}
|
||
.home-foot {
|
||
text-align: center;
|
||
padding: 8px 20px calc(24px + var(--safe-bottom));
|
||
color: var(--ink-faint);
|
||
font-size: 0.75rem;
|
||
}
|
||
.sub-page {
|
||
padding: 12px 16px calc(32px + var(--safe-bottom));
|
||
}
|
||
.module-list {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 10px;
|
||
}
|
||
.module-hero {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 4px;
|
||
padding: 8px 4px 12px;
|
||
}
|
||
.module-hero strong {
|
||
font-size: 1.1rem;
|
||
}
|
||
.module-hero em {
|
||
font-style: normal;
|
||
color: var(--ink-muted);
|
||
font-size: 0.8rem;
|
||
}
|
||
.module-item {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
gap: 12px;
|
||
width: 100%;
|
||
text-align: left;
|
||
padding: 14px 14px;
|
||
border-radius: 14px;
|
||
border: 1px solid var(--line);
|
||
background: var(--surface);
|
||
color: var(--ink);
|
||
}
|
||
.module-item-static {
|
||
align-items: flex-start;
|
||
}
|
||
.mi-emoji {
|
||
font-size: 1.4rem;
|
||
}
|
||
.mi-body {
|
||
flex: 1;
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 4px;
|
||
}
|
||
.mi-body em {
|
||
font-style: normal;
|
||
color: var(--ink-muted);
|
||
font-size: 0.78rem;
|
||
}
|
||
.mi-body p {
|
||
margin: 4px 0 0;
|
||
font-size: 0.85rem;
|
||
color: var(--ink-muted);
|
||
}
|
||
.book-reader {
|
||
padding: 8px 4px 40px;
|
||
line-height: 1.7;
|
||
}
|
||
.book-reader h2 {
|
||
margin: 12px 0;
|
||
}
|
||
.book-body {
|
||
color: var(--ink);
|
||
font-size: 0.95rem;
|
||
}
|
||
.text-back {
|
||
border: 0;
|
||
background: transparent;
|
||
color: var(--accent);
|
||
padding: 0;
|
||
font-size: 0.9rem;
|
||
}
|
||
.empty-hint {
|
||
padding: 24px 8px;
|
||
color: var(--ink-muted);
|
||
text-align: center;
|
||
}
|
||
.sheet-hint {
|
||
margin: 0 16px 8px;
|
||
font-size: 0.78rem;
|
||
color: var(--ink-muted);
|
||
}
|
||
|
||
|
||
|
||
/* ===== community-navbar.css ===== */
|
||
/* Ported from nomadweb Navbar — match Next /community exactly */
|
||
|
||
.navbar {
|
||
position: fixed;
|
||
top: 88px !important;
|
||
top: var(--app-pad-top, 88px) !important;
|
||
left: 0;
|
||
right: 0;
|
||
height: 44px;
|
||
min-height: 44px;
|
||
padding-top: 0;
|
||
box-sizing: border-box;
|
||
z-index: 1000;
|
||
transition: all var(--transition);
|
||
background: transparent;
|
||
}
|
||
|
||
.navbar.scrolled {
|
||
background: rgba(10, 14, 23, 0.85);
|
||
backdrop-filter: blur(20px);
|
||
border-bottom: var(--border-glass);
|
||
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
|
||
}
|
||
|
||
[data-theme="light"] .navbar.scrolled,
|
||
.page-shell[data-theme="light"] .navbar.scrolled,
|
||
.hub-root[data-theme="light"] .navbar.scrolled {
|
||
background: rgba(248, 250, 252, 0.9);
|
||
}
|
||
|
||
.nav-container {
|
||
max-width: none;
|
||
width: 100%;
|
||
margin: 0;
|
||
padding: 0 16px 0 var(--app-pad-left, 16px);
|
||
height: 100%;
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 16px;
|
||
}
|
||
|
||
.nav-container > .logo {
|
||
flex-shrink: 0;
|
||
}
|
||
|
||
.nav-container > .nav-links {
|
||
flex: 1;
|
||
justify-content: center;
|
||
min-width: 0;
|
||
}
|
||
|
||
.nav-utils {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: flex-end;
|
||
gap: 8px;
|
||
margin-left: auto;
|
||
flex-shrink: 0;
|
||
}
|
||
|
||
.nav-utils .nav-lang-btn,
|
||
.nav-utils .nav-cta,
|
||
.nav-utils .nav-notify {
|
||
flex-shrink: 0;
|
||
}
|
||
|
||
.nav-utils .nav-cta {
|
||
width: 36px;
|
||
height: 36px;
|
||
font-size: 1.05rem;
|
||
}
|
||
|
||
.nav-notify-guest {
|
||
opacity: 0.85;
|
||
}
|
||
|
||
.logo {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 10px;
|
||
font-family: var(--font-display);
|
||
font-weight: 800;
|
||
font-size: 1.35rem;
|
||
letter-spacing: -0.02em;
|
||
}
|
||
|
||
.logo span {
|
||
background: linear-gradient(135deg, #FF6B6B, #FFE66D, #4ECDC4);
|
||
-webkit-background-clip: text;
|
||
-webkit-text-fill-color: transparent;
|
||
background-clip: text;
|
||
}
|
||
|
||
.logo-icon {
|
||
width: 36px;
|
||
height: 36px;
|
||
animation: logoSpin 20s linear infinite;
|
||
flex-shrink: 0;
|
||
}
|
||
|
||
@keyframes logoSpin {
|
||
from { transform: rotate(0deg); }
|
||
to { transform: rotate(360deg); }
|
||
}
|
||
|
||
.nav-links {
|
||
display: flex;
|
||
gap: 8px;
|
||
}
|
||
|
||
.nav-links a {
|
||
padding: 8px 16px;
|
||
border-radius: var(--radius-sm);
|
||
font-size: 0.9rem;
|
||
font-weight: 500;
|
||
color: var(--text-secondary);
|
||
transition: all var(--transition);
|
||
}
|
||
|
||
.nav-links a:hover {
|
||
color: var(--text-primary);
|
||
background: var(--bg-glass);
|
||
}
|
||
|
||
.nav-cta {
|
||
width: 44px;
|
||
height: 44px;
|
||
border-radius: 50%;
|
||
border: var(--border-glass);
|
||
background: var(--bg-glass);
|
||
cursor: pointer;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
font-size: 1.2rem;
|
||
transition: all var(--transition);
|
||
backdrop-filter: blur(10px);
|
||
}
|
||
|
||
.nav-cta:hover {
|
||
transform: scale(1.1);
|
||
box-shadow: var(--shadow-glow);
|
||
}
|
||
|
||
.mobile-menu-btn {
|
||
display: none;
|
||
flex-direction: column;
|
||
gap: 5px;
|
||
background: none;
|
||
border: none;
|
||
cursor: pointer;
|
||
padding: 8px;
|
||
}
|
||
|
||
.mobile-menu-btn span {
|
||
display: block;
|
||
width: 24px;
|
||
height: 2px;
|
||
background: var(--text-primary);
|
||
border-radius: 2px;
|
||
transition: all 0.3s ease;
|
||
transform-origin: center;
|
||
}
|
||
|
||
.mobile-menu-btn.open span:nth-child(1) {
|
||
transform: translateY(7px) rotate(45deg);
|
||
}
|
||
|
||
.mobile-menu-btn.open span:nth-child(2) {
|
||
opacity: 0;
|
||
transform: scaleX(0);
|
||
}
|
||
|
||
.mobile-menu-btn.open span:nth-child(3) {
|
||
transform: translateY(-7px) rotate(-45deg);
|
||
}
|
||
|
||
/* ===== Hero ===== */
|
||
|
||
|
||
.nav-notify {
|
||
flex-shrink: 0;
|
||
}
|
||
|
||
.nav-lang-btn {
|
||
min-width: 44px;
|
||
min-height: 36px;
|
||
padding: 6px 12px;
|
||
border-radius: 10px;
|
||
border: var(--border-glass);
|
||
background: rgba(17, 24, 39, 0.8);
|
||
color: var(--text-primary);
|
||
font-size: 0.8rem;
|
||
font-weight: 600;
|
||
cursor: pointer;
|
||
transition: border-color 0.2s, background 0.2s;
|
||
}
|
||
|
||
.nav-lang-btn:hover {
|
||
border-color: var(--accent-2);
|
||
}
|
||
|
||
.nav-notify-badge {
|
||
position: absolute;
|
||
top: -4px;
|
||
right: -4px;
|
||
font-size: 0.65rem;
|
||
font-style: normal;
|
||
background: var(--accent-1);
|
||
color: #fff;
|
||
border-radius: 999px;
|
||
padding: 1px 5px;
|
||
}
|
||
|
||
.nav-notify { position: relative; }
|
||
|
||
/* Next globals: hamburger only on ≤1024 — keep ≤768 for drop panel */
|
||
@media (max-width: 1024px) {
|
||
.mobile-menu-btn {
|
||
display: flex !important;
|
||
}
|
||
}
|
||
|
||
@media (max-width: 768px) {
|
||
.nav-links {
|
||
display: none;
|
||
flex-direction: column;
|
||
position: absolute;
|
||
top: var(--nav-height, 72px);
|
||
left: 0;
|
||
right: 0;
|
||
z-index: 1100;
|
||
background: var(--bg-secondary, #111827);
|
||
padding: 16px 20px 20px;
|
||
border-bottom: var(--border-glass);
|
||
opacity: 0;
|
||
transform: translateY(-8px);
|
||
pointer-events: none;
|
||
transition: all 0.3s ease;
|
||
gap: 4px;
|
||
}
|
||
.nav-links.open {
|
||
display: flex !important;
|
||
opacity: 1;
|
||
transform: translateY(0);
|
||
pointer-events: auto;
|
||
}
|
||
.nav-mobile-link {
|
||
display: flex;
|
||
align-items: center;
|
||
min-height: 44px;
|
||
padding: 0 12px;
|
||
border-radius: 10px;
|
||
font-size: 0.95rem;
|
||
font-weight: 600;
|
||
color: var(--text-primary, #f1f5f9);
|
||
cursor: pointer;
|
||
}
|
||
.nav-mobile-link:active,
|
||
.nav-mobile-link:hover {
|
||
background: rgba(78, 205, 196, 0.12);
|
||
color: var(--accent-3, #4ecdc4);
|
||
}
|
||
}
|
||
|
||
@media (min-width: 769px) {
|
||
.nav-links {
|
||
display: none !important;
|
||
}
|
||
}
|
||
|
||
/* ===== weapp-hero.css ===== */
|
||
/* ===== weapp-hero.css — 对齐微信 book/community 封面 Hero ===== */
|
||
.page-shell,
|
||
.xhs-hero-page {
|
||
--bg-primary: #0a0e17;
|
||
--bg-secondary: #111827;
|
||
--text-primary: #f1f5f9;
|
||
--text-secondary: #94a3b8;
|
||
--accent-1: #ff6b6b;
|
||
--accent-2: #ffe66d;
|
||
--accent-3: #4ecdc4;
|
||
--gradient-text: linear-gradient(135deg, #ff6b6b 0%, #ffe66d 50%, #4ecdc4 100%);
|
||
--nav-height: 44px;
|
||
--font-display: -apple-system, BlinkMacSystemFont, "PingFang SC", "Noto Sans SC", sans-serif;
|
||
/* 与首页 hub 同色调:顶区透出红/青光晕,而非死黑条 */
|
||
background:
|
||
radial-gradient(ellipse 90% 55% at 85% -5%, rgba(255, 107, 107, 0.22), transparent 55%),
|
||
radial-gradient(ellipse 80% 50% at 5% 75%, rgba(78, 205, 196, 0.16), transparent 50%),
|
||
radial-gradient(ellipse 60% 40% at 50% 40%, rgba(255, 230, 109, 0.06), transparent 55%),
|
||
#0a0e17;
|
||
color: var(--text-primary);
|
||
min-height: 100vh;
|
||
font-family: var(--font-display);
|
||
}
|
||
|
||
.xhs-hero-page {
|
||
position: relative;
|
||
overflow-x: hidden;
|
||
overflow-y: auto;
|
||
/* 底栏固定 CTA 占位,防止视觉区被盖住 */
|
||
padding-bottom: calc(140px + env(safe-area-inset-bottom, 0px));
|
||
/* 顶栏:硬编码 88+44,避免嵌套 var 失效 */
|
||
padding-top: 132px !important;
|
||
padding-top: calc(44px + var(--app-pad-top, 88px)) !important;
|
||
box-sizing: border-box;
|
||
}
|
||
|
||
.xhs-hero-page .navbar,
|
||
.book-flow .navbar,
|
||
.community-flow .navbar {
|
||
--nav-height: 44px;
|
||
top: 88px !important;
|
||
top: var(--app-pad-top, 88px) !important;
|
||
height: 44px !important;
|
||
min-height: 44px !important;
|
||
padding-top: 0 !important;
|
||
box-sizing: border-box;
|
||
/* 与首页 hub 一致:顶栏透明,透出页面 mesh 色调 */
|
||
background: transparent;
|
||
backdrop-filter: none;
|
||
-webkit-backdrop-filter: none;
|
||
border-bottom: none;
|
||
}
|
||
.xhs-hero-page .navbar.scrolled,
|
||
.book-flow .navbar.scrolled,
|
||
.community-flow .navbar.scrolled {
|
||
background: rgba(10, 14, 23, 0.72);
|
||
backdrop-filter: blur(16px);
|
||
-webkit-backdrop-filter: blur(16px);
|
||
border-bottom: 1px solid rgba(255, 255, 255, 0.06);
|
||
}
|
||
.xhs-hero-page .navbar .nav-container,
|
||
.book-flow .navbar .nav-container,
|
||
.community-flow .navbar .nav-container {
|
||
height: 44px;
|
||
padding-left: 12px;
|
||
padding-right: 12px;
|
||
box-sizing: border-box;
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 8px;
|
||
}
|
||
.xhs-home-back {
|
||
flex-shrink: 0;
|
||
width: 40px;
|
||
height: 40px;
|
||
margin: 0;
|
||
padding: 0;
|
||
border: 0;
|
||
border-radius: 12px;
|
||
background: rgba(255, 255, 255, 0.08);
|
||
color: #f1f5f9;
|
||
font-size: 1.25rem;
|
||
line-height: 40px;
|
||
text-align: center;
|
||
cursor: pointer;
|
||
-webkit-tap-highlight-color: transparent;
|
||
}
|
||
.vip-header {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 8px;
|
||
}
|
||
.xhs-hero-page .navbar .logo,
|
||
.book-flow .navbar .logo,
|
||
.community-flow .navbar .logo {
|
||
cursor: pointer;
|
||
-webkit-tap-highlight-color: transparent;
|
||
display: inline-flex;
|
||
align-items: center;
|
||
gap: 8px;
|
||
}
|
||
.logo-home-hint {
|
||
margin-left: 2px;
|
||
padding: 2px 8px;
|
||
border-radius: 999px;
|
||
font-size: 0.72rem;
|
||
font-weight: 600;
|
||
letter-spacing: 0.02em;
|
||
color: rgba(241, 245, 249, 0.72);
|
||
background: rgba(255, 255, 255, 0.08);
|
||
border: 1px solid rgba(255, 255, 255, 0.1);
|
||
}
|
||
.brand-mark .logo-home-hint {
|
||
margin-left: 6px;
|
||
flex-shrink: 0;
|
||
}
|
||
.vip-logo .logo-home-hint {
|
||
margin-left: 8px;
|
||
}
|
||
.xhs-hero-page .logo-icon,
|
||
.book-flow .logo-icon,
|
||
.community-flow .logo-icon {
|
||
width: 34px;
|
||
height: 34px;
|
||
display: block;
|
||
animation: xhsLogoSpin 20s linear infinite;
|
||
}
|
||
@keyframes xhsLogoSpin {
|
||
from { transform: rotate(0deg); }
|
||
to { transform: rotate(360deg); }
|
||
}
|
||
|
||
.xhs-mini-nav {
|
||
position: sticky;
|
||
top: 0;
|
||
z-index: 50;
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 10px;
|
||
padding: calc(8px + var(--app-pad-top, 88px)) 14px 10px var(--app-pad-left, 16px);
|
||
background: rgba(10, 14, 23, 0.88);
|
||
backdrop-filter: blur(16px);
|
||
border-bottom: 1px solid rgba(255, 255, 255, 0.06);
|
||
box-sizing: border-box;
|
||
}
|
||
|
||
.xhs-hero {
|
||
position: relative;
|
||
/* 可视区减去顶栏与固定 CTA,内容居中且不压按钮 */
|
||
min-height: calc(100vh - var(--nav-height, 44px) - var(--app-pad-top, 0px) - 140px);
|
||
display: flex;
|
||
flex-direction: column;
|
||
justify-content: center;
|
||
padding: 12px 16px 24px;
|
||
box-sizing: border-box;
|
||
}
|
||
.xhs-hero-shapes {
|
||
position: absolute;
|
||
/* 铺满整页含顶栏区,色块能透到透明 navbar 后面 */
|
||
top: calc(-1 * (44px + var(--app-pad-top, 88px)));
|
||
left: 0;
|
||
right: 0;
|
||
bottom: 0;
|
||
pointer-events: none;
|
||
overflow: hidden;
|
||
}
|
||
.xhs-hero-shapes .shape {
|
||
position: absolute;
|
||
border-radius: 50%;
|
||
filter: blur(80px);
|
||
-webkit-filter: blur(80px);
|
||
opacity: 0.4;
|
||
animation: xhsFloatShape 8s ease-in-out infinite;
|
||
}
|
||
.xhs-hero-shapes .shape-1 {
|
||
width: 220px;
|
||
height: 220px;
|
||
background: #ff6b6b;
|
||
top: -40px;
|
||
right: -40px;
|
||
}
|
||
.xhs-hero-shapes .shape-2 {
|
||
width: 180px;
|
||
height: 180px;
|
||
background: #4ecdc4;
|
||
bottom: 40px;
|
||
left: -50px;
|
||
animation-delay: -2.5s;
|
||
}
|
||
.xhs-hero-shapes .shape-3 {
|
||
width: 140px;
|
||
height: 140px;
|
||
background: #ffe66d;
|
||
top: 40%;
|
||
right: 10%;
|
||
opacity: 0.25;
|
||
animation-delay: -4s;
|
||
}
|
||
@keyframes xhsFloatShape {
|
||
0%, 100% { transform: translate(0, 0) scale(1); }
|
||
50% { transform: translate(12px, -18px) scale(1.06); }
|
||
}
|
||
|
||
.xhs-hero-inner {
|
||
position: relative;
|
||
z-index: 1;
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: center;
|
||
gap: 10px;
|
||
text-align: center;
|
||
width: 100%;
|
||
max-width: 520px;
|
||
margin: 0 auto;
|
||
animation: xhsFadeUp 0.55s ease both;
|
||
}
|
||
@keyframes xhsFadeUp {
|
||
from { opacity: 0; transform: translateY(14px); }
|
||
to { opacity: 1; transform: translateY(0); }
|
||
}
|
||
|
||
.xhs-hero-title {
|
||
font-size: clamp(2rem, 9vw, 2.85rem);
|
||
font-weight: 800;
|
||
line-height: 1.15;
|
||
letter-spacing: -0.03em;
|
||
margin: 0;
|
||
}
|
||
.xhs-hero-title .line {
|
||
display: block;
|
||
}
|
||
.xhs-hero-title .line-brand {
|
||
font-size: clamp(2.2rem, 9.5vw, 3.2rem);
|
||
margin-bottom: 4px;
|
||
}
|
||
.xhs-hero-title .line-tag {
|
||
font-size: clamp(1rem, 4vw, 1.35rem);
|
||
font-weight: 700;
|
||
letter-spacing: 0.01em;
|
||
line-height: 1.35;
|
||
}
|
||
.xhs-gradient-text {
|
||
background: var(--gradient-text);
|
||
background-size: 200% 200%;
|
||
-webkit-background-clip: text;
|
||
background-clip: text;
|
||
-webkit-text-fill-color: transparent;
|
||
color: transparent;
|
||
animation: xhsGradShift 4s ease-in-out infinite;
|
||
}
|
||
@keyframes xhsGradShift {
|
||
0%, 100% { background-position: 0% 50%; }
|
||
50% { background-position: 100% 50%; }
|
||
}
|
||
.xhs-hero-spark {
|
||
font-size: 1.15rem;
|
||
letter-spacing: 0.08em;
|
||
line-height: 1;
|
||
animation: xhsFadeUp 0.55s ease 0.1s both;
|
||
}
|
||
.xhs-typewriter {
|
||
min-height: 2.6em;
|
||
max-width: 24em;
|
||
width: 100%;
|
||
margin: 0 auto;
|
||
padding: 0 12px;
|
||
font-size: 0.88rem;
|
||
color: var(--text-secondary);
|
||
line-height: 1.55;
|
||
white-space: normal;
|
||
overflow: hidden;
|
||
text-align: center;
|
||
box-sizing: border-box;
|
||
animation: xhsFadeUp 0.55s ease 0.16s both;
|
||
}
|
||
.xhs-typewriter .cursor {
|
||
color: #4ecdc4;
|
||
animation: xhsBlink 1s step-end infinite;
|
||
}
|
||
@keyframes xhsBlink {
|
||
50% { opacity: 0; }
|
||
}
|
||
|
||
.xhs-visual {
|
||
position: relative;
|
||
width: min(68vw, 260px);
|
||
margin: 6px auto 0;
|
||
flex-shrink: 0;
|
||
animation: xhsFadeUp 0.7s ease 0.2s both;
|
||
}
|
||
.xhs-visual svg {
|
||
width: 100%;
|
||
height: auto;
|
||
display: block;
|
||
}
|
||
|
||
/* 微信 weapp 同款:CSS 实心书本 / 社群网(XHS 里 SVG 渐变 fill 常失效变线框) */
|
||
.book-visual-css,
|
||
.social-mesh-css {
|
||
position: relative;
|
||
width: 100%;
|
||
max-width: 240px;
|
||
aspect-ratio: 1;
|
||
margin: 0 auto;
|
||
animation: xhsMeshFloat 7s ease-in-out infinite;
|
||
}
|
||
@keyframes xhsMeshFloat {
|
||
0%, 100% { transform: translateY(0); }
|
||
50% { transform: translateY(-12px); }
|
||
}
|
||
.book-visual-css-glow,
|
||
.social-mesh-css-glow {
|
||
position: absolute;
|
||
top: 8%;
|
||
left: 8%;
|
||
right: 8%;
|
||
bottom: 8%;
|
||
border-radius: 50%;
|
||
background: radial-gradient(
|
||
circle,
|
||
rgba(78, 205, 196, 0.38) 0%,
|
||
rgba(255, 230, 109, 0.14) 42%,
|
||
rgba(255, 107, 107, 0) 72%
|
||
);
|
||
animation: xhsGlowPulse 3.6s ease-in-out infinite;
|
||
}
|
||
@keyframes xhsGlowPulse {
|
||
0%, 100% { opacity: 0.85; transform: scale(1); }
|
||
50% { opacity: 1; transform: scale(1.04); }
|
||
}
|
||
.book-visual-css-body {
|
||
position: absolute;
|
||
left: 18%;
|
||
right: 18%;
|
||
top: 22%;
|
||
bottom: 22%;
|
||
border-radius: 14px;
|
||
background: linear-gradient(145deg, #1e293b, #0f172a);
|
||
border: 2px solid #4ecdc4;
|
||
box-shadow: 0 14px 32px rgba(0, 0, 0, 0.4);
|
||
animation: xhsBookTilt 6.5s ease-in-out infinite;
|
||
}
|
||
@keyframes xhsBookTilt {
|
||
0%, 100% { transform: rotate(-1.5deg); }
|
||
50% { transform: rotate(1.8deg); }
|
||
}
|
||
.book-visual-css-spine {
|
||
position: absolute;
|
||
left: 50%;
|
||
top: 8%;
|
||
bottom: 8%;
|
||
width: 3px;
|
||
margin-left: -1.5px;
|
||
background: linear-gradient(180deg, #ff6b6b, #ffe66d, #4ecdc4);
|
||
border-radius: 2px;
|
||
}
|
||
.book-visual-css-emoji {
|
||
position: absolute;
|
||
left: 0;
|
||
right: 0;
|
||
top: 40%;
|
||
text-align: center;
|
||
font-size: 40px;
|
||
line-height: 1;
|
||
}
|
||
.social-mesh-css-ring {
|
||
position: absolute;
|
||
left: 16%;
|
||
top: 16%;
|
||
right: 16%;
|
||
bottom: 16%;
|
||
border-radius: 50%;
|
||
border: 1.5px dashed rgba(78, 205, 196, 0.4);
|
||
animation: xhsRingSpin 18s linear infinite;
|
||
}
|
||
@keyframes xhsRingSpin {
|
||
to { transform: rotate(360deg); }
|
||
}
|
||
.social-mesh-css-core {
|
||
position: absolute;
|
||
left: 50%;
|
||
top: 50%;
|
||
width: 72px;
|
||
height: 72px;
|
||
margin: -36px 0 0 -36px;
|
||
border-radius: 50%;
|
||
background: rgba(17, 24, 39, 0.95);
|
||
border: 2px solid #4ecdc4;
|
||
box-shadow: 0 0 24px rgba(78, 205, 196, 0.35);
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
font-size: 28px;
|
||
}
|
||
.social-mesh-css-node {
|
||
position: absolute;
|
||
width: 44px;
|
||
height: 44px;
|
||
margin: -22px 0 0 -22px;
|
||
border-radius: 50%;
|
||
background: rgba(17, 24, 39, 0.95);
|
||
border: 2px solid #ff6b6b;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
font-size: 18px;
|
||
animation: xhsChipFloat 4.2s ease-in-out infinite;
|
||
}
|
||
.social-mesh-css-node-1 { left: 28%; top: 22%; border-color: #ff6b6b; }
|
||
.social-mesh-css-node-2 { left: 74%; top: 24%; border-color: #ffe66d; animation-delay: -0.8s; }
|
||
.social-mesh-css-node-3 { left: 82%; top: 58%; border-color: #4ecdc4; animation-delay: -1.6s; }
|
||
.social-mesh-css-node-4 { left: 66%; top: 80%; border-color: #a78bfa; animation-delay: -2.2s; }
|
||
.social-mesh-css-node-5 { left: 22%; top: 70%; border-color: #f472b6; animation-delay: -1.2s; }
|
||
.social-mesh-css-node-6 { left: 18%; top: 42%; border-color: #ffe66d; animation-delay: -2.8s; }
|
||
|
||
.xhs-float-chips {
|
||
position: absolute;
|
||
inset: 0;
|
||
pointer-events: none;
|
||
overflow: visible;
|
||
}
|
||
.xhs-chip {
|
||
position: absolute;
|
||
padding: 6px 12px;
|
||
border-radius: 999px;
|
||
background: rgba(17, 24, 39, 0.92);
|
||
border: 1px solid rgba(255, 255, 255, 0.12);
|
||
font-size: 0.7rem;
|
||
font-weight: 600;
|
||
white-space: nowrap;
|
||
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
|
||
animation: xhsChipFloat 4.2s ease-in-out infinite;
|
||
}
|
||
@keyframes xhsChipFloat {
|
||
0%, 100% { transform: translateY(0); }
|
||
50% { transform: translateY(-8px); }
|
||
}
|
||
.xhs-chip.sc-1 {
|
||
top: 4%;
|
||
right: -6%;
|
||
}
|
||
.xhs-chip.sc-2 {
|
||
top: 48%;
|
||
left: -10%;
|
||
animation-delay: -1.4s;
|
||
}
|
||
.xhs-chip.sc-3 {
|
||
bottom: 6%;
|
||
right: -2%;
|
||
animation-delay: -2.2s;
|
||
}
|
||
/* 窄屏隐藏右侧 chip,避免挤爆 */
|
||
@media (max-width: 420px) {
|
||
.xhs-chip.sc-1 { display: none; }
|
||
.xhs-visual { width: min(62vw, 220px); }
|
||
}
|
||
|
||
.xhs-fixed-cta {
|
||
position: fixed;
|
||
left: 16px;
|
||
right: 16px;
|
||
bottom: calc(28px + env(safe-area-inset-bottom, 0px));
|
||
z-index: 60;
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: stretch;
|
||
gap: 8px;
|
||
pointer-events: none;
|
||
}
|
||
.xhs-fixed-cta > * {
|
||
pointer-events: auto;
|
||
}
|
||
.xhs-btn-primary {
|
||
width: 100%;
|
||
min-height: 52px;
|
||
border: none;
|
||
border-radius: 999px;
|
||
font-size: 1.05rem;
|
||
font-weight: 800;
|
||
color: #0a0e17;
|
||
background: linear-gradient(135deg, #ff6b6b, #ffe66d, #4ecdc4);
|
||
background-size: 200% 200%;
|
||
box-shadow: 0 10px 28px rgba(78, 205, 196, 0.35);
|
||
cursor: pointer;
|
||
-webkit-tap-highlight-color: transparent;
|
||
animation: xhsCtaPulse 2.4s ease-in-out infinite, xhsGradShift 4s ease-in-out infinite;
|
||
}
|
||
@keyframes xhsCtaPulse {
|
||
0%, 100% { box-shadow: 0 10px 28px rgba(78, 205, 196, 0.32); transform: translateY(0); }
|
||
50% { box-shadow: 0 14px 36px rgba(255, 107, 107, 0.28); transform: translateY(-2px); }
|
||
}
|
||
.xhs-btn-primary:active {
|
||
transform: scale(0.98);
|
||
}
|
||
.xhs-cta-hint {
|
||
text-align: center;
|
||
font-size: 0.78rem;
|
||
color: var(--text-secondary);
|
||
margin: 0;
|
||
}
|
||
|
||
/* 覆盖误报的 reduced-motion */
|
||
@media (prefers-reduced-motion: reduce) {
|
||
.xhs-hero-shapes .shape,
|
||
.xhs-visual svg,
|
||
.xhs-chip,
|
||
.xhs-btn-primary,
|
||
.xhs-gradient-text,
|
||
.xhs-typewriter .cursor,
|
||
.logo-icon {
|
||
animation-duration: 0.01ms !important;
|
||
/* 不关掉,仅缩短无效;下面强制恢复 */
|
||
}
|
||
}
|
||
.xhs-hero-shapes .shape {
|
||
animation: xhsFloatShape 8s ease-in-out infinite !important;
|
||
}
|
||
.xhs-visual svg {
|
||
animation: xhsMeshFloat 7s ease-in-out infinite !important;
|
||
}
|
||
.xhs-chip {
|
||
animation: xhsChipFloat 4.2s ease-in-out infinite !important;
|
||
}
|
||
.xhs-btn-primary {
|
||
animation: xhsCtaPulse 2.4s ease-in-out infinite, xhsGradShift 4s ease-in-out infinite !important;
|
||
}
|
||
.xhs-gradient-text {
|
||
animation: xhsGradShift 4s ease-in-out infinite !important;
|
||
}
|
||
.xhs-typewriter .cursor {
|
||
animation: xhsBlink 1s step-end infinite !important;
|
||
}
|
||
|
||
/* SVG 内虚线/光点(社群 mesh / 书本) */
|
||
.xhs-visual path[stroke-dasharray],
|
||
.xhs-visual .mesh-link {
|
||
animation: xhsDash 2.8s linear infinite;
|
||
}
|
||
@keyframes xhsDash {
|
||
to { stroke-dashoffset: -48; }
|
||
}
|
||
|
||
#view-book > .topbar,
|
||
#view-community > .topbar,
|
||
#view-vip > .topbar {
|
||
display: none !important;
|
||
}
|
||
#view-book .sub-page,
|
||
#view-community .sub-page,
|
||
#view-vip .sub-page {
|
||
padding: 0 !important;
|
||
margin: 0 !important;
|
||
}
|
||
|
||
/* 切页锁:吞掉同一手指穿透到新页的 touchend/click */
|
||
html.xhs-input-lock .view,
|
||
html.xhs-input-lock .xhs-fixed-cta,
|
||
html.xhs-input-lock .link-card,
|
||
html.xhs-input-lock .xhs-btn-primary,
|
||
html.xhs-input-lock .sheet-mask,
|
||
html.xhs-input-lock .woa-root {
|
||
pointer-events: none !important;
|
||
}
|
||
|
||
|
||
/* ===== reader-md.css ===== */
|
||
/* ===== reader-md.css — 从 apps/ebook/redmini/tool/styles.css 摘录(已验证可用) ===== */
|
||
.xhs-book-reader,
|
||
.xhs-book-reader .md-body {
|
||
--r-bg: #0c0b12;
|
||
--r-bg2: #15101f;
|
||
--r-text: #f3eefc;
|
||
--r-muted: #b4a9c8;
|
||
--r-accent: #ff7ab6;
|
||
--r-accent2: #a78bfa;
|
||
--r-soft: rgba(255, 255, 255, 0.06);
|
||
--r-border: rgba(255, 255, 255, 0.1);
|
||
--r-paper: rgba(28, 22, 45, 0.92);
|
||
}
|
||
|
||
.xhs-book-reader {
|
||
min-height: 100vh;
|
||
background: var(--r-bg);
|
||
color: var(--r-text);
|
||
padding: 0 0 calc(32px + env(safe-area-inset-bottom, 0px));
|
||
}
|
||
|
||
.xhs-book-reader .reader-chrome {
|
||
padding: 12px 16px 0;
|
||
}
|
||
|
||
.xhs-book-reader .chapter-head {
|
||
padding: 8px 18px 4px;
|
||
}
|
||
|
||
.xhs-book-reader .chapter-head h2 {
|
||
margin: 8px 0 4px;
|
||
font-size: 1.35rem;
|
||
font-weight: 800;
|
||
line-height: 1.3;
|
||
color: var(--r-text);
|
||
}
|
||
|
||
.xhs-book-reader .text-back {
|
||
border: none;
|
||
background: transparent;
|
||
color: var(--r-accent);
|
||
font-size: 0.95rem;
|
||
padding: 8px 0;
|
||
cursor: pointer;
|
||
}
|
||
|
||
.md-wrap {
|
||
padding: 0 18px 24px;
|
||
}
|
||
|
||
.md-body {
|
||
font-size: 16px;
|
||
line-height: 1.7;
|
||
color: var(--r-text);
|
||
word-break: break-word;
|
||
}
|
||
|
||
.md-body h2,
|
||
.md-body h3 {
|
||
margin: 1.2em 0 0.55em;
|
||
line-height: 1.35;
|
||
}
|
||
|
||
.md-body h2 {
|
||
font-size: 1.18em;
|
||
}
|
||
|
||
.md-body h3 {
|
||
font-size: 1.08em;
|
||
color: var(--r-muted);
|
||
}
|
||
|
||
.md-body p {
|
||
margin: 0 0 0.85em;
|
||
}
|
||
|
||
.md-body p.dropcap:first-letter,
|
||
.md-body .dropcap:first-letter {
|
||
float: left;
|
||
font-size: 2.4em;
|
||
line-height: 0.85;
|
||
padding: 0.08em 0.12em 0 0;
|
||
font-weight: 700;
|
||
color: var(--r-accent);
|
||
}
|
||
|
||
.md-quote {
|
||
margin: 10px 0;
|
||
padding: 10px 12px;
|
||
border-radius: 0 12px 12px 0;
|
||
background: var(--r-soft);
|
||
border-left: 3px solid var(--r-accent);
|
||
color: var(--r-muted);
|
||
font-style: italic;
|
||
}
|
||
|
||
.md-list {
|
||
margin: 0 0 0.85em;
|
||
padding-left: 1.1em;
|
||
}
|
||
|
||
.md-list div {
|
||
margin: 0.25em 0;
|
||
}
|
||
|
||
.md-code {
|
||
color: var(--r-accent2);
|
||
background: var(--r-soft);
|
||
padding: 0 4px;
|
||
border-radius: 4px;
|
||
font-size: 0.92em;
|
||
}
|
||
|
||
.md-pre {
|
||
margin: 12px 0;
|
||
padding: 12px;
|
||
border-radius: 10px;
|
||
background: var(--r-soft);
|
||
border: 1px solid var(--r-border);
|
||
overflow-x: auto;
|
||
font-size: 0.88em;
|
||
line-height: 1.5;
|
||
white-space: pre-wrap;
|
||
}
|
||
|
||
.md-hr {
|
||
border: 0;
|
||
border-top: 1px solid var(--r-border);
|
||
margin: 18px 0;
|
||
}
|
||
|
||
.md-table-wrap {
|
||
margin: 12px 0 16px;
|
||
overflow-x: auto;
|
||
-webkit-overflow-scrolling: touch;
|
||
border-radius: 10px;
|
||
border: 1px solid var(--r-border);
|
||
}
|
||
|
||
.md-table {
|
||
width: 100%;
|
||
border-collapse: collapse;
|
||
font-size: 0.92em;
|
||
line-height: 1.45;
|
||
}
|
||
|
||
.md-table th,
|
||
.md-table td {
|
||
padding: 8px 10px;
|
||
text-align: left;
|
||
border-bottom: 1px solid var(--r-border);
|
||
vertical-align: top;
|
||
white-space: nowrap;
|
||
}
|
||
|
||
.md-table th {
|
||
background: var(--r-soft);
|
||
color: var(--r-accent);
|
||
font-weight: 600;
|
||
}
|
||
|
||
.md-table tr:last-child td {
|
||
border-bottom: 0;
|
||
}
|
||
|
||
|
||
/* ===== ebook-book.css ===== */
|
||
/* ===== ebook-book.css — 对齐 apps/ebook/redmini 封面+阅读器(作用域 #view-book) ===== */
|
||
#view-book {
|
||
--r-bg: #0c0b12;
|
||
--r-bg2: #15101f;
|
||
--r-text: #f3eefc;
|
||
--r-muted: #b4a9c8;
|
||
--r-accent: #ff7ab6;
|
||
--r-accent2: #a78bfa;
|
||
--r-soft: rgba(255, 255, 255, 0.06);
|
||
--r-border: rgba(255, 255, 255, 0.1);
|
||
--r-paper: rgba(28, 22, 45, 0.92);
|
||
--r-chrome: rgba(12, 11, 18, 0.94);
|
||
background: var(--r-bg);
|
||
color: var(--r-text);
|
||
min-height: 100vh;
|
||
}
|
||
|
||
#view-book .ebook-home {
|
||
position: relative;
|
||
min-height: 100vh;
|
||
overflow: hidden;
|
||
padding: calc(24px + env(safe-area-inset-top, 0px)) 20px calc(28px + env(safe-area-inset-bottom, 0px));
|
||
box-sizing: border-box;
|
||
}
|
||
#view-book .ebook-home .bg-layer {
|
||
position: absolute;
|
||
inset: 0;
|
||
pointer-events: none;
|
||
overflow: hidden;
|
||
}
|
||
#view-book .ebook-home .orb {
|
||
position: absolute;
|
||
border-radius: 50%;
|
||
filter: blur(60px);
|
||
opacity: 0.45;
|
||
}
|
||
#view-book .ebook-home .orb-a {
|
||
width: 220px;
|
||
height: 220px;
|
||
background: #ff7ab6;
|
||
top: -60px;
|
||
right: -40px;
|
||
}
|
||
#view-book .ebook-home .orb-b {
|
||
width: 180px;
|
||
height: 180px;
|
||
background: #a78bfa;
|
||
bottom: 80px;
|
||
left: -50px;
|
||
}
|
||
#view-book .ebook-stage {
|
||
position: relative;
|
||
z-index: 1;
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: center;
|
||
text-align: center;
|
||
gap: 14px;
|
||
max-width: 420px;
|
||
margin: 0 auto;
|
||
}
|
||
#view-book .ebook-back {
|
||
align-self: flex-start;
|
||
border: none;
|
||
background: rgba(255, 255, 255, 0.06);
|
||
color: var(--r-muted);
|
||
border-radius: 12px;
|
||
width: 40px;
|
||
height: 40px;
|
||
font-size: 1.1rem;
|
||
cursor: pointer;
|
||
}
|
||
#view-book .brand-block .brand {
|
||
margin: 0;
|
||
font-size: 0.78rem;
|
||
letter-spacing: 0.18em;
|
||
color: var(--r-muted);
|
||
text-transform: uppercase;
|
||
}
|
||
#view-book .brand-block .brand-line {
|
||
margin: 4px 0 0;
|
||
font-size: 0.85rem;
|
||
color: var(--r-text);
|
||
opacity: 0.85;
|
||
}
|
||
#view-book .cover-wrap {
|
||
position: relative;
|
||
margin: 10px 0 4px;
|
||
}
|
||
#view-book .cover-glow {
|
||
position: absolute;
|
||
inset: -18%;
|
||
border-radius: 32px;
|
||
filter: blur(28px);
|
||
opacity: 0.55;
|
||
background: radial-gradient(circle, rgba(255, 122, 182, 0.45), transparent 70%);
|
||
}
|
||
#view-book .cover {
|
||
position: relative;
|
||
width: min(58vw, 220px);
|
||
aspect-ratio: 3 / 4;
|
||
border: none;
|
||
border-radius: 18px;
|
||
background: linear-gradient(155deg, #ff7ab6 0%, #a78bfa 42%, #4ecdc4 100%);
|
||
box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: center;
|
||
justify-content: center;
|
||
gap: 10px;
|
||
cursor: pointer;
|
||
color: #fff;
|
||
overflow: hidden;
|
||
}
|
||
#view-book .cover-emoji {
|
||
font-size: 3rem;
|
||
line-height: 1;
|
||
}
|
||
#view-book .cover-title {
|
||
font-size: 1.15rem;
|
||
font-weight: 800;
|
||
padding: 0 12px;
|
||
}
|
||
#view-book .ebook-home .title {
|
||
margin: 6px 0 0;
|
||
font-size: 1.65rem;
|
||
font-weight: 800;
|
||
color: var(--r-text);
|
||
}
|
||
#view-book .ebook-home .tease {
|
||
margin: 0;
|
||
font-size: 0.92rem;
|
||
color: var(--r-muted);
|
||
line-height: 1.5;
|
||
max-width: 18em;
|
||
}
|
||
#view-book .ebook-home .author {
|
||
margin: 0;
|
||
font-size: 0.82rem;
|
||
color: var(--r-muted);
|
||
}
|
||
#view-book .cta-area {
|
||
width: 100%;
|
||
margin-top: 8px;
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 8px;
|
||
}
|
||
#view-book .cta {
|
||
width: 100%;
|
||
min-height: 52px;
|
||
border: none;
|
||
border-radius: 999px;
|
||
font-size: 1.05rem;
|
||
font-weight: 800;
|
||
color: #1a1020;
|
||
background: linear-gradient(135deg, #ff7ab6, #ffe66d, #a78bfa);
|
||
box-shadow: 0 10px 28px rgba(255, 122, 182, 0.35);
|
||
cursor: pointer;
|
||
}
|
||
#view-book .resume-hint {
|
||
margin: 0;
|
||
font-size: 0.78rem;
|
||
color: var(--r-muted);
|
||
}
|
||
|
||
/* reader */
|
||
#view-book .ebook-reader {
|
||
position: relative;
|
||
min-height: 100vh;
|
||
background: var(--r-bg);
|
||
color: var(--r-text);
|
||
padding-top: var(--app-pad-top, 88px);
|
||
box-sizing: border-box;
|
||
}
|
||
#view-book .ebook-topbar {
|
||
position: sticky;
|
||
top: var(--app-pad-top, 88px);
|
||
z-index: 40;
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 8px;
|
||
padding: 8px 12px 10px var(--app-pad-left, 16px);
|
||
background: var(--r-chrome);
|
||
backdrop-filter: blur(14px);
|
||
border-bottom: 1px solid var(--r-border);
|
||
box-sizing: border-box;
|
||
}
|
||
#view-book .ebook-topbar .top-btn {
|
||
width: 40px;
|
||
height: 40px;
|
||
border-radius: 12px;
|
||
border: 1px solid var(--r-border);
|
||
background: var(--r-soft);
|
||
color: var(--r-text);
|
||
font-size: 1rem;
|
||
cursor: pointer;
|
||
}
|
||
#view-book .ebook-topbar .top-center {
|
||
flex: 1;
|
||
min-width: 0;
|
||
text-align: center;
|
||
}
|
||
#view-book .ebook-topbar .top-title {
|
||
margin: 0;
|
||
font-size: 0.92rem;
|
||
font-weight: 700;
|
||
white-space: nowrap;
|
||
overflow: hidden;
|
||
text-overflow: ellipsis;
|
||
}
|
||
#view-book .ebook-topbar .top-sub {
|
||
margin: 2px 0 0;
|
||
font-size: 0.72rem;
|
||
color: var(--r-muted);
|
||
}
|
||
#view-book .paper {
|
||
padding: 16px 18px calc(48px + env(safe-area-inset-bottom, 0px));
|
||
max-width: 720px;
|
||
margin: 0 auto;
|
||
}
|
||
#view-book .hero-card {
|
||
text-align: center;
|
||
padding: 20px 12px 24px;
|
||
margin-bottom: 8px;
|
||
}
|
||
#view-book .hero-emoji {
|
||
display: block;
|
||
font-size: 2.4rem;
|
||
}
|
||
#view-book .hero-title {
|
||
display: block;
|
||
margin-top: 8px;
|
||
font-size: 1.45rem;
|
||
font-weight: 800;
|
||
}
|
||
#view-book .hero-sub {
|
||
display: block;
|
||
margin-top: 6px;
|
||
color: var(--r-muted);
|
||
font-size: 0.9rem;
|
||
}
|
||
#view-book .hero-stats {
|
||
display: grid;
|
||
grid-template-columns: repeat(4, 1fr);
|
||
gap: 8px;
|
||
margin-top: 16px;
|
||
}
|
||
#view-book .hero-stats .stat {
|
||
background: var(--r-soft);
|
||
border: 1px solid var(--r-border);
|
||
border-radius: 12px;
|
||
padding: 10px 4px;
|
||
}
|
||
#view-book .stat-n {
|
||
display: block;
|
||
font-weight: 800;
|
||
font-size: 1rem;
|
||
}
|
||
#view-book .stat-l {
|
||
display: block;
|
||
font-size: 0.7rem;
|
||
color: var(--r-muted);
|
||
margin-top: 2px;
|
||
}
|
||
#view-book .chapter-block {
|
||
margin: 8px 0 28px;
|
||
}
|
||
#view-book .chapter-divider {
|
||
text-align: center;
|
||
color: var(--r-muted);
|
||
margin: 18px 0;
|
||
letter-spacing: 0.4em;
|
||
}
|
||
#view-book .chapter-hero {
|
||
margin-bottom: 12px;
|
||
}
|
||
#view-book .chapter-hero-top {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
}
|
||
#view-book .chapter-hero-emoji {
|
||
font-size: 1.6rem;
|
||
}
|
||
#view-book .chapter-ring {
|
||
font-size: 0.78rem;
|
||
color: var(--r-muted);
|
||
}
|
||
#view-book .chapter-title {
|
||
display: block;
|
||
margin-top: 8px;
|
||
font-size: 1.25rem;
|
||
font-weight: 800;
|
||
}
|
||
#view-book .chapter-meta {
|
||
display: block;
|
||
margin-top: 4px;
|
||
font-size: 0.78rem;
|
||
color: var(--r-muted);
|
||
}
|
||
#view-book .next-peek {
|
||
margin-top: 16px;
|
||
padding: 12px 14px;
|
||
border-radius: 14px;
|
||
border: 1px dashed var(--r-border);
|
||
background: var(--r-soft);
|
||
width: 100%;
|
||
text-align: left;
|
||
color: inherit;
|
||
cursor: pointer;
|
||
}
|
||
#view-book .next-peek-label {
|
||
display: block;
|
||
font-size: 11px;
|
||
letter-spacing: 0.12em;
|
||
color: var(--r-muted);
|
||
}
|
||
#view-book .next-peek-title {
|
||
display: block;
|
||
margin-top: 4px;
|
||
font-size: 15px;
|
||
font-weight: 600;
|
||
}
|
||
#view-book .fin {
|
||
margin: 28px 0 24px;
|
||
padding: 20px 10px 12px;
|
||
text-align: center;
|
||
border-top: 1px dashed var(--r-border);
|
||
}
|
||
#view-book .fin-title {
|
||
display: block;
|
||
margin-top: 6px;
|
||
font-size: 20px;
|
||
font-weight: 700;
|
||
}
|
||
#view-book .fin-desc {
|
||
display: block;
|
||
margin-top: 4px;
|
||
font-size: 13px;
|
||
color: var(--r-muted);
|
||
}
|
||
#view-book .fin-actions {
|
||
margin-top: 14px;
|
||
display: flex;
|
||
gap: 10px;
|
||
justify-content: center;
|
||
flex-wrap: wrap;
|
||
}
|
||
#view-book .fin-btn {
|
||
padding: 10px 18px;
|
||
border-radius: 999px;
|
||
border: none;
|
||
background: linear-gradient(135deg, var(--r-accent), var(--r-accent2));
|
||
color: #fff;
|
||
font-size: 14px;
|
||
font-weight: 600;
|
||
cursor: pointer;
|
||
}
|
||
#view-book .fin-btn.ghost {
|
||
background: var(--r-soft);
|
||
border: 1px solid var(--r-border);
|
||
color: var(--r-text);
|
||
}
|
||
|
||
/* toc drawer */
|
||
#view-book .toc-mask {
|
||
position: fixed;
|
||
inset: 0;
|
||
z-index: 80;
|
||
background: rgba(0, 0, 0, 0.45);
|
||
display: none;
|
||
}
|
||
#view-book .toc-mask.open {
|
||
display: block;
|
||
}
|
||
#view-book .toc-drawer {
|
||
position: absolute;
|
||
top: 0;
|
||
left: 0;
|
||
bottom: 0;
|
||
width: min(86vw, 320px);
|
||
background: var(--r-bg2);
|
||
border-right: 1px solid var(--r-border);
|
||
padding: calc(16px + var(--app-pad-top, 0px)) 14px 20px;
|
||
overflow-y: auto;
|
||
box-sizing: border-box;
|
||
}
|
||
#view-book .toc-drawer .drawer-title {
|
||
margin: 0 0 12px;
|
||
font-size: 1.1rem;
|
||
font-weight: 800;
|
||
}
|
||
#view-book .toc-item {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 10px;
|
||
width: 100%;
|
||
text-align: left;
|
||
padding: 12px 10px;
|
||
margin-bottom: 6px;
|
||
border-radius: 12px;
|
||
border: 1px solid transparent;
|
||
background: transparent;
|
||
color: var(--r-text);
|
||
cursor: pointer;
|
||
}
|
||
#view-book .toc-item.active,
|
||
#view-book .toc-item:active {
|
||
background: var(--r-soft);
|
||
border-color: var(--r-border);
|
||
}
|
||
#view-book .toc-item .n {
|
||
color: var(--r-muted);
|
||
font-size: 0.75rem;
|
||
width: 1.6em;
|
||
}
|
||
#view-book .toc-item .t {
|
||
flex: 1;
|
||
font-size: 0.9rem;
|
||
line-height: 1.35;
|
||
}
|
||
|
||
|
||
/* ===== vip-landing.css ===== */
|
||
/* Ported from apps/nomadvip vip.module.css + globals tokens for Taro H5 */
|
||
|
||
.vip-root {
|
||
--background: #0a0e17;
|
||
--foreground: #f1f5f9;
|
||
--card: rgba(17, 24, 39, 0.7);
|
||
--muted: rgba(255, 255, 255, 0.05);
|
||
--muted-foreground: #94a3b8;
|
||
--border: rgba(255, 255, 255, 0.08);
|
||
--accent: #f59e0b;
|
||
--accent-foreground: #1c1917;
|
||
--hub-accent-3: #4ECDC4;
|
||
--hub-gradient-text: linear-gradient(135deg, #FF6B6B 0%, #FFE66D 50%, #4ECDC4 100%);
|
||
--hub-glow: 0 0 40px rgba(78, 205, 196, 0.15);
|
||
min-height: 100vh;
|
||
background: var(--background);
|
||
color: var(--foreground);
|
||
overflow-x: hidden;
|
||
font-family: "Outfit", "PingFang SC", "Microsoft YaHei", sans-serif;
|
||
padding-top: var(--app-pad-top, 88px);
|
||
box-sizing: border-box;
|
||
}
|
||
|
||
/* ========== Header / logo (VipHeader) ========== */
|
||
.vip-header {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
/* sticky:滚到宿主壳下沿吸顶 */
|
||
top: var(--app-pad-top, 88px);
|
||
padding-top: 0.75rem;
|
||
padding-right: 1rem;
|
||
padding-bottom: 0.75rem;
|
||
padding-left: var(--app-pad-left, 16px);
|
||
width: 100%;
|
||
max-width: none;
|
||
margin: 0;
|
||
position: sticky;
|
||
z-index: 40;
|
||
backdrop-filter: blur(18px);
|
||
background: rgba(10, 14, 23, 0.82);
|
||
border-bottom: 1px solid var(--border);
|
||
box-sizing: border-box;
|
||
}
|
||
|
||
@media (min-width: 641px) {
|
||
.vip-header {
|
||
padding-top: 1rem;
|
||
padding-right: 1.5rem;
|
||
padding-bottom: 1rem;
|
||
}
|
||
}
|
||
|
||
.vip-logo {
|
||
display: inline-flex;
|
||
align-items: center;
|
||
gap: 0.5rem;
|
||
font-size: 1.15rem;
|
||
font-weight: 800;
|
||
color: var(--foreground);
|
||
text-decoration: none;
|
||
letter-spacing: -0.02em;
|
||
cursor: pointer;
|
||
-webkit-tap-highlight-color: transparent;
|
||
}
|
||
|
||
.vip-logo:active {
|
||
opacity: 0.75;
|
||
}
|
||
|
||
.vip-logoMark {
|
||
width: 28px;
|
||
height: 28px;
|
||
flex-shrink: 0;
|
||
}
|
||
|
||
.vip-logoBrand {
|
||
background: var(--hub-gradient-text);
|
||
-webkit-background-clip: text;
|
||
background-clip: text;
|
||
color: transparent;
|
||
}
|
||
|
||
.vip-logoSep {
|
||
color: var(--muted-foreground);
|
||
font-weight: 500;
|
||
margin: 0 0.15rem;
|
||
}
|
||
|
||
.vip-logoVip {
|
||
color: var(--accent);
|
||
font-weight: 700;
|
||
font-size: 0.95rem;
|
||
}
|
||
|
||
/* ========== Sections ========== */
|
||
.vip-section {
|
||
padding: 1.5rem 0;
|
||
}
|
||
|
||
.vip-heroSection {
|
||
padding-top: 2rem;
|
||
padding-bottom: 1rem;
|
||
text-align: center;
|
||
}
|
||
|
||
@media (min-width: 768px) {
|
||
.vip-heroSection {
|
||
padding-top: 3rem;
|
||
padding-bottom: 1.5rem;
|
||
}
|
||
|
||
.vip-heroSection .vip-heroTitle {
|
||
font-size: clamp(2.25rem, 4vw, 3.25rem) !important;
|
||
margin-bottom: 0.75rem;
|
||
}
|
||
|
||
.vip-heroSection .vip-heroLead {
|
||
font-size: 1.25rem;
|
||
max-width: 600px;
|
||
margin-left: auto;
|
||
margin-right: auto;
|
||
}
|
||
}
|
||
|
||
@media (min-width: 1024px) {
|
||
.vip-heroSection {
|
||
padding-top: 4rem;
|
||
padding-bottom: 2rem;
|
||
}
|
||
}
|
||
|
||
/* ========== Landing scene (orbs / mesh / noise) ========== */
|
||
.vip-landingScene {
|
||
position: relative;
|
||
isolation: isolate;
|
||
width: 100%;
|
||
padding-left: 1.5rem;
|
||
padding-right: 1.5rem;
|
||
box-sizing: border-box;
|
||
}
|
||
|
||
@media (max-width: 640px) {
|
||
.vip-landingScene {
|
||
padding-left: 1rem;
|
||
padding-right: 1rem;
|
||
}
|
||
}
|
||
|
||
.vip-landingSceneBg {
|
||
position: absolute;
|
||
z-index: 0;
|
||
left: 0;
|
||
right: 0;
|
||
top: 0;
|
||
height: min(118vh, 1400px);
|
||
overflow: hidden;
|
||
pointer-events: none;
|
||
}
|
||
|
||
.vip-landingSceneInner {
|
||
position: relative;
|
||
z-index: 1;
|
||
max-width: 960px;
|
||
margin: 0 auto;
|
||
}
|
||
|
||
.vip-landingOrb {
|
||
position: absolute;
|
||
border-radius: 50%;
|
||
filter: blur(52px);
|
||
pointer-events: none;
|
||
}
|
||
|
||
.vip-landingOrb:nth-child(1) {
|
||
width: min(42vw, 380px);
|
||
height: min(42vw, 380px);
|
||
top: -4%;
|
||
left: -10%;
|
||
background: radial-gradient(circle, rgba(255, 107, 107, 0.42) 0%, transparent 68%);
|
||
animation: vip-landingOrbA 22s ease-in-out infinite;
|
||
}
|
||
|
||
.vip-landingOrb:nth-child(2) {
|
||
width: min(48vw, 420px);
|
||
height: min(48vw, 420px);
|
||
top: 10%;
|
||
right: -16%;
|
||
background: radial-gradient(circle, rgba(78, 205, 196, 0.32) 0%, transparent 72%);
|
||
animation: vip-landingOrbB 26s ease-in-out infinite;
|
||
}
|
||
|
||
.vip-landingOrb:nth-child(3) {
|
||
width: min(34vw, 300px);
|
||
height: min(34vw, 300px);
|
||
top: 36%;
|
||
left: 14%;
|
||
background: radial-gradient(circle, rgba(255, 230, 109, 0.26) 0%, transparent 72%);
|
||
animation: vip-landingOrbC 19s ease-in-out infinite alternate;
|
||
}
|
||
|
||
@keyframes vip-landingOrbA {
|
||
0%,
|
||
100% {
|
||
transform: translate(0, 0) scale(1);
|
||
}
|
||
50% {
|
||
transform: translate(5%, 5%) scale(1.06);
|
||
}
|
||
}
|
||
|
||
@keyframes vip-landingOrbB {
|
||
0%,
|
||
100% {
|
||
transform: translate(0, 0) scale(1);
|
||
}
|
||
50% {
|
||
transform: translate(-4%, 6%) scale(1.04);
|
||
}
|
||
}
|
||
|
||
@keyframes vip-landingOrbC {
|
||
0% {
|
||
transform: translate(0, 0);
|
||
}
|
||
100% {
|
||
transform: translate(4%, -3%);
|
||
}
|
||
}
|
||
|
||
.vip-landingMesh {
|
||
position: absolute;
|
||
left: -20%;
|
||
width: 140%;
|
||
top: 0;
|
||
height: min(64vh, 580px);
|
||
pointer-events: none;
|
||
perspective: 520px;
|
||
opacity: 0.88;
|
||
}
|
||
|
||
.vip-landingMesh::before {
|
||
content: "";
|
||
display: block;
|
||
width: 100%;
|
||
height: 100%;
|
||
background-image: linear-gradient(rgba(78, 205, 196, 0.16) 1px, transparent 1px),
|
||
linear-gradient(90deg, rgba(255, 107, 107, 0.12) 1px, transparent 1px);
|
||
background-size: 52px 52px;
|
||
transform-origin: 50% 0%;
|
||
transform: rotateX(74deg) translateY(-5%) scale(1.06);
|
||
mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.62) 0%, transparent 92%);
|
||
-webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.62) 0%, transparent 92%);
|
||
animation: vip-landingMeshScroll 28s linear infinite;
|
||
}
|
||
|
||
@keyframes vip-landingMeshScroll {
|
||
from {
|
||
background-position: 0 0, 0 0;
|
||
}
|
||
to {
|
||
background-position: 0 52px, 52px 0;
|
||
}
|
||
}
|
||
|
||
.vip-landingNoise {
|
||
position: absolute;
|
||
inset: 0;
|
||
opacity: 0.08;
|
||
pointer-events: none;
|
||
mix-blend-mode: soft-light;
|
||
background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
|
||
}
|
||
|
||
/* ========== Hero ========== */
|
||
.vip-heroSection3d {
|
||
position: relative;
|
||
}
|
||
|
||
.vip-heroEyebrow {
|
||
display: inline-block;
|
||
font-size: 0.8125rem;
|
||
font-weight: 600;
|
||
color: var(--muted-foreground);
|
||
padding: 0.4rem 0.95rem;
|
||
border-radius: 9999px;
|
||
border: 1px solid rgba(78, 205, 196, 0.28);
|
||
margin-bottom: 1rem;
|
||
background: rgba(255, 255, 255, 0.05);
|
||
backdrop-filter: blur(12px) saturate(1.2);
|
||
box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
|
||
}
|
||
|
||
.vip-heroTitle {
|
||
font-size: clamp(2rem, 6vw, 3.2rem);
|
||
font-weight: 800;
|
||
margin: 0 0 0.5rem;
|
||
letter-spacing: -0.03em;
|
||
line-height: 1.18;
|
||
color: var(--foreground);
|
||
}
|
||
|
||
.vip-heroTitleAccent {
|
||
background: var(--hub-gradient-text);
|
||
-webkit-background-clip: text;
|
||
background-clip: text;
|
||
color: transparent;
|
||
background-size: 200% auto;
|
||
animation: vip-gradientShift 4s ease-in-out infinite;
|
||
}
|
||
|
||
@keyframes vip-gradientShift {
|
||
0%,
|
||
100% {
|
||
background-position: 0% center;
|
||
}
|
||
50% {
|
||
background-position: 100% center;
|
||
}
|
||
}
|
||
|
||
.vip-heroTitleRest {
|
||
color: var(--foreground);
|
||
font-weight: 700;
|
||
display: block;
|
||
}
|
||
|
||
.vip-heroLead {
|
||
display: block;
|
||
font-size: clamp(1rem, 2.8vw, 1.125rem);
|
||
color: var(--muted-foreground);
|
||
max-width: 540px;
|
||
margin: 0 auto;
|
||
line-height: 1.65;
|
||
text-align: center;
|
||
}
|
||
|
||
/* ========== Stats ========== */
|
||
.vip-statsSection {
|
||
padding-top: 2rem;
|
||
padding-bottom: 2rem;
|
||
}
|
||
|
||
@media (min-width: 768px) {
|
||
.vip-statsSection {
|
||
padding-top: 2.5rem;
|
||
padding-bottom: 2.5rem;
|
||
}
|
||
}
|
||
|
||
@media (min-width: 1024px) {
|
||
.vip-statsSection {
|
||
padding-top: 3rem;
|
||
padding-bottom: 3rem;
|
||
}
|
||
}
|
||
|
||
.vip-statsGrid {
|
||
display: grid;
|
||
grid-template-columns: repeat(2, 1fr);
|
||
gap: 1rem;
|
||
}
|
||
|
||
@media (min-width: 640px) {
|
||
.vip-statsGrid {
|
||
grid-template-columns: repeat(4, 1fr);
|
||
}
|
||
}
|
||
|
||
.vip-card {
|
||
background: var(--card);
|
||
border: 1px solid var(--border);
|
||
border-radius: 12px;
|
||
padding: 1rem 1.25rem;
|
||
transition: border-color 0.2s, box-shadow 0.2s, transform 0.35s ease;
|
||
box-sizing: border-box;
|
||
}
|
||
|
||
.vip-landingStatCard {
|
||
position: relative;
|
||
backdrop-filter: blur(18px) saturate(1.15);
|
||
background: rgba(17, 24, 39, 0.7);
|
||
border-color: rgba(255, 255, 255, 0.08);
|
||
text-align: center;
|
||
}
|
||
|
||
.vip-landingStatCard:hover {
|
||
transform: translateY(-4px);
|
||
border-color: rgba(78, 205, 196, 0.35);
|
||
box-shadow: var(--hub-glow), 0 22px 52px rgba(0, 0, 0, 0.48);
|
||
}
|
||
|
||
.vip-bigNumber {
|
||
font-size: 2rem;
|
||
font-weight: 700;
|
||
color: var(--accent);
|
||
line-height: 1.2;
|
||
}
|
||
|
||
@media (min-width: 640px) {
|
||
.vip-bigNumber {
|
||
font-size: 2.5rem;
|
||
}
|
||
}
|
||
|
||
.vip-bigNumberLabel {
|
||
font-size: 0.8rem;
|
||
color: var(--muted-foreground);
|
||
margin-top: 0.25rem;
|
||
}
|
||
|
||
/* ========== Section titles / compare ========== */
|
||
.vip-sectionTitle {
|
||
display: block;
|
||
font-size: 1.25rem;
|
||
font-weight: 600;
|
||
color: var(--foreground);
|
||
margin: 0 0 1rem;
|
||
}
|
||
|
||
.vip-sectionDesc {
|
||
display: block;
|
||
font-size: 0.9rem;
|
||
color: var(--muted-foreground);
|
||
margin: 0 0 1rem;
|
||
line-height: 1.5;
|
||
}
|
||
|
||
.vip-compareWrap {
|
||
overflow: hidden;
|
||
border-radius: 12px;
|
||
border: 1px solid var(--border);
|
||
}
|
||
|
||
.vip-compareTable {
|
||
width: 100%;
|
||
display: flex;
|
||
flex-direction: column;
|
||
font-size: 0.9rem;
|
||
}
|
||
|
||
.vip-compareRow {
|
||
display: flex;
|
||
flex-direction: row;
|
||
align-items: stretch;
|
||
width: 100%;
|
||
box-sizing: border-box;
|
||
}
|
||
|
||
.vip-compareRow--head {
|
||
background: var(--muted);
|
||
}
|
||
|
||
.vip-compareRow--alt {
|
||
background: var(--muted);
|
||
}
|
||
|
||
.vip-compareRow--body {
|
||
border-top: 1px solid var(--border);
|
||
}
|
||
|
||
.vip-compareCell {
|
||
padding: 0.75rem 1rem;
|
||
box-sizing: border-box;
|
||
flex: 1;
|
||
min-width: 0;
|
||
}
|
||
|
||
.vip-compareCell--feature {
|
||
flex: 1.4;
|
||
text-align: left;
|
||
font-weight: 600;
|
||
color: var(--foreground);
|
||
}
|
||
|
||
.vip-compareCell--single {
|
||
text-align: center;
|
||
color: var(--muted-foreground);
|
||
font-weight: 600;
|
||
}
|
||
|
||
.vip-compareCell--member {
|
||
text-align: center;
|
||
color: var(--accent);
|
||
font-weight: 600;
|
||
}
|
||
|
||
.vip-compareCell--bodyFeature {
|
||
flex: 1.4;
|
||
text-align: left;
|
||
color: var(--foreground);
|
||
font-weight: 400;
|
||
}
|
||
|
||
.vip-compareCell--bodySingle {
|
||
text-align: center;
|
||
color: var(--muted-foreground);
|
||
font-weight: 400;
|
||
}
|
||
|
||
.vip-compareCell--bodyMember {
|
||
text-align: center;
|
||
color: var(--accent);
|
||
font-weight: 400;
|
||
}
|
||
|
||
/* ========== FAQ ========== */
|
||
.vip-faqSection {
|
||
padding: 2rem 0 2.5rem;
|
||
}
|
||
|
||
@media (min-width: 768px) {
|
||
.vip-faqSection {
|
||
padding: 2.5rem 0 3rem;
|
||
}
|
||
}
|
||
|
||
.vip-faqInner {
|
||
max-width: 720px;
|
||
margin: 0 auto;
|
||
}
|
||
|
||
.vip-faqEyebrow {
|
||
display: inline-flex;
|
||
align-items: center;
|
||
gap: 0.4rem;
|
||
font-size: 0.75rem;
|
||
font-weight: 600;
|
||
letter-spacing: 0.08em;
|
||
text-transform: uppercase;
|
||
color: var(--accent);
|
||
margin-bottom: 0.5rem;
|
||
}
|
||
|
||
.vip-faqEyebrowDot {
|
||
width: 6px;
|
||
height: 6px;
|
||
border-radius: 50%;
|
||
background: var(--accent);
|
||
box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
|
||
flex-shrink: 0;
|
||
}
|
||
|
||
.vip-faqHeadline {
|
||
display: block;
|
||
font-size: clamp(1.35rem, 3.5vw, 1.75rem);
|
||
font-weight: 700;
|
||
color: var(--foreground);
|
||
margin: 0 0 0.35rem;
|
||
letter-spacing: -0.02em;
|
||
}
|
||
|
||
.vip-faqSub {
|
||
display: block;
|
||
font-size: 0.9rem;
|
||
color: var(--muted-foreground);
|
||
margin: 0 0 1.5rem;
|
||
line-height: 1.55;
|
||
max-width: 36rem;
|
||
}
|
||
|
||
.vip-faqList {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 0.65rem;
|
||
}
|
||
|
||
.vip-faqItem {
|
||
border-radius: 14px;
|
||
border: 1px solid var(--border);
|
||
background: var(--card);
|
||
overflow: hidden;
|
||
transition: border-color 0.2s ease, box-shadow 0.2s ease;
|
||
}
|
||
|
||
.vip-faqItemOpen {
|
||
border-color: rgba(245, 158, 11, 0.45);
|
||
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(245, 158, 11, 0.12);
|
||
}
|
||
|
||
.vip-faqTrigger {
|
||
display: flex;
|
||
width: 100%;
|
||
align-items: center;
|
||
gap: 0.85rem;
|
||
padding: 1rem 1.1rem;
|
||
border: none;
|
||
background: transparent;
|
||
cursor: pointer;
|
||
text-align: left;
|
||
font: inherit;
|
||
color: var(--foreground);
|
||
box-sizing: border-box;
|
||
line-height: 1.4;
|
||
}
|
||
|
||
.vip-faqTrigger::after {
|
||
border: none;
|
||
}
|
||
|
||
.vip-faqIndex {
|
||
flex-shrink: 0;
|
||
width: 1.75rem;
|
||
height: 1.75rem;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
font-size: 0.75rem;
|
||
font-weight: 700;
|
||
color: var(--accent);
|
||
background: rgba(245, 158, 11, 0.12);
|
||
border-radius: 8px;
|
||
}
|
||
|
||
.vip-faqQuestionText {
|
||
flex: 1;
|
||
font-size: 0.95rem;
|
||
font-weight: 600;
|
||
line-height: 1.4;
|
||
padding-right: 0.25rem;
|
||
text-align: left;
|
||
}
|
||
|
||
.vip-faqChevron {
|
||
flex-shrink: 0;
|
||
width: 1.75rem;
|
||
height: 1.75rem;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
border-radius: 8px;
|
||
color: var(--muted-foreground);
|
||
font-size: 0.75rem;
|
||
transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s, background 0.2s;
|
||
}
|
||
|
||
.vip-faqItemOpen .vip-faqChevron {
|
||
transform: rotate(180deg);
|
||
color: var(--accent);
|
||
background: rgba(245, 158, 11, 0.1);
|
||
}
|
||
|
||
.vip-faqPanel {
|
||
max-height: 0;
|
||
overflow: hidden;
|
||
transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
|
||
}
|
||
|
||
.vip-faqPanelOpen {
|
||
max-height: 240px;
|
||
}
|
||
|
||
.vip-faqAnswer {
|
||
display: block;
|
||
padding: 0 1.1rem 1.1rem 3.65rem;
|
||
margin: 0;
|
||
font-size: 0.9rem;
|
||
line-height: 1.65;
|
||
color: var(--muted-foreground);
|
||
}
|
||
|
||
@media (max-width: 480px) {
|
||
.vip-faqAnswer {
|
||
padding-left: 1.1rem;
|
||
}
|
||
}
|
||
|
||
/* ========== CTA ========== */
|
||
.vip-ctaSection {
|
||
padding: 0 0 2.75rem;
|
||
}
|
||
|
||
.vip-ctaInner {
|
||
max-width: 640px;
|
||
margin: 0 auto;
|
||
position: relative;
|
||
}
|
||
|
||
.vip-ctaGlow {
|
||
pointer-events: none;
|
||
position: absolute;
|
||
inset: -20% -10% auto;
|
||
height: 70%;
|
||
background: radial-gradient(ellipse 70% 80% at 50% 0%, rgba(78, 205, 196, 0.22), transparent 65%);
|
||
opacity: 0.55;
|
||
filter: blur(10px);
|
||
}
|
||
|
||
.vip-ctaCard {
|
||
position: relative;
|
||
border-radius: 16px;
|
||
padding: 1.75rem 1.5rem 1.65rem;
|
||
text-align: center;
|
||
background: radial-gradient(90% 70% at 50% -10%, rgba(78, 205, 196, 0.12) 0%, transparent 58%),
|
||
radial-gradient(70% 50% at 90% 20%, rgba(255, 107, 107, 0.08) 0%, transparent 55%),
|
||
linear-gradient(180deg, rgba(17, 24, 39, 0.92) 0%, rgba(10, 14, 23, 0.96) 100%);
|
||
backdrop-filter: blur(18px) saturate(1.25);
|
||
border: 1px solid rgba(78, 205, 196, 0.2);
|
||
box-shadow: var(--hub-glow), 0 24px 60px rgba(0, 0, 0, 0.52),
|
||
0 0 0 1px rgba(255, 255, 255, 0.04) inset;
|
||
box-sizing: border-box;
|
||
}
|
||
|
||
@media (min-width: 640px) {
|
||
.vip-ctaCard {
|
||
padding: 2rem 2.25rem 1.85rem;
|
||
}
|
||
}
|
||
|
||
.vip-ctaPromoLine {
|
||
display: flex;
|
||
flex-wrap: nowrap;
|
||
align-items: center;
|
||
justify-content: center;
|
||
gap: 0.5rem;
|
||
width: 100%;
|
||
min-width: 0;
|
||
margin: 0 0 0.85rem;
|
||
font-size: clamp(0.8125rem, 3.4vw, 1.125rem);
|
||
font-weight: 700;
|
||
letter-spacing: -0.02em;
|
||
line-height: 1.25;
|
||
color: rgba(255, 255, 255, 0.92);
|
||
}
|
||
|
||
.vip-ctaPromoClickable {
|
||
flex-shrink: 0;
|
||
display: inline-flex;
|
||
align-items: center;
|
||
gap: 0.35rem;
|
||
padding: 0.28rem 0.65rem;
|
||
font-size: 0.7em;
|
||
font-weight: 600;
|
||
letter-spacing: 0.06em;
|
||
text-transform: uppercase;
|
||
color: #fbbf24;
|
||
background: rgba(245, 158, 11, 0.16);
|
||
border: 1px solid rgba(251, 191, 36, 0.42);
|
||
border-radius: 9999px;
|
||
box-shadow: 0 0 0 1px rgba(251, 191, 36, 0.1) inset;
|
||
}
|
||
|
||
.vip-ctaBadgePulse {
|
||
width: 6px;
|
||
height: 6px;
|
||
border-radius: 50%;
|
||
background: var(--accent);
|
||
animation: vip-ctaPulse 2s ease-in-out infinite;
|
||
flex-shrink: 0;
|
||
}
|
||
|
||
@keyframes vip-ctaPulse {
|
||
0%,
|
||
100% {
|
||
opacity: 1;
|
||
transform: scale(1);
|
||
}
|
||
50% {
|
||
opacity: 0.65;
|
||
transform: scale(0.92);
|
||
}
|
||
}
|
||
|
||
.vip-ctaPromoDivider {
|
||
flex-shrink: 0;
|
||
color: var(--muted-foreground);
|
||
opacity: 0.55;
|
||
font-weight: 500;
|
||
}
|
||
|
||
.vip-ctaPromoMain {
|
||
display: inline-flex;
|
||
flex-wrap: nowrap;
|
||
align-items: baseline;
|
||
gap: 0.25em;
|
||
min-width: 0;
|
||
white-space: nowrap;
|
||
}
|
||
|
||
.vip-ctaHighlight {
|
||
background: var(--hub-gradient-text);
|
||
-webkit-background-clip: text;
|
||
background-clip: text;
|
||
color: transparent;
|
||
}
|
||
|
||
.vip-ctaPromoSuffix {
|
||
flex-shrink: 0;
|
||
color: var(--foreground);
|
||
font-weight: 700;
|
||
}
|
||
|
||
.vip-ctaChips {
|
||
display: flex;
|
||
flex-wrap: wrap;
|
||
gap: 0.35rem;
|
||
justify-content: center;
|
||
margin-bottom: 0.85rem;
|
||
opacity: 0.92;
|
||
}
|
||
|
||
.vip-ctaChip {
|
||
font-size: clamp(0.5625rem, 2.1vw, 0.6875rem);
|
||
font-weight: 500;
|
||
color: var(--muted-foreground);
|
||
padding: 0.2rem 0.45rem;
|
||
border-radius: 9999px;
|
||
border: 1px solid var(--border);
|
||
background: var(--muted);
|
||
opacity: 0.68;
|
||
}
|
||
|
||
.vip-ctaOffline {
|
||
display: block;
|
||
margin-bottom: 0.75rem;
|
||
font-size: 0.75rem;
|
||
color: var(--muted-foreground);
|
||
}
|
||
|
||
.vip-ctaActions {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 0.75rem;
|
||
align-items: stretch;
|
||
}
|
||
|
||
@media (min-width: 480px) {
|
||
.vip-ctaActions {
|
||
flex-direction: row;
|
||
flex-wrap: wrap;
|
||
justify-content: center;
|
||
align-items: center;
|
||
}
|
||
}
|
||
|
||
.vip-btnPrimary {
|
||
display: inline-flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
padding: 0.75rem 1.75rem;
|
||
font-size: 1rem;
|
||
font-weight: 600;
|
||
color: var(--accent-foreground);
|
||
background: var(--accent);
|
||
border: none;
|
||
border-radius: 12px;
|
||
cursor: pointer;
|
||
text-decoration: none;
|
||
transition: opacity 0.2s, transform 0.15s;
|
||
box-sizing: border-box;
|
||
line-height: 1.4;
|
||
}
|
||
|
||
.vip-btnPrimary::after {
|
||
border: none;
|
||
}
|
||
|
||
.vip-btnLarge {
|
||
padding: 1rem 2.5rem;
|
||
font-size: 1.1rem;
|
||
}
|
||
|
||
.vip-ctaBtnPrimary {
|
||
flex: 1;
|
||
min-width: 0;
|
||
max-width: 280px;
|
||
margin: 0 auto;
|
||
box-shadow: 0 6px 20px rgba(245, 158, 11, 0.35);
|
||
position: relative;
|
||
overflow: hidden;
|
||
}
|
||
|
||
.vip-ctaBtnPrimary[disabled] {
|
||
opacity: 0.45;
|
||
}
|
||
|
||
@media (min-width: 480px) {
|
||
.vip-ctaBtnPrimary {
|
||
margin: 0;
|
||
flex: 0 1 auto;
|
||
}
|
||
}
|
||
|
||
.vip-ctaBtnSecondary {
|
||
flex: 1;
|
||
min-width: 0;
|
||
max-width: 280px;
|
||
margin: 0 auto;
|
||
display: inline-flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
padding: 1rem 1.75rem;
|
||
font-size: 1rem;
|
||
font-weight: 600;
|
||
border-radius: 12px;
|
||
color: var(--foreground);
|
||
background: transparent;
|
||
border: 1px solid var(--border);
|
||
cursor: pointer;
|
||
font-family: inherit;
|
||
box-sizing: border-box;
|
||
line-height: 1.4;
|
||
}
|
||
|
||
.vip-ctaBtnSecondary::after {
|
||
border: none;
|
||
}
|
||
|
||
@media (min-width: 480px) {
|
||
.vip-ctaBtnSecondary {
|
||
margin: 0;
|
||
flex: 0 1 auto;
|
||
}
|
||
}
|
||
|
||
.vip-ctaHint {
|
||
display: block;
|
||
margin-top: 0.85rem;
|
||
font-size: 0.75rem;
|
||
color: var(--muted-foreground);
|
||
text-align: center;
|
||
}
|
||
|
||
/* ========== Topic / ebook showcase (TopicEbookShowcase) ========== */
|
||
.vip-topicsSection .vip-sectionTitle {
|
||
margin-bottom: 1.25rem;
|
||
}
|
||
|
||
@media (min-width: 768px) {
|
||
.vip-topicsSection {
|
||
padding-top: 2.5rem;
|
||
}
|
||
|
||
.vip-topicsSection .vip-sectionTitle {
|
||
font-size: 1.5rem;
|
||
margin-bottom: 1.5rem;
|
||
}
|
||
}
|
||
|
||
.vip-topicGrid {
|
||
display: grid;
|
||
grid-template-columns: repeat(2, 1fr);
|
||
gap: 1rem;
|
||
}
|
||
|
||
@media (min-width: 640px) {
|
||
.vip-topicGrid {
|
||
grid-template-columns: repeat(4, 1fr);
|
||
}
|
||
}
|
||
|
||
.vip-topicCard {
|
||
position: relative;
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: center;
|
||
justify-content: center;
|
||
gap: 0.5rem;
|
||
padding: 1.25rem 1rem;
|
||
background: var(--card);
|
||
border: 1px solid var(--border);
|
||
border-radius: 12px;
|
||
text-decoration: none;
|
||
color: inherit;
|
||
transition: border-color 0.2s, transform 0.2s;
|
||
box-sizing: border-box;
|
||
cursor: pointer;
|
||
}
|
||
|
||
.vip-topicCard:hover {
|
||
border-color: rgba(245, 158, 11, 0.4);
|
||
transform: translateY(-2px);
|
||
}
|
||
|
||
.vip-topicIcon {
|
||
font-size: 2rem;
|
||
line-height: 1;
|
||
}
|
||
|
||
.vip-topicTitle {
|
||
font-size: 1rem;
|
||
font-weight: 600;
|
||
color: var(--foreground);
|
||
text-align: center;
|
||
}
|
||
|
||
.vip-topicDesc {
|
||
font-size: 0.8rem;
|
||
color: var(--muted-foreground);
|
||
text-align: center;
|
||
}
|
||
|
||
.vip-topicLock {
|
||
position: absolute;
|
||
top: 0.75rem;
|
||
right: 0.75rem;
|
||
font-size: 0.85rem;
|
||
opacity: 0.85;
|
||
}
|
||
|
||
.vip-ebookGrid {
|
||
display: grid;
|
||
grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
|
||
gap: 1rem;
|
||
}
|
||
|
||
.vip-ebookCard {
|
||
display: block;
|
||
padding: 1.25rem;
|
||
cursor: pointer;
|
||
text-align: left;
|
||
width: 100%;
|
||
}
|
||
|
||
.vip-ebookCard:hover {
|
||
border-color: rgba(245, 158, 11, 0.3);
|
||
}
|
||
|
||
.vip-ebookEmoji {
|
||
font-size: 1.5rem;
|
||
margin-bottom: 0.5rem;
|
||
display: block;
|
||
}
|
||
|
||
.vip-ebookTitleRow {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 0.5rem;
|
||
flex-wrap: wrap;
|
||
margin-bottom: 0.25rem;
|
||
}
|
||
|
||
.vip-ebookTitle {
|
||
font-weight: 600;
|
||
color: var(--foreground);
|
||
}
|
||
|
||
.vip-ebookLock {
|
||
font-size: 1rem;
|
||
}
|
||
|
||
.vip-ebookDesc {
|
||
font-size: 0.9rem;
|
||
color: var(--muted-foreground);
|
||
display: block;
|
||
}
|
||
|
||
.vip-ebookCta {
|
||
display: block;
|
||
margin-top: 0.75rem;
|
||
font-size: 0.85rem;
|
||
color: var(--muted-foreground);
|
||
}
|
||
|
||
.vip-freeBadge {
|
||
font-size: 0.7rem;
|
||
padding: 0.15rem 0.5rem;
|
||
border-radius: 9999px;
|
||
background: var(--muted);
|
||
color: var(--accent);
|
||
font-weight: 500;
|
||
}
|
||
|
||
|
||
/* ===== woa-modal.css ===== */
|
||
.woa-root {
|
||
position: fixed;
|
||
inset: 0;
|
||
z-index: 1200;
|
||
display: flex;
|
||
align-items: flex-end;
|
||
justify-content: center;
|
||
padding: 1rem;
|
||
padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
|
||
box-sizing: border-box;
|
||
}
|
||
|
||
@media (min-width: 640px) {
|
||
.woa-root {
|
||
align-items: center;
|
||
}
|
||
}
|
||
|
||
.woa-backdrop {
|
||
position: absolute;
|
||
inset: 0;
|
||
background: rgba(10, 14, 23, 0.62);
|
||
backdrop-filter: blur(6px);
|
||
}
|
||
|
||
.woa-card {
|
||
position: relative;
|
||
z-index: 1;
|
||
width: min(100%, 380px);
|
||
padding: 1.5rem 1.35rem 1.25rem;
|
||
border-radius: 18px;
|
||
border: 1px solid rgba(255, 255, 255, 0.1);
|
||
background:
|
||
radial-gradient(90% 70% at 50% -20%, rgba(78, 205, 196, 0.16), transparent 55%),
|
||
radial-gradient(70% 50% at 100% 0%, rgba(255, 107, 107, 0.12), transparent 50%),
|
||
rgba(17, 24, 39, 0.94);
|
||
box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
|
||
box-sizing: border-box;
|
||
}
|
||
|
||
.woa-close {
|
||
position: absolute;
|
||
top: 10px;
|
||
right: 10px;
|
||
width: 36px;
|
||
height: 36px;
|
||
border-radius: 10px;
|
||
border: 1px solid rgba(255, 255, 255, 0.12);
|
||
background: rgba(255, 255, 255, 0.06);
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
color: #94a3b8;
|
||
font-size: 14px;
|
||
}
|
||
|
||
.woa-eyebrow {
|
||
display: block;
|
||
font-size: 0.75rem;
|
||
letter-spacing: 0.12em;
|
||
color: #94a3b8;
|
||
margin-bottom: 0.35rem;
|
||
}
|
||
|
||
.woa-title {
|
||
display: block;
|
||
font-size: 1.35rem;
|
||
font-weight: 700;
|
||
color: #f1f5f9;
|
||
line-height: 1.35;
|
||
}
|
||
|
||
.woa-accent {
|
||
color: #4ecdc4;
|
||
font-weight: 700;
|
||
}
|
||
|
||
.woa-lead {
|
||
display: block;
|
||
margin-top: 0.5rem;
|
||
font-size: 0.9rem;
|
||
color: #94a3b8;
|
||
line-height: 1.5;
|
||
}
|
||
|
||
.woa-qr-wrap {
|
||
margin: 1.1rem auto 0.85rem;
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: center;
|
||
gap: 0.5rem;
|
||
}
|
||
|
||
.woa-qr {
|
||
width: 180px;
|
||
height: 180px;
|
||
border-radius: 12px;
|
||
background: #fff;
|
||
}
|
||
|
||
.woa-qr-hint {
|
||
font-size: 0.78rem;
|
||
color: #94a3b8;
|
||
}
|
||
|
||
.woa-later {
|
||
display: block;
|
||
width: 100%;
|
||
text-align: center;
|
||
padding: 0.65rem;
|
||
font-size: 0.85rem;
|
||
color: #94a3b8;
|
||
border: none;
|
||
background: transparent;
|
||
cursor: pointer;
|
||
}
|
||
.woa-close {
|
||
cursor: pointer;
|
||
}
|
||
|
||
|
||
/* ===== vip-offline.css ===== */
|
||
/* VIP 离线页 — 对齐微信 /vip 琥珀强调 */
|
||
.hub-portal-grid {
|
||
grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
|
||
max-width: 100% !important;
|
||
position: relative;
|
||
z-index: 20 !important;
|
||
pointer-events: auto !important;
|
||
}
|
||
|
||
.hub-portal-card,
|
||
div.hub-portal-card,
|
||
button.hub-portal-card {
|
||
pointer-events: auto !important;
|
||
position: relative;
|
||
z-index: 21 !important;
|
||
cursor: pointer;
|
||
-webkit-user-select: none;
|
||
user-select: none;
|
||
-webkit-tap-highlight-color: rgba(78, 205, 196, 0.25);
|
||
}
|
||
|
||
/* 地球/装饰层绝不挡点击 */
|
||
.hub-hero-visual,
|
||
.hub-globe-container,
|
||
.hub-globe-svg,
|
||
.hub-floating-cards,
|
||
.hub-hero-bg-shapes,
|
||
.hub-particle-canvas {
|
||
pointer-events: none !important;
|
||
}
|
||
|
||
.hub-loader,
|
||
#hub-loader {
|
||
z-index: 9999;
|
||
}
|
||
.hub-loader.hidden,
|
||
#hub-loader.hidden {
|
||
display: none !important;
|
||
pointer-events: none !important;
|
||
}
|
||
|
||
.view {
|
||
pointer-events: auto;
|
||
}
|
||
.view:not(.is-active) {
|
||
display: none !important;
|
||
pointer-events: none !important;
|
||
}
|
||
|
||
.view-vip {
|
||
min-height: 100vh;
|
||
background: #0c0c0f;
|
||
color: #f1f5f9;
|
||
}
|
||
.vip-offline {
|
||
padding: 16px 16px calc(32px + env(safe-area-inset-bottom, 0px));
|
||
}
|
||
.vip-offline-hero {
|
||
margin: 12px 0 20px;
|
||
}
|
||
.vip-offline-eyebrow {
|
||
color: #f59e0b;
|
||
font-size: 13px;
|
||
font-weight: 700;
|
||
letter-spacing: 0.04em;
|
||
margin: 0 0 8px;
|
||
}
|
||
.vip-offline-title {
|
||
font-size: 28px;
|
||
font-weight: 800;
|
||
line-height: 1.2;
|
||
margin: 0 0 8px;
|
||
}
|
||
.vip-offline-title span {
|
||
color: #f59e0b;
|
||
}
|
||
.vip-offline-lead {
|
||
color: #94a3b8;
|
||
font-size: 14px;
|
||
line-height: 1.55;
|
||
margin: 0;
|
||
}
|
||
.vip-offline-stats {
|
||
display: grid;
|
||
grid-template-columns: repeat(4, 1fr);
|
||
gap: 8px;
|
||
margin: 18px 0;
|
||
}
|
||
.vip-offline-stat {
|
||
background: rgba(245, 158, 11, 0.08);
|
||
border: 1px solid rgba(245, 158, 11, 0.22);
|
||
border-radius: 12px;
|
||
padding: 10px 6px;
|
||
text-align: center;
|
||
}
|
||
.vip-offline-stat strong {
|
||
display: block;
|
||
font-size: 16px;
|
||
color: #fbbf24;
|
||
}
|
||
.vip-offline-stat em {
|
||
display: block;
|
||
font-style: normal;
|
||
font-size: 11px;
|
||
color: #94a3b8;
|
||
margin-top: 4px;
|
||
}
|
||
.vip-offline-grid {
|
||
display: grid;
|
||
gap: 10px;
|
||
margin: 12px 0 20px;
|
||
}
|
||
.vip-offline-card {
|
||
display: flex;
|
||
gap: 12px;
|
||
align-items: flex-start;
|
||
padding: 14px;
|
||
border-radius: 14px;
|
||
background: rgba(17, 24, 39, 0.9);
|
||
border: 1px solid rgba(255, 255, 255, 0.08);
|
||
text-align: left;
|
||
}
|
||
.vip-offline-card .ico {
|
||
font-size: 22px;
|
||
line-height: 1;
|
||
}
|
||
.vip-offline-card strong {
|
||
display: block;
|
||
font-size: 15px;
|
||
margin-bottom: 4px;
|
||
}
|
||
.vip-offline-card em {
|
||
display: block;
|
||
font-style: normal;
|
||
font-size: 12px;
|
||
color: #94a3b8;
|
||
line-height: 1.4;
|
||
}
|
||
.vip-offline-cta {
|
||
width: 100%;
|
||
min-height: 48px;
|
||
border-radius: 999px;
|
||
font-weight: 800;
|
||
font-size: 16px;
|
||
color: #0c0c0f;
|
||
background: linear-gradient(135deg, #f59e0b, #fbbf24, #fcd34d);
|
||
box-shadow: 0 8px 24px rgba(245, 158, 11, 0.35);
|
||
}
|
||
.vip-offline-hint {
|
||
text-align: center;
|
||
color: #64748b;
|
||
font-size: 12px;
|
||
margin-top: 10px;
|
||
}
|
||
|