Skip to content

Curated website design inspiration gallery, open zero-auth MCP server for AI agents, and shareable moodboard lists.

42.4 KB
Raw Blame
@font-face {
  font-family: "Geist";
  src: url("/fonts/geist-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("/fonts/geist-mono-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #0b0b0b;
  --bg-sunken: #111113;
  --bg-raised: #17171a;
  --text: #f3f3f5;
  --text-muted: #a1a1aa;
  --text-faint: #71717a;
  --border: #232327;
  --border-strong: #36363d;

  /* DesignTaste signature dark-studio glow (cool iris-indigo + warm rose mist) */
  --glow-a: rgba(129, 140, 248, 0.14);
  --glow-b: rgba(244, 114, 182, 0.075);
  --glow-nav: rgba(154, 167, 255, 0.12);
  --iris: #a5b4fc;
  --iris-soft: rgba(165, 180, 252, 0.14);
  --heart: #ff4d6d;
  --heart-soft: rgba(255, 77, 109, 0.16);
  --heart-border: rgba(255, 77, 109, 0.52);

  /* Caddi-inspired dark plates, rim light, and brushed-silver metallic buttons */
  --rim: rgba(255, 255, 255, 0.09);
  --plate: linear-gradient(180deg, #1a1a1e 0%, #111113 100%);
  --plate-sunken: linear-gradient(180deg, #141417 0%, #0d0d0f 100%);
  --btn-plate: linear-gradient(
    180deg,
    #ffffff 0%,
    #fbfbfc 36%,
    #e4e4e8 64%,
    #c2c2c9 100%
  );
  --btn-shadow:
    inset 0 1px 0 #ffffff,
    inset 0 -1px 0 rgba(0, 0, 0, 0.24),
    inset 0 -12px 14px -12px rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.18),
    0 1px 2px rgba(0, 0, 0, 0.6),
    0 10px 28px -10px rgba(165, 180, 252, 0.42);
  --btn-shadow-hover:
    inset 0 1px 0 #ffffff,
    inset 0 -1px 0 rgba(0, 0, 0, 0.24),
    inset 0 -12px 14px -12px rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.36),
    0 1px 2px rgba(0, 0, 0, 0.65),
    0 14px 36px -8px rgba(165, 180, 252, 0.62);
  --btn-sheen: linear-gradient(
    105deg,
    transparent 30%,
    rgba(12, 12, 24, 0.16) 42%,
    #ffffff 48%,
    #ffffff 52%,
    rgba(12, 12, 24, 0.16) 58%,
    transparent 70%
  );
  --shadow-window: 0 0 0 1px rgba(255, 255, 255, 0.09),
    0 30px 80px -20px rgba(0, 0, 0, 0.88);
  --shadow-card: 0 0 0 1px rgba(255, 255, 255, 0.07),
    0 10px 28px -12px rgba(0, 0, 0, 0.72);
  --shadow-card-hover: 0 0 0 1px rgba(165, 180, 252, 0.28),
    0 20px 44px -16px rgba(0, 0, 0, 0.9),
    0 0 36px -16px rgba(129, 140, 248, 0.26);

  --font-sans: "Geist", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --ease: cubic-bezier(0.2, 0, 0, 1);
  --max-width: 1640px;
  --gutter: 28px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color: var(--text);
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: -0.008em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  display: flex;
  flex-direction: column;
}

/* Subtle dark film grain like caddi.build (desktop only to save mobile Safari GPU memory) */
@media (hover: hover) and (min-width: 760px) {
  body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: 0.038;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.5 0 0 0 0 0.5 0 0 0 0 0.5 0 0 0 0.9 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
  }
}

/* Whisper-subtle top studio glow */
.ambient-glow {
  position: fixed;
  inset: -140px 0 auto;
  height: 520px;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(ellipse 52% 58% at 38% 0%, var(--glow-a) 0%, transparent 72%),
    radial-gradient(ellipse 40% 50% at 68% 4%, var(--glow-b) 0%, transparent 70%);
}

main {
  flex: 1;
}

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

button,
a {
  touch-action: manipulation;
}

button {
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}

button:disabled {
  cursor: default;
  opacity: 0.55;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--iris);
  outline-offset: 3px;
  border-radius: 6px;
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

