/* ============================================================
   大锤妙记 3.0 · 影刀经典光感美学与全站精修（浅色 + 深色双态）
   ============================================================ */

body {
  --canvas-white: #ffffff;
  --paper: #f5f7fb;
  --surface: #ffffff;
  --ink: #0f172a;
  --secondary: #475569;
  --muted: #78849a;
  --rule: rgba(15, 23, 42, .075);
  --rule-strong: rgba(15, 23, 42, .13);
  --obsidian: #0f172a;
  --obsidian-hover: #2350dc;
  --cobalt: #2350dc;
  --cobalt-deep: #1b40b8;
  --notes-cta: #0f172a;
  --notes-soft: #eef2ff;
  --snippet-bg: #f5f7fc;
  --notes-ease: cubic-bezier(.22, 1, .36, 1);
  --notes-spring: cubic-bezier(.34, 1.38, .64, 1);
  --notes-shadow: 0 1px 2px rgba(15, 23, 42, .03), 0 12px 30px -16px rgba(15, 23, 42, .08);
  --notes-shadow-hover: 0 4px 12px rgba(15, 23, 42, .05), 0 20px 42px -18px rgba(15, 23, 42, .14);
  --notes-gutter: clamp(1rem, 3.6vw, 2.5rem);
  --notes-width: min(76rem, calc(100% - var(--notes-gutter) * 2));
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.notes-shell,
main.studio-page.notebook,
body > .site-footer {
  width: var(--notes-width);
  max-width: none;
  margin-inline: auto;
}

/* ============================================================
   1. 62px 影刀毛玻璃通栏顶栏 (Full-Bleed Frosted Navbar)
   ============================================================ */
body > .site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  width: 100%;
  max-width: none;
  margin-inline: 0;
  min-height: 3.85rem;
  padding-inline: max(var(--notes-gutter), calc((100% - 76rem) / 2));
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--rule);
}

body > .site-header .identity {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: .65rem;
}

body > .site-header .brand-icon {
  width: 30px;
  height: 30px;
  mix-blend-mode: multiply;
}

body > .site-header .wordmark {
  font-size: clamp(1.3rem, 2.3vw, 1.62rem);
}

body > .site-header .brand-name {
  padding-left: .65rem;
  border-left-color: var(--rule-strong);
  font-size: .88rem;
  color: var(--secondary);
}

body > .site-header .brand-icon + .brand-name {
  padding-left: 0;
  border-left: 0;
  font-size: 1.02rem;
  font-weight: 760;
  color: var(--ink);
}

body > .site-header nav a {
  color: var(--secondary);
  font-size: .93rem;
  font-weight: 560;
}

body > .site-header nav a:hover {
  color: var(--ink);
}

body > .site-header nav a::after {
  background: var(--obsidian);
}

.notes-site-menu { display: none; }

@media (min-width: 36.01rem) and (max-width: 54rem) {
  body > .site-header.studio-nav.notes-site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .85rem;
    min-height: 3.7rem;
    padding-top: 0;
  }

  .notes-site-header .identity { gap: .5rem; }
  .notes-site-header .brand-icon { width: 28px; height: 28px; }
  .notes-site-header .wordmark { font-size: 1.32rem; }
  .notes-site-header .brand-name { padding-left: .5rem; font-size: .84rem; white-space: nowrap; }
  .notes-site-header nav {
    display: flex;
    grid-column: auto;
    align-items: center;
    gap: .95rem;
  }
  .notes-site-header nav a { min-width: auto; padding-inline: .15rem; font-size: .89rem; }
}

.notes-shell,
main.studio-page.notebook {
  padding-block: clamp(1.25rem, 2.4vw, 1.9rem) clamp(3rem, 5.5vw, 4.75rem);
}

/* ============================================================
   2. 影刀光感纯白首屏 (Luminous Full-Bleed Hero Band)
   ============================================================ */
.notes-hero-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 56% 74% at 84% 24%, rgba(59, 130, 246, .095) 0%, rgba(139, 92, 246, .048) 46%, transparent 74%),
    radial-gradient(ellipse 40% 52% at 12% 14%, rgba(251, 191, 36, .06) 0%, transparent 68%),
    var(--canvas-white);
  border-bottom: 1px solid var(--rule);
}

.notes-hero-band::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(15, 23, 42, .028) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, .028) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 84% 82% at 50% 40%, #000 32%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse 84% 82% at 50% 40%, #000 32%, transparent 90%);
}

.notes-hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: center;
  gap: clamp(1.4rem, 3.8vw, 3.4rem);
  padding-block: clamp(1.6rem, 3vw, 2.45rem) clamp(1.65rem, 3.1vw, 2.5rem);
}

.notes-hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.notes-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1rem;
  padding: .3rem .82rem;
  border: 1px solid rgba(35, 80, 220, .14);
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  color: #334155;
  font-size: .78rem;
  font-weight: 660;
  letter-spacing: .04em;
  box-shadow: 0 2px 10px -4px rgba(15, 23, 42, .08);
}

.notes-hero-eyebrow i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .14);
}

.notes-hero h1 {
  margin: 0;
  font-size: clamp(2.05rem, 3.9vw, 3.2rem);
  font-weight: 760;
  line-height: 1.16;
  letter-spacing: -.038em;
  color: var(--ink);
  text-wrap: balance;
}

.notes-hero-gradient {
  background: linear-gradient(100deg, #1d4ed8 0%, #4f46e5 55%, #2563eb 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.notes-hero-lead {
  max-width: 34rem;
  margin-top: .95rem;
  color: var(--secondary);
  font-size: clamp(.95rem, 1.25vw, 1.06rem);
  line-height: 1.75;
  text-wrap: pretty;
}

.notes-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .65rem;
  margin-top: 1.45rem;
}

.idea-button.notes-hero-action {
  gap: .45rem;
  min-height: 44px;
  padding: .56rem 1.42rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--obsidian);
  color: #fff;
  font-weight: 660;
  box-shadow: 0 10px 24px -10px rgba(15, 23, 42, .45);
}

.idea-button.notes-hero-action:is(:hover, :focus-visible) {
  border-color: transparent;
  background: var(--cobalt);
  color: #fff;
  box-shadow: 0 12px 28px -10px rgba(35, 80, 220, .48);
}

.idea-button.notes-hero-secondary {
  min-height: 44px;
  padding: .56rem 1.25rem;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  color: var(--ink);
  font-weight: 640;
}

.idea-button.notes-hero-secondary:is(:hover, :focus-visible) {
  border-color: rgba(35, 80, 220, .34);
  background: #f5f8ff;
  color: var(--cobalt);
}

.notes-hero-ghost {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: .45rem;
  color: var(--secondary);
  font-size: .92rem;
  font-weight: 620;
  white-space: nowrap;
}

.notes-hero-ghost:is(:hover, :focus-visible) {
  color: var(--cobalt);
}

.notes-hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, auto));
  gap: .9rem clamp(1.2rem, 2.8vw, 2.4rem);
  width: 100%;
  margin: 1.65rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
}

.notes-hero-metrics > div {
  min-width: 0;
}

.notes-hero-metrics dt {
  color: var(--muted);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .02em;
}

.notes-hero-metrics dd {
  margin: .2rem 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .28rem;
  line-height: 1.3;
}

.notes-hero-metrics dd strong {
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 760;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}

.notes-hero-metrics dd span {
  color: var(--muted);
  font-size: .78rem;
}

/* Right Showcase Stage: YingDao Luminous Pastel Card */
.notes-hero-stage {
  min-width: 0;
}

.notes-hero-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.15rem;
  padding: clamp(1.3rem, 2.4vw, 1.75rem);
  border: 1px solid rgba(35, 80, 220, .09);
  border-radius: 1.65rem;
  background:
    radial-gradient(ellipse 84% 66% at 50% 18%, rgba(255, 255, 255, .92) 0%, rgba(255, 255, 255, .36) 48%, transparent 74%),
    linear-gradient(156deg, #eef3ff 0%, #f2efff 54%, #fff7ec 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .92),
    0 24px 56px -28px rgba(15, 23, 42, .16);
}

.notes-hero-card-art {
  isolation: isolate;
  display: grid;
  place-items: center;
  width: clamp(7.4rem, 13vw, 9.6rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 30%, #ffffff 0%, #eaf0ff 68%, #d7e3ff 100%);
  box-shadow:
    0 0 0 .5rem rgba(255, 255, 255, .58),
    0 14px 32px -14px rgba(35, 80, 220, .24);
}

.notes-hero-card-art img {
  width: 96%;
  border-radius: inherit;
  mix-blend-mode: multiply;
  mask-image: linear-gradient(#000 84%, transparent 98%);
}

.notes-hero-shortcuts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .55rem;
  width: 100%;
}

.notes-hero-chip {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .16rem;
  min-width: 0;
  padding: .66rem .72rem;
  border: 1px solid rgba(15, 23, 42, .07);
  border-radius: .95rem;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-align: left;
  box-shadow: 0 4px 14px -8px rgba(15, 23, 42, .12);
}

.notes-hero-chip strong {
  color: var(--ink);
  font-size: .86rem;
  font-weight: 720;
  line-height: 1.25;
}

.notes-hero-chip span {
  color: var(--muted);
  font-size: .72rem;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

.notes-hero-chip:is(:hover, :focus-visible) {
  border-color: rgba(35, 80, 220, .26);
  background: #ffffff;
  box-shadow: 0 10px 22px -12px rgba(35, 80, 220, .22);
}

.notes-hero-chip:is(:hover, :focus-visible) strong {
  color: var(--cobalt);
}

/* ============================================================
   3. Section Rhythm & Editorial Headers
   ============================================================ */
.notes-layout {
  padding-top: clamp(1.25rem, 2.2vw, 1.75rem);
}

.notes-section,
.vault-shelf,
.notes-discovery { min-width: 0; }

.notes-section,
#consistent-visuals,
#my-ideas,
#vault,
#software,
#prompts,
#quotes,
#skills,
#good-product { scroll-margin-top: 8.6rem; }

.notes-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: .75rem 1.5rem;
  margin-bottom: clamp(1rem, 1.8vw, 1.35rem);
}

.notes-section-eyebrow {
  margin: 0 0 .28rem;
  color: var(--cobalt);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .1em;
}

.notes-section h2 {
  display: inline-flex;
  align-items: center;
  gap: .52rem;
  margin: 0;
  font-size: clamp(1.55rem, 2.5vw, 1.98rem);
  font-weight: 760;
  line-height: 1.2;
  letter-spacing: -.035em;
  color: var(--ink);
}

.notes-count-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.7rem;
  height: 1.52rem;
  padding-inline: .52rem;
  border-radius: 999px;
  background: var(--notes-soft);
  color: var(--cobalt);
  font-size: .8rem;
  font-weight: 720;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}

.notes-section-desc {
  margin-top: .3rem;
  color: var(--secondary);
  font-size: .94rem;
}

.vault-shortcuts-hint {
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  padding: .34rem .78rem;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: rgba(255, 255, 255, .78);
  color: var(--muted);
  font-size: .78rem;
  font-weight: 560;
}

.vault-shortcuts-hint span {
  display: inline-flex;
  align-items: center;
  gap: .32rem;
}

.vault-shortcuts-hint kbd {
  display: inline-grid;
  place-items: center;
  min-width: 1.32rem;
  height: 1.32rem;
  padding-inline: .26rem;
  border: 1px solid rgba(15, 23, 42, .12);
  border-bottom-width: 2px;
  border-radius: .35rem;
  background: #fff;
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .7rem;
  font-weight: 700;
  line-height: 1;
}

/* ============================================================
   4. 影刀悬浮指令栏 (Unified Sticky Command Dock)
   ============================================================ */
.vault-command-dock {
  position: sticky;
  z-index: 20;
  top: 4.45rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .65rem;
  margin-bottom: clamp(1rem, 2vw, 1.35rem);
  padding: .36rem .42rem;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 1.08rem;
  background: rgba(255, 255, 255, .90);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 10px 30px -16px rgba(15, 23, 42, .12), 0 1px 2px rgba(15, 23, 42, .04);
}

.vault-cat-wrap {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
}

.vault-cat-wrap.can-scroll-right {
  mask-image: linear-gradient(to right, #000 calc(100% - 2.4rem), transparent 100%);
  -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 2.4rem), transparent 100%);
}

.vault-cat-wrap.can-scroll-left {
  mask-image: linear-gradient(to right, transparent 0, #000 2.4rem);
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 2.4rem);
}

.vault-cat-wrap.can-scroll-left.can-scroll-right {
  mask-image: linear-gradient(to right, transparent 0, #000 2rem, #000 calc(100% - 2rem), transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 2rem, #000 calc(100% - 2rem), transparent 100%);
}

.vault-cat-bar {
  display: flex;
  align-items: center;
  gap: .24rem;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
  padding: .04rem;
}

.vault-cat-bar::-webkit-scrollbar { display: none; }

.vault-cat-pill {
  display: inline-flex;
  align-items: center;
  gap: .36rem;
  flex: none;
  min-height: 38px;
  padding: .3rem .84rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--secondary);
  font-size: .88rem;
  font-weight: 640;
  white-space: nowrap;
  scroll-snap-align: center;
}

.vault-cat-pill .pill-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.32rem;
  height: 1.2rem;
  padding-inline: .35rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, .055);
  color: #5b677e;
  font-size: .72rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.vault-cat-pill .pill-count.is-idea {
  background: #e6eeff;
  color: var(--cobalt);
  font-weight: 660;
}

.vault-cat-pill .pill-count.is-empty {
  background: #fef3dc;
  color: #926314;
  font-weight: 600;
}

