nomadro/apps/miniprogram/xhs/release/book/styles.css
eric 9f8fec1723 Ship portal PC/H5 acceptance, VIP ScrollReader, admin analytics and ops anchors.
Adds /api/health, ntfy notify on config save, /admin/analytics charts, and deploy smoke for miniprogram config/API.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-28 23:52:00 -05:00

1436 lines
26 KiB
CSS
Raw Blame History

This file contains ambiguous Unicode characters

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

:root {
--safe-top: 0px;
--safe-bottom: 0px;
--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);
}
*,
*::before,
*::after {
box-sizing: border-box;
margin: 0;
padding: 0;
}
html,
body {
height: 100%;
min-height: 100%;
min-height: 100vh;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
"Hiragino Sans GB", "Microsoft YaHei", sans-serif;
background: #0a0910;
color: #f3eefc;
-webkit-font-smoothing: antialiased;
-webkit-tap-highlight-color: transparent;
}
button,
input {
font: inherit;
color: inherit;
}
button {
border: 0;
background: none;
cursor: pointer;
}
.is-hidden {
display: none !important;
}
.file-hidden {
position: absolute;
width: 1px;
height: 1px;
opacity: 0;
overflow: hidden;
z-index: -1;
}
.view {
min-height: 100%;
min-height: 100vh;
}
/* —— Home —— */
.home {
position: relative;
background:
radial-gradient(820px 460px at 12% -8%, rgba(167, 139, 250, 0.3), transparent 58%),
radial-gradient(720px 420px at 100% 0%, rgba(244, 114, 182, 0.24), transparent 52%),
linear-gradient(168deg, #0a0910 0%, #14101c 46%, #0e0c14 100%);
}
.home.loading {
display: -webkit-flex;
display: flex;
-webkit-flex-direction: column;
flex-direction: column;
-webkit-align-items: center;
align-items: center;
-webkit-justify-content: center;
justify-content: center;
padding: 48px;
}
.loading-text {
position: relative;
z-index: 2;
font-size: 18px;
color: #e8dff8;
}
.bg-layer {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
overflow: hidden;
pointer-events: none;
}
.orb {
position: absolute;
border-radius: 50%;
opacity: 0.7;
-webkit-animation: aurora 10s ease-in-out infinite;
animation: aurora 10s ease-in-out infinite;
}
.orb-a {
width: 280px;
height: 280px;
left: -90px;
top: 40px;
background: radial-gradient(circle, rgba(167, 139, 250, 0.5), transparent 70%);
}
.orb-b {
width: 320px;
height: 320px;
right: -110px;
top: 220px;
background: radial-gradient(circle, rgba(244, 114, 182, 0.42), transparent 70%);
-webkit-animation-delay: 1.4s;
animation-delay: 1.4s;
}
.veil {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
background: linear-gradient(180deg, transparent 55%, rgba(10, 9, 16, 0.72) 100%);
}
.stage {
position: relative;
z-index: 1;
min-height: 100%;
min-height: 100vh;
padding: 28px;
padding-top: 80px;
padding-top: calc(var(--app-pad-top, 80px) + 12px);
padding-bottom: 40px;
padding-bottom: calc(40px + var(--safe-area-inset-bottom, env(safe-area-inset-bottom, 0px)));
display: -webkit-flex;
display: flex;
-webkit-flex-direction: column;
flex-direction: column;
-webkit-align-items: center;
align-items: center;
}
.brand-block {
text-align: center;
margin-bottom: 28px;
}
.brand {
font-size: 28px;
font-weight: 700;
letter-spacing: 0.18em;
color: #e9d5ff;
}
.brand-line {
margin-top: 8px;
font-size: 13px;
color: #9f93b8;
letter-spacing: 0.06em;
}
.cover-wrap {
position: relative;
width: 58%;
max-width: 220px;
margin: 8px 0 28px;
}
.cover-glow {
position: absolute;
top: -18%;
right: -18%;
bottom: -18%;
left: -18%;
border-radius: 50%;
-webkit-filter: blur(28px);
filter: blur(28px);
opacity: 0.85;
background: rgba(219, 39, 119, 0.45);
}
/* Chrome 61: padding-box ratio instead of aspect-ratio */
.cover {
position: relative;
display: block;
width: 100%;
height: 0;
padding-top: 133.33%;
border-radius: 18px;
overflow: hidden;
box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
background: linear-gradient(155deg, #1a0b2e 0%, #6d28d9 42%, #db2777 100%);
}
.cover-shine,
.cover-emoji,
.cover-title {
position: absolute;
left: 0;
right: 0;
}
.cover-shine {
top: 0;
bottom: 0;
background: linear-gradient(125deg, rgba(255, 255, 255, 0.22) 0%, transparent 42%);
pointer-events: none;
}
.cover-emoji {
top: 36%;
font-size: 52px;
line-height: 1;
text-align: center;
}
.cover-title {
bottom: 20px;
padding: 0 16px;
font-size: 15px;
font-weight: 600;
text-align: center;
line-height: 1.35;
color: #fce7f3;
}
.copy {
text-align: center;
max-width: 320px;
}
.copy .title {
margin-bottom: 10px;
font-size: 22px;
font-weight: 700;
line-height: 1.35;
color: #f8f4ff;
}
.tease {
font-size: 14px;
line-height: 1.6;
color: #b4a9c8;
}
.author {
margin-top: 10px;
font-size: 12px;
color: #8b7fa8;
}
.cta-area {
margin-top: auto;
width: 100%;
max-width: 320px;
padding-top: 36px;
display: -webkit-flex;
display: flex;
-webkit-flex-direction: column;
flex-direction: column;
-webkit-align-items: center;
align-items: center;
}
.cta {
width: 100%;
height: 52px;
margin-bottom: 12px;
border-radius: 999px;
font-size: 16px;
font-weight: 600;
color: #1a0b2e;
background: linear-gradient(120deg, #fce7f3, #e9d5ff 40%, #c4b5fd);
box-shadow: 0 12px 32px rgba(167, 139, 250, 0.35);
}
.resume-hint {
font-size: 12px;
color: #8b7fa8;
}
.home-xhs {
display: -webkit-flex;
display: flex;
-webkit-justify-content: center;
justify-content: center;
-webkit-flex-wrap: wrap;
flex-wrap: wrap;
gap: 8px;
margin-top: 14px;
}
.home-xhs-btn {
padding: 8px 12px;
border-radius: 999px;
border: 1px solid rgba(255, 255, 255, 0.18);
background: rgba(255, 255, 255, 0.06);
color: #f3eefc;
font-size: 12px;
}
.home-time {
margin-top: 10px;
font-size: 12px;
color: rgba(243, 238, 252, 0.55);
}
/* —— Reader —— */
.reader {
position: relative;
background: var(--r-bg);
color: var(--r-text);
}
.reader.theme-sepia {
background: #f3e9d7;
--r-bg: #f3e9d7;
--r-bg2: #e8dcc4;
--r-text: #3d2f1f;
--r-muted: #8a7358;
--r-accent: #c2410c;
--r-accent2: #b45309;
--r-soft: rgba(120, 80, 40, 0.08);
--r-border: rgba(120, 80, 40, 0.16);
--r-paper: rgba(255, 252, 245, 0.95);
--r-chrome: rgba(243, 233, 215, 0.96);
}
.reader.theme-light {
background: #f7f4fb;
--r-bg: #f7f4fb;
--r-bg2: #eee8f6;
--r-text: #1e1630;
--r-muted: #6d6286;
--r-accent: #db2777;
--r-accent2: #7c3aed;
--r-soft: rgba(30, 22, 48, 0.05);
--r-border: rgba(30, 22, 48, 0.1);
--r-paper: rgba(255, 255, 255, 0.96);
--r-chrome: rgba(247, 244, 251, 0.96);
}
.reader-bg {
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
pointer-events: none;
background:
radial-gradient(520px 260px at 10% -8%, rgba(167, 139, 250, 0.22), transparent 55%),
radial-gradient(480px 240px at 100% 0%, rgba(244, 114, 182, 0.18), transparent 50%),
linear-gradient(180deg, var(--r-bg2), var(--r-bg));
z-index: 0;
}
.topbar {
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: 40;
/* --app-pad-top 由 JS 写入:状态栏 + 小红书宿主返回/分享行 */
padding-top: 80px;
padding-top: var(--app-pad-top, 80px);
padding-right: 12px;
padding-bottom: 8px;
padding-left: 12px;
display: -webkit-flex;
display: flex;
-webkit-align-items: center;
align-items: center;
background: var(--r-chrome);
border-bottom: 1px solid var(--r-border);
box-sizing: border-box;
-webkit-transition: -webkit-transform 0.22s ease, opacity 0.22s ease;
transition: transform 0.22s ease, opacity 0.22s ease;
}
.reader.chrome-hidden .topbar {
-webkit-transform: translateY(-110%);
transform: translateY(-110%);
pointer-events: none;
opacity: 0;
}
.reader.chrome-hidden .top-fab {
opacity: 0;
pointer-events: none;
}
.topbar-progress {
position: absolute;
left: 0;
right: 0;
bottom: 0;
height: 2px;
background: var(--r-soft);
overflow: hidden;
}
.topbar-progress-fill {
display: block;
height: 100%;
width: 0%;
background: linear-gradient(90deg, var(--r-accent), var(--r-accent2));
}
.top-btn {
width: 44px;
height: 44px;
margin-right: 8px;
border-radius: 12px;
background: var(--r-soft);
border: 1px solid var(--r-border);
display: -webkit-flex;
display: flex;
-webkit-align-items: center;
align-items: center;
-webkit-justify-content: center;
justify-content: center;
-webkit-flex-shrink: 0;
flex-shrink: 0;
}
.top-btn:last-of-type {
margin-right: 0;
margin-left: 8px;
}
.top-ico {
font-size: 18px;
color: var(--r-text);
line-height: 1;
font-weight: 600;
}
.top-center {
-webkit-flex: 1;
flex: 1;
min-width: 0;
text-align: left;
background: transparent;
border: 0;
padding: 0;
}
.top-title {
font-size: 15px;
color: var(--r-text);
font-weight: 600;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
line-height: 1.25;
}
.top-sub {
margin-top: 1px;
font-size: 11px;
color: var(--r-muted);
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.reader-body {
position: relative;
z-index: 1;
padding: 16px;
/* 顶栏:安全区 + 宿主行 + 按钮行(~52) */
padding-top: 140px;
padding-top: calc(var(--app-pad-top, 80px) + 60px);
padding-bottom: 48px;
padding-bottom: calc(48px + var(--safe-area-inset-bottom, env(safe-area-inset-bottom, 0px)));
max-width: 720px;
margin: 0 auto;
box-sizing: border-box;
}
.paper {
background: var(--r-paper);
border: 1px solid var(--r-border);
border-radius: 20px;
padding: 16px 14px 20px;
box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}
.hero-card {
padding: 4px 2px 12px;
margin-bottom: 8px;
border-bottom: 1px dashed var(--r-border);
}
.hero-emoji {
display: block;
font-size: 28px;
line-height: 1;
}
.hero-title {
display: block;
margin-top: 6px;
font-size: 22px;
font-weight: 700;
color: var(--r-text);
line-height: 1.25;
}
.hero-sub {
display: block;
margin-top: 4px;
font-size: 13px;
color: var(--r-muted);
line-height: 1.4;
}
.hero-stats {
margin-top: 12px;
display: -webkit-flex;
display: flex;
}
.stat {
-webkit-flex: 1;
flex: 1;
padding: 8px 2px;
margin-right: 4px;
border-radius: 12px;
background: var(--r-soft);
text-align: center;
}
.stat:last-child {
margin-right: 0;
}
.stat-n {
display: block;
font-size: 15px;
font-weight: 700;
color: var(--r-text);
line-height: 1.2;
}
.stat-l {
display: block;
margin-top: 1px;
font-size: 11px;
color: var(--r-muted);
}
.hero-tip {
display: block;
margin-top: 10px;
text-align: center;
font-size: 12px;
color: var(--r-muted);
}
.chapter-block {
padding-top: 4px;
}
.chapter-divider {
display: -webkit-flex;
display: flex;
-webkit-justify-content: center;
justify-content: center;
margin: 18px 0 14px;
}
.chapter-divider-text {
font-size: 14px;
letter-spacing: 0.45em;
color: var(--r-muted);
opacity: 0.65;
}
.chapter-hero {
margin-bottom: 10px;
padding-bottom: 10px;
border-bottom: 1px dashed var(--r-border);
}
.chapter-hero-top {
display: -webkit-flex;
display: flex;
-webkit-align-items: center;
align-items: center;
-webkit-justify-content: space-between;
justify-content: space-between;
}
.chapter-hero-emoji {
font-size: 28px;
line-height: 1;
}
.chapter-ring {
display: -webkit-flex;
display: flex;
-webkit-align-items: baseline;
align-items: baseline;
padding: 6px 12px;
border-radius: 999px;
background: var(--r-soft);
border: 1px solid var(--r-border);
}
.chapter-ring-n {
font-size: 15px;
font-weight: 700;
color: var(--r-accent);
margin-right: 2px;
}
.chapter-ring-t {
font-size: 12px;
color: var(--r-muted);
}
.chapter-title {
display: block;
margin-top: 8px;
font-size: 20px;
font-weight: 700;
color: var(--r-text);
line-height: 1.3;
}
.chapter-meta {
display: block;
margin-top: 4px;
font-size: 12px;
color: var(--r-muted);
}
.md-wrap {
padding: 0;
}
.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;
}
.next-peek-label {
display: block;
font-size: 11px;
letter-spacing: 0.12em;
color: var(--r-muted);
}
.next-peek-title {
display: block;
margin-top: 4px;
font-size: 15px;
font-weight: 600;
color: var(--r-text);
line-height: 1.35;
}
.fin {
margin: 28px 0 24px;
padding: 20px 10px 12px;
text-align: center;
border-top: 1px dashed var(--r-border);
}
.fin-emoji {
display: block;
font-size: 28px;
}
.fin-title {
display: block;
margin-top: 6px;
font-size: 20px;
color: var(--r-text);
font-weight: 700;
}
.fin-desc {
display: block;
margin-top: 4px;
font-size: 13px;
color: var(--r-muted);
font-style: italic;
}
.fin-actions {
margin-top: 14px;
display: -webkit-flex;
display: flex;
gap: 10px;
-webkit-justify-content: center;
justify-content: center;
-webkit-flex-wrap: wrap;
flex-wrap: wrap;
}
.fin-btn {
padding: 10px 18px;
border-radius: 999px;
background: linear-gradient(135deg, var(--r-accent), var(--r-accent2));
color: #fff;
font-size: 14px;
font-weight: 600;
}
.fin-btn.ghost {
background: var(--r-soft);
border: 1px solid var(--r-border);
color: var(--r-text);
}
.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;
}
.reader-foot {
margin-top: 20px;
text-align: center;
}
.foot-tip {
margin-bottom: 12px;
font-size: 12px;
color: var(--r-muted);
}
.ghost-btn {
display: inline-block;
margin: 0 6px 8px;
padding: 10px 18px;
border-radius: 999px;
border: 1px solid var(--r-border);
color: var(--r-accent);
background: var(--r-soft);
font-size: 13px;
}
.top-fab {
position: fixed;
right: 18px;
bottom: 24px;
bottom: calc(24px + var(--safe-area-inset-bottom, env(safe-area-inset-bottom, 0px)));
z-index: 30;
width: 56px;
height: 56px;
border-radius: 50%;
background: var(--r-paper);
border: 1px solid var(--r-border);
display: -webkit-flex;
display: flex;
-webkit-align-items: center;
align-items: center;
-webkit-justify-content: center;
justify-content: center;
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}
.top-fab-text {
font-size: 22px;
color: var(--r-accent);
font-weight: 700;
}
/* —— TOC drawer(对齐微信小程序 reader drawer) —— */
.drawer-mask {
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
background: rgba(8, 6, 14, 0.55);
z-index: 100;
}
.drawer {
position: absolute;
top: 0;
left: 0;
width: 78%;
max-width: 540px;
height: 100%;
background:
radial-gradient(360px 180px at 0% 0%, rgba(167, 139, 250, 0.18), transparent 55%),
linear-gradient(180deg, #1a1428, #120e1c 40%, #0c0b12);
padding: 22px 0 12px;
padding-top: 80px;
padding-top: calc(var(--app-pad-top, 80px) + 12px);
box-sizing: border-box;
display: -webkit-flex;
display: flex;
-webkit-flex-direction: column;
flex-direction: column;
color: #f3eefc;
-webkit-animation: drawer-in 0.24s cubic-bezier(0.22, 1, 0.36, 1) both;
animation: drawer-in 0.24s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.drawer.theme-sepia {
background: linear-gradient(180deg, #f6edd9, #efe3cb);
color: #3d2f1f;
}
.drawer.theme-light {
background: linear-gradient(180deg, #faf8ff, #f0ebf8);
color: #1e1630;
}
@-webkit-keyframes drawer-in {
from { -webkit-transform: translateX(-100%); transform: translateX(-100%); }
to { -webkit-transform: translateX(0); transform: translateX(0); }
}
@keyframes drawer-in {
from { -webkit-transform: translateX(-100%); transform: translateX(-100%); }
to { -webkit-transform: translateX(0); transform: translateX(0); }
}
.drawer-hero {
padding: 0 16px 10px;
}
.drawer-brand {
display: block;
font-size: 12px;
letter-spacing: 1px;
color: var(--r-accent);
}
.drawer-title {
display: block;
margin-top: 2px;
font-size: 22px;
font-weight: 700;
}
.drawer-meter {
margin-top: 10px;
height: 4px;
border-radius: 999px;
background: rgba(255, 255, 255, 0.08);
overflow: hidden;
}
.theme-sepia .drawer-meter,
.theme-light .drawer-meter {
background: rgba(0, 0, 0, 0.08);
}
.drawer-meter-fill {
height: 100%;
width: 0%;
border-radius: inherit;
background: linear-gradient(90deg, var(--r-accent), var(--r-accent2));
}
.drawer-stats {
margin-top: 6px;
display: -webkit-flex;
display: flex;
-webkit-justify-content: space-between;
justify-content: space-between;
font-size: 12px;
color: var(--r-muted);
}
.drawer-search {
display: block;
width: 100%;
margin-top: 10px;
height: 44px;
padding: 0 14px;
border-radius: 12px;
background: rgba(255, 255, 255, 0.06);
border: 1px solid var(--r-border);
font-size: 15px;
color: inherit;
outline: none;
box-sizing: border-box;
}
.theme-sepia .drawer-search,
.theme-light .drawer-search {
background: rgba(0, 0, 0, 0.04);
}
.drawer-list {
-webkit-flex: 1;
flex: 1;
height: 0;
min-height: 0;
padding: 4px 10px 24px;
box-sizing: border-box;
overflow-y: auto;
-webkit-overflow-scrolling: touch;
}
.drawer-item {
display: -webkit-flex;
display: flex;
-webkit-align-items: flex-start;
align-items: flex-start;
padding: 10px;
margin-bottom: 2px;
border-radius: 12px;
width: 100%;
text-align: left;
color: inherit;
background: transparent;
}
.drawer-item.active {
background: rgba(255, 122, 182, 0.12);
}
.theme-sepia .drawer-item.active {
background: rgba(194, 65, 12, 0.1);
}
.theme-light .drawer-item.active {
background: rgba(219, 39, 119, 0.08);
}
.drawer-idx {
font-size: 14px;
color: var(--r-muted);
font-weight: 600;
padding-top: 2px;
min-width: 36px;
margin-right: 10px;
}
.drawer-body {
-webkit-flex: 1;
flex: 1;
min-width: 0;
}
.drawer-name {
display: block;
font-size: 15px;
line-height: 1.35;
}
/* —— Settings sheet(对齐 ReaderSettings) —— */
.rs-mask {
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: 120;
background: rgba(8, 6, 14, 0.55);
display: -webkit-flex;
display: flex;
-webkit-align-items: flex-end;
align-items: flex-end;
}
.rs-sheet {
width: 100%;
padding: 16px 20px 20px;
padding-bottom: 20px;
padding-bottom: calc(20px + var(--safe-area-inset-bottom, env(safe-area-inset-bottom, 0px)));
border-radius: 22px 22px 0 0;
background:
radial-gradient(420px 160px at 50% 0%, rgba(255, 122, 182, 0.16), transparent 60%),
linear-gradient(180deg, #1a1428 0%, #120e1c 60%, #0c0b12 100%);
border-top: 1px solid rgba(255, 255, 255, 0.12);
-webkit-animation: rs-up 0.26s cubic-bezier(0.22, 1, 0.36, 1) both;
animation: rs-up 0.26s cubic-bezier(0.22, 1, 0.36, 1) both;
box-sizing: border-box;
}
.rs-sheet.theme-sepia {
background: linear-gradient(180deg, #f6edd9 0%, #efe3cb 100%);
border-top-color: rgba(120, 80, 40, 0.18);
}
.rs-sheet.theme-light {
background: linear-gradient(180deg, #faf8ff 0%, #f0ebf8 100%);
border-top-color: rgba(30, 22, 48, 0.1);
}
@-webkit-keyframes rs-up {
from { -webkit-transform: translateY(100%); transform: translateY(100%); }
to { -webkit-transform: translateY(0); transform: translateY(0); }
}
@keyframes rs-up {
from { -webkit-transform: translateY(100%); transform: translateY(100%); }
to { -webkit-transform: translateY(0); transform: translateY(0); }
}
.rs-handle {
width: 40px;
height: 4px;
border-radius: 999px;
background: rgba(255, 255, 255, 0.2);
margin: 0 auto 14px;
}
.theme-sepia .rs-handle,
.theme-light .rs-handle {
background: rgba(0, 0, 0, 0.14);
}
.rs-title {
display: block;
text-align: center;
font-size: 20px;
font-weight: 700;
color: #faf7ff;
}
.theme-sepia .rs-title { color: #3d2f1f; }
.theme-light .rs-title { color: #1e1630; }
.rs-sub {
display: block;
text-align: center;
margin-top: 4px;
margin-bottom: 18px;
font-size: 13px;
color: #b4a9c8;
}
.theme-sepia .rs-sub { color: #8a7358; }
.theme-light .rs-sub { color: #6d6286; }
.rs-row {
margin-bottom: 14px;
}
.rs-label {
display: block;
margin-bottom: 8px;
font-size: 13px;
color: #b4a9c8;
}
.theme-sepia .rs-label,
.theme-light .rs-label {
color: inherit;
opacity: 0.7;
}
.rs-seg {
display: -webkit-flex;
display: flex;
-webkit-flex-wrap: wrap;
flex-wrap: wrap;
}
.rs-seg button {
min-width: 52px;
height: 40px;
padding: 0 12px;
margin-right: 8px;
margin-bottom: 8px;
border-radius: 12px;
background: rgba(255, 255, 255, 0.06);
border: 1px solid rgba(255, 255, 255, 0.1);
color: #f3eefc;
font-size: 14px;
}
.theme-sepia .rs-seg button,
.theme-light .rs-seg button {
background: rgba(0, 0, 0, 0.04);
border-color: rgba(0, 0, 0, 0.08);
color: inherit;
}
.rs-seg button.on {
border-color: #ff7ab6;
color: #ff7ab6;
background: rgba(255, 122, 182, 0.12);
}
.rs-actions {
margin-top: 8px;
padding-top: 8px;
border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.rs-cap {
margin: 10px 2px 0;
font-size: 11px;
color: var(--r-muted);
letter-spacing: 0.02em;
}
.rs-section {
margin: 14px 2px 4px;
font-size: 12px;
font-weight: 700;
letter-spacing: 0.14em;
color: var(--r-accent);
text-transform: uppercase;
}
.cam-mask,
.journal-mask {
position: fixed;
inset: 0;
z-index: 80;
background: rgba(0, 0, 0, 0.72);
display: -webkit-flex;
display: flex;
-webkit-align-items: flex-end;
align-items: flex-end;
-webkit-justify-content: center;
justify-content: center;
}
.cam-sheet,
.journal-sheet {
width: 100%;
max-width: 520px;
max-height: 92%;
overflow: auto;
padding: 18px 16px 28px;
border-radius: 18px 18px 0 0;
background: #16121f;
color: #f3eefc;
box-sizing: border-box;
}
.cam-title,
.journal-sheet .rs-title {
font-size: 18px;
font-weight: 700;
}
.cam-sub {
margin-top: 4px;
font-size: 12px;
color: #b4a9c8;
}
.cam-stage {
position: relative;
margin-top: 12px;
width: 100%;
padding-top: 133%;
border-radius: 14px;
overflow: hidden;
background: #0a0910;
}
.cam-video,
.cam-canvas,
.cam-preview {
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
object-fit: cover;
}
.cam-tip {
margin-top: 10px;
font-size: 12px;
color: #b4a9c8;
}
.cam-actions {
margin-top: 14px;
display: -webkit-flex;
display: flex;
-webkit-flex-wrap: wrap;
flex-wrap: wrap;
gap: 8px;
-webkit-justify-content: center;
justify-content: center;
}
.journal-input {
display: block;
width: 100%;
margin-top: 12px;
padding: 12px;
border-radius: 12px;
border: 1px solid rgba(255, 255, 255, 0.12);
background: rgba(255, 255, 255, 0.04);
color: inherit;
resize: vertical;
min-height: 120px;
box-sizing: border-box;
}
.drawer-tabs {
display: -webkit-flex;
display: flex;
margin-top: 10px;
-webkit-flex-wrap: wrap;
flex-wrap: wrap;
}
.drawer-tab {
-webkit-flex: 1 1 22%;
flex: 1 1 22%;
min-width: 64px;
height: 36px;
margin: 0 6px 6px 0;
border-radius: 10px;
background: rgba(255, 255, 255, 0.04);
border: 1px solid rgba(255, 255, 255, 0.08);
color: #b4a9c8;
font-size: 12px;
}
.drawer-tab.on {
background: rgba(255, 122, 182, 0.12);
border-color: rgba(255, 122, 182, 0.35);
color: #ff7ab6;
}
.note-item {
display: block;
width: 100%;
text-align: left;
padding: 12px 10px;
margin-bottom: 8px;
border-radius: 12px;
background: var(--r-soft);
border: 1px solid var(--r-border);
color: inherit;
}
.note-item-title {
display: block;
font-size: 13px;
font-weight: 600;
color: var(--r-text);
}
.note-item-body {
display: block;
margin-top: 4px;
font-size: 12px;
color: var(--r-muted);
line-height: 1.45;
}
.note-item-actions {
display: -webkit-flex;
display: flex;
gap: 8px;
margin-top: 8px;
}
.note-chip {
padding: 4px 10px;
border-radius: 999px;
font-size: 11px;
background: rgba(255, 122, 182, 0.12);
border: 1px solid rgba(255, 122, 182, 0.3);
color: #ff7ab6;
}
.note-chip.ghost {
background: rgba(255, 255, 255, 0.04);
border-color: rgba(255, 255, 255, 0.12);
color: var(--r-muted);
}
.rs-action {
display: block;
width: 100%;
height: 44px;
margin-bottom: 8px;
border-radius: 12px;
background: rgba(255, 122, 182, 0.14);
border: 1px solid rgba(255, 122, 182, 0.35);
color: #ffb4d6;
font-size: 14px;
font-weight: 600;
}
.rs-action.ghost {
background: rgba(255, 255, 255, 0.04);
border-color: rgba(255, 255, 255, 0.1);
color: #b4a9c8;
font-weight: 500;
}
@-webkit-keyframes aurora {
0%, 100% { -webkit-transform: translateY(0) scale(1); transform: translateY(0) scale(1); }
50% { -webkit-transform: translateY(18px) scale(1.06); transform: translateY(18px) scale(1.06); }
}
@keyframes aurora {
0%, 100% { -webkit-transform: translateY(0) scale(1); transform: translateY(0) scale(1); }
50% { -webkit-transform: translateY(18px) scale(1.06); transform: translateY(18px) scale(1.06); }
}