.skip {
  position: fixed;
  left: 16px;
  top: -100px;
  padding: 10px 14px;
  border-radius: 8px;
  background: #ffffff;
  color: #0b0b0b;
  font-weight: 600;
  z-index: 200;
}
.skip:focus {
  top: 14px;
}

/* ---------- Buttons (Caddi metallic sheen + dark glass ghost) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 11px;
  font-size: 14px;
  font-weight: 550;
  letter-spacing: -0.01em;
  white-space: nowrap;
  border: 1px solid transparent;
  transition:
    background-color 150ms var(--ease),
    border-color 150ms var(--ease),
    box-shadow 200ms var(--ease),
    color 150ms var(--ease),
    transform 120ms ease-out;
}
.btn:active {
  transform: scale(0.96);
}
.btn-sm {
  min-height: 36px;
  padding: 0 13px;
  font-size: 13.5px;
  border-radius: 10px;
}
.btn-primary {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: #0a0a0c;
  background: var(--btn-plate);
  box-shadow: var(--btn-shadow);
}
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: var(--btn-sheen);
  translate: -115%;
}
.btn-ghost {
  color: var(--text);
  background: var(--plate);
  border-color: var(--border-strong);
  box-shadow:
    inset 0 1px 0 var(--rim),
    0 1px 2px rgba(0, 0, 0, 0.35);
}
@media (hover: hover) {
  .btn-primary:hover {
    box-shadow: var(--btn-shadow-hover);
  }
  @media (prefers-reduced-motion: no-preference) {
    .btn-primary::after {
      transition: translate 0.7s var(--ease);
    }
    .btn-primary:hover::after {
      translate: 115%;
    }
  }
  .btn-ghost:hover {
    border-color: rgba(255, 255, 255, 0.28);
    background: linear-gradient(180deg, #212126 0%, #151518 100%);
  }
}

.plus-svg,
.ext-svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* ---------- Floating Glass Pill Header (inspired by caddi.build) ---------- */
.site-header {
  position: sticky;
  top: 12px;
  z-index: 60;
  padding: 0 var(--gutter);
  margin-top: 12px;
  pointer-events: none;
}

.nav-pill {
  pointer-events: auto;
  max-width: var(--max-width);
  margin: 0 auto;
  height: 54px;
  padding: 0 8px 0 14px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  background: color-mix(in srgb, var(--bg-raised) 82%, transparent);
  backdrop-filter: saturate(1.5) blur(16px);
  -webkit-backdrop-filter: saturate(1.5) blur(16px);
  box-shadow:
    inset 0 1px 0 var(--rim),
    0 0 0 1px var(--border),
    0 16px 36px -18px rgba(0, 0, 0, 0.8);
}

.nav-pill::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(180deg, var(--glow-nav), transparent 72%);
  opacity: 0.7;
}

.nav-pill > * {
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.025em;
  white-space: nowrap;
  padding: 4px 2px;
}

.brand-svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.brand-dot {
  font-weight: 450;
  color: var(--text-faint);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 8px;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: 9px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-muted);
  transition:
    color 150ms var(--ease),
    background-color 150ms var(--ease);
}

.nav-links a[aria-current="page"],
.nav-links a.is-active {
  color: var(--text);
  background: var(--plate-sunken);
  box-shadow:
    inset 0 1px 0 var(--rim),
    0 0 0 1px var(--border);
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.nav-saved-link .heart-svg {
  width: 14px;
  height: 14px;
  color: var(--heart);
}

.nav-saved-link.is-active .heart-svg path,
.filter-saved[aria-current="page"] .heart-svg path {
  fill: var(--heart);
  stroke: var(--heart);
}

.saved-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  padding: 1px 6px;
  border-radius: 999px;
  background: var(--heart-soft);
  color: #ff859a;
  border: 1px solid rgba(255, 77, 109, 0.3);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.nav-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid transparent;
  transition:
    color 150ms var(--ease),
    background-color 150ms var(--ease),
    border-color 150ms var(--ease);
}

.nav-icon-btn:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border);
}

.gh-svg {
  width: 17px;
  height: 17px;
  display: block;
}