.vault-cat-pill.is-zero-hit:not([aria-selected="true"]) {
  opacity: .44;
}

.vault-cat-pill:is(:hover, :focus-visible) {
  color: var(--ink);
  background: rgba(15, 23, 42, .05);
  opacity: 1;
}

.vault-cat-pill[aria-selected="true"] {
  color: #fff;
  background: var(--obsidian);
  box-shadow: 0 4px 12px -4px rgba(15, 23, 42, .36);
}

.vault-cat-pill[aria-selected="true"] .pill-count {
  background: rgba(255, 255, 255, .20);
  color: #fff;
}

.vault-cat-pill.is-fav-tab {
  color: #8a5a08;
  background: #fff8e6;
}

.vault-cat-pill.is-fav-tab:is(:hover, :focus-visible) {
  color: #6b4300;
  background: #ffefc4;
}

.vault-cat-pill.is-fav-tab[aria-selected="true"] {
  color: #fff;
  background: #c27d0e;
  box-shadow: 0 4px 12px -4px rgba(194, 125, 14, .42);
}

/* Integrated Search Input inside Command Dock */
.vault-search-box {
  position: relative;
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  width: clamp(13rem, 23vw, 17.5rem);
}

.vault-search-ico {
  position: absolute;
  left: .82rem;
  color: var(--muted);
  pointer-events: none;
}

.vault-search-box input {
  width: 100%;
  min-height: 38px;
  padding: .38rem 2.15rem .38rem 2.25rem;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 999px;
  background: #f3f6fb;
  color: var(--ink);
  font: inherit;
  font-size: .87rem;
}

.vault-search-box input::placeholder { color: var(--muted); }

.vault-search-box input:focus-visible {
  border-color: rgba(35, 80, 220, .45);
  background: #ffffff;
  outline: none;
  box-shadow: 0 0 0 3px rgba(35, 80, 220, .12);
}

.vault-search-box input::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
}

.vault-search-kbd {
  position: absolute;
  right: .52rem;
  display: inline-grid;
  place-items: center;
  min-width: 1.38rem;
  height: 1.38rem;
  padding: 0 .3rem;
  border: 1px solid rgba(15, 23, 42, .12);
  border-bottom-width: 2px;
  border-radius: .36rem;
  background: #ffffff;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .72rem;
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.vault-search-box:focus-within .vault-search-kbd {
  opacity: 0;
}

@media (pointer: coarse), (max-width: 56rem) {
  .vault-search-kbd,
  .vault-shortcuts-hint { display: none; }
}

.vault-search-clear {
  position: absolute;
  right: .32rem;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: rgba(15, 23, 42, .08);
  color: var(--secondary);
  font-size: 1rem;
  line-height: 1;
}

.vault-search-clear:hover {
  background: rgba(15, 23, 42, .14);
  color: var(--ink);
}

/* Search Hit Highlight (<mark>) */
.notes-hit-mark {
  padding: .02em .2em;
  border-radius: .3em;
  background: #fef08a;
  color: #0f172a;
  font-weight: 650;
}

/* Scene Bundles Strip */
.vault-scenes-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem;
  margin: -.15rem 0 1.45rem;
}

.vault-scenes-label {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 680;
  letter-spacing: .03em;
  margin-inline-end: .15rem;
}

.vault-scene-pill {
  display: inline-flex;
  align-items: center;
  gap: .36rem;
  min-height: 32px;
  padding: .24rem .74rem;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  color: var(--secondary);
  font: inherit;
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
}

.vault-scene-pill .pill-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.25rem;
  height: 1.15rem;
  padding-inline: .3rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, .055);
  color: var(--muted);
  font-size: .7rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.vault-scene-pill:is(:hover, :focus-visible) {
  border-color: rgba(35, 80, 220, .3);
  background: #ffffff;
  color: var(--cobalt);
}

.vault-scene-pill[aria-pressed="true"] {
  border-color: var(--obsidian);
  background: var(--obsidian);
  color: #fff;
}

.vault-scene-pill[aria-pressed="true"] .pill-count {
  background: rgba(255, 255, 255, .22);
  color: #fff;
}

.vault-scene-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .85rem 1.25rem;
  padding: 1.15rem 1.35rem;
  margin-bottom: 1.1rem;
  border: 1px solid rgba(35, 80, 220, .14);
  border-radius: 1.3rem;
  background: linear-gradient(135deg, #f3f6ff 0%, #eef2ff 100%);
}

.vault-scene-banner h3 {
  margin: 0;
  font-size: 1.16rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .45rem;
}

.vault-scene-shelf > ul,
.vault-scene-shelf > ol { margin-bottom: 1.1rem; }
.vault-scene-shelf .vault-prompt-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr)); }
.vault-scene-shelf > :last-child { margin-bottom: 0; }

/* Auto-generated secondary tag filter pills in single-category view */
.vault-subtag-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .38rem;
  margin: -.15rem 0 1.1rem;
}

.vault-subtag-chip {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  min-height: 34px;
  padding: .2rem .76rem;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: #fff;
  color: var(--secondary);
  font-size: .82rem;
  font-weight: 620;
}

.vault-subtag-chip span {
  font-size: .74rem;
  opacity: .72;
  font-variant-numeric: tabular-nums;
}

.vault-subtag-chip:is(:hover, :focus-visible) {
  border-color: rgba(35, 80, 220, .35);
  color: var(--cobalt);
  background: #f5f8ff;
}

.vault-subtag-chip[aria-pressed="true"] {
  border-color: var(--obsidian);
  background: var(--obsidian);
  color: #fff;
}

.vault-content {
  display: grid;
  gap: clamp(2.1rem, 4vw, 3.1rem);
}

.vault-slot {
  display: grid;
  gap: clamp(2.1rem, 4vw, 3.1rem);
  min-width: 0;
}

.vault-slot:empty { display: none; }

.vault-shelf-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: .7rem 1.25rem;
  margin-bottom: 1.05rem;
}

.vault-shelf-head h3 {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin: 0;
  font-size: clamp(1.26rem, 2.05vw, 1.54rem);
  font-weight: 760;
  letter-spacing: -.03em;
  color: var(--ink);
}

.vault-shelf-desc {
  margin-top: .24rem;
  color: var(--secondary);
  font-size: .91rem;
}

.vault-shelf-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem;
}

/* ============================================================
   5. Unified YingDao Pill Buttons & Micro Controls
   ============================================================ */
.idea-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  max-width: 100%;
  padding: .46rem 1.05rem;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-size: .9rem;
  font-weight: 640;
  text-align: center;
  overflow-wrap: anywhere;
}

.idea-button-sm {
  min-height: 36px;
  padding: .28rem .82rem;
  font-size: .84rem;
}

.idea-button:is(:hover, :focus-visible) {
  border-color: rgba(35, 80, 220, .35);
  color: var(--cobalt);
  background: #f5f8ff;
}

.idea-button:disabled { opacity: .55; cursor: wait; }

.idea-button-primary {
  color: #fff;
  background: var(--obsidian);
  border-color: transparent;
  box-shadow: 0 8px 20px -10px rgba(15, 23, 42, .42);
}

.idea-button-primary:is(:hover, :focus-visible) {
  background: var(--cobalt);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(35, 80, 220, .44);
}

.idea-card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .36rem;
}

.idea-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: .22rem .72rem;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  background: #fff;
  color: var(--secondary);
  font-size: .8rem;
  font-weight: 620;
  white-space: nowrap;
}

.idea-card-btn:is(:hover, :focus-visible) {
  border-color: rgba(35, 80, 220, .38);
  color: var(--cobalt);
  background: #f3f7ff;
}

.idea-card-btn.is-copied {
  border-color: #16a34a;
  color: #15803d;
  background: #ecfdf5;
}

.idea-card-btn-primary {
  border-color: transparent;
  background: var(--obsidian);
  color: #fff;
}

.idea-card-btn-primary:is(:hover, :focus-visible) {
  border-color: transparent;
  background: var(--cobalt);
  color: #fff;
}

.idea-card-btn-danger:is(:hover, :focus-visible) {
  border-color: #dc2626;
  color: #b91c1c;
  background: #fef2f2;
}

/* Micro Favorite & Like Buttons */
.pick-head-right {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  flex: none;
}

.card-micro-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .22rem;
  min-width: 1.75rem;
  height: 1.7rem;
  padding: 0 .44rem;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: #f8fafd;
  color: var(--muted);
  font: inherit;
  font-size: .77rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
}

.card-micro-btn:is(:hover, :focus-visible) {
  border-color: rgba(35, 80, 220, .34);
  background: #eef4ff;
  color: var(--cobalt);
}

.card-micro-btn:active { transform: scale(.94); }

.card-fav-btn {
  font-size: .9rem;
  padding: 0 .34rem;
}

.card-fav-btn.is-active {
  border-color: #e9c46a;
  background: #fff7df;
  color: #b77700;
}

.card-like-btn.is-active {
  border-color: rgba(35, 80, 220, .35);
  background: #eaf0ff;
  color: var(--cobalt);
}

/* ============================================================
   6. 妙软件 4-Column Gallery Cards
   ============================================================ */
.notes-software-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(.78rem, 1.55vw, 1.05rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.notes-software-list > li { min-width: 0; }

.notes-software-list > li > a,
.notes-software-list .software-card {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  height: 100%;
  padding: 1.1rem 1.12rem .92rem;
  border: 1px solid var(--rule);
  border-radius: 1.25rem;
  background: var(--surface);
  box-shadow: var(--notes-shadow);
}

.notes-software-list > li > a:is(:hover, :focus-visible),
.notes-software-list .software-card:is(:hover, :focus-within) {
  border-color: rgba(35, 80, 220, .26);
  background: #ffffff;
  box-shadow: var(--notes-shadow-hover);
}

.software-card-main {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  flex: 1 1 auto;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.software-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .5rem;
}

.software-icon-wrap {
  display: grid;
  place-items: center;
  flex: none;
  width: 3rem;
  height: 3rem;
  border-radius: .88rem;
  background: #f4f7fc;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, .05);
}

.software-icon {
  display: block;
  width: 2.15rem;
  height: 2.15rem;
  object-fit: scale-down;
  mix-blend-mode: multiply;
}

.software-monogram {
  color: var(--cobalt);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -.04em;
}

.software-tags-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .28rem;
}

.software-tag {
  display: inline-flex;
  align-items: center;
  padding: .18rem .56rem;
  border-radius: 999px;
  font-size: .73rem;
  font-weight: 660;
  line-height: 1.35;
  white-space: nowrap;
}

