﻿:root {
  color-scheme: dark;
  --bg: #08111f;
  --bg-soft: rgba(14, 23, 39, 0.82);
  --panel: rgba(14, 21, 37, 0.78);
  --panel-strong: rgba(20, 30, 52, 0.94);
  --border: rgba(255, 255, 255, 0.08);
  --text: #f3f7ff;
  --muted: rgba(235, 242, 255, 0.72);
  --accent: #f2c46d;
  --accent-2: #7fd4ff;
  --accent-3: #9d8cff;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", serif;
  background:
    radial-gradient(circle at top left, rgba(242, 196, 109, 0.18), transparent 28%),
    radial-gradient(circle at top right, rgba(125, 188, 255, 0.16), transparent 26%),
    linear-gradient(180deg, #07101d 0%, #0b1526 40%, #0a1220 100%);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

body.product-page {
  overflow-y: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

main,
.topbar,
.footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0 12px;
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  border-radius: 24px;
  border: 1px solid var(--border);
  background: rgba(14, 21, 37, 0.72);
  padding-left: 18px;
  padding-right: 18px;
}

.topbar-cta {
  margin-left: auto;
  margin-right: 10px;
  box-shadow: 0 18px 40px rgba(242, 196, 109, 0.22);
}

.auth-locked {
  overflow: hidden;
}

.auth-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(5, 8, 15, 0.72);
  backdrop-filter: blur(18px);
}

.auth-card {
  width: min(100%, 680px);
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(14, 21, 37, 0.96);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
  padding: 28px;
  display: grid;
  gap: 20px;
}

.auth-copy h2 {
  margin: 12px 0 8px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.auth-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.auth-badge {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(242, 196, 109, 0.16);
  color: var(--accent);
  font-size: 0.82rem;
}

.auth-tabs {
  display: flex;
  gap: 10px;
}

.auth-tab {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  border-radius: 999px;
  padding: 10px 14px;
  cursor: pointer;
}

.auth-tab.active {
  background: linear-gradient(135deg, var(--accent), #ffe8b5);
  color: #08111f;
}

.auth-panels {
  display: grid;
}

.auth-panel {
  display: none;
  gap: 14px;
}

.auth-panel.active {
  display: grid;
}

.auth-field {
  display: grid;
  gap: 8px;
}

.auth-field span {
  color: var(--muted);
  font-size: 0.9rem;
}

.auth-field input {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border-radius: 14px;
  padding: 12px 14px;
  outline: none;
}

.auth-inline {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: end;
}

.auth-send,
.auth-submit {
  border: none;
  border-radius: 14px;
  padding: 12px 16px;
  font-weight: 700;
  cursor: pointer;
}

.auth-send {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.auth-submit {
  background: linear-gradient(135deg, var(--accent), #ffe8b5);
  color: #08111f;
}

.auth-hint {
  color: var(--muted);
  font-size: 0.92rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  font-size: 1.15rem;
  font-weight: 700;
  background: linear-gradient(135deg, rgba(242, 196, 109, 0.96), rgba(125, 212, 255, 0.9));
  color: #09111e;
  box-shadow: var(--shadow);
}

.brand-name {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.brand-subtitle {
  font-size: 0.86rem;
  color: var(--muted);
  margin-top: 2px;
}

.nav {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav a {
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--text);
}

.hero,
.section {
  position: relative;
  z-index: 1;
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 28px;
  padding: 52px 0 36px;
  align-items: stretch;
}

.hero-copy,
.hero-panel,
.feature-card,
.detail-panel,
.timeline-item,
.footer,
.panel-card {
  border: 1px solid var(--border);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hero-copy {
  padding: 36px;
  border-radius: 28px;
  position: relative;
  overflow: hidden;
}

.hero-promo {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 16px 18px;
  margin-bottom: 16px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(242, 196, 109, 0.16), rgba(127, 212, 255, 0.12));
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.promo-label {
  display: inline-flex;
  margin-bottom: 8px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-promo strong {
  display: block;
  font-size: 1.08rem;
  line-height: 1.5;
}

.hero-cta {
  white-space: nowrap;
  flex-shrink: 0;
}

.eyebrow,
.section-tag,
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #08111f;
  background: linear-gradient(135deg, rgba(242, 196, 109, 0.95), rgba(255, 242, 211, 0.95));
}

.hero h1 {
  margin: 16px 0 12px;
  font-size: clamp(2.2rem, 5.4vw, 4.4rem);
  line-height: 1.03;
  letter-spacing: 0.02em;
}

.lead {
  margin: 0;
  max-width: 52ch;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}

.button {
  padding: 13px 20px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: #08111f;
  background: linear-gradient(135deg, var(--accent), #ffe8b5);
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.metric {
  padding: 16px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.metric strong {
  display: block;
  font-size: 1.75rem;
  margin-bottom: 6px;
  color: #fff6d5;
}

.metric span {
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-panel {
  border-radius: 28px;
  padding: 16px;
  display: grid;
  gap: 14px;
  position: relative;
  overflow: hidden;
}

.panel-card {
  border-radius: 20px;
  padding: 22px;
}

.panel-feature {
  background: linear-gradient(180deg, rgba(31, 43, 71, 0.96), rgba(12, 18, 33, 0.86));
}

.panel-feature h2,
.section h2 {
  margin: 16px 0 10px;
  font-size: clamp(1.5rem, 3vw, 2.6rem);
}

.panel-feature p,
.feature-card p,
.detail-panel li,
.timeline-item p,
.footer p {
  color: var(--muted);
  line-height: 1.8;
}

.panel-list {
  display: grid;
  gap: 14px;
}

.list-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: start;
  padding: 14px 0;
}

.list-item span {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #09111e;
  background: linear-gradient(135deg, rgba(127, 212, 255, 0.95), rgba(242, 196, 109, 0.9));
}

.list-item strong {
  display: block;
  margin-bottom: 6px;
}

.section {
  padding: 28px 0 8px;
}

.section-head {
  margin-bottom: 22px;
}

.section-head.compact {
  margin-bottom: 16px;
}

.section h2 {
  margin-bottom: 10px;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.feature-card {
  padding: 22px;
  border-radius: 20px;
  min-height: 158px;
  background:
    linear-gradient(180deg, rgba(19, 27, 48, 0.95), rgba(10, 16, 30, 0.78));
}

.feature-card h3,
.detail-panel h3,
.timeline-item h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.section-split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 16px;
  align-items: start;
}

.module-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tab {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  padding: 11px 15px;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.tab:hover {
  transform: translateY(-1px);
}

.tab.active {
  background: linear-gradient(135deg, rgba(127, 212, 255, 0.95), rgba(242, 196, 109, 0.9));
  color: #09111e;
}

.panel-stack {
  display: grid;
}

.detail-panel {
  margin-top: 18px;
  border-radius: 22px;
  padding: 24px;
  background: linear-gradient(180deg, rgba(18, 26, 45, 0.95), rgba(10, 16, 30, 0.85));
}

.detail-panel ul {
  margin: 0;
  padding-left: 20px;
}

.detail-panel li + li {
  margin-top: 10px;
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 16px;
  align-items: start;
  border-radius: 20px;
  padding: 20px 22px;
}

.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.roadmap-card {
  padding: 22px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(19, 27, 48, 0.95), rgba(10, 16, 30, 0.78));
  box-shadow: var(--shadow);
}

.roadmap-card span {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-size: 0.84rem;
}

.roadmap-card h3 {
  margin: 14px 0 10px;
  font-size: 1.18rem;
}

.dot {
  width: 14px;
  height: 14px;
  margin-top: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 0 8px rgba(127, 212, 255, 0.12);
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin: 40px auto 28px;
  padding: 24px 28px;
  border-radius: 24px;
  background: rgba(8, 14, 26, 0.92);
}

.footer strong {
  font-size: 1.1rem;
}

.footer p {
  margin: 8px 0 0;
}

.product-topbar {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  border-radius: 24px;
  border: 1px solid var(--border);
  background: rgba(14, 21, 37, 0.72);
  padding-left: 18px;
  padding-right: 18px;
}

.product-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.creator-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  align-items: start;
  gap: 18px;
  padding: 12px 0 16px 0;
  min-height: calc(100vh - 92px);
  position: relative;
  z-index: 1;
}

.creator-sidebar {
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 14px;
  background: rgba(10, 16, 30, 0.84);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: fit-content;
  position: sticky;
  top: 0;
  width: 100%;
  max-height: calc(100vh - 132px);
  overflow: auto;
  align-self: start;
}

.creator-main {
  min-width: 0;
  margin-left: 0;
  align-self: start;
}

.sidebar-title {
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.sidebar-item {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-radius: 18px;
  padding: 11px 13px;
  text-align: left;
  cursor: pointer;
  font-size: 0.98rem;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease;
}

.sidebar-item:hover {
  transform: translateX(2px);
}

.sidebar-item.active {
  background: linear-gradient(135deg, rgba(242, 196, 109, 0.95), rgba(127, 212, 255, 0.9));
  color: #09111e;
}

.creator-main {
  display: grid;
  gap: 22px;
  min-height: 0;
  grid-template-rows: 1fr;
  margin-top: 0;
}

.workspace-card {
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 24px 30px;
  background: rgba(14, 21, 37, 0.84);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  display: grid;
  grid-template-rows: auto auto auto minmax(0, 1fr) auto;
  min-height: 0;
  height: 100%;
  overflow: hidden;
  align-self: start;
}

.workspace-card h1 {
  margin: 12px 0 10px;
  font-size: clamp(1.7rem, 3vw, 3rem);
  line-height: 1.1;
}

.memory-copy {
  max-width: 62ch;
  color: var(--muted);
  line-height: 1.9;
  font-size: 1.02rem;
}

.memory-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.workspace-body {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: -6px;
  flex: 1;
  min-height: 0;
}

.workspace-mini {
  width: min(100%, 520px);
  aspect-ratio: 16 / 9;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  gap: 12px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(23, 31, 54, 0.96), rgba(10, 16, 30, 0.9));
  padding: 22px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.workspace-mini strong {
  font-size: 1.45rem;
  letter-spacing: 0.08em;
}

.workspace-mini p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.toolbox-workbench {
  width: 100%;
  max-width: 860px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.toolbox-item {
  min-height: 190px;
  border-radius: 18px;
  border: 1px solid rgba(168, 143, 120, 0.16);
  background: rgba(255, 252, 246, 0.92);
  padding: 22px;
  box-shadow: 0 18px 42px rgba(168, 143, 120, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.toolbox-item strong {
  color: var(--accent);
  font-size: 1.08rem;
}

.toolbox-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.toolbox-upload,
.toolbox-action {
  border-radius: 12px;
  padding: 10px 12px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
}

.toolbox-upload {
  border: 1px dashed rgba(168, 143, 120, 0.32);
  color: var(--accent);
  background: rgba(249, 247, 243, 0.72);
}

.toolbox-upload.has-file {
  background: rgba(201, 175, 163, 0.16);
}

.toolbox-action {
  border: 1px solid rgba(168, 143, 120, 0.18);
  background: var(--accent);
  color: #fffdf8;
}

.toolbox-preview {
  min-height: 92px;
  border-radius: 14px;
  border: 1px solid rgba(168, 143, 120, 0.14);
  background: rgba(249, 247, 243, 0.72);
  color: var(--muted);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(54px, 1fr));
  align-items: center;
  gap: 8px;
  padding: 10px;
  text-align: center;
  overflow: hidden;
}

.toolbox-preview img {
  width: 100%;
  height: 72px;
  object-fit: cover;
  border-radius: 10px;
  border: 3px solid rgba(255, 253, 248, 0.92);
}

.toolbox-preview.is-generated {
  box-shadow: inset 0 0 0 1px rgba(168, 143, 120, 0.18);
}

.toolbox-status {
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

.assistant-chat {
  width: min(100%, 760px);
  min-height: 520px;
  border-radius: 24px;
  border: 1px solid rgba(168, 143, 120, 0.16);
  background: rgba(255, 252, 246, 0.92);
  box-shadow: 0 18px 42px rgba(168, 143, 120, 0.08);
  padding: 18px;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 14px;
}

.assistant-messages {
  min-height: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 4px;
}

.assistant-bubble {
  max-width: 78%;
  border-radius: 18px;
  padding: 12px 14px;
  line-height: 1.8;
  color: var(--text);
}

.assistant-bubble.ai {
  align-self: flex-start;
  background: rgba(249, 247, 243, 0.88);
  border: 1px solid rgba(168, 143, 120, 0.14);
}

.assistant-bubble.user {
  align-self: flex-end;
  background: var(--accent);
  color: #fffdf8;
}

.assistant-inputbar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  border-top: 1px solid rgba(168, 143, 120, 0.12);
  padding-top: 14px;
}

.assistant-inputbar input {
  border: 1px solid rgba(168, 143, 120, 0.16);
  border-radius: 14px;
  padding: 12px 14px;
  background: rgba(255, 253, 248, 0.95);
  color: var(--text);
  outline: none;
}

.assistant-inputbar button {
  border: none;
  border-radius: 14px;
  padding: 0 18px;
  background: var(--accent);
  color: #fffdf8;
  font-weight: 700;
  cursor: pointer;
}

.vault-workbench {
  width: min(100%, 860px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.vault-panel {
  border-radius: 22px;
  border: 1px solid rgba(168, 143, 120, 0.16);
  background: rgba(255, 252, 246, 0.92);
  box-shadow: 0 18px 42px rgba(168, 143, 120, 0.08);
  padding: 20px;
  display: grid;
  gap: 12px;
}

.vault-panel[hidden] {
  display: none;
}

.vault-panel strong {
  color: var(--accent);
  font-size: 1.05rem;
}

.vault-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.vault-panel input {
  border: 1px solid rgba(168, 143, 120, 0.16);
  border-radius: 12px;
  padding: 12px 14px;
  background: rgba(255, 253, 248, 0.95);
  color: var(--text);
  outline: none;
}

.vault-action,
.vault-upload {
  border-radius: 12px;
  padding: 11px 14px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
}

.vault-action {
  border: none;
  background: var(--accent);
  color: #fffdf8;
}

.vault-back {
  border: 1px solid rgba(168, 143, 120, 0.18);
  background: rgba(249, 247, 243, 0.78);
  color: var(--accent);
}

.vault-upload {
  border: 1px dashed rgba(168, 143, 120, 0.32);
  color: var(--accent);
  background: rgba(249, 247, 243, 0.72);
}

.vault-media-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
}

.vault-media-item {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(168, 143, 120, 0.12);
  background: rgba(249, 247, 243, 0.72);
}

.vault-media-item img,
.vault-media-item video {
  width: 100%;
  display: block;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.vault-empty,
.vault-status {
  color: var(--muted);
  font-size: 0.92rem;
}

.memoir-workbench {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 18px;
}

.memoir-upload {
  display: grid;
  gap: 12px;
}

.memoir-upload-card {
  display: grid;
  gap: 8px;
  border-radius: 24px;
  padding: 18px 20px;
  border: 1px dashed rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.memoir-upload-card strong {
  font-size: 1.08rem;
}

.memoir-upload-card span {
  color: var(--muted);
  line-height: 1.7;
}

.memoir-file-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.memoir-file-chip {
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 0.9rem;
}

.memoir-file-chip.media {
  width: 96px;
  height: 72px;
  padding: 4px;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 252, 247, 0.9);
  border: 1px solid rgba(168, 143, 120, 0.14);
}

.memoir-file-chip.media img,
.memoir-file-chip.media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}

.memoir-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.memoir-action {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 700;
  cursor: pointer;
}

.memoir-action:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.memoir-action.primary {
  color: #08111f;
  background: linear-gradient(135deg, var(--accent), #ffe8b5);
}

.memoir-status {
  border-radius: 22px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  line-height: 1.8;
}

.memoir-preview-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(220px, 0.6fr);
  gap: 16px;
}

.calendar-workbench {
  width: 100%;
  display: grid;
  gap: 20px;
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  flex-wrap: wrap;
}

.calendar-eyebrow {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.calendar-header h2 {
  margin: 8px 0 0;
  font-size: clamp(1.5rem, 2.8vw, 2.4rem);
}

.calendar-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.calendar-nav-btn {
  border: 1px solid rgba(120, 89, 61, 0.22);
  background: rgba(255, 252, 246, 0.92);
  color: var(--accent);
  border-radius: 12px;
  padding: 10px 14px;
  font-weight: 700;
  cursor: pointer;
}

.calendar-main {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.7fr);
  gap: 18px;
  align-items: start;
}

.calendar-tags-panel {
  margin-top: 18px;
  border-radius: 24px;
  border: 1px solid rgba(120, 89, 61, 0.14);
  background: rgba(255, 252, 246, 0.9);
  padding: 18px;
  box-shadow: var(--shadow);
}

.calendar-detail {
  margin-top: 18px;
}

.calendar-detail-card {
  border-radius: 24px;
  border: 1px solid rgba(120, 89, 61, 0.14);
  background: rgba(255, 252, 246, 0.92);
  padding: 18px;
  box-shadow: var(--shadow);
}

.calendar-detail-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: start;
  flex-wrap: wrap;
}

.calendar-detail-date {
  font-size: 1.15rem;
  font-weight: 700;
}

.calendar-detail-tag {
  color: var(--muted);
  margin-top: 6px;
}

.calendar-detail-add {
  border: 1px solid rgba(120, 89, 61, 0.18);
  background: rgba(255, 252, 246, 0.94);
  color: var(--accent);
  border-radius: 12px;
  padding: 10px 14px;
  font-weight: 700;
  cursor: pointer;
}

.calendar-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.calendar-detail-block {
  border-radius: 18px;
  border: 1px solid rgba(120, 89, 61, 0.12);
  background: rgba(255, 253, 248, 0.94);
  padding: 14px;
}

.calendar-detail-block strong {
  display: block;
  margin-bottom: 8px;
}

.calendar-detail-block p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.calendar-media {
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  display: block;
  margin-top: 8px;
  background: rgba(255, 253, 248, 0.96);
}

.calendar-media-open {
  width: 100%;
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  cursor: zoom-in;
  display: block;
}

.calendar-media-video {
  min-height: 180px;
  background: rgba(70, 62, 57, 0.08);
}

.calendar-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(70, 62, 57, 0.36);
  backdrop-filter: blur(10px);
}

.calendar-lightbox-body {
  max-width: min(92vw, 980px);
  max-height: 86vh;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 252, 247, 0.96);
  box-shadow: 0 24px 80px rgba(42, 30, 18, 0.24);
}

.calendar-lightbox-body img,
.calendar-lightbox-body video {
  max-width: 92vw;
  max-height: 86vh;
  display: block;
  object-fit: contain;
}

.calendar-lightbox-close {
  position: fixed;
  top: 22px;
  right: 24px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(168, 143, 120, 0.22);
  border-radius: 50%;
  background: rgba(255, 252, 247, 0.92);
  color: var(--text);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.calendar-audio {
  width: 100%;
  display: block;
  margin-top: 8px;
}

.calendar-detail-empty {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.8;
}

.calendar-board {
  border-radius: 24px;
  border: 1px solid rgba(120, 89, 61, 0.14);
  background: rgba(255, 252, 246, 0.9);
  padding: 16px;
  box-shadow: var(--shadow);
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
}

.calendar-weekday {
  text-align: center;
  font-size: 0.84rem;
  color: var(--muted);
  padding: 8px 0;
}

.calendar-day {
  min-height: 92px;
  border-radius: 16px;
  border: 1px solid rgba(120, 89, 61, 0.12);
  background: rgba(255, 253, 248, 0.92);
  text-align: left;
  padding: 10px 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  color: var(--text);
}

.calendar-link {
  text-decoration: none;
}

.calendar-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(134, 102, 72, 0.08);
}

.calendar-day.muted {
  opacity: 0.45;
}

.calendar-day span {
  font-size: 1.06rem;
  font-weight: 700;
}

.calendar-day-meta {
  display: grid;
  gap: 4px;
  font-size: 0.8rem;
  line-height: 1.45;
}

.calendar-day-meta em,
.calendar-day-meta small {
  font-style: normal;
  display: inline-block;
  border-radius: 999px;
  padding: 2px 8px;
  width: fit-content;
}

.calendar-day-meta em {
  background: rgba(168, 143, 120, 0.12);
  color: var(--accent);
}

.calendar-day-meta small {
  background: rgba(201, 175, 163, 0.14);
  color: #8d6458;
}

.calendar-day.highlight {
  border-color: rgba(207, 88, 88, 0.22);
  background: rgba(255, 242, 242, 0.96);
}

.calendar-day.today {
  box-shadow: inset 0 0 0 1px rgba(168, 143, 120, 0.4);
}

.calendar-day.selected {
  outline: 2px solid rgba(168, 143, 120, 0.5);
  outline-offset: 1px;
}

.calendar-side {
  display: grid;
  gap: 14px;
}

.calendar-card {
  border-radius: 22px;
  border: 1px solid rgba(120, 89, 61, 0.14);
  background: rgba(255, 252, 246, 0.92);
  padding: 18px;
  box-shadow: var(--shadow);
}

.calendar-card-title {
  font-size: 1.02rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.calendar-card-copy {
  color: var(--muted);
  line-height: 1.8;
}

.calendar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.calendar-tag {
  border: 1px solid rgba(120, 89, 61, 0.16);
  background: rgba(255, 252, 246, 0.92);
  border-radius: 14px;
  padding: 10px 12px;
  text-align: left;
  cursor: pointer;
  display: grid;
  gap: 4px;
}

.calendar-tag strong {
  color: var(--accent);
  font-size: 0.95rem;
}

.calendar-tag span {
  color: var(--muted);
  font-size: 0.82rem;
}

.diary-workbench {
  width: 100%;
  display: flex;
  justify-content: center;
}

.diary-notebook {
  position: relative;
  width: min(100%, 980px);
  min-height: 560px;
}

.diary-rings {
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  z-index: 3;
}

.diary-rings span {
  width: 18px;
  height: 26px;
  border-radius: 10px;
  border: 2px solid rgba(137, 112, 88, 0.55);
  background: linear-gradient(180deg, rgba(247, 239, 226, 0.96), rgba(226, 208, 182, 0.92));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.diary-paper {
  position: relative;
  margin-left: 0;
  min-height: 560px;
  padding: 34px 40px 30px 40px;
  border-radius: 28px;
  background:
    repeating-linear-gradient(
      180deg,
      rgba(120, 89, 61, 0.16) 0 1px,
      transparent 1px 34px
    ),
    linear-gradient(180deg, rgba(238, 222, 197, 0.98), rgba(224, 201, 165, 0.98));
  border: 1px solid rgba(120, 89, 61, 0.18);
  box-shadow:
    inset 0 0 0 1px rgba(255, 250, 240, 0.42),
    0 24px 60px rgba(134, 102, 72, 0.1);
  overflow: hidden;
}

.diary-paper::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(139, 104, 69, 0.08), transparent 18px);
  opacity: 0.45;
  pointer-events: none;
}

.diary-paper::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      180deg,
      transparent 0 33px,
      rgba(120, 89, 61, 0.18) 33px 34px
    );
  pointer-events: none;
  opacity: 0.82;
}

.diary-paper-head,
.diary-entry,
.diary-toolbar,
.diary-audio {
  position: relative;
  z-index: 1;
}

.diary-paper-head {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.diary-paper-head strong {
  font-size: 1.2rem;
  color: #4b392f;
}

.diary-paper-head span {
  color: var(--muted);
}

.diary-entry {
  display: block;
}

.diary-entry textarea {
  width: 100%;
  min-height: 260px;
  resize: vertical;
  border: none;
  outline: none;
  background: transparent;
  color: #4b392f;
  font: inherit;
  font-size: 16px;
  line-height: 34px;
  padding: 0;
  box-sizing: border-box;
}

.diary-entry textarea::placeholder {
  color: rgba(111, 90, 72, 0.68);
}

.diary-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.diary-action {
  border: 1px solid rgba(120, 89, 61, 0.22);
  background: rgba(244, 227, 199, 0.94);
  color: var(--accent);
  border-radius: 12px;
  padding: 12px 18px;
  font-weight: 700;
  cursor: pointer;
}

.diary-action.primary {
  background: var(--accent);
  color: #fffdf8;
}

.diary-action:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.diary-audio {
  margin-top: 18px;
  border-radius: 18px;
  border: 1px solid rgba(120, 89, 61, 0.14);
  background: rgba(244, 227, 199, 0.9);
  padding: 14px 16px;
  color: rgba(111, 90, 72, 0.86);
}

.diary-audio audio {
  width: 100%;
  display: block;
}

.memoir-preview-frame {
  border-radius: 26px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.memoir-preview-screen {
  min-height: 220px;
  border-radius: 20px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  background:
    radial-gradient(circle at top, rgba(242, 196, 109, 0.16), transparent 38%),
    linear-gradient(180deg, rgba(24, 31, 52, 0.98), rgba(10, 16, 30, 0.96));
}

.memoir-preview-tag {
  width: fit-content;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--accent);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.memoir-preview-title {
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 700;
}

.memoir-preview-subtitle {
  color: var(--muted);
  line-height: 1.8;
}

.memoir-export-video {
  width: 100%;
  display: block;
  border-radius: 18px;
  background: #0f1728;
  box-shadow: 0 18px 40px rgba(42, 30, 18, 0.12);
}

.memoir-preview-meta {
  display: grid;
  gap: 12px;
}

.memoir-meta-item {
  border-radius: 20px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.memoir-meta-item span {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
  margin-bottom: 6px;
}

.memoir-meta-item strong {
  font-size: 1rem;
}

.product-hero {
  padding: 56px 0 40px;
}

.product-card {
  padding: 42px;
  border-radius: 30px;
  border: 1px solid var(--border);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.product-card h1 {
  margin: 18px 0 14px;
  font-size: clamp(2.3rem, 5vw, 4rem);
  line-height: 1.08;
}

.product-card p {
  max-width: 60ch;
  color: var(--muted);
  line-height: 1.8;
}

.upload-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 28px 0;
}

.upload-box {
  padding: 24px 18px;
  border-radius: 22px;
  border: 1px dashed rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
}

.upload-box strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.upload-box span {
  color: var(--muted);
}

.grid-overlay,
.orb {
  position: fixed;
  pointer-events: none;
  z-index: 0;
}

.grid-overlay {
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.42), transparent 82%);
}

.orb {
  filter: blur(18px);
  opacity: 0.78;
}

.orb-a {
  width: 280px;
  height: 280px;
  left: -70px;
  top: 80px;
  background: radial-gradient(circle, rgba(242, 196, 109, 0.28), transparent 68%);
}

.orb-b {
  width: 360px;
  height: 360px;
  right: -120px;
  top: 260px;
  background: radial-gradient(circle, rgba(125, 212, 255, 0.22), transparent 70%);
}

@media (max-width: 980px) {
  .hero,
  .section-split,
  .feature-grid,
  .roadmap-grid,
  .upload-grid,
  .hero-promo {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    flex-wrap: wrap;
    gap: 14px;
  }

  .topbar-cta {
    margin-left: 0;
  }

  .product-topbar,
  .creator-shell {
    width: min(100% - 24px, 1180px);
  }

  .creator-shell {
    grid-template-columns: 1fr;
    height: auto;
  }

  .creator-sidebar {
    position: static;
    max-height: none;
    height: auto;
    width: 100%;
  }

  .creator-main {
    margin-left: 0;
  }

  .sidebar-item {
    flex: none;
    width: 100%;
  }

  .toolbox-workbench {
    grid-template-columns: 1fr;
  }

  .vault-workbench {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  main,
  .topbar,
  .footer {
    width: min(100% - 24px, 1180px);
  }

  .hero-copy,
  .hero-panel,
  .detail-panel,
  .panel-card,
  .feature-card,
  .timeline-item,
  .footer {
    border-radius: 22px;
  }

  .hero-copy {
    padding: 28px 22px;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 2.4rem;
  }

  .sidebar-item {
    width: 100%;
  }

  body.product-page {
    overflow: auto;
  }

  .workspace-mini {
    aspect-ratio: 16 / 8;
    min-height: 160px;
  }

  .memoir-preview-panel {
    grid-template-columns: 1fr;
  }
}

/* Light warm film theme overrides */
:root {
  color-scheme: light;
  --bg: #f9f7f3;
  --bg-soft: #f4efe8;
  --panel: rgba(255, 252, 247, 0.96);
  --panel-strong: #fffdf8;
  --border: rgba(168, 143, 120, 0.14);
  --text: #463e39;
  --muted: #7c726c;
  --accent: #a88f78;
  --accent-2: #c9afa3;
  --accent-3: #d8c8bb;
  --shadow: 0 10px 28px rgba(168, 143, 120, 0.08);
}

body {
  font-family: "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  background:
    url("assets/memory-collage-bg.svg"),
    url("assets/paper-texture.svg"),
    radial-gradient(circle at top left, rgba(201, 175, 163, 0.12), transparent 24%),
    radial-gradient(circle at top right, rgba(168, 143, 120, 0.09), transparent 22%),
    linear-gradient(180deg, #f9f7f3 0%, #f7f3ee 50%, #f4efe8 100%);
  background-size: cover, 680px 450px, auto, auto, auto;
  background-position: center, center, center, center, center;
  background-blend-mode: multiply, multiply, normal, normal, normal;
  color: var(--text);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.03)),
    radial-gradient(circle at 16% 22%, rgba(168, 143, 120, 0.06), transparent 32%),
    radial-gradient(circle at 82% 16%, rgba(201, 175, 163, 0.055), transparent 28%),
    radial-gradient(circle at 24% 82%, rgba(201, 175, 163, 0.045), transparent 24%),
    radial-gradient(circle at 76% 78%, rgba(168, 143, 120, 0.04), transparent 26%);
  opacity: 0.1;
  z-index: 0;
}

h1,
h2,
h3,
.brand-name,
.memory-title,
.memoir-preview-title,
.workspace-mini strong,
.module-stage-card strong {
  font-family: "Source Han Serif SC", "Noto Serif SC", "Songti SC", "STSong", serif;
  color: var(--text);
}

.topbar,
.product-topbar {
  background: rgba(249, 247, 243, 0.84);
  border-bottom: 1px solid rgba(168, 143, 120, 0.08);
  backdrop-filter: blur(12px);
}

.brand-mark {
  background: linear-gradient(135deg, #c9afa3, #a88f78);
  color: #fffdf8;
  box-shadow: 0 8px 18px rgba(168, 143, 120, 0.16);
}

.nav {
  color: var(--muted);
}

.hero-copy,
.hero-panel,
.feature-card,
.detail-panel,
.timeline-item,
.footer,
.panel-card,
.workspace-card,
.creator-sidebar,
.roadmap-card,
.memoir-upload-card,
.memoir-status,
.memoir-preview-frame,
.memoir-meta-item,
.upload-box,
.product-card {
  background: rgba(255, 252, 247, 0.94);
  border-color: rgba(168, 143, 120, 0.12);
  box-shadow: var(--shadow);
}

.hero-copy,
.hero-panel,
.feature-card,
.detail-panel,
.timeline-item,
.footer,
.panel-card,
.workspace-card,
.creator-sidebar,
.roadmap-card,
.memoir-upload-card,
.memoir-preview-frame,
.memoir-meta-item,
.upload-box,
.product-card {
  border-radius: 12px;
}

.hero-promo,
.panel-feature,
.feature-card,
.detail-panel,
.timeline-item,
.roadmap-card,
.workspace-card,
.memoir-upload-card,
.memoir-preview-screen,
.workspace-mini {
  background: linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(246, 241, 235, 0.98));
}

.section-tag,
.pill,
.eyebrow,
.promo-label,
.memoir-preview-tag,
.sidebar-title {
  color: var(--accent);
}

.section-tag,
.pill,
.eyebrow {
  background: rgba(168, 143, 120, 0.11);
  border: 1px solid rgba(168, 143, 120, 0.12);
}

.button.primary,
.memoir-action.primary,
.tab.active,
.sidebar-item.active,
.topbar-cta {
  background: var(--accent);
  color: #fffdf8;
  box-shadow: 0 10px 24px rgba(168, 143, 120, 0.16);
}

.button.secondary,
.memoir-action,
.sidebar-item,
.tab {
  background: rgba(255, 253, 248, 0.85);
  border-color: rgba(168, 143, 120, 0.18);
  color: var(--accent);
}

.button.secondary:hover,
.memoir-action:hover,
.sidebar-item:hover,
.tab:hover {
  background: rgba(168, 143, 120, 0.08);
}

.button,
.memoir-action,
.sidebar-item,
.tab,
.memoir-upload-card {
  border-radius: 12px;
}

.hero-copy,
.hero-panel,
.feature-card,
.detail-panel,
.timeline-item,
.footer,
.panel-card,
.workspace-card,
.creator-sidebar,
.roadmap-card,
.memoir-upload-card,
.memoir-preview-frame,
.memoir-meta-item,
.upload-box,
.product-card {
  backdrop-filter: blur(8px);
}

.hero-copy::before,
.hero-panel::before,
.workspace-card::before,
.creator-sidebar::before,
.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  border: 1px solid rgba(168, 143, 120, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.34);
  opacity: 0.65;
}

.hero h1,
.section h2,
.panel-feature h2,
.workspace-card h1,
.product-card h1 {
  color: var(--text);
}

.lead,
.panel-feature p,
.feature-card p,
.detail-panel li,
.timeline-item p,
.footer p,
.memory-copy,
.memoir-upload-card span,
.memoir-status,
.memoir-preview-subtitle,
.product-card p,
.upload-box span,
.memoir-file-chip,
.memoir-meta-item span,
.brand-subtitle,
.nav,
.section-head p {
  color: var(--muted);
}

.memoir-preview-screen {
  border: 1px solid rgba(168, 143, 120, 0.12);
  border-radius: 12px;
}

.grid-overlay {
  background-image:
    linear-gradient(rgba(168, 143, 120, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 143, 120, 0.04) 1px, transparent 1px);
  opacity: 0.7;
}

.orb-a {
  background: radial-gradient(circle, rgba(201, 175, 163, 0.24), transparent 68%);
}

.orb-b {
  background: radial-gradient(circle, rgba(168, 143, 120, 0.16), transparent 70%);
}

.memoir-action:disabled {
  opacity: 0.5;
  color: rgba(168, 143, 120, 0.45);
}

.memoir-preview-panel,
.memoir-workbench,
.creator-shell,
.hero,
.section,
.footer {
  color: var(--text);
}

.workspace-body {
  margin-top: 8px;
}

.workspace-mini {
  border: 1px solid rgba(168, 143, 120, 0.14);
}

.memoir-preview-frame,
.memoir-meta-item {
  border: 1px solid rgba(168, 143, 120, 0.12);
}

.memoir-upload-card {
  border-style: solid;
}

.memoir-file-chip {
  background: rgba(168, 143, 120, 0.08);
  color: var(--text);
}

.memoir-status {
  border: 1px solid rgba(168, 143, 120, 0.12);
}

.album-workbench {
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

.album-upload-card {
  display: grid;
  gap: 8px;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid rgba(168, 143, 120, 0.16);
  background: rgba(255, 252, 247, 0.9);
  box-shadow: 0 10px 24px rgba(168, 143, 120, 0.08);
  cursor: pointer;
}

.album-upload-card strong {
  font-family: "Source Han Serif SC", "Noto Serif SC", "Songti SC", "STSong", serif;
  color: var(--text);
  font-size: 1.2rem;
}

.album-upload-card span {
  color: var(--muted);
  line-height: 1.8;
}

.album-photo-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 10px;
}

.album-photo-item,
.album-empty {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(168, 143, 120, 0.12);
  background: rgba(168, 143, 120, 0.06);
  color: var(--muted);
}

.album-photo-item {
  aspect-ratio: 4 / 3;
  padding: 5px;
  background: rgba(255, 252, 247, 0.92);
  overflow: hidden;
}

.album-photo-item img,
.album-photo-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}

body.product-page {
  position: relative;
  background:
    url("assets/memory-collage-bg.svg"),
    url("assets/paper-texture.svg"),
    radial-gradient(circle at 12% 18%, rgba(168, 143, 120, 0.06), transparent 22%),
    radial-gradient(circle at 86% 16%, rgba(201, 175, 163, 0.07), transparent 20%),
    radial-gradient(circle at 18% 84%, rgba(201, 175, 163, 0.05), transparent 18%),
    radial-gradient(circle at 78% 78%, rgba(168, 143, 120, 0.04), transparent 20%),
    linear-gradient(180deg, #f9f7f3 0%, #f7f2eb 48%, #f4ede4 100%);
  background-size: cover, 640px 420px, auto, auto, auto, auto, auto;
  background-position: center top, center, center, center, center, center, center;
  background-blend-mode: multiply, multiply, normal, normal, normal, normal, normal;
}

body.product-page::after {
  content: "";
  position: fixed;
  right: 0;
  top: 86px;
  width: 360px;
  height: 470px;
  pointer-events: none;
  opacity: 0.34;
  background:
    url("assets/autumn-leaves.svg") top right / 220px auto no-repeat,
    url("assets/dried-flowers.svg") bottom right / 180px auto no-repeat;
  filter: saturate(0.9);
}

body.product-page::before {
  opacity: 0.12;
}

.creator-shell {
  position: relative;
}

.creator-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 1px solid rgba(168, 143, 120, 0.24);
  border-radius: 18px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.36),
    0 18px 40px rgba(168, 143, 120, 0.06);
  opacity: 0.76;
  background:
    url("assets/album-page-edge.svg") top right / 360px auto no-repeat,
    url("assets/album-page-edge.svg") bottom left / 280px auto no-repeat;
}

.creator-shell::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  height: 22px;
  pointer-events: none;
  opacity: 0.16;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(168, 143, 120, 0.1) 0 11px,
      rgba(168, 143, 120, 0.02) 11px 23px
    );
  border-radius: 0 0 12px 12px;
}

.workspace-card,
.creator-sidebar {
  position: relative;
  z-index: 1;
}

.workspace-card::before,
.creator-sidebar::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  border: 1px solid rgba(168, 143, 120, 0.24);
  opacity: 0.42;
  background: url("assets/paper-texture.svg") center / 700px 480px repeat;
  mix-blend-mode: multiply;
}

.workspace-card::after {
  content: "";
  position: absolute;
  inset: auto 18px 14px 18px;
  height: 32px;
  pointer-events: none;
  opacity: 0.2;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(168, 143, 120, 0.1) 0 11px,
      rgba(168, 143, 120, 0.025) 11px 23px
    );
  border-radius: 0 0 10px 10px;
}

.hero-copy::after,
.hero-panel::after,
.product-card::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 14px;
  height: 22px;
  pointer-events: none;
  opacity: 0.18;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(168, 143, 120, 0.08) 0 11px,
      rgba(168, 143, 120, 0.015) 11px 22px
    );
  border-radius: 0 0 10px 10px;
}

@media (max-width: 980px) {
  body::before {
    opacity: 0.06;
  }

  body.product-page::after {
    width: 150px;
    height: 180px;
    right: 6px;
    top: 108px;
  }
}

@media (min-width: 981px) {
  .creator-shell {
    grid-template-columns: 240px minmax(0, 1fr);
  }

  .creator-main {
    grid-column: 2;
    padding-top: 36px;
  }

  .creator-sidebar {
    position: fixed;
    left: max(20px, calc((100vw - 1180px) / 2));
    top: 124px;
    z-index: 15;
    width: 240px;
  }
}