/* Inline glass search */
.search {
  display: none;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 10px 0 11px;
  border-radius: 10px;
  background: var(--plate-sunken);
  border: 1px solid var(--border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition:
    border-color 150ms var(--ease),
    box-shadow 150ms var(--ease);
}

.js .nav-search {
  display: flex;
  width: 240px;
}

.search:focus-within {
  border-color: rgba(165, 180, 252, 0.45);
  box-shadow: 0 0 0 3px rgba(165, 180, 252, 0.12);
}

.search svg {
  width: 15px;
  height: 15px;
  color: var(--text-faint);
  flex-shrink: 0;
}

.search input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  font-size: 13.5px;
  color: var(--text);
  outline: none;
}

.search input::placeholder {
  color: var(--text-faint);
}

.search kbd {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-faint);
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 5px;
  padding: 1px 5px;
  line-height: 1.3;
}

.mobile-search {
  display: none;
}

/* ---------- Straight-to-the-Sites Collection Layout ---------- */
.collection {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 18px var(--gutter) 56px;
}

.gallery-toolbar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.toolbar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.toolbar-title {
  display: flex;
  align-items: baseline;
  gap: 10px;
  min-width: 0;
}

.toolbar-title h1 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--text);
  line-height: 1.2;
}

.count-chip {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-faint);
  font-variant-numeric: tabular-nums;
}

.saved-browser-note {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-faint);
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-sunken);
}

.toolbar-controls {
  display: none;
  align-items: center;
  gap: 8px;
}

.js .toolbar-controls {
  display: flex;
}

.control-select,
.control-pill {
  height: 32px;
  padding: 0 11px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--plate);
  border: 1px solid var(--border);
  box-shadow: inset 0 1px 0 var(--rim);
  transition:
    color 150ms var(--ease),
    border-color 150ms var(--ease);
}

.control-select {
  padding-right: 10px;
  cursor: pointer;
}

.control-select option {
  background: #141417;
  color: var(--text);
}

.control-select:hover,
.control-pill:hover {
  color: var(--text);
  border-color: var(--border-strong);
}

.control-pill[aria-pressed="true"] {
  color: var(--iris);
  border-color: rgba(165, 180, 252, 0.35);
}

.toolbar-filters {
  display: flex;
  align-items: center;
  gap: 12px;
}

.filters {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 2px 0;
  min-width: 0;
  flex: 1;
}

.filters::-webkit-scrollbar {
  display: none;
}

.filters a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 13px;
  border-radius: 999px;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid transparent;
  transition:
    color 150ms var(--ease),
    background-color 150ms var(--ease),
    border-color 150ms var(--ease),
    box-shadow 150ms var(--ease);
}

.filters a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.filters a[aria-current="page"] {
  color: #0b0b0d;
  background: #f3f3f5;
  border-color: transparent;
  font-weight: 600;
  box-shadow: 0 2px 12px -4px rgba(165, 180, 252, 0.45);
}

.filters a.filter-saved[aria-current="page"] {
  color: #ffffff;
  background: linear-gradient(180deg, #ff5b79 0%, #e13b5c 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 6px 20px -6px rgba(255, 77, 109, 0.65);
}

.filters a.filter-saved[aria-current="page"] .heart-svg,
.filters a.filter-saved[aria-current="page"] .heart-svg path {
  color: #ffffff;
  fill: #ffffff;
  stroke: #ffffff;
}

.filters a.filter-saved .heart-svg {
  width: 13px;
  height: 13px;
  color: var(--heart);
}

.pill-count {
  font-family: var(--font-mono);
  font-size: 11px;
  opacity: 0.7;
  font-variant-numeric: tabular-nums;
}

.filter-sep {
  width: 1px;
  height: 16px;
  background: var(--border);
  flex-shrink: 0;
  margin: 0 2px;
}

/* ---------- Gallery Grid ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 20px;
}

.site-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  content-visibility: auto;
  contain-intrinsic-size: auto 300px;
}

.site-card.reveal-pending {
  opacity: 0.35;
  transform: translateY(14px);
}

.site-card.reveal-ready {
  opacity: 1;
  transform: none;
  transition:
    opacity 450ms ease,
    transform 450ms cubic-bezier(0.16, 1, 0.3, 1);
}

.preview-wrap {
  position: relative;
  border-radius: 14px;
  background: #141417;
  box-shadow: var(--shadow-card);
  transition:
    transform 220ms var(--ease),
    box-shadow 220ms var(--ease);
}

@media (hover: hover) {
  .site-card:hover .preview-wrap {
    transform: translateY(-2px);
    box-shadow: var(--shadow-card-hover);
  }
}

.preview {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 14px;
  background: #141417;
  isolation: isolate;
}

/* Subtle top specular sheen on preview frames (like caddi.build .shot::after) */
.preview::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 2;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.11);
  background: linear-gradient(
    118deg,
    rgba(255, 255, 255, 0.04) 0%,
    rgba(0, 0, 0, 0) 28%
  );
}