.software-tag-app { background: #eef2ff; color: #2b4585; }
.software-tag-mac { background: #f3f0ff; color: #523b96; }
.software-tag-web { background: #e8f7f1; color: #156651; }
.software-tag-pin { background: #fef3c7; color: #92400e; }
.software-tag-suggest { background: #eef2ff; color: #3730a3; }
.software-tag-quote { background: #fff3e3; color: #9a5108; }

.software-copy { min-width: 0; }
.software-copy strong,
.software-copy small { display: block; }
.software-copy strong {
  font-size: 1rem;
  font-weight: 730;
  line-height: 1.34;
  color: var(--ink);
}
.software-copy small {
  margin-top: .2rem;
  color: var(--secondary);
  font-size: .85rem;
  line-height: 1.5;
}

.software-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  margin-top: auto;
  padding-top: .62rem;
  border-top: 1px solid var(--rule);
}

.software-host {
  color: var(--muted);
  font-size: .77rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.software-foot-actions {
  display: inline-flex;
  align-items: center;
  gap: .28rem;
  flex: none;
}

.software-link-action {
  display: grid;
  place-items: center;
  flex: none;
  width: 1.68rem;
  height: 1.68rem;
  border-radius: 999px;
  color: var(--ink);
  background: #f2f5fb;
  font-size: .88rem;
  font-weight: 650;
}

.notes-software-list > li > a:hover .software-link-action,
.notes-software-list .software-card:hover .software-link-action,
.software-link-action:is(:hover, :focus-visible) {
  background: var(--obsidian);
  color: #fff;
}

/* YingDao Soft Lavender Suggest Card (replaces muddy beige) */
.notes-software-list > li > a.software-suggest-card {
  border: 1.5px dashed rgba(35, 80, 220, .24);
  background: linear-gradient(155deg, #f8faff 0%, #f1f4ff 100%);
  box-shadow: none;
}

.notes-software-list > li > a.software-suggest-card:is(:hover, :focus-visible) {
  border-color: var(--cobalt);
  background: linear-gradient(155deg, #f3f7ff 0%, #e9efff 100%);
}

.software-icon-wrap--plus {
  background: #e5edff;
  color: var(--cobalt);
  font-size: 1.45rem;
  font-weight: 500;
  line-height: 1;
  box-shadow: none;
}

.software-suggest-card .software-card-foot { border-top-color: rgba(35, 80, 220, .12); }
.software-suggest-card .software-link-action { background: #e5edff; color: var(--cobalt); }
.software-suggest-card:hover .software-link-action { background: var(--cobalt); color: #fff; }

/* ============================================================
   7. 妙idea Dual Flagship Workspace
   ============================================================ */
.idea-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr);
  align-items: stretch;
  gap: clamp(1rem, 2vw, 1.4rem);
}

.idea-panel {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(1.25rem, 2.3vw, 1.7rem);
  border: 1px solid var(--rule);
  border-radius: 1.45rem;
  background: var(--surface);
  box-shadow: var(--notes-shadow);
}

.idea-panel-workspace,
.idea-columns > [data-idea-workspace] {
  border-color: rgba(35, 80, 220, .14);
  background: linear-gradient(156deg, #f1f5ff 0%, #f5f3ff 48%, #ffffff 100%);
}

.idea-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .55rem;
}

.idea-panel h4,
.idea-panel h3,
.idea-panel h2 {
  margin: 0;
  font-size: 1.16rem;
  font-weight: 740;
  letter-spacing: -.022em;
  color: var(--ink);
}

.idea-panel-badges {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .36rem;
}

.idea-badge {
  display: inline-flex;
  align-items: center;
  padding: .22rem .66rem;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 660;
  white-space: nowrap;
}

.idea-badge-private { background: #e3ebff; color: #1e40af; }
.idea-badge-public { background: #f1f5f9; color: #475569; }

.idea-coin-pill {
  display: inline-flex;
  align-items: center;
  padding: .18rem .58rem;
  border-radius: 999px;
  border: 1px solid #f0d797;
  background: #fff9e6;
  color: #8a5a00;
  font-size: .74rem;
  font-weight: 680;
  white-space: nowrap;
}

.idea-coin-pill.is-earned {
  border-color: #a7e2c6;
  background: #ecfdf5;
  color: #157a52;
}

.idea-panel [role=status],
.notes-product-intro { color: var(--secondary); font-size: .93rem; }

.idea-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .55rem;
  margin-top: .9rem;
}

.idea-profile {
  margin-top: .65rem;
  padding-block: .68rem;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  overflow-wrap: anywhere;
}

.idea-profile [data-account-name] {
  flex: 1 1 6rem;
  color: var(--ink);
  font-weight: 700;
}

.idea-form {
  display: grid;
  gap: .85rem;
  margin-top: 1rem;
}

.idea-form label {
  display: grid;
  gap: .32rem;
  min-width: 0;
  font-size: .9rem;
  font-weight: 640;
  color: var(--ink);
}

.idea-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
}

.idea-char-count {
  font-size: .79rem;
  font-weight: 560;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.idea-char-count.is-near-limit { color: #b45309; font-weight: 660; }
.idea-char-count.is-at-limit { color: #dc2626; font-weight: 700; }

.idea-form :is(input:not([type="checkbox"]), textarea) {
  width: 100%;
  min-height: 44px;
  padding: .62rem .84rem;
  border: 1px solid rgba(15, 23, 42, .12);
  border-radius: .85rem;
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-size: .94rem;
  font-weight: 400;
  line-height: 1.62;
}

.idea-form :is(input, textarea)::placeholder { color: var(--muted); }
.idea-form :is(input, textarea):focus-visible {
  outline: none;
  border-color: var(--cobalt);
  box-shadow: 0 0 0 3px rgba(35, 80, 220, .12);
}
.idea-form textarea { resize: vertical; min-height: 6.2rem; }
.idea-form .idea-actions { margin-top: .12rem; }

.idea-shortcut-hint {
  margin-left: auto;
  color: var(--muted);
  font-size: .79rem;
  font-weight: 520;
}

.idea-feedback { font-size: .88rem; font-weight: 600; color: var(--cobalt); }
.idea-feedback:empty { display: none; }
.idea-list-status:empty { display: none; }
[data-idea-editor] > [data-list-status]:not(:empty) { margin-top: .9rem; }

.idea-panel-public > [data-list-status]:not(:empty) {
  margin-top: .5rem;
  padding: 1.2rem 1.05rem;
  border: 1px dashed rgba(15, 23, 42, .14);
  border-radius: 1rem;
  background: #f8fafd;
  line-height: 1.68;
}

.idea-tools-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .45rem .65rem;
  margin-top: .85rem;
  padding-top: .72rem;
  border-top: 1px solid var(--rule);
}

.idea-tag-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .34rem;
}

.idea-list {
  display: grid;
  gap: .75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.idea-list:not(:empty) { margin-top: .9rem; }

.idea-list > li {
  padding: 1rem 1.1rem;
  border: 1px solid var(--rule);
  border-radius: 1rem;
  background: #fff;
  overflow-wrap: anywhere;
  box-shadow: 0 2px 8px -4px rgba(15, 23, 42, .06);
}

.idea-list > li.is-pinned {
  border-color: rgba(217, 119, 6, .34);
  background: linear-gradient(180deg, #fffdf5 0%, #ffffff 100%);
}

.idea-list > li.is-editing {
  border-color: var(--cobalt);
  background: #f5f8ff;
  box-shadow: 0 0 0 2px rgba(35, 80, 220, .14);
}

.idea-item-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .4rem;
  margin-bottom: .26rem;
}

.idea-list h4 {
  margin: 0;
  font-size: 1rem;
  font-weight: 730;
  line-height: 1.38;
  color: var(--ink);
}

.idea-list .idea-text {
  white-space: pre-wrap;
  font-size: .94rem;
  line-height: 1.7;
  color: #24324d;
}

.idea-card-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .45rem .75rem;
  margin-top: .7rem;
  padding-top: .58rem;
  border-top: 1px solid var(--rule);
}

.idea-list time {
  color: var(--muted);
  font-size: .8rem;
  font-variant-numeric: tabular-nums;
}

.idea-inline-link {
  color: var(--cobalt);
  text-decoration: underline;
  text-decoration-color: rgba(35, 80, 220, .34);
  text-underline-offset: .2em;
  word-break: break-all;
}

.idea-inline-link:hover { text-decoration-color: var(--cobalt); }

.idea-inline-tag {
  display: inline;
  padding: .05rem .38rem;
  margin-inline: .08rem;
  border: 0;
  border-radius: .4rem;
  background: #eef2ff;
  color: var(--cobalt);
  font: inherit;
  font-size: .88em;
  font-weight: 620;
  cursor: pointer;
}

.idea-inline-tag:hover { background: #dce6ff; }

.idea-more-button { margin-top: .9rem; align-self: flex-start; }

/* ============================================================
   8. 妙提示词 (Prompt Cards with Desktop + Mobile Smart Folding)
   ============================================================ */
.vault-prompt-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(.9rem, 1.7vw, 1.2rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.vault-prompt-grid > li {
  display: flex;
  min-width: 0;
}

.pick-prompt-card {
  display: flex;
  flex-direction: column;
  gap: .7rem;
  width: 100%;
  height: 100%;
  min-width: 0;
  padding: 1.2rem 1.3rem 1.05rem;
  border: 1px solid var(--rule);
  border-radius: 1.35rem;
  background: var(--surface);
  box-shadow: var(--notes-shadow);
}

.pick-prompt-card:hover {
  border-color: rgba(35, 80, 220, .2);
  box-shadow: var(--notes-shadow-hover);
}

.pick-prompt-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .65rem;
}

.pick-prompt-title-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .48rem;
  min-width: 0;
}

.pick-index-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.9rem;
  height: 1.56rem;
  padding-inline: .4rem;
  border-radius: .5rem;
  background: #eef2ff;
  color: var(--cobalt);
  font-size: .77rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.pick-prompt-card h4 {
  margin: 0;
  font-size: 1.04rem;
  font-weight: 740;
  line-height: 1.34;
  color: var(--ink);
}

.pick-prompt-summary {
  color: var(--secondary);
  font-size: .87rem;
  line-height: 1.54;
}

.pick-snippet-wrap {
  position: relative;
  min-width: 0;
}

.pick-snippet-box {
  margin: 0;
  padding: .85rem .98rem;
  border: 1px solid rgba(15, 23, 42, .06);
  border-left: 3px solid #6b91ee;
  border-radius: .82rem;
  background: var(--snippet-bg);
  color: #1a2845;
  font-family: inherit;
  font-size: .91rem;
  line-height: 1.7;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.pick-expand-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: .3rem;
  width: 100%;
  min-height: 36px;
  margin-top: .48rem;
  padding: .3rem .85rem;
  border: 1px solid rgba(35, 80, 220, .18);
  border-radius: 999px;
  background: #f4f7ff;
  color: var(--cobalt);
  font: inherit;
  font-size: .81rem;
  font-weight: 660;
  cursor: pointer;
}

.pick-expand-toggle:is(:hover, :focus-visible) {
  border-color: var(--cobalt);
  background: #e8efff;
}

/* Smart folding on BOTH desktop and mobile for tall prompts */
.pick-snippet-wrap.is-collapsible-all.is-collapsed .pick-snippet-box {
  position: relative;
  max-height: 11.4rem;
  overflow: hidden;
}

.pick-snippet-wrap.is-collapsible-all.is-collapsed .pick-snippet-box::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3.6rem;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, var(--snippet-bg) 88%);
}

.pick-snippet-wrap.is-collapsible-all .pick-expand-toggle {
  display: inline-flex;
}

.pick-prompt-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  margin-top: auto;
  padding-top: .55rem;
  border-top: 1px solid var(--rule);
}

.pick-meta-hint {
  color: var(--muted);
  font-size: .78rem;
}

.pick-source-meta {
  margin: 0;
  color: #5b6d8f;
  font-weight: 520;
}

/* Live Variable Template Bar */
.pick-vars-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem .65rem;
  padding: .52rem .75rem;
  border: 1px dashed rgba(35, 80, 220, .28);
  border-radius: .82rem;
  background: #f8faff;
}

.pick-vars-label {
  color: var(--cobalt);
  font-size: .78rem;
  font-weight: 680;
}

.pick-var-field {
  display: inline-flex;
  align-items: center;
  gap: .32rem;
  margin: 0;
  font-size: .78rem;
  color: var(--secondary);
}

.pick-var-field input {
  width: 7.4rem;
  min-height: 28px;
  padding: .18rem .52rem;
  border: 1px solid rgba(15, 23, 42, .14);
  border-radius: .5rem;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: .82rem;
}

.pick-var-field input:focus {
  outline: none;
  border-color: var(--cobalt);
  box-shadow: 0 0 0 2px rgba(35, 80, 220, .14);
}

/* Pack AGENTS.md Mode */
.pick-pack-check {
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--obsidian);
  cursor: pointer;
}

.pick-prompt-card.is-pack-selected {
  border-color: var(--cobalt);
  box-shadow: 0 0 0 2px rgba(35, 80, 220, .14), var(--notes-shadow);
}

/* ============================================================
   9. 妙言妙句 (XinHammer Luminous × Aurora Editorial Gallery)
   ============================================================ */
.vault-quote-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(.95rem, 1.8vw, 1.28rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.vault-quote-grid > li {
  display: flex;
  min-width: 0;
}

.vault-quote-grid > li.is-quote-span {
  grid-column: 1 / -1;
}

.pick-quote-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: .82rem;
  width: 100%;
  height: 100%;
  min-width: 0;
  padding: 1.48rem 1.56rem 1.24rem;
  border: 1px solid rgba(15, 23, 42, .075);
  border-radius: 1.55rem;
  background: linear-gradient(156deg, #ffffff 0%, #f8faff 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .9),
    var(--notes-shadow);
}

/* Luminous spectrum top hairline */
.pick-quote-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2.5px;
  background: linear-gradient(90deg, rgba(35, 80, 220, .38), rgba(99, 102, 241, .28) 55%, rgba(245, 158, 11, .34));
  opacity: .55;
  pointer-events: none;
}

/* Pointer silk sheen layer */
.pick-quote-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(360px circle at var(--qx, 50%) var(--qy, 18%), rgba(255, 255, 255, .64), transparent 62%);
  opacity: 0;
  pointer-events: none;
  transition: opacity .26s var(--notes-ease);
}

@media (hover: hover) {
  .pick-quote-card:hover {
    transform: translateY(-3px);
    border-color: rgba(35, 80, 220, .2);
    box-shadow: var(--notes-shadow-hover);
  }
  .pick-quote-card:hover::after {
    opacity: .72;
  }
}

.pick-quote-card > * {
  position: relative;
  z-index: 1;
}

/* 4-Tone Harmonious Morandi Luminous Surfaces */
.pick-quote-card--porcelain {
  border-color: rgba(15, 23, 42, .075);
  background:
    radial-gradient(ellipse 70% 56% at 94% 6%, rgba(59, 130, 246, .065) 0%, transparent 66%),
    linear-gradient(158deg, #ffffff 0%, #f7f9fe 100%);
}

.pick-quote-card--indigo {
  border-color: rgba(79, 70, 229, .12);
  background:
    radial-gradient(ellipse 68% 60% at 92% 10%, rgba(99, 102, 241, .11) 0%, transparent 68%),
    linear-gradient(156deg, #ffffff 0%, #f2f4ff 100%);
}

.pick-quote-card--apricot {
  border-color: rgba(217, 119, 6, .13);
  background:
    radial-gradient(ellipse 70% 60% at 92% 10%, rgba(251, 191, 36, .13) 0%, transparent 68%),
    linear-gradient(156deg, #ffffff 0%, #fff8ee 100%);
}

.pick-quote-card--apricot::before {
  background: linear-gradient(90deg, rgba(245, 158, 11, .5), rgba(234, 88, 12, .26) 58%, rgba(99, 102, 241, .22));
}

.pick-quote-card--sky {
  border-color: rgba(14, 165, 233, .13);
  background:
    radial-gradient(ellipse 70% 60% at 92% 10%, rgba(56, 189, 248, .12) 0%, transparent 68%),
    linear-gradient(156deg, #ffffff 0%, #f0f9ff 100%);
}

.pick-quote-card--sky::before {
  background: linear-gradient(90deg, rgba(14, 165, 233, .45), rgba(37, 99, 235, .32) 60%, rgba(16, 185, 129, .24));
}

.pick-quote-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .65rem;
}

.pick-quote-meta {
  display: inline-flex;
  align-items: center;
  gap: .48rem;
  min-width: 0;
}

.pick-quote-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.85rem;
  height: 1.48rem;
  padding-inline: .45rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, .08);
  background: rgba(255, 255, 255, .86);
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .04em;
  font-variant-numeric: tabular-nums;
  flex: none;
}

.pick-quote-mark {
  font-family: Georgia, "Songti SC", serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: .68;
  color: rgba(35, 80, 220, .24);
  transform: translateY(.2rem);
  user-select: none;
  flex: none;
}

.pick-quote-card--apricot .pick-quote-mark {
  color: rgba(217, 119, 6, .3);
}

.pick-quote-card--sky .pick-quote-mark {
  color: rgba(14, 116, 144, .26);
}

.pick-quote-meta h4 {
  margin: 0;
  font-size: .9rem;
  font-weight: 700;
  color: var(--secondary);
  letter-spacing: .01em;
  line-height: 1.35;
}

.pick-quote-text {
  margin: .18rem 0 0;
  padding: .1rem 0;
  font-family: "XinHammer Sans", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: clamp(1.12rem, 1.5vw, 1.3rem);
  font-weight: 660;
  line-height: 1.72;
  letter-spacing: -.015em;
  color: var(--ink);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.pick-quote-note {
  margin: .08rem 0 0;
  padding: .58rem .88rem;
  border-left: 2.5px solid rgba(35, 80, 220, .34);
  border-radius: 0 .75rem .75rem 0;
  background: rgba(255, 255, 255, .66);
  color: var(--secondary);
  font-size: .855rem;
  line-height: 1.66;
}

.pick-quote-card--apricot .pick-quote-note {
  border-left-color: rgba(217, 119, 6, .48);
  background: rgba(255, 251, 235, .74);
  color: #5b4a33;
}

.pick-quote-card--sky .pick-quote-note {
  border-left-color: rgba(14, 165, 233, .44);
}

.pick-quote-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .55rem;
  margin-top: auto;
  padding-top: .78rem;
  border-top: 1px solid rgba(15, 23, 42, .07);
}

.pick-quote-source {
  color: var(--secondary);
  font-size: .83rem;
  font-weight: 620;
  letter-spacing: .01em;
}

.pick-quote-card--apricot .pick-quote-source {
  color: #8a5111;
}

/* ---- Featured Exhibition Anchor Cards (Obsidian & Yingdao Aurora) ---- */
.pick-quote-card.is-quote-featured {
  padding: clamp(1.75rem, 3.2vw, 2.45rem) clamp(1.6rem, 3.4vw, 2.75rem) clamp(1.45rem, 2.5vw, 1.9rem);
  gap: 1.05rem;
  border-radius: 1.8rem;
  color: #f8fafc;
}

.pick-quote-card.is-quote-featured::before {
  height: 3px;
  opacity: .85;
}

.pick-quote-card.is-quote-featured::after {
  background: radial-gradient(480px circle at var(--qx, 50%) var(--qy, 20%), rgba(255, 255, 255, .11), transparent 64%);
}

.pick-quote-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0 !important;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .048) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .048) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 86% 84% at 50% 42%, #000 34%, transparent 94%);
  -webkit-mask-image: radial-gradient(ellipse 86% 84% at 50% 42%, #000 34%, transparent 94%);
}

.pick-quote-watermark {
  position: absolute;
  right: clamp(1.1rem, 3vw, 2.4rem);
  top: -.55rem;
  z-index: 0 !important;
  font-family: Georgia, "Songti SC", serif;
  font-size: clamp(7rem, 14vw, 11.5rem);
  font-weight: 700;
  line-height: 1;
  color: rgba(255, 255, 255, .065);
  pointer-events: none;
  user-select: none;
}

/* Signature 01: Obsidian Architectural Gallery */
.pick-quote-card.is-quote-obsidian {
  border-color: rgba(148, 163, 184, .2);
  background:
    radial-gradient(ellipse 56% 82% at 10% 8%, rgba(59, 130, 246, .30) 0%, transparent 66%),
    radial-gradient(ellipse 52% 76% at 92% 94%, rgba(245, 158, 11, .22) 0%, transparent 66%),
    linear-gradient(148deg, #090d16 0%, #0f1629 56%, #0b1120 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .1),
    0 24px 56px -26px rgba(9, 13, 22, .58);
}

.pick-quote-card.is-quote-obsidian::before {
  background: linear-gradient(90deg, #60a5fa 0%, #818cf8 48%, #fbbf24 100%);
}

/* Signature 02: Yingdao Luminous Aurora Manifesto */
.pick-quote-card.is-quote-aurora {
  border-color: rgba(255, 255, 255, .2);
  background:
    radial-gradient(ellipse 48% 72% at 32% 18%, rgba(245, 158, 11, .52) 0%, rgba(234, 88, 12, .22) 44%, transparent 74%),
    radial-gradient(ellipse 54% 80% at 48% 48%, rgba(219, 39, 119, .54) 0%, rgba(157, 23, 77, .18) 52%, transparent 78%),
    radial-gradient(ellipse 54% 84% at 14% 82%, rgba(190, 24, 93, .36) 0%, transparent 68%),
    radial-gradient(ellipse 52% 74% at 88% 24%, rgba(37, 99, 235, .36) 0%, transparent 70%),
    linear-gradient(132deg, #0b0e3e 0%, #151454 52%, #0a0c38 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .16),
    0 26px 60px -26px rgba(15, 14, 66, .58);
}

.pick-quote-card.is-quote-aurora::before {
  background: linear-gradient(90deg, #fde68a 0%, #f472b6 52%, #93c5fd 100%);
}

.pick-quote-card.is-quote-featured .pick-quote-index {
  border-color: rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .1);
  color: rgba(248, 250, 252, .9);
}

.pick-quote-card.is-quote-featured .pick-quote-mark {
  color: rgba(253, 224, 71, .52);
}

.pick-quote-card.is-quote-featured .pick-quote-meta h4 {
  color: rgba(241, 245, 255, .92);
  font-size: .94rem;
}

.pick-quote-card.is-quote-featured .software-tag-pin {
  background: rgba(251, 191, 36, .2);
  color: #fde68a;
  border: 1px solid rgba(253, 224, 71, .28);
}

.pick-quote-card.is-quote-featured .software-tag-quote {
  background: rgba(255, 255, 255, .14);
  color: #f8fafc;
}

.pick-quote-card.is-quote-featured .pick-quote-text {
  max-width: none;
  font-size: clamp(1.42rem, 2.45vw, 2.02rem);
  font-weight: 680;
  line-height: 1.52;
  letter-spacing: -.022em;
  color: #ffffff;
  text-shadow: 0 2px 18px rgba(7, 9, 30, .28);
}

.pick-quote-card.is-quote-featured .pick-quote-note {
  max-width: 58ch;
  border-left-color: rgba(253, 224, 71, .68);
  background: rgba(255, 255, 255, .085);
  color: rgba(241, 245, 255, .86);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.pick-quote-card.is-quote-featured .pick-quote-foot {
  padding-top: .95rem;
  border-top-color: rgba(255, 255, 255, .14);
}

.pick-quote-card.is-quote-featured .pick-quote-source {
  color: #fde68a;
  font-size: .86rem;
}

.pick-quote-card.is-quote-featured .card-micro-btn {
  border-color: rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .1);
  color: rgba(248, 250, 252, .88);
}

.pick-quote-card.is-quote-featured .card-micro-btn:is(:hover, :focus-visible) {
  border-color: rgba(255, 255, 255, .42);
  background: rgba(255, 255, 255, .18);
  color: #ffffff;
}

.pick-quote-card.is-quote-featured .card-fav-btn.is-active {
  border-color: rgba(253, 224, 71, .52);
  background: rgba(251, 191, 36, .22);
  color: #fde68a;
}

.pick-quote-card.is-quote-featured .card-like-btn.is-active {
  border-color: rgba(147, 197, 253, .52);
  background: rgba(59, 130, 246, .28);
  color: #dbeafe;
}

.pick-quote-card.is-quote-featured .idea-card-btn {
  border-color: rgba(255, 255, 255, .24);
  background: rgba(255, 255, 255, .12);
  color: #ffffff;
}

.pick-quote-card.is-quote-featured .idea-card-btn:is(:hover, :focus-visible) {
  border-color: rgba(255, 255, 255, .45);
  background: rgba(255, 255, 255, .2);
  color: #ffffff;
}

.pick-quote-card.is-quote-featured .idea-card-btn-primary {
  border-color: transparent;
  background: #ffffff;
  color: #0b0f19;
  font-weight: 680;
}

.pick-quote-card.is-quote-featured .idea-card-btn-primary:is(:hover, :focus-visible) {
  border-color: transparent;
  background: #dbeafe;
  color: #0b0f19;
}

.pick-quote-card.is-quote-featured .idea-card-btn.is-copied {
  border-color: rgba(110, 231, 183, .55);
  background: rgba(16, 185, 129, .24);
  color: #d1fae5;
}

/* ============================================================
   10. 妙Skill / Rich Cards + YingDao Obsidian Terminal Chrome
   ============================================================ */
.vault-rich-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr));
  gap: clamp(.9rem, 1.7vw, 1.2rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.pick-rich-card {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  min-width: 0;
  padding: 1.22rem 1.28rem 1.08rem;
  border: 1px solid var(--rule);
  border-radius: 1.35rem;
  background: var(--surface);
  box-shadow: var(--notes-shadow);
}

.pick-rich-card h4 {
  margin: 0;
  font-size: 1.06rem;
  font-weight: 740;
  line-height: 1.35;
  color: var(--ink);
}

.pick-rich-summary {
  color: var(--secondary);
  font-size: .9rem;
  line-height: 1.62;
}

/* YingDao Obsidian Terminal Code Frame inside 妙Skill / Rich Cards */
.pick-obsidian-code {
  --snippet-bg: #070b14;
  border: 1px solid rgba(148, 163, 184, .2);
  border-radius: 1rem;
  overflow: hidden;
  background: #070b14;
  box-shadow: 0 16px 34px -20px rgba(7, 11, 20, .52);
}

.pick-obsidian-code-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .65rem;
  padding: .52rem .85rem;
  background: rgba(255, 255, 255, .045);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.pick-obsidian-dots {
  display: inline-flex;
  align-items: center;
  gap: .34rem;
}

.pick-obsidian-dots i {
  display: block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.pick-obsidian-dots i:nth-child(1) { background: rgba(248, 113, 113, .78); }
.pick-obsidian-dots i:nth-child(2) { background: rgba(251, 191, 36, .78); }
.pick-obsidian-dots i:nth-child(3) { background: rgba(74, 222, 128, .78); }

.pick-obsidian-lang {
  margin-right: auto;
  color: #94a3b8;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .7rem;
  font-weight: 660;
  letter-spacing: .08em;
}

.pick-obsidian-copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: .14rem .62rem;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  background: rgba(255, 255, 255, .07);
  color: #e2e8f0;
  font-size: .73rem;
  font-weight: 620;
}

.pick-obsidian-copy:is(:hover, :focus-visible) {
  border-color: rgba(122, 162, 255, .55);
  background: rgba(122, 162, 255, .2);
  color: #fff;
}

.pick-obsidian-copy.is-copied {
  border-color: rgba(74, 222, 128, .52);
  background: rgba(34, 197, 94, .2);
  color: #86efac;
}

.pick-obsidian-code .pick-obsidian-pre {
  margin: 0;
  padding: .85rem 1rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #dbe8ff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .82rem;
  line-height: 1.62;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.pick-obsidian-code .pick-snippet-wrap.is-collapsible-all.is-collapsed .pick-snippet-box {
  max-height: 14.5rem;
}

.pick-obsidian-code .pick-expand-toggle {
  width: calc(100% - 1.5rem);
  margin: 0 .75rem .75rem;
  border-color: rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .07);
  color: #cbd5e1;
}

.pick-obsidian-code .pick-expand-toggle:is(:hover, :focus-visible) {
  border-color: rgba(122, 162, 255, .5);
  background: rgba(122, 162, 255, .18);
  color: #fff;
}

.pick-rich-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  margin-top: auto;
  padding-top: .65rem;
  border-top: 1px solid var(--rule);
}

.pick-open-link {
  display: inline-flex;
  align-items: center;
  gap: .28rem;
  color: var(--cobalt);
  font-size: .86rem;
  font-weight: 660;
}

.pick-open-link:hover {
  text-decoration: underline;
  text-underline-offset: .25em;
}

/* Deep-Link Card Spotlight Halo */
:is(.software-card, .pick-prompt-card, .pick-quote-card, .pick-rich-card).is-spotlight {
  border-color: var(--cobalt);
  box-shadow: 0 0 0 3px rgba(35, 80, 220, .2), var(--notes-shadow-hover);
}

/* ============================================================
   11. 更多妙藏 · 影刀柔光三联展示墙 (YingDao Pastel Triptych)
   ============================================================ */
.notes-discovery {
  padding: clamp(1.4rem, 2.8vw, 2.1rem);
  border: 1px solid var(--rule);
  border-radius: 1.7rem;
  background: var(--surface);
  box-shadow: var(--notes-shadow);
}

.notes-discovery-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: .9rem 1.5rem;
  margin-bottom: clamp(1.15rem, 2.2vw, 1.55rem);
}

.notes-kicker {
  display: block;
  margin-bottom: .32rem;
  color: var(--cobalt);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
}

.notes-discovery h3 {
  margin: 0;
  font-size: clamp(1.28rem, 2.2vw, 1.62rem);
  font-weight: 760;
  letter-spacing: -.035em;
  color: var(--ink);
}

.notes-discovery .notes-product-intro {
  max-width: 42em;
  margin-top: .3rem;
  color: var(--secondary);
}

.idea-button.notes-discovery-cta {
  border-color: transparent;
  background: var(--obsidian);
  color: #fff;
}

.idea-button.notes-discovery-cta:is(:hover, :focus-visible) {
  border-color: transparent;
  background: var(--cobalt);
  color: #fff;
}

.notes-discovery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: clamp(.85rem, 1.7vw, 1.15rem);
}

.discovery-card {
  display: flex;
  flex-direction: column;
  gap: .58rem;
  padding: 1.18rem 1.22rem;
  border: 1px solid var(--rule);
  border-radius: 1.25rem;
  background: linear-gradient(156deg, #f4f6ff 0%, #eef2ff 100%);
}

.discovery-card--quote {
  border-color: rgba(217, 119, 6, .14);
  background: linear-gradient(156deg, #fff9f0 0%, #ffefe0 100%);
}

.discovery-card--plugin {
  border-color: rgba(16, 185, 129, .14);
  background: linear-gradient(156deg, #eefaf6 0%, #eaf3ff 100%);
}

.discovery-card--product {
  border-color: rgba(99, 102, 241, .14);
  background: linear-gradient(156deg, #f3f1ff 0%, #eef4ff 100%);
}

.discovery-card--skill {
  border-color: rgba(37, 99, 235, .14);
  background: linear-gradient(156deg, #eef4ff 0%, #f5f3ff 100%);
}

.discovery-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .6rem;
}

.discovery-icon {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: .82rem;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 4px 12px -6px rgba(15, 23, 42, .12);
}

.discovery-icon-product { color: #5b21b6; }
.discovery-icon-skill { color: #2350dc; }
.discovery-icon-plugin { color: #0f766e; }
.discovery-icon-prompt { color: #4338ca; }
.discovery-icon-quote { color: #b45309; }

.discovery-state {
  display: inline-flex;
  align-items: center;
  padding: .2rem .58rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .82);
  color: var(--secondary);
  font-size: .73rem;
  font-weight: 660;
}

.discovery-state-warm {
  background: rgba(255, 255, 255, .88);
  color: #5b21b6;
}

.discovery-card h4 {
  margin: .1rem 0 0;
  font-size: 1.08rem;
  font-weight: 740;
  color: var(--ink);
}

.discovery-card p {
  color: var(--secondary);
  font-size: .88rem;
  line-height: 1.62;
}

.discovery-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .36rem;
  margin-top: auto;
  padding-top: .36rem;
}

.discovery-tags span {
  padding: .18rem .56rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .74);
  color: #475569;
  font-size: .74rem;
  font-weight: 600;
}

.discovery-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-top: .45rem;
}

.vault-empty-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .7rem;
  padding: clamp(1.35rem, 2.6vw, 2rem);
  border: 1.5px dashed rgba(35, 80, 220, .24);
  border-radius: 1.4rem;
  background: linear-gradient(145deg, #ffffff 0%, #f4f7ff 100%);
}

.vault-empty-card h3 { margin: 0; font-size: 1.22rem; color: var(--ink); }
.vault-empty-card p { color: var(--secondary); max-width: 38em; }

/* ============================================================
   12. Floating Pack Bar, Back-to-Top & Share Card Dialog
   ============================================================ */
.vault-pack-bar {
  position: fixed;
  left: 50%;
  bottom: max(1rem, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  z-index: 40;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .6rem 1rem;
  width: min(calc(100vw - 1.5rem), 43rem);
  padding: .68rem 1rem;
  border: 1px solid rgba(15, 23, 42, .12);
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 16px 40px -12px rgba(15, 23, 42, .22);
}

.vault-pack-count {
  font-size: .86rem;
  font-weight: 720;
  color: var(--ink);
}

.vault-pack-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .38rem;
}

/* Floating Back-to-Top Pill */
.notes-back-top {
  position: fixed;
  right: clamp(1rem, 2.8vw, 2rem);
  bottom: max(1.25rem, env(safe-area-inset-bottom));
  z-index: 35;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(15, 23, 42, .12);
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 700;
  box-shadow: 0 10px 26px -10px rgba(15, 23, 42, .24);
}

.notes-back-top.has-pack-bar {
  bottom: calc(max(1.25rem, env(safe-area-inset-bottom)) + 4.4rem);
}

.notes-back-top:is(:hover, :focus-visible) {
  border-color: var(--obsidian);
  background: var(--obsidian);
  color: #fff;
}

/* Client-Side Canvas Share Dialog */
.notes-share-dialog {
  width: min(calc(100vw - 1.5rem), 35rem);
  max-height: calc(100dvh - 2rem);
  padding: 1.15rem 1.25rem;
  border: 1px solid var(--rule-strong);
  border-radius: 1.35rem;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 28px 68px -16px rgba(15, 23, 42, .28);
  overflow: auto;
}

.notes-share-dialog::backdrop {
  background: rgba(15, 23, 42, .46);
  backdrop-filter: blur(6px);
}

.notes-share-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .75rem;
}

.notes-share-head h3 {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 740;
}

.notes-share-themes {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-bottom: .8rem;
}

.notes-share-preview {
  display: grid;
  place-items: center;
  padding: .6rem;
  border: 1px solid var(--rule);
  border-radius: 1rem;
  background: #f5f7fb;
  margin-bottom: .88rem;
}

.notes-share-img {
  display: block;
  max-width: 100%;
  max-height: 54dvh;
  width: auto;
  height: auto;
  border-radius: .65rem;
}

.notes-share-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .65rem;
}

.notes-share-foot-actions {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem;
}

.notes-pass-chip {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  min-height: 28px;
  padding: .16rem .64rem;
  border: 1px solid #f0d797;
  border-radius: 999px;
  background: #fff9e6;
  color: #7e5300;
  font-size: .78rem;
  font-weight: 680;
  line-height: 1.3;
  white-space: nowrap;
}

.notes-pass-chip:is(:hover, :focus-visible) {
  border-color: #d4a644;
  background: #fff1c7;
  color: #603d00;
}

/* ============================================================
   13. Admin Studio (/admin/) Harmonized to YingDao Beauty
   ============================================================ */
main.studio-page.notebook > .page-intro {
  margin-bottom: 1.35rem;
  padding: clamp(1.5rem, 3.2vw, 2.3rem);
  border: 1px solid var(--rule);
  border-radius: 1.5rem;
  background:
    radial-gradient(ellipse 56% 74% at 88% 20%, rgba(59, 130, 246, .09) 0%, rgba(139, 92, 246, .05) 48%, transparent 74%),
    #ffffff;
  color: var(--ink);
  box-shadow: var(--notes-shadow);
}

main.studio-page.notebook .page-intro h1 {
  margin: 0 0 .45rem;
  font-size: clamp(1.85rem, 3.6vw, 2.65rem);
  font-weight: 760;
  letter-spacing: -.035em;
  color: var(--ink);
}

main.studio-page.notebook .page-intro p {
  max-width: 44rem;
  color: var(--secondary);
  font-size: .96rem;
  line-height: 1.7;
}

.admin-suite-bar {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .22rem;
  margin-bottom: .9rem;
  padding: .22rem;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: #f3f6fb;
}

.admin-suite-bar a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: .18rem .78rem;
  border-radius: 999px;
  color: var(--secondary);
  font-size: .8rem;
  font-weight: 620;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 160ms ease, color 160ms ease;
}

.admin-suite-bar a:is(:hover, :focus-visible) {
  color: var(--ink);
  background: rgba(15, 23, 42, .05);
}

.admin-suite-bar a[aria-current="page"] {
  background: var(--obsidian);
  color: #fff;
}

.admin-studio { max-width: 76rem; }

.admin-panel-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .8rem 1.25rem;
  padding-bottom: .95rem;
  border-bottom: 1px solid var(--rule);
}

.admin-profile {
  margin-top: 0;
  padding-block: 0;
  border: 0;
  flex-wrap: nowrap;
}

.admin-profile [data-account-name] {
  flex: 0 0 auto;
  margin-right: .25rem;
  white-space: nowrap;
}

[data-admin] .idea-char-count { justify-self: end; }

.admin-tabs {
  display: inline-flex;
  gap: .28rem;
  margin-top: 1.05rem;
  padding: .26rem;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: #f3f6fb;
  align-self: flex-start;
}

.admin-tab {
  min-height: 38px;
  padding: .32rem 1.05rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--secondary);
  font-size: .9rem;
  font-weight: 650;
}

.admin-tab:is(:hover, :focus-visible) { color: var(--ink); background: rgba(15, 23, 42, .05); }
.admin-tab[aria-selected="true"] { color: #fff; background: var(--obsidian); }

.admin-picks-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: start;
  gap: 1.65rem 2rem;
  margin-top: .35rem;
}

.admin-field-label {
  display: block;
  margin-bottom: .35rem;
  font-size: .9rem;
  font-weight: 650;
  color: var(--ink);
}

.admin-cat-picker { display: grid; gap: .45rem; }

.admin-cat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .38rem;
}