.preview picture {
  display: block;
  width: 100%;
  height: 100%;
}

.preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

@media (hover: hover) and (min-width: 760px) {
  .preview picture {
    height: auto;
    min-height: 100%;
  }

  .preview img {
    height: auto;
    min-height: 100%;
    transition: transform 620ms cubic-bezier(0.2, 0, 0, 1);
  }

  .preview.scrolling img {
    transform: translate3d(0, var(--travel, 0px), 0);
    transition: transform var(--scroll-duration, 7s)
      cubic-bezier(0.22, 0.05, 0.22, 1);
    will-change: transform;
  }
}

/* Subtle hair-thin scroll progress bar at bottom of preview */
.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  z-index: 4;
  background: linear-gradient(90deg, var(--iris), #ff7ea3);
  transform-origin: left center;
  transform: scaleX(0);
  opacity: 0;
  pointer-events: none;
  transition:
    transform 400ms var(--ease),
    opacity 200ms ease;
}

.preview.can-scroll.scrolling .scroll-progress {
  opacity: 0.9;
  transform: scaleX(1);
  transition:
    transform var(--scroll-duration, 7s) cubic-bezier(0.22, 0.05, 0.22, 1),
    opacity 160ms ease;
}

/* Recorded smooth-scroll video layer for scroll-choreographed sites */
.preview-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  z-index: 1;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.preview.video-ready .preview-video {
  opacity: 1;
}

.preview.has-video.video-playing .scroll-progress {
  opacity: 0.9;
  transform: scaleX(var(--video-progress, 0));
  transition: opacity 160ms ease;
}

.preview-motion-badge {
  position: absolute;
  top: 11px;
  left: 11px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 9px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(244, 244, 246, 0.9);
  background: rgba(11, 11, 14, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  pointer-events: none;
  transition: opacity 160ms var(--ease);
}

.preview-motion-badge .play-svg {
  width: 9px;
  height: 9px;
  color: var(--iris);
}

.preview.video-playing .preview-motion-badge {
  opacity: 0;
}

.preview-visit {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 550;
  color: #f4f4f6;
  background: rgba(11, 11, 14, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
  opacity: 0;
  transform: translateY(4px);
  transition:
    opacity 160ms var(--ease),
    transform 160ms var(--ease);
  pointer-events: none;
}

.preview:hover .preview-visit,
.preview:focus-visible .preview-visit {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Obvious Circular Heart Save Button ---------- */
.save-btn {
  position: absolute;
  top: 11px;
  right: 11px;
  z-index: 5;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(12, 12, 16, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 4px 16px rgba(0, 0, 0, 0.45);
  transition:
    transform 160ms cubic-bezier(0.22, 1, 0.36, 1),
    background-color 160ms var(--ease),
    border-color 160ms var(--ease),
    color 160ms var(--ease),
    box-shadow 200ms var(--ease);
}

.save-btn .heart-svg {
  width: 17px;
  height: 17px;
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.save-btn .heart-svg path {
  fill: transparent;
  transition:
    fill 160ms ease,
    stroke 160ms ease;
}

@media (hover: hover) {
  .save-btn:hover {
    transform: scale(1.08);
    color: #ffffff;
    background: rgba(18, 18, 22, 0.88);
    border-color: rgba(255, 255, 255, 0.3);
  }
}

.save-btn:active {
  transform: scale(0.92);
}

.save-btn[aria-pressed="true"] {
  color: var(--heart);
  background: rgba(26, 11, 17, 0.88);
  border-color: var(--heart-border);
  box-shadow:
    inset 0 1px 0 rgba(255, 160, 180, 0.25),
    0 4px 20px rgba(255, 77, 109, 0.38);
}

.save-btn[aria-pressed="true"] .heart-svg path {
  fill: var(--heart);
  stroke: var(--heart);
}

.save-btn.just-saved .heart-svg {
  animation: heart-pop 340ms cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes heart-pop {
  0% {
    transform: scale(0.8);
  }
  50% {
    transform: scale(1.28);
  }
  100% {
    transform: scale(1);
  }
}

/* ---------- Card Caption ---------- */
.card-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 3px 0;
}

.card-meta {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
}

.site-name {
  font-size: 14px;
  font-weight: 550;
  letter-spacing: -0.015em;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-name:hover {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--border-strong);
}

.category {
  font-size: 12px;
  color: var(--text-faint);
  white-space: nowrap;
}

.details {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-faint);
  padding: 4px 0 4px 8px;
  flex-shrink: 0;
  transition: color 150ms var(--ease);
}

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

/* ---------- Empty State & End Note ---------- */
.empty {
  text-align: center;
  padding: 84px 20px;
  border: 1px dashed var(--border);
  border-radius: 16px;
  background: var(--plate-sunken);
  margin-top: 8px;
}

.empty h2 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.empty p {
  margin: 0 0 20px;
  color: var(--text-muted);
  font-size: 14.5px;
}

.load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

.load-sentinel {
  height: 1px;
  width: 100%;
  pointer-events: none;
}

/* ---------- Shareable Saved Lists & MCP Page ---------- */
.list-banner {
  margin-bottom: 22px;
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--plate);
  border: 1px solid var(--border);
  box-shadow:
    inset 0 1px 0 var(--rim),
    0 14px 36px -22px rgba(0, 0, 0, 0.85);
}

.list-banner-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.list-banner-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  flex: 1 1 280px;
}

.list-banner-copy strong {
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--text);
}

.list-banner-copy span {
  font-size: 13px;
  color: var(--text-muted);
}

.list-banner-copy a {
  color: var(--iris);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.list-banner-head {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.list-id-pill {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 550;
  color: var(--iris);
  background: var(--iris-soft);
  border: 1px solid rgba(165, 180, 252, 0.3);
  border-radius: 999px;
  padding: 3px 10px;
  user-select: all;
}

.share-list-form {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.share-list-form input {
  height: 34px;
  width: 240px;
  max-width: 100%;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--bg-sunken);
  font-size: 13px;
  color: var(--text);
  outline: none;
}

.share-list-form input:focus {
  border-color: rgba(165, 180, 252, 0.55);
  box-shadow: 0 0 0 3px rgba(165, 180, 252, 0.14);
}

.share-list-result {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 13px;
}

.share-list-result.is-error {
  color: #fecdd3;
}

.shared-list-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.mcp-page {
  max-width: 820px;
}

.mcp-endpoint-card {
  margin: 26px 0 32px;
  padding: 18px 20px;
  border-radius: 16px;
  background: var(--plate);
  border: 1px solid rgba(165, 180, 252, 0.25);
  box-shadow:
    inset 0 1px 0 var(--rim),
    0 18px 40px -22px rgba(129, 140, 248, 0.35);
}

.mcp-endpoint-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.mcp-label {
  display: block;
  font-size: 11.5px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--iris);
  margin-bottom: 6px;
}

.mcp-url {
  font-family: var(--font-mono);
  font-size: 14.5px;
  color: var(--text);
  word-break: break-all;
}

.code-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 14px;
}

.code-card {
  border-radius: 14px;
  background: var(--bg-sunken);
  border: 1px solid var(--border);
  overflow: hidden;
}

.code-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  font-size: 12.5px;
  font-weight: 550;
  color: var(--text-muted);
}

.code-card pre {
  margin: 0;
  padding: 14px 16px;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.55;
  color: #e4e4e7;
}

.mcp-tools-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.mcp-tool-card {
  padding: 15px 16px;
  border-radius: 14px;
  background: var(--plate);
  border: 1px solid var(--border);
  box-shadow: inset 0 1px 0 var(--rim);
}

.mcp-tool-card code {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--iris);
  margin-bottom: 6px;
}

.mcp-tool-card p {
  margin: 0;
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

.end-note {
  margin-top: 40px;
  padding: 28px 0 8px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.end-note p {
  margin: 0;
  font-size: 14.5px;
  color: var(--text-muted);
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 26px var(--gutter) 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px 24px;
  flex-wrap: wrap;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13px;
  color: var(--text-muted);
  flex-wrap: wrap;
}

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

.footer-inner small {
  flex-basis: 100%;
  font-size: 12px;
  color: var(--text-faint);
}

/* ---------- Detail Page ---------- */
.detail-shell {
  max-width: 1380px;
  margin: 0 auto;
  padding: 26px var(--gutter) 72px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  color: var(--text-muted);
  transition: color 150ms var(--ease);
}

.back-link:hover {
  color: var(--text);
}

.eyebrow {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--iris);
}

.detail-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin: 24px 0 32px;
  flex-wrap: wrap;
}