.admin-cat-chip {
  min-height: 34px;
  padding: .22rem .76rem;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  background: #fff;
  color: var(--secondary);
  font-size: .83rem;
  font-weight: 640;
}

.admin-cat-chip:is(:hover, :focus-visible) { border-color: var(--cobalt); color: var(--cobalt); }
.admin-cat-chip.is-selected { border-color: var(--obsidian); background: var(--obsidian); color: #fff; }

.admin-two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
}

.admin-more-fields {
  padding: .8rem .95rem;
  border: 1px solid var(--rule);
  border-radius: .95rem;
  background: #f8fafd;
}

.admin-more-fields summary {
  font-size: .88rem;
  font-weight: 650;
  color: var(--secondary);
  cursor: pointer;
}

.admin-more-grid {
  display: grid;
  gap: .75rem;
  margin-top: .75rem;
}

.admin-form .admin-check-label,
.admin-pick-form .admin-check-label {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-weight: 600;
  cursor: pointer;
}

.admin-pick-form .admin-check-label input[type="checkbox"] {
  width: 1.1rem;
  height: 1.1rem;
  min-height: 0;
  accent-color: var(--obsidian);
}

.admin-picks-side {
  display: grid;
  gap: .82rem;
  margin-top: 1rem;
}

.admin-search-box { width: 100%; }
.admin-search-box input { padding-left: .95rem; }