.detail-title h1 {
  margin: 0;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.06;
}

.lede {
  margin: 12px 0 0;
  max-width: 620px;
  font-size: 16.5px;
  line-height: 1.55;
  color: var(--text-muted);
}

.detail-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.detail-save-btn .heart-svg {
  width: 16px;
  height: 16px;
  color: var(--text-muted);
}

.detail-save-btn[aria-pressed="true"] {
  border-color: var(--heart-border);
  background: linear-gradient(
    180deg,
    rgba(255, 77, 109, 0.2) 0%,
    rgba(255, 77, 109, 0.08) 100%
  );
  color: #ffd0da;
}

.detail-save-btn[aria-pressed="true"] .heart-svg,
.detail-save-btn[aria-pressed="true"] .heart-svg path {
  color: var(--heart);
  fill: var(--heart);
  stroke: var(--heart);
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 32px;
  align-items: start;
}

.detail-image {
  display: block;
  border-radius: 16px;
  overflow: hidden;
  background: #141417;
  box-shadow: var(--shadow-window);
}

.detail-image img {
  display: block;
  width: 100%;
  height: auto;
}

.detail-media {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #141417;
  box-shadow: var(--shadow-window);
}

.detail-video-link {
  display: block;
  width: 100%;
  height: 100%;
}

.detail-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.detail-video-toggle {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 3;
  padding: 7px 13px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  color: #f4f4f6;
  background: rgba(11, 11, 14, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  cursor: pointer;
  transition:
    background 160ms var(--ease),
    border-color 160ms var(--ease);
}

.detail-video-toggle:hover,
.detail-video-toggle:focus-visible {
  background: rgba(20, 20, 26, 0.96);
  border-color: rgba(165, 180, 252, 0.45);
}

.detail-video-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2.5px;
  z-index: 4;
  background: linear-gradient(90deg, var(--iris), #ff7ea3);
  transform-origin: left center;
  transform: scaleX(0);
  pointer-events: none;
}

.detail-aside {
  position: sticky;
  top: 84px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.aside-card {
  padding: 20px;
  border-radius: 14px;
  background: var(--plate);
  border: 1px solid var(--border);
  box-shadow: inset 0 1px 0 var(--rim);
}

.aside-card h2 {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--text);
}

.aside-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-muted);
}

dl {
  margin: 0;
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 12px 10px;
  font-size: 13px;
}

dt {
  color: var(--text-faint);
}

dd {
  margin: 0;
  color: var(--text);
  overflow-wrap: anywhere;
}

dd a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--border-strong);
  text-underline-offset: 3px;
}

dd a:hover {
  text-decoration-color: var(--iris);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}

.tags span {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 6px;
  color: var(--text-muted);
  background: var(--bg-sunken);
  border: 1px solid var(--border);
}

.capture-note {
  margin: 4px 0 0;
  font-size: 12px;
  line-height: 1.55;
  color: var(--text-faint);
}

.text-link {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: underline;
  text-decoration-color: var(--border-strong);
  text-underline-offset: 4px;
}

.text-link:hover {
  color: var(--text);
  text-decoration-color: var(--iris);
}

.related {
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.section-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.section-title h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.section-title a {
  font-size: 13.5px;
  color: var(--text-muted);
}

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

/* ---------- Prose, Submit Page, & Submit Dialog ---------- */
.prose {
  max-width: 720px;
  margin: 48px auto 84px;
  padding: 0 var(--gutter);
}

.prose h1 {
  margin: 0;
  font-size: clamp(32px, 4.4vw, 48px);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.prose .lede {
  margin-bottom: 36px;
}

.prose section {
  padding-top: 28px;
  margin-top: 28px;
  border-top: 1px solid var(--border);
}

.prose h2 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.prose p {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
}

.prose p a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--border-strong);
  text-underline-offset: 4px;
}

.prose p a:hover {
  text-decoration-color: var(--iris);
}

.submit-card {
  padding: 26px;
  border-radius: 16px;
  background: var(--plate);
  border: 1px solid var(--border);
  box-shadow: inset 0 1px 0 var(--rim), var(--shadow-window);
}

.quiet {
  margin-top: 20px;
  font-size: 13px;
  color: var(--text-faint);
}

/* Modal dialog */
.submit-dialog {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  max-width: 520px;
  width: calc(100% - 32px);
  overflow: visible;
}

.submit-dialog::backdrop {
  background: rgba(5, 5, 7, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.dialog-panel {
  padding: 24px;
  border-radius: 18px;
  background: var(--plate);
  border: 1px solid var(--border-strong);
  box-shadow:
    inset 0 1px 0 var(--rim),
    0 24px 72px -12px rgba(0, 0, 0, 0.9),
    0 0 60px -24px var(--glow-a);
}

.dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.dialog-head h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.icon-close {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--text-muted);
  background: var(--plate-sunken);
  border: 1px solid var(--border);
  transition:
    color 150ms var(--ease),
    border-color 150ms var(--ease);
}

.icon-close:hover {
  color: var(--text);
  border-color: var(--border-strong);
}

.icon-close svg {
  width: 15px;
  height: 15px;
}

.submit-form {
  display: grid;
  gap: 15px;
}

.field {
  display: grid;
  gap: 6px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.field label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 6px;
}

.field .req {
  color: var(--heart);
}

.field .opt {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  color: var(--text-faint);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14px;
  color: var(--text);
  background: var(--plate-sunken);
  border: 1px solid var(--border);
  transition:
    border-color 150ms var(--ease),
    box-shadow 150ms var(--ease);
}

.field select option {
  background: #141417;
  color: var(--text);
}

.field textarea {
  resize: vertical;
  min-height: 78px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(165, 180, 252, 0.55);
  box-shadow: 0 0 0 3px rgba(165, 180, 252, 0.14);
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.submit-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.submit-hint {
  font-size: 12.5px;
  color: var(--text-faint);
}

.submit-status {
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 13.5px;
  line-height: 1.5;
  border: 1px solid var(--border);
  background: var(--bg-sunken);
}

.submit-status.is-success {
  border-color: rgba(74, 222, 128, 0.35);
  background: rgba(20, 83, 45, 0.25);
  color: #bbf7d0;
}

.submit-status.is-error {
  border-color: rgba(255, 77, 109, 0.4);
  background: rgba(127, 29, 49, 0.28);
  color: #fecdd3;
}

.submit-status a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 550;
}

/* ---------- Responsive Breakpoints ---------- */
@media (min-width: 1880px) {
  .gallery {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  :root {
    --gutter: 20px;
  }
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 16px;
  }
  .js .nav-search {
    display: none;
  }
  .js .mobile-search {
    display: flex;
    width: 100%;
  }
  .toolbar-filters {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .detail-layout {
    grid-template-columns: 1fr;
  }
  .detail-aside {
    position: static;
  }
}

@media (max-width: 640px) {
  :root {
    --gutter: 14px;
  }
  .site-header {
    top: 8px;
    margin-top: 8px;
  }
  .nav-pill {
    height: 50px;
    padding: 0 6px 0 11px;
    border-radius: 14px;
    gap: 6px;
  }
  .brand-dot {
    display: none;
  }
  .nav-links {
    margin-left: 2px;
  }
  .nav-links a[href="/"],
  .nav-links a[href="/mcp/"],
  .nav-links a[href="/about/"] {
    display: none;
  }
  .mcp-tools-grid {
    grid-template-columns: 1fr;
  }
  .nav-links a {
    padding: 6px 8px;
    font-size: 13px;
  }
  .nav-cta {
    padding: 0 11px;
  }
  .gallery {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .field-row {
    grid-template-columns: 1fr;
  }
  .preview-visit {
    display: none;
  }
  .save-btn {
    width: 40px;
    height: 40px;
  }
}

@media (hover: none) {
  #motion-toggle {
    display: none;
  }
}

/* ---------- Reduced Motion & Manual Pause ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0s !important;
    animation: none !important;
  }
  .site-card.reveal-pending {
    opacity: 1;
    transform: none;
  }
  .preview.scrolling img {
    transform: none !important;
  }
}

.motion-paused .preview img {
  transform: none !important;
  transition: none !important;
}

.motion-paused .site-card {
  opacity: 1;
  transform: none;
  transition: none;
}

/* ---------- Branded Share Card & Edition Studio ---------- */
.share-svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.share-studio-dialog {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  max-width: 980px;
  width: calc(100% - 32px);
  max-height: calc(100vh - 32px);
  overflow: visible;
}

.share-studio-dialog::backdrop {
  background: rgba(4, 4, 7, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.share-studio-panel {
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 32px);
  padding: 22px 24px 24px;
  border-radius: 20px;
  background: var(--plate);
  border: 1px solid var(--border-strong);
  box-shadow:
    inset 0 1px 0 var(--rim),
    0 32px 96px -12px rgba(0, 0, 0, 0.94),
    0 0 80px -28px var(--glow-a);
}

.share-studio-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.share-studio-head h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.share-studio-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 20px;
  min-height: 0;
  overflow: hidden;
}

.share-studio-stage {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 0;
}

.share-studio-canvas-wrap {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 16px;
  border-radius: 14px;
  background: #050507;
  border: 1px solid var(--border);
  overflow: auto;
  max-height: 64vh;
  min-height: 360px;
}

.share-studio-canvas {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 12px 36px -8px rgba(0, 0, 0, 0.85);
}

.share-studio-loading {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(5, 5, 7, 0.7);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-muted);
}

.share-studio-loading[hidden] {
  display: none;
}

.share-studio-slides {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-height: 82px;
  overflow-y: auto;
}

.share-studio-slides[hidden] {
  display: none;
}

.studio-slide-pill {
  padding: 6px 10px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-muted);
  background: var(--plate-sunken);
  border: 1px solid var(--border);
  cursor: pointer;
  transition:
    color 140ms var(--ease),
    border-color 140ms var(--ease),
    background 140ms var(--ease);
}