.admin-edit-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .6rem;
  padding: .6rem .88rem;
  border: 1px solid rgba(35, 80, 220, .26);
  border-radius: .85rem;
  background: #eef3ff;
  color: var(--cobalt-deep);
  font-size: .86rem;
  font-weight: 650;
}

.admin-picks-filter {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
}

.admin-pick-item-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .4rem;
  margin-bottom: .32rem;
}

.admin-pick-item-title {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .4rem;
}

.admin-pick-snippet {
  margin: .42rem 0 0;
  padding: .55rem .72rem;
  border-radius: .62rem;
  background: #f4f7fc;
  color: #253453;
  font-size: .84rem;
  line-height: 1.56;
  white-space: pre-wrap;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.admin-pick-url {
  display: inline-block;
  margin-top: .32rem;
  color: var(--cobalt);
  font-size: .82rem;
  word-break: break-all;
}

@media (min-width: 62rem) {
  [data-admin] [data-idea-editor] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, .95fr);
    align-items: start;
    gap: 0 2rem;
  }

  [data-admin] [data-idea-editor] .idea-form { grid-column: 1; grid-row: 1 / 4; }
  [data-admin] [data-idea-editor] > :not(form) { grid-column: 2; justify-self: start; }
  [data-admin] [data-idea-editor] > .idea-list { justify-self: stretch; }
}

@media (max-width: 62rem) {
  .admin-picks-layout { grid-template-columns: minmax(0, 1fr); }
}

/* ============================================================
   14. Restrained YingDao State-Change Motion Language
   ============================================================ */
@keyframes notesFavPop {
  0% { transform: scale(1); }
  45% { transform: scale(1.24) rotate(-6deg); }
  100% { transform: scale(1); }
}

@keyframes notesLikePop {
  0% { transform: scale(1); }
  42% { transform: scale(1.2) translateY(-1px); }
  100% { transform: scale(1); }
}

@keyframes notesShelfIn {
  from { opacity: 0; transform: translate3d(0, 6px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes notesPackBarIn {
  from { opacity: 0; transform: translate3d(-50%, 16px, 0) scale(.97); }
  to { opacity: 1; transform: translate3d(-50%, 0, 0) scale(1); }
}

@keyframes notesDialogIn {
  from { opacity: 0; transform: translate3d(0, 10px, 0) scale(.97); }
  to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

@media (prefers-reduced-motion: no-preference) {
  .idea-button,
  .idea-card-btn,
  .vault-cat-pill,
  .vault-scene-pill,
  .vault-subtag-chip,
  .pick-expand-toggle,
  .admin-tab,
  .admin-cat-chip,
  .notes-site-menu,
  .notes-pass-chip,
  .notes-hero-chip,
  .notes-back-top,
  .pick-obsidian-copy,
  .vault-search-box input,
  .vault-search-kbd,
  .notes-software-list > li > a,
  .notes-software-list .software-card,
  .pick-prompt-card,
  .pick-quote-card,
  .pick-rich-card,
  .card-micro-btn {
    transition:
      transform .18s var(--notes-ease),
      border-color .18s var(--notes-ease),
      background-color .18s var(--notes-ease),
      color .18s var(--notes-ease),
      box-shadow .22s var(--notes-ease),
      opacity .16s var(--notes-ease);
  }

  .idea-button:not(:disabled):active,
  .idea-card-btn:not(:disabled):active,
  .vault-cat-pill:active,
  .vault-scene-pill:active,
  .vault-subtag-chip:active,
  .pick-expand-toggle:active,
  .notes-hero-chip:active,
  .notes-back-top:active,
  .admin-tab:active,
  .admin-cat-chip:active,
  .notes-site-menu:active {
    transform: scale(.97);
  }

  .card-fav-btn.is-popping { animation: notesFavPop .28s var(--notes-spring) both; }
  .card-like-btn.is-popping { animation: notesLikePop .26s var(--notes-spring) both; }

  .vault-scene-banner,
  .vault-empty-card { animation: notesShelfIn .22s var(--notes-ease) both; }
  .vault-pack-bar { animation: notesPackBarIn .22s var(--notes-ease) both; }
  .notes-share-dialog[open] { animation: notesDialogIn .2s var(--notes-ease) both; }

  @media (hover: hover) {
    .notes-software-list > li > a:hover,
    .notes-software-list .software-card:hover,
    .notes-hero-chip:hover {
      transform: translateY(-2px);
    }
    .notes-hero-action:hover,
    .notes-back-top:hover {
      transform: translateY(-1px);
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }

  .notes-software-list > li > a:hover,
  .notes-software-list .software-card:hover,
  .notes-hero-chip:hover,
  .notes-hero-action:hover,
  .notes-back-top:hover,
  .card-micro-btn:active {
    transform: none !important;
  }
}

@media (pointer: coarse) {
  .idea-shortcut-hint { display: none !important; }
}

/* ============================================================
   15. Responsive Multi-Viewport Precision (1024 / 768 / 576 / 360)
   ============================================================ */
@media (max-width: 64rem) {
  .notes-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
  }

  .notes-hero-stage {
    max-width: 34rem;
  }

  .vault-command-dock {
    flex-wrap: wrap;
    gap: .45rem;
  }

  .vault-cat-wrap {
    flex: 1 1 100%;
  }

  .vault-search-box {
    width: 100%;
  }

  .notes-software-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vault-rich-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .idea-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 48rem) {
  .idea-columns { grid-template-columns: minmax(0, 1fr); }
  .vault-prompt-grid { grid-template-columns: minmax(0, 1fr); }
  .vault-quote-grid { grid-template-columns: minmax(0, 1fr); }
  .vault-rich-grid { grid-template-columns: minmax(0, 1fr); }
  .admin-two-col { grid-template-columns: minmax(0, 1fr); }
  .admin-profile { flex-wrap: wrap; }

  .vault-scenes-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    margin: -.1rem 0 1.05rem;
    padding-bottom: .15rem;
  }
  .vault-scenes-bar::-webkit-scrollbar { display: none; }
  .vault-scenes-label,
  .vault-scene-pill { flex: none; white-space: nowrap; }

  .vault-pack-bar {
    border-radius: 1.15rem;
    padding: .7rem .85rem;
  }

  .pick-var-field input {
    font-size: 16px;
    width: 6.8rem;
  }
}

/* Mobile Layout (<= 576px) */
@media (max-width: 36rem) {
  html body > header.site-header.studio-nav.notes-site-header {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0 .6rem;
    min-height: 3.45rem;
    padding-block: .42rem;
    padding-inline: var(--notes-gutter);
  }

  html body > header.site-header.studio-nav.notes-site-header > nav {
    grid-column: 1 / -1;
    margin-inline-start: 0;
    margin-top: .38rem;
    padding-top: .18rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .15rem .45rem;
    border-top: 1px solid var(--rule);
  }

  html body > header.site-header.studio-nav.notes-site-header > nav > a {
    min-width: 0;
    min-height: 40px;
    padding-inline: .25rem;
    font-size: .87rem;
  }

  html body > header.site-header.studio-nav.notes-site-header > .notes-site-menu[aria-expanded="false"]:not([hidden]) + nav {
    display: none;
  }

  .notes-site-menu {
    display: inline-flex;
    align-items: center;
    justify-self: end;
    gap: .4rem;
    min-height: 36px;
    padding-inline: .76rem;
    border: 1px solid var(--rule-strong);
    border-radius: 999px;
    color: var(--ink);
    background: #fff;
    font-size: .83rem;
    font-weight: 650;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .notes-site-menu::after {
    width: .38rem;
    height: .38rem;
    border: solid currentColor;
    border-width: 0 1.5px 1.5px 0;
    transform: translateY(-.1rem) rotate(45deg);
    content: "";
  }

  .notes-site-menu[aria-expanded="true"]::after { transform: translateY(.1rem) rotate(225deg); }

  .notes-hero {
    padding-block: 1.45rem 1.65rem;
    gap: 1.25rem;
  }

  .notes-hero-eyebrow {
    margin-bottom: .72rem;
    font-size: .74rem;
    padding: .24rem .68rem;
  }

  .notes-hero h1 {
    font-size: clamp(1.75rem, 8.2vw, 2.3rem);
    line-height: 1.2;
  }

  .notes-hero-lead {
    margin-top: .7rem;
    font-size: .9rem;
    line-height: 1.64;
  }

  .notes-hero-actions {
    margin-top: 1.1rem;
    gap: .5rem;
  }

  .notes-hero-action,
  .notes-hero-secondary {
    min-height: 40px;
    padding: .42rem 1rem;
    font-size: .88rem;
  }

  .notes-hero-ghost {
    min-height: 38px;
    font-size: .86rem;
  }

  .notes-hero-metrics {
    margin-top: 1.2rem;
    padding-top: .95rem;
    gap: .6rem .75rem;
  }

  .notes-hero-metrics dd strong { font-size: .95rem; }
  .notes-hero-metrics dd span { display: none; }

  .notes-hero-card {
    flex-direction: row;
    align-items: center;
    gap: .85rem;
    padding: .95rem;
    border-radius: 1.25rem;
  }

  .notes-hero-card-art {
    width: 4.9rem;
    flex: none;
    box-shadow: 0 0 0 .32rem rgba(255, 255, 255, .62), 0 10px 22px -10px rgba(35, 80, 220, .2);
  }

  .notes-hero-shortcuts {
    grid-template-columns: minmax(0, 1fr);
    gap: .36rem;
  }

  .notes-hero-chip {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: .42rem .68rem;
    border-radius: .72rem;
  }

  .notes-hero-chip strong { font-size: .82rem; }
  .notes-hero-chip span { font-size: .72rem; }

  .notes-layout { padding-top: 1.15rem; }
  .notes-section-head { margin-bottom: .78rem; gap: .5rem; }
  .notes-section h2 { font-size: 1.38rem; }
  .notes-section-desc { font-size: .86rem; }

  /* Single-row swipeable sticky command dock on mobile (saves ~100px above the fold!) */
  .vault-command-dock {
    top: .45rem;
    padding: .34rem .38rem;
    border-radius: 1rem;
    gap: .38rem;
    margin-bottom: .9rem;
  }

  .vault-cat-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: .22rem;
  }

  .vault-cat-pill {
    min-height: 34px;
    padding: .24rem .68rem;
    font-size: .82rem;
  }

  .vault-search-box input {
    min-height: 36px;
    font-size: 16px;
  }

  .notes-section,
  #consistent-visuals,
  #my-ideas,
  #vault,
  #software,
  #prompts,
  #quotes,
  #skills,
  #good-product { scroll-margin-top: 6.4rem; }

  .vault-content, .vault-slot { gap: 1.65rem; }
  .idea-panel { padding: 1.05rem .98rem; border-radius: 1.2rem; }
  .idea-shortcut-hint { display: none; }

  .notes-software-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .6rem;
  }

  .notes-software-list > li > a,
  .notes-software-list .software-card {
    gap: .5rem;
    padding: .82rem .78rem .72rem;
    border-radius: 1.05rem;
  }

  .software-card-main { gap: .5rem; }
  .software-icon-wrap { width: 2.45rem; height: 2.45rem; border-radius: .7rem; }
  .software-icon { width: 1.75rem; height: 1.75rem; }
  .software-tag { padding: .15rem .44rem; font-size: .68rem; }
  .software-copy strong { font-size: .9rem; line-height: 1.3; }
  .software-copy small { margin-top: .14rem; font-size: .78rem; line-height: 1.4; }
  .notes-software-list > li > a .software-card-foot { display: none; }
  .software-card .software-card-foot { padding-top: .44rem; justify-content: flex-end; }
  .software-card .software-host { display: none; }

  .pick-prompt-card,
  .pick-quote-card,
  .pick-rich-card {
    padding: 1.1rem 1.05rem .98rem;
    border-radius: 1.25rem;
  }

  .pick-quote-card.is-quote-featured {
    padding: 1.35rem 1.15rem 1.12rem;
    border-radius: 1.4rem;
    gap: .82rem;
  }

  .pick-quote-card.is-quote-featured .pick-quote-head {
    flex-wrap: wrap;
    align-items: center;
    gap: .48rem .65rem;
  }

  .pick-quote-card.is-quote-featured .pick-quote-meta {
    flex: 1 1 100%;
  }

  .pick-quote-card.is-quote-featured .pick-quote-mark {
    display: none;
  }

  .pick-quote-card.is-quote-featured .pick-head-right {
    width: 100%;
    justify-content: flex-start;
  }

  .pick-quote-card.is-quote-featured .pick-head-right .card-fav-btn {
    margin-inline-start: auto;
  }

  .pick-quote-card.is-quote-featured .pick-quote-text {
    font-size: 1.24rem;
    line-height: 1.58;
  }

  .pick-quote-text {
    font-size: 1.04rem;
    line-height: 1.68;
  }

  .pick-quote-watermark {
    font-size: 6rem;
    right: .75rem;
  }

  .pick-snippet-box { padding: .72rem .8rem; font-size: .88rem; }
  .notes-discovery { padding: 1.15rem 1rem; border-radius: 1.3rem; }
  .notes-discovery-cta { width: 100%; }
  .discovery-card { padding: .98rem 1rem; border-radius: 1.05rem; }

  .notes-back-top {
    width: 40px;
    height: 40px;
    right: .9rem;
    bottom: max(1rem, env(safe-area-inset-bottom));
  }
}

@media (max-width: 23rem) {
  html body > header.site-header.studio-nav.notes-site-header .identity .brand-name { font-size: .84rem; }
  .notes-hero-card { flex-direction: column; align-items: stretch; }
  .notes-hero-card-art { align-self: center; }
  .notes-software-list { gap: .48rem; }
  .notes-software-list > li > a,
  .notes-software-list .software-card { padding: .7rem .62rem .62rem; }
  .software-copy strong { font-size: .84rem; }
  .software-copy small { font-size: .74rem; }
  .software-tag { font-size: .64rem; padding: .12rem .36rem; }
}

/* ============================================================
   16. System Dark Mode (YingDao Obsidian & Sapphire Nebula)
   ============================================================ */
@media (prefers-color-scheme: dark) {
  :root { color-scheme: dark; }

  html { background: #0b0f19; }

  body {
    --canvas-white: #070a12;
    --paper: #0b0f19;
    --surface: #121a2d;
    --ink: #f8fafc;
    --secondary: #9aa7bd;
    --muted: #7e8da6;
    --rule: rgba(255, 255, 255, .09);
    --rule-strong: rgba(255, 255, 255, .16);
    --obsidian: #f8fafc;
    --obsidian-hover: #dbeafe;
    --cobalt: #7aa2ff;
    --cobalt-deep: #9cbaff;
    --notes-cta: #2c5ad6;
    --notes-soft: rgba(122, 162, 255, .16);
    --snippet-bg: #0c1322;
    --notes-shadow: inset 0 1px 0 rgba(255, 255, 255, .045), 0 12px 30px -12px rgba(0, 0, 0, .48);
    --notes-shadow-hover: inset 0 1px 0 rgba(255, 255, 255, .085), 0 20px 42px -14px rgba(0, 0, 0, .64);
    background: var(--paper);
    color: var(--ink);
  }

  ::selection {
    background: rgba(122, 162, 255, .34);
    color: #f8fafc;
  }

  :focus-visible { outline-color: #8db3ff; }

  .skip-link {
    background: #141d33;
    color: #f1f5f9;
    border: 1px solid rgba(255, 255, 255, .18);
  }

  /* Header, Brand, Account Pill & Contact Dialog */
  body > .site-header,
  html body > header.site-header.studio-nav {
    background: rgba(11, 15, 25, .86);
    border-bottom-color: rgba(255, 255, 255, .08);
  }

  html body > header.site-header.studio-nav .identity .brand-icon {
    mix-blend-mode: normal;
  }

  html body > header.site-header.studio-nav:not(.notes-site-header) .identity .brand-icon {
    border-radius: 50%;
    background: #eef3ff;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .16);
  }

  html body > header.site-header.studio-nav .identity .brand-name {
    border-left-color: rgba(255, 255, 255, .14);
    background: linear-gradient(102deg, #f8fafc 18%, #bfd4ff 64%, #7aa2ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }

  html body > header.site-header.studio-nav .identity .wordmark {
    background: linear-gradient(100deg, #e2e8f0 16%, #94b6ff 62%, #6d9bff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }

  html body > header.site-header.studio-nav nav > a,
  html body > header.site-header.studio-nav .home-product-menu summary {
    color: #a6b4cc;
  }

  html body > header.site-header.studio-nav nav > a:is(:hover, :focus-visible, [aria-current="page"], .current-section),
  html body > header.site-header.studio-nav .home-product-menu summary:hover {
    color: #f8fafc;
  }

  html body > header.site-header.studio-nav nav > a::after {
    background: linear-gradient(90deg, #7aa2ff, #a78bfa);
  }

  .notes-site-menu {
    background: #141d32;
    border-color: rgba(255, 255, 255, .14);
    color: #e2e8f0;
  }

  .notes-site-menu:is(:hover, :focus-visible),
  .notes-site-menu[aria-expanded="true"] {
    background: #1c2844;
    border-color: rgba(122, 162, 255, .48);
    color: #fff;
  }

  .site-account-pill,
  .site-account-pill[data-signed-in="true"] {
    border-color: rgba(255, 255, 255, .14);
    background: rgba(18, 26, 45, .92);
    color: #e2e8f0;
  }

  .site-account-pill:hover {
    border-color: rgba(122, 162, 255, .5);
    background: #1a2642;
    color: #fff;
  }

  .contact-dialog {
    background: #121a2d;
    color: #f1f5f9;
    border: 1px solid rgba(255, 255, 255, .14);
    box-shadow: 0 24px 68px rgba(0, 0, 0, .68);
  }
  .contact-dialog::backdrop { background: rgba(4, 8, 18, .72); }
  .contact-dialog .contact-layout,
  .contact-dialog .contact-content { background: #121a2d; color: #f1f5f9; }
  .contact-dialog .contact-card-hint { color: #9aa7bd; }
  .contact-dialog .wechat-card { border-color: rgba(255, 255, 255, .16); background: #fff; }
  .contact-dialog .close-contact { background: #18233c; border-color: rgba(255, 255, 255, .16); color: #dbe6f7; }
  .contact-dialog .close-contact:is(:hover, :focus-visible) { background: #233356; border-color: rgba(122, 162, 255, .52); color: #fff; }
  .contact-dialog .contact-visual { background: linear-gradient(148deg, #162447, #1e3570 85%); }

  /* Dark Hero Band: Deep Obsidian + Sapphire Nebula */
  .notes-hero-band {
    background:
      radial-gradient(ellipse 62% 72% at 84% 22%, rgba(59, 102, 245, .26) 0%, rgba(124, 58, 237, .12) 48%, transparent 74%),
      radial-gradient(ellipse 46% 52% at 14% 84%, rgba(251, 191, 36, .08) 0%, transparent 66%),
      linear-gradient(180deg, #070a12 0%, #0b101d 100%);
    border-bottom-color: rgba(255, 255, 255, .08);
  }

  .notes-hero-band::before {
    background-image:
      linear-gradient(to right, rgba(255, 255, 255, .038) 1px, transparent 1px),
      linear-gradient(to bottom, rgba(255, 255, 255, .038) 1px, transparent 1px);
  }

  .notes-hero-eyebrow {
    border-color: rgba(122, 162, 255, .26);
    background: rgba(17, 24, 39, .86);
    color: #cbd5e1;
    box-shadow: none;
  }

  .notes-hero-eyebrow i {
    background: linear-gradient(135deg, #60a5fa, #a78bfa);
    box-shadow: 0 0 0 3px rgba(96, 165, 250, .18);
  }

  .notes-hero-gradient {
    background: linear-gradient(100deg, #60a5fa 0%, #a78bfa 56%, #fbbf24 100%);
    -webkit-background-clip: text;
    background-clip: text;
  }

  .idea-button.notes-hero-action {
    border-color: transparent;
    background: #f8fafc;
    color: #0b0f19;
    box-shadow: 0 10px 26px -10px rgba(0, 0, 0, .58);
  }

  .idea-button.notes-hero-action:is(:hover, :focus-visible) {
    border-color: transparent;
    background: #dbeafe;
    color: #0b0f19;
  }

  .idea-button.notes-hero-secondary {
    border-color: rgba(255, 255, 255, .18);
    background: rgba(255, 255, 255, .06);
    color: #f1f5f9;
  }

  .idea-button.notes-hero-secondary:is(:hover, :focus-visible) {
    border-color: rgba(122, 162, 255, .48);
    background: rgba(122, 162, 255, .16);
    color: #fff;
  }

  .notes-hero-card {
    border-color: rgba(122, 162, 255, .18);
    background:
      radial-gradient(ellipse 84% 66% at 50% 16%, rgba(96, 165, 250, .16) 0%, transparent 66%),
      linear-gradient(156deg, #111930 0%, #141c33 54%, #171a2d 100%);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, .08),
      0 24px 56px -24px rgba(0, 0, 0, .65);
  }

  .notes-hero-card-art {
    background: radial-gradient(circle at 38% 30%, #ffffff 0%, #eaf0ff 72%, #d5e2ff 100%);
    box-shadow:
      0 0 0 .42rem rgba(147, 197, 253, .14),
      0 14px 32px -10px rgba(0, 0, 0, .52);
  }

  .notes-hero-chip {
    border-color: rgba(255, 255, 255, .1);
    background: rgba(15, 23, 42, .72);
    box-shadow: none;
  }

  .notes-hero-chip strong { color: #f8fafc; }
  .notes-hero-chip span { color: #94a3b8; }

  .notes-hero-chip:is(:hover, :focus-visible) {
    border-color: rgba(122, 162, 255, .46);
    background: rgba(30, 41, 59, .88);
    box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .52);
  }

  .notes-hero-chip:is(:hover, :focus-visible) strong { color: #93c5fd; }

  /* Shortcuts Hint & Sticky Command Dock */
  .vault-shortcuts-hint {
    background: rgba(18, 26, 45, .82);
    border-color: rgba(255, 255, 255, .1);
    color: #94a3b8;
  }

  .vault-shortcuts-hint kbd {
    background: #1a243d;
    border-color: rgba(255, 255, 255, .18);
    color: #e2e8f0;
  }

  .vault-command-dock {
    border-color: rgba(255, 255, 255, .1);
    background: rgba(15, 22, 38, .88);
    box-shadow: 0 12px 32px -12px rgba(0, 0, 0, .56);
  }

  .vault-cat-pill:is(:hover, :focus-visible) {
    color: #f8fafc;
    background: rgba(255, 255, 255, .08);
  }

  .vault-cat-pill[aria-selected="true"] {
    color: #0b0f19;
    background: #f8fafc;
    box-shadow: 0 4px 14px -4px rgba(0, 0, 0, .48);
  }

  .vault-cat-pill[aria-selected="true"] .pill-count {
    background: rgba(11, 15, 25, .12);
    color: #0b0f19;
  }

  .vault-cat-pill .pill-count {
    background: rgba(255, 255, 255, .09);
    color: #b8c4d9;
  }

  .vault-cat-pill .pill-count.is-idea {
    background: rgba(122, 162, 255, .18);
    color: #9ec0ff;
  }

  .vault-cat-pill .pill-count.is-empty {
    background: rgba(234, 189, 102, .14);
    color: #e6bc6a;
  }

  .vault-cat-pill.is-fav-tab {
    color: #f3c86a;
    background: rgba(234, 179, 58, .12);
  }

  .vault-cat-pill.is-fav-tab:is(:hover, :focus-visible) {
    color: #ffe09a;
    background: rgba(234, 179, 58, .22);
  }

  .vault-cat-pill.is-fav-tab[aria-selected="true"] {
    color: #0b0f19;
    background: #f5c148;
  }

  .vault-cat-pill.is-fav-tab[aria-selected="true"] .pill-count {
    background: rgba(11, 15, 25, .16);
    color: #0b0f19;
  }

  .vault-search-box input {
    background: #0c1322;
    border-color: rgba(255, 255, 255, .13);
    color: #f8fafc;
  }

  .vault-search-box input:focus-visible {
    border-color: var(--cobalt);
    background: #131d33;
    box-shadow: 0 0 0 3px rgba(122, 162, 255, .2);
  }

  .vault-search-kbd {
    background: #18233a;
    border-color: rgba(255, 255, 255, .18);
    color: #94a3b8;
  }

  .vault-search-clear {
    background: rgba(255, 255, 255, .11);
    color: #cbd5e1;
  }

  .vault-search-clear:is(:hover, :focus-visible) {
    background: rgba(255, 255, 255, .2);
    color: #fff;
  }

  .notes-hit-mark {
    background: rgba(251, 191, 36, .28);
    color: #fef3c7;
  }

  /* Scenes & Subtags */
  .vault-scene-pill {
    border-color: rgba(255, 255, 255, .11);
    background: #121a2d;
    color: #d2dcf0;
  }

  .vault-scene-pill .pill-count {
    background: rgba(255, 255, 255, .09);
    color: #aebbd2;
  }

  .vault-scene-pill:is(:hover, :focus-visible) {
    border-color: rgba(122, 162, 255, .48);
    background: #18233d;
    color: #fff;
  }

  .vault-scene-pill[aria-pressed="true"] {
    border-color: #f8fafc;
    background: #f8fafc;
    color: #0b0f19;
  }

  .vault-scene-pill[aria-pressed="true"] .pill-count {
    background: rgba(11, 15, 25, .14);
    color: #0b0f19;
  }

  .vault-scene-banner {
    border-color: rgba(122, 162, 255, .24);
    background: linear-gradient(135deg, #121c33 0%, #162444 100%);
  }

  .vault-subtag-chip {
    border-color: rgba(255, 255, 255, .12);
    background: #121a2d;
    color: #aebbd2;
  }

  .vault-subtag-chip:is(:hover, :focus-visible) {
    border-color: rgba(122, 162, 255, .48);
    background: #18233d;
    color: #e2ecff;
  }

  .vault-subtag-chip[aria-pressed="true"] {
    border-color: #f8fafc;
    background: #f8fafc;
    color: #0b0f19;
  }

  /* Buttons & Micro Controls in Dark Mode */
  .idea-button {
    border-color: rgba(255, 255, 255, .15);
    background: #141d32;
    color: #dce7ff;
  }

  .idea-button:is(:hover, :focus-visible) {
    border-color: rgba(122, 162, 255, .52);
    background: #1b2844;
    color: #fff;
  }

  .idea-button-primary {
    border-color: transparent;
    background: #f8fafc;
    color: #0b0f19;
    box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .55);
  }

  .idea-button-primary:is(:hover, :focus-visible) {
    background: #dbeafe;
    color: #0b0f19;
  }

  .idea-card-btn {
    border-color: rgba(255, 255, 255, .13);
    background: #162038;
    color: #cbd5e1;
  }

  .idea-card-btn:is(:hover, :focus-visible) {
    border-color: rgba(122, 162, 255, .5);
    background: #1f2e4f;
    color: #fff;
  }

  .idea-card-btn-primary {
    border-color: transparent;
    background: #f8fafc;
    color: #0b0f19;
  }

  .idea-card-btn-primary:is(:hover, :focus-visible) {
    background: #dbeafe;
    color: #0b0f19;
  }

  .idea-card-btn.is-copied {
    border-color: rgba(74, 222, 128, .48);
    background: rgba(34, 197, 94, .18);
    color: #86efac;
  }

  .idea-card-btn-danger:is(:hover, :focus-visible) {
    border-color: rgba(248, 113, 113, .52);
    background: rgba(239, 68, 68, .18);
    color: #fca5a5;
  }

  .card-micro-btn {
    border-color: rgba(255, 255, 255, .11);
    background: rgba(255, 255, 255, .05);
    color: #9aa7bd;
  }

  .card-micro-btn:is(:hover, :focus-visible) {
    border-color: rgba(122, 162, 255, .45);
    background: rgba(122, 162, 255, .16);
    color: #e2ecff;
  }

  .card-fav-btn.is-active {
    border-color: rgba(245, 189, 65, .48);
    background: rgba(245, 189, 65, .18);
    color: #f7c95c;
  }

  .card-like-btn.is-active {
    border-color: rgba(122, 162, 255, .52);
    background: rgba(122, 162, 255, .2);
    color: #9ec0ff;
  }

  /* Software Cards (Protected Light-Frost Squircle for Dark Icons) */
  .notes-software-list > li > a,
  .notes-software-list .software-card {
    border-color: rgba(255, 255, 255, .09);
    background: #121a2d;
  }

  .notes-software-list > li > a:is(:hover, :focus-visible),
  .notes-software-list .software-card:is(:hover, :focus-within) {
    border-color: rgba(122, 162, 255, .42);
    background: #17223a;
  }

  .software-icon-wrap {
    background: rgba(242, 246, 255, .95);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45);
  }

  .software-monogram { color: #1e429f; }

  .software-tag-app { background: rgba(122, 162, 255, .16); color: #a7c4ff; }
  .software-tag-mac { background: rgba(167, 139, 250, .18); color: #cbb6ff; }
  .software-tag-web { background: rgba(52, 211, 153, .16); color: #7ae9c0; }
  .software-tag-pin { background: rgba(245, 193, 72, .18); color: #f6cd6d; }
  .software-tag-suggest { background: rgba(122, 162, 255, .18); color: #b2ccff; }
  .software-tag-quote { background: rgba(245, 193, 72, .16); color: #f5c964; }

  .software-link-action {
    background: rgba(255, 255, 255, .08);
    color: #dbe8ff;
  }

  .notes-software-list > li > a:hover .software-link-action,
  .notes-software-list .software-card:hover .software-link-action,
  .software-link-action:is(:hover, :focus-visible) {
    background: #f8fafc;
    color: #0b0f19;
  }

  .notes-software-list > li > a.software-suggest-card {
    border-color: rgba(122, 162, 255, .28);
    background: linear-gradient(155deg, #131c36, #10172b);
  }

  .notes-software-list > li > a.software-suggest-card:is(:hover, :focus-visible) {
    border-color: rgba(122, 162, 255, .56);
    background: #172342;
  }

  .software-icon-wrap--plus {
    background: rgba(122, 162, 255, .2);
    color: #a7c4ff;
    box-shadow: none;
  }

  .software-suggest-card .software-card-foot { border-top-color: rgba(122, 162, 255, .14); }
  .software-suggest-card .software-link-action { background: rgba(122, 162, 255, .18); color: #a7c4ff; }
  .software-suggest-card:hover .software-link-action { background: #f8fafc; color: #0b0f19; }

  /* 妙idea Dual Workspace */
  .idea-panel {
    border-color: rgba(255, 255, 255, .09);
    background: #121a2d;
  }

  .idea-panel-workspace,
  .idea-columns > [data-idea-workspace] {
    border-color: rgba(122, 162, 255, .24);
    background: linear-gradient(156deg, #141f3b 0%, #121a30 58%, #121a2d 100%);
  }

  .idea-badge-private { background: rgba(122, 162, 255, .18); color: #a7c4ff; }
  .idea-badge-public { background: rgba(255, 255, 255, .09); color: #b8c4d9; }

  .idea-coin-pill {
    border-color: rgba(245, 193, 72, .35);
    background: rgba(245, 193, 72, .14);
    color: #f5c964;
  }

  .idea-coin-pill.is-earned {
    border-color: rgba(52, 211, 153, .42);
    background: rgba(52, 211, 153, .16);
    color: #7ae9c0;
  }

  .idea-form :is(input:not([type="checkbox"]), textarea) {
    border-color: rgba(255, 255, 255, .14);
    background: #0c1322;
    color: #f8fafc;
  }

  .idea-form :is(input, textarea):focus-visible {
    border-color: var(--cobalt);
    box-shadow: 0 0 0 3px rgba(122, 162, 255, .2);
  }

  .idea-char-count.is-near-limit { color: #f4b756; }
  .idea-char-count.is-at-limit { color: #f87171; }

  .idea-panel-public > [data-list-status]:not(:empty) {
    border-color: rgba(255, 255, 255, .12);
    background: #0f1627;
    color: #9aa7bd;
  }

  .idea-list > li {
    border-color: rgba(255, 255, 255, .09);
    background: #0f172a;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .25);
  }

  .idea-list > li.is-pinned {
    border-color: rgba(245, 193, 72, .38);
    background: linear-gradient(180deg, rgba(245, 193, 72, .08) 0%, #0f172a 100%);
  }

  .idea-list > li.is-editing {
    border-color: var(--cobalt);
    background: #14203b;
    box-shadow: 0 0 0 2px rgba(122, 162, 255, .24);
  }

  .idea-list .idea-text { color: #d6e0f2; }
  .idea-inline-link { color: #8db0ff; text-decoration-color: rgba(141, 176, 255, .42); }
  .idea-inline-tag { background: rgba(122, 162, 255, .16); color: #a7c4ff; }
  .idea-inline-tag:is(:hover, :focus-visible) { background: rgba(122, 162, 255, .28); color: #dce8ff; }

  /* Prompt, Quote & Rich Cards */
  .pick-prompt-card,
  .pick-rich-card {
    border-color: rgba(255, 255, 255, .09);
    background: #121a2d;
  }

  .pick-prompt-card:hover { border-color: rgba(122, 162, 255, .28); }
  .pick-prompt-card.is-pack-selected {
    border-color: #638ff6;
    box-shadow: 0 0 0 2px rgba(122, 162, 255, .24), var(--notes-shadow);
  }

  .pick-index-num { background: rgba(122, 162, 255, .16); color: #9bc0ff; }

  .pick-snippet-box {
    border-color: rgba(255, 255, 255, .08);
    border-left-color: #5b86eb;
    background: var(--snippet-bg);
    color: #dbe6f7;
  }

  .pick-expand-toggle {
    border-color: rgba(122, 162, 255, .24);
    background: #151f36;
    color: #9bc0ff;
  }

  .pick-expand-toggle:is(:hover, :focus-visible) {
    border-color: rgba(122, 162, 255, .48);
    background: #1c2a48;
    color: #dbe9ff;
  }

  .pick-source-meta { color: #93a4c2; }

  .pick-vars-bar { border-color: rgba(122, 162, 255, .24); background: #0f1627; }
  .pick-vars-label { color: #93c5fd; }
  .pick-var-field { color: #c2d0e8; }
  .pick-var-field input { border-color: rgba(255, 255, 255, .15); background: #0a101d; color: #f8fafc; }

  .pick-quote-card {
    border-color: rgba(255, 255, 255, .09);
    background: linear-gradient(158deg, #141c2f 0%, #101727 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), var(--notes-shadow);
  }

  .pick-quote-card::after {
    background: radial-gradient(360px circle at var(--qx, 50%) var(--qy, 18%), rgba(148, 163, 184, .1), transparent 62%);
  }

  .pick-quote-card--porcelain {
    border-color: rgba(255, 255, 255, .09);
    background:
      radial-gradient(ellipse 68% 58% at 92% 8%, rgba(59, 130, 246, .14) 0%, transparent 66%),
      linear-gradient(158deg, #151e33 0%, #101726 100%);
  }

  .pick-quote-card--indigo {
    border-color: rgba(129, 140, 248, .18);
    background:
      radial-gradient(ellipse 68% 58% at 92% 8%, rgba(99, 102, 241, .2) 0%, transparent 68%),
      linear-gradient(158deg, #161d38 0%, #10162b 100%);
  }

  .pick-quote-card--apricot {
    border-color: rgba(251, 191, 36, .18);
    background:
      radial-gradient(ellipse 68% 58% at 92% 8%, rgba(217, 119, 6, .2) 0%, transparent 68%),
      linear-gradient(158deg, #211a16 0%, #141624 100%);
  }

  .pick-quote-card--sky {
    border-color: rgba(56, 189, 248, .18);
    background:
      radial-gradient(ellipse 68% 58% at 92% 8%, rgba(14, 165, 233, .18) 0%, transparent 68%),
      linear-gradient(158deg, #112031 0%, #0f1727 100%);
  }

  .pick-quote-index {
    border-color: rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .06);
    color: #9aa7bd;
  }

  .pick-quote-mark { color: rgba(122, 162, 255, .36); }
  .pick-quote-card--apricot .pick-quote-mark { color: rgba(251, 191, 36, .38); }
  .pick-quote-card--sky .pick-quote-mark { color: rgba(56, 189, 248, .36); }
  .pick-quote-meta h4 { color: #cbd5e1; }
  .pick-quote-text { color: #f8fafc; }
  .pick-quote-note { border-left-color: rgba(122, 162, 255, .48); background: rgba(255, 255, 255, .045); color: #b6c3d9; }
  .pick-quote-card--apricot .pick-quote-note { border-left-color: rgba(251, 191, 36, .52); background: rgba(251, 191, 36, .08); color: #dcd1be; }
  .pick-quote-foot { border-top-color: rgba(255, 255, 255, .085); }
  .pick-quote-source { color: #9ab3db; }
  .pick-quote-card--apricot .pick-quote-source { color: #f3c66c; }

  .pick-quote-card.is-quote-obsidian {
    border-color: rgba(122, 162, 255, .26);
    background:
      radial-gradient(ellipse 56% 82% at 10% 8%, rgba(59, 130, 246, .32) 0%, transparent 66%),
      radial-gradient(ellipse 52% 76% at 92% 94%, rgba(245, 158, 11, .24) 0%, transparent 66%),
      linear-gradient(148deg, #070a12 0%, #0e162a 56%, #090e1c 100%);
  }

  .pick-quote-card.is-quote-aurora {
    border-color: rgba(244, 114, 182, .3);
  }

  .pick-quote-card.is-quote-featured .pick-quote-note {
    border-left-color: rgba(253, 224, 71, .68);
    background: rgba(255, 255, 255, .09);
    color: rgba(241, 245, 255, .88);
  }

  .pick-quote-card.is-quote-featured .pick-quote-source {
    color: #fde68a;
  }

  .pick-quote-card.is-quote-featured .idea-card-btn-primary {
    background: #ffffff;
    color: #0b0f19;
  }

  .pick-quote-card.is-quote-featured .idea-card-btn-primary:is(:hover, :focus-visible) {
    background: #dbeafe;
    color: #0b0f19;
  }

  :is(.software-card, .pick-prompt-card, .pick-quote-card, .pick-rich-card).is-spotlight {
    border-color: #7aa2ff;
    box-shadow: 0 0 0 3px rgba(122, 162, 255, .26), var(--notes-shadow-hover);
  }

  /* Reserved Pastel Triptych in Dark Mode */
  .notes-discovery {
    border-color: rgba(255, 255, 255, .09);
    background: #121a2d;
  }

  .idea-button.notes-discovery-cta {
    border-color: transparent;
    background: #f8fafc;
    color: #0b0f19;
  }

  .idea-button.notes-discovery-cta:is(:hover, :focus-visible) {
    border-color: transparent;
    background: #dbeafe;
    color: #0b0f19;
  }

  .discovery-card {
    border-color: rgba(255, 255, 255, .1);
    background: linear-gradient(156deg, rgba(37, 99, 235, .22) 0%, #0f172a 100%);
  }

  .discovery-card--quote {
    border-color: rgba(251, 146, 60, .2);
    background: linear-gradient(156deg, rgba(154, 52, 18, .28) 0%, #14192a 62%, #0f172a 100%);
  }

  .discovery-card--plugin {
    border-color: rgba(52, 211, 153, .2);
    background: linear-gradient(156deg, rgba(17, 94, 89, .3) 0%, #101b2c 62%, #0f172a 100%);
  }

  .discovery-card--product {
    border-color: rgba(139, 92, 246, .22);
    background: linear-gradient(156deg, rgba(67, 56, 202, .32) 0%, #121a30 62%, #0f172a 100%);
  }

  .discovery-card--skill {
    border-color: rgba(96, 165, 250, .22);
    background: linear-gradient(156deg, rgba(29, 78, 216, .28) 0%, #101a30 62%, #0f172a 100%);
  }

  .discovery-icon {
    background: rgba(255, 255, 255, .09);
    box-shadow: none;
  }

  .discovery-icon-product { color: #c4b5fd; }
  .discovery-icon-skill { color: #93c5fd; }
  .discovery-icon-plugin { color: #6ee7b7; }
  .discovery-icon-prompt { color: #a5b4fc; }
  .discovery-icon-quote { color: #fdba74; }

  .discovery-state { background: rgba(255, 255, 255, .1); color: #cbd5e1; }
  .discovery-state-warm { background: rgba(196, 181, 253, .16); color: #ddd6fe; }
  .discovery-tags span { background: rgba(255, 255, 255, .08); color: #cbd5e1; }

  .vault-empty-card {
    border-color: rgba(122, 162, 255, .28);
    background: linear-gradient(145deg, #131c32, #0f1628);
  }

  /* Pack Bar, Back-to-Top, Share Dialog, Pass Chip & Footer */
  .vault-pack-bar {
    border-color: rgba(255, 255, 255, .14);
    background: rgba(17, 25, 44, .94);
    box-shadow: 0 18px 44px rgba(0, 0, 0, .62);
  }

  .vault-pack-count { color: #f8fafc; }

  .notes-back-top {
    border-color: rgba(255, 255, 255, .16);
    background: rgba(18, 26, 45, .92);
    color: #f8fafc;
    box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .62);
  }

  .notes-back-top:is(:hover, :focus-visible) {
    border-color: #f8fafc;
    background: #f8fafc;
    color: #0b0f19;
  }

  .notes-share-dialog {
    border-color: rgba(255, 255, 255, .14);
    background: #121a2d;
    color: #f1f5f9;
    box-shadow: 0 24px 68px rgba(0, 0, 0, .68);
  }

  .notes-share-dialog::backdrop { background: rgba(4, 8, 18, .72); }
  .notes-share-preview { border-color: rgba(255, 255, 255, .09); background: #0b1120; }

  .notes-pass-chip {
    border-color: rgba(245, 193, 72, .38);
    background: rgba(245, 193, 72, .14);
    color: #f6cd6d;
  }

  .notes-pass-chip:is(:hover, :focus-visible) {
    border-color: rgba(245, 193, 72, .6);
    background: rgba(245, 193, 72, .24);
    color: #ffe299;
  }

  .site-footer {
    border-top-color: rgba(255, 255, 255, .09);
    color: var(--secondary);
  }

  .site-footer a:hover { color: var(--cobalt); }

  /* Admin Studio Dark Mode */
  main.studio-page.notebook > .page-intro {
    border-color: rgba(122, 162, 255, .18);
    background:
      radial-gradient(ellipse 62% 72% at 88% 18%, rgba(59, 102, 245, .24) 0%, transparent 62%),
      linear-gradient(145deg, #10182d 0%, #121b33 100%);
  }

  .admin-suite-bar { border-color: rgba(255, 255, 255, .1); background: #0d1424; }
  .admin-suite-bar a { color: #9aa7bd; }
  .admin-suite-bar a:is(:hover, :focus-visible) { color: #f8fafc; background: rgba(255, 255, 255, .08); }
  .admin-suite-bar a[aria-current="page"] { background: #f8fafc; color: #0b0f19; }

  .admin-tabs { border-color: rgba(255, 255, 255, .1); background: #0d1424; }
  .admin-tab { color: #9aa7bd; }
  .admin-tab:is(:hover, :focus-visible) { color: #f8fafc; background: rgba(255, 255, 255, .08); }
  .admin-tab[aria-selected="true"] { color: #0b0f19; background: #f8fafc; }

  .admin-cat-chip { border-color: rgba(255, 255, 255, .14); background: #11192c; color: #aebbd2; }
  .admin-cat-chip:is(:hover, :focus-visible) { border-color: var(--cobalt); color: #dce8ff; }
  .admin-cat-chip.is-selected { border-color: #f8fafc; background: #f8fafc; color: #0b0f19; }

  .admin-more-fields { border-color: rgba(255, 255, 255, .1); background: #0e1526; }
  .admin-edit-banner { border-color: rgba(122, 162, 255, .38); background: rgba(44, 90, 214, .22); color: #d5e4ff; }
  .admin-pick-snippet { background: #0a101e; color: #cfdcf0; }
}