.studio-slide-pill:hover {
  color: var(--text);
  border-color: var(--border-strong);
}

.studio-slide-pill.is-active {
  color: #fff;
  background: rgba(129, 140, 248, 0.2);
  border-color: rgba(165, 180, 252, 0.48);
}

.share-studio-controls {
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow-y: auto;
}

.studio-group {
  display: grid;
  gap: 8px;
}

.studio-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.studio-seg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.studio-seg-btn {
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--plate-sunken);
  border: 1px solid var(--border);
  cursor: pointer;
  transition:
    color 140ms var(--ease),
    border-color 140ms var(--ease),
    background 140ms var(--ease);
}

.studio-seg-btn[hidden] {
  display: none;
}

.studio-seg-btn:hover {
  color: var(--text);
  border-color: var(--border-strong);
}

.studio-seg-btn.is-active {
  color: #fff;
  background: rgba(129, 140, 248, 0.2);
  border-color: rgba(165, 180, 252, 0.48);
}

.studio-input {
  width: 100%;
  padding: 9px 11px;
  border-radius: 10px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text);
  background: var(--plate-sunken);
  border: 1px solid var(--border);
  outline: none;
}

.studio-input:focus {
  border-color: rgba(165, 180, 252, 0.55);
}

.studio-toggles {
  display: grid;
  gap: 8px;
}

.studio-check {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: var(--text-muted);
  cursor: pointer;
  user-select: none;
}

.studio-check input {
  width: 15px;
  height: 15px;
  accent-color: #818cf8;
}

.studio-actions {
  display: grid;
  gap: 8px;
  margin-top: 2px;
}

.studio-actions .btn {
  width: 100%;
  justify-content: center;
}

.studio-actions .btn[hidden] {
  display: none;
}

.studio-status {
  margin: 0;
  padding: 9px 11px;
  border-radius: 10px;
  font-size: 12px;
  line-height: 1.4;
  color: #c8f5d6;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.28);
}

.studio-status.is-error {
  color: #ffd1d8;
  background: rgba(255, 77, 109, 0.14);
  border-color: rgba(255, 77, 109, 0.34);
}

.studio-status[hidden] {
  display: none;
}

.studio-hint {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--text-faint);
}

@media (max-width: 820px) {
  .share-studio-body {
    grid-template-columns: 1fr;
    overflow-y: auto;
  }
  .share-studio-canvas-wrap {
    max-height: 46vh;
    min-height: 240px;
  }
}