@import url("https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@400;500;600;700;800;900&family=Varela+Round&family=Noto+Sans+SC:wght@400;500;700;800;900&display=swap");

:root {
  color-scheme: dark;
  --bg: #141623;
  --bg-2: #201a2e;
  --surface: rgba(255, 247, 239, 0.08);
  --surface-strong: rgba(255, 247, 239, 0.13);
  --surface-solid: rgba(35, 25, 21, 0.9);
  --line: rgba(255, 226, 205, 0.16);
  --line-strong: rgba(255, 226, 205, 0.28);
  --text: #fff9f2;
  --soft: #f5dfcf;
  --muted: #bfa797;
  --cyan: #38cfff;
  --blue: #637dff;
  --violet: #9b5cff;
  --emerald: #3ddc97;
  --amber: #ffc247;
  --red: #f26373;
  --coral: #ff657d;
  --peach: #ffd2a6;
  --cream: #fff7ef;
  --mint: #9be7c0;
  --shadow: 0 24px 80px rgba(21, 12, 8, 0.42);
  --shadow-hover: 0 30px 86px rgba(255, 111, 97, 0.2);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --font: "Nunito Sans", "Noto Sans SC", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display-font: "Varela Round", "Nunito Sans", "Noto Sans SC", ui-sans-serif, system-ui, sans-serif;
}

:root.light {
  color-scheme: light;
  --bg: #fff8f2;
  --bg-2: #edf8ff;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: rgba(255, 255, 255, 0.96);
  --surface-solid: rgba(255, 255, 255, 0.94);
  --line: #f0ddd0;
  --line-strong: #e6c8b6;
  --text: #392416;
  --soft: #684934;
  --muted: #8a6f5d;
  --cyan: #21aeea;
  --blue: #5267f4;
  --violet: #8257e6;
  --emerald: #22b978;
  --amber: #e99a1f;
  --red: #df5364;
  --coral: #ff657d;
  --peach: #ffd7b5;
  --cream: #fff7ef;
  --mint: #9be7c0;
  --shadow: 0 20px 70px rgba(126, 76, 38, 0.14);
  --shadow-hover: 0 28px 80px rgba(255, 111, 97, 0.2);
}

:root[data-palette="jade"] {
  --cyan: #2dd4bf;
  --blue: #38bdf8;
  --violet: #8b5cf6;
  --emerald: #10b981;
  --amber: #eab308;
  --coral: #14b8a6;
  --peach: #c7f9e9;
  --mint: #bbf7d0;
}

:root.light[data-palette="jade"] {
  --bg: #f4fffb;
  --bg-2: #edf9ff;
  --text: #10231f;
  --soft: #25443d;
  --muted: #58756d;
  --line: #cae9df;
  --line-strong: #9bd8c9;
}

:root[data-palette="aurora"] {
  --cyan: #60a5fa;
  --blue: #6366f1;
  --violet: #a78bfa;
  --emerald: #2dd4bf;
  --amber: #fbbf24;
  --coral: #f472b6;
  --peach: #ddd6fe;
  --mint: #bfdbfe;
}

:root.light[data-palette="aurora"] {
  --bg: #f8f7ff;
  --bg-2: #eff6ff;
  --text: #20193d;
  --soft: #463b70;
  --muted: #6c6387;
  --line: #ddd6fe;
  --line-strong: #c4b5fd;
}

:root[data-palette="graphite"] {
  --bg: #101318;
  --bg-2: #171b22;
  --surface-solid: rgba(18, 22, 29, 0.92);
  --text: #f8fafc;
  --soft: #dbe3ec;
  --muted: #9aa7b8;
  --cyan: #93c5fd;
  --blue: #60a5fa;
  --violet: #c4b5fd;
  --emerald: #86efac;
  --amber: #fde68a;
  --coral: #fda4af;
  --peach: #e2e8f0;
  --line: rgba(226, 232, 240, 0.16);
  --line-strong: rgba(226, 232, 240, 0.28);
}

:root.light[data-palette="graphite"] {
  --bg: #f8fafc;
  --bg-2: #eef2f7;
  --surface-solid: rgba(255, 255, 255, 0.95);
  --text: #111827;
  --soft: #334155;
  --muted: #64748b;
  --line: #dbe3ec;
  --line-strong: #cbd5e1;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 13% 14%, rgba(255, 163, 128, 0.2), transparent 29%),
    radial-gradient(circle at 82% 12%, rgba(155, 231, 192, 0.22), transparent 28%),
    radial-gradient(circle at 50% 86%, rgba(117, 207, 255, 0.16), transparent 31%),
    linear-gradient(180deg, var(--bg), var(--bg-2) 54%, var(--bg));
  font-family: var(--font);
  letter-spacing: 0;
}

body::selection {
  color: #3c2017;
  background: var(--peach);
}

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

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

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

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.68;
}

svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 14px;
  z-index: 200;
  padding: 10px 14px;
  border-radius: 999px;
  color: #07111f;
  background: var(--cyan);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.animated-background {
  position: fixed;
  inset: 0;
  z-index: -5;
  overflow: hidden;
  pointer-events: none;
}

.grid-plane {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, black 0%, rgba(0, 0, 0, 0.72) 45%, transparent 92%);
}

:root.light .grid-plane {
  background-image:
    linear-gradient(rgba(30, 41, 59, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 41, 59, 0.06) 1px, transparent 1px);
}

.glow {
  position: absolute;
  width: 48vw;
  height: 48vw;
  border-radius: 999px;
  filter: blur(64px);
  opacity: 0.44;
  animation: drift-glow 16s ease-in-out infinite alternate;
}

.glow-cyan {
  left: -16vw;
  top: -18vw;
  background: var(--cyan);
}

.glow-violet {
  right: -18vw;
  top: 5vw;
  background: var(--violet);
  animation-delay: -5s;
}

.glow-emerald {
  left: 42vw;
  bottom: -28vw;
  background: var(--emerald);
  animation-delay: -9s;
  opacity: 0.24;
}

@keyframes drift-glow {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(5vw, 3vw, 0) scale(1.08);
  }
}

.particle-field span {
  position: absolute;
  left: calc(var(--x) * 1%);
  top: calc(var(--y) * 1%);
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 0 18px rgba(103, 232, 249, 0.6);
  animation: particle-float 9s ease-in-out infinite;
  animation-delay: var(--d);
}

@keyframes particle-float {
  0%,
  100% {
    opacity: 0.18;
    transform: translateY(0);
  }
  45% {
    opacity: 0.72;
    transform: translateY(-24px);
  }
}

.navbar {
  position: sticky;
  top: 16px;
  z-index: 60;
  display: grid;
  grid-template-columns: auto minmax(220px, 1fr) auto;
  gap: 12px;
  align-items: center;
  width: min(1440px, calc(100% - 32px));
  min-height: 74px;
  margin: 16px auto 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: color-mix(in srgb, var(--surface-solid) 86%, transparent);
  backdrop-filter: blur(24px);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
  transition: min-height 180ms ease, padding 180ms ease, border-radius 180ms ease;
}

.navbar.compressed {
  min-height: 62px;
  padding-block: 8px;
  border-radius: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 14px;
  color: #06111e;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.9), transparent 24%),
    linear-gradient(135deg, #ffffff, #e6f7ff 54%, #d9f99d);
  box-shadow: 0 0 0 6px rgba(103, 232, 249, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.brand-mark svg {
  width: 21px;
  height: 21px;
}

.brand-mark img {
  width: 72%;
  height: 72%;
  object-fit: contain;
  filter: drop-shadow(0 1px 3px rgba(7, 10, 18, 0.16));
}

.brand-word {
  display: grid;
  gap: 2px;
}

.brand-word strong {
  font-size: 17px;
  line-height: 1;
}

.brand-word small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.nav-tabs {
  display: flex;
  justify-content: flex-start;
  gap: 4px;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2px 6px 10px;
  margin-bottom: -8px;
  scrollbar-width: none;
  contain: paint;
  mask-image: linear-gradient(90deg, transparent, black 18px, black calc(100% - 18px), transparent);
}

.nav-tabs::-webkit-scrollbar {
  display: none;
}

.nav-tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 40px;
  flex: 0 0 auto;
  padding: 0 7px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  white-space: nowrap;
  transition: transform 150ms ease, color 150ms ease, background 150ms ease;
}

.nav-tab:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-1px);
}

:root.light .nav-tab:hover {
  background: rgba(15, 23, 42, 0.06);
}

.nav-tab.active {
  color: var(--text);
  background:
    radial-gradient(circle at 50% 100%, rgba(103, 232, 249, 0.22), transparent 72%),
    rgba(255, 255, 255, 0.08);
}

.nav-tab.active::after {
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: -7px;
  height: 2px;
  border-radius: 999px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--cyan), var(--violet), transparent);
  box-shadow: 0 0 18px rgba(103, 232, 249, 0.68);
}

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

.language-switcher select,
.input,
.textarea,
.select {
  width: 100%;
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

:root.light .language-switcher select,
:root.light .input,
:root.light .textarea,
:root.light .select {
  background: rgba(255, 255, 255, 0.9);
}

.language-switcher select {
  min-height: 40px;
  max-width: 124px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.sheet-language {
  display: none;
}

.sheet-language select {
  max-width: none;
}

.input,
.select {
  min-height: 48px;
  padding: 0 14px;
  border-radius: 15px;
}

.textarea {
  min-height: 128px;
  resize: vertical;
  padding: 14px;
  border-radius: 18px;
  line-height: 1.65;
}

.input:focus,
.textarea:focus,
.select:focus,
.language-switcher select:focus {
  border-color: rgba(103, 232, 249, 0.64);
  box-shadow: 0 0 0 4px rgba(103, 232, 249, 0.12);
  background: rgba(255, 255, 255, 0.09);
}

.button,
.ghost-button,
.icon-button,
.tool-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.button {
  gap: 9px;
  min-height: 48px;
  padding: 0 18px;
  font-weight: 800;
}

.button.primary {
  border-color: rgba(103, 232, 249, 0.24);
  color: #06111e;
  background: linear-gradient(135deg, var(--cyan), var(--blue) 48%, var(--violet));
  box-shadow: 0 18px 44px rgba(59, 130, 246, 0.25);
}

.button.secondary,
.button.ghost,
.ghost-button {
  min-height: 42px;
  padding: 0 14px;
  font-weight: 800;
}

.button:hover,
.ghost-button:hover,
.icon-button:hover,
.tool-button:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-hover);
}

.button:active,
.ghost-button:active,
.icon-button:active,
.tool-button:active {
  transform: translateY(0) scale(0.98);
}

.icon-button {
  width: 42px;
  height: 42px;
  padding: 0;
}

.tool-button {
  gap: 7px;
  min-height: 38px;
  padding: 0 12px;
  color: var(--soft);
  font-size: 12px;
  font-weight: 800;
}

.mobile-menu-button {
  display: none;
}

.app-main {
  width: min(1440px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0 56px;
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(520px, 1.08fr);
  gap: 24px;
  align-items: start;
  min-height: calc(100vh - 148px);
}

.hero-copy {
  position: sticky;
  top: 112px;
  min-height: 640px;
  padding: clamp(28px, 4vw, 56px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 20% 16%, rgba(103, 232, 249, 0.16), transparent 32%),
    radial-gradient(circle at 80% 22%, rgba(139, 92, 246, 0.14), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.floating-icons span {
  position: absolute;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--cyan);
  background: rgba(255, 255, 255, 0.06);
  animation: float-icon 7s ease-in-out infinite;
}

.floating-icons span:nth-child(1) {
  right: 14%;
  top: 13%;
}

.floating-icons span:nth-child(2) {
  right: 8%;
  bottom: 22%;
  animation-delay: -2s;
}

.floating-icons span:nth-child(3) {
  left: 12%;
  bottom: 13%;
  color: var(--emerald);
  animation-delay: -4s;
}

@keyframes float-icon {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-14px) rotate(2deg);
  }
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(103, 232, 249, 0.22);
  border-radius: 999px;
  color: var(--cyan);
  background: rgba(103, 232, 249, 0.08);
  font-size: 12px;
  font-weight: 850;
}

.compact-eyebrow {
  min-height: 30px;
}

.hero-copy h1 {
  max-width: 11ch;
  margin: 28px 0 22px;
  font-size: clamp(44px, 6vw, 74px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy p,
.section-head p,
.creator-head p,
.step-label small,
.hint,
.trust-card p,
.code-card p,
.footer p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-copy p {
  max-width: 680px;
  font-size: 17px;
}

.hero-actions,
.share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.hero-badges span,
.status-pill,
.burn-note {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--soft);
  background: rgba(255, 255, 255, 0.06);
  font-size: 12px;
  font-weight: 800;
}

.secure-create-card {
  position: relative;
  overflow: hidden;
  padding: 1px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.conic-border {
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: conic-gradient(from 180deg, rgba(103, 232, 249, 0.05), rgba(103, 232, 249, 0.65), rgba(139, 92, 246, 0.52), rgba(52, 211, 153, 0.45), rgba(103, 232, 249, 0.05));
  animation: spin-border 7s linear infinite;
}

@keyframes spin-border {
  to {
    transform: rotate(360deg);
  }
}

.card-orbit {
  position: absolute;
  inset: 12px;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 26px;
  box-shadow: inset 0 0 80px rgba(103, 232, 249, 0.05);
}

.creator-head,
.creator-form {
  position: relative;
  border-inline: 1px solid rgba(255, 255, 255, 0.04);
  background: color-mix(in srgb, var(--surface-solid) 92%, transparent);
  backdrop-filter: blur(22px);
}

.creator-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px 28px 18px;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.creator-head h2,
.section-head h2,
.viewer-head h1,
.unlock-card h1,
.state-card h1 {
  margin: 12px 0 8px;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.05;
  letter-spacing: 0;
}

.creator-form {
  display: grid;
  gap: 18px;
  padding: 0 28px 28px;
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}

.creator-step {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
}

.step-label {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 0 10px;
  align-items: center;
}

.step-label span {
  display: grid;
  grid-row: span 2;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid rgba(103, 232, 249, 0.3);
  border-radius: 999px;
  color: var(--cyan);
  background: rgba(103, 232, 249, 0.08);
  font-size: 13px;
  font-weight: 900;
}

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

.type-card {
  position: relative;
  min-height: 126px;
  padding: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  color: var(--soft);
  background:
    radial-gradient(circle at 50% 0%, rgba(103, 232, 249, 0.12), transparent 58%),
    rgba(255, 255, 255, 0.045);
  text-align: left;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
  cursor: pointer;
}

.type-card:hover {
  transform: perspective(700px) rotateX(1deg) rotateY(-2deg) translateY(-2px);
  border-color: rgba(103, 232, 249, 0.34);
  box-shadow: 0 18px 40px rgba(103, 232, 249, 0.1);
}

.type-card.active {
  border-color: rgba(103, 232, 249, 0.72);
  color: var(--text);
  background:
    linear-gradient(135deg, rgba(103, 232, 249, 0.16), rgba(139, 92, 246, 0.14)),
    rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06), 0 0 36px rgba(103, 232, 249, 0.13);
}

.type-icon,
.feature-icon,
.content-orb,
.scan-icon,
.success-mark {
  display: grid;
  place-items: center;
  border: 1px solid rgba(103, 232, 249, 0.24);
  color: var(--cyan);
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.24), transparent 26%),
    rgba(103, 232, 249, 0.1);
}

.type-icon {
  width: 38px;
  height: 38px;
  margin-bottom: 12px;
  border-radius: 14px;
}

.type-card strong,
.type-card small {
  display: block;
}

.type-card small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.type-lock {
  position: absolute;
  right: 10px;
  top: 10px;
  color: var(--emerald);
  opacity: 0;
  transform: translateY(4px) scale(0.9);
  transition: opacity 180ms ease, transform 180ms ease;
}

.type-card.active .type-lock {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.dynamic-form,
.security-panel,
.form-grid,
.compact-grid {
  display: grid;
  gap: 14px;
}

.form-grid,
.compact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.field.full {
  grid-column: 1 / -1;
}

.field label,
.field-topline label {
  color: var(--soft);
  font-size: 13px;
  font-weight: 850;
}

.field-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.field-topline span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.input-shell {
  position: relative;
  display: flex;
  align-items: center;
}

.input-shell > svg {
  position: absolute;
  left: 14px;
  z-index: 1;
  color: var(--muted);
}

.input-shell .input {
  padding-left: 44px;
}

.inline-icon,
.valid-mark {
  position: absolute;
  right: 10px;
  z-index: 1;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
}

.valid-mark {
  color: var(--emerald);
  opacity: 0;
  transform: scale(0.88);
  transition: opacity 160ms ease, transform 160ms ease;
}

.valid-mark.show {
  opacity: 1;
  transform: scale(1);
}

.url-preview {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
}

.favicon-preview {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 8px;
  color: var(--cyan);
  background: rgba(103, 232, 249, 0.1);
}

.memo-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.mini-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--soft);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.markdown-preview {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--soft);
  line-height: 1.65;
}

.file-dropzone {
  position: relative;
  display: grid;
  gap: 14px;
  min-height: 190px;
  padding: 20px;
  overflow: hidden;
  border: 1px dashed rgba(103, 232, 249, 0.32);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(103, 232, 249, 0.08), transparent 48%),
    rgba(255, 255, 255, 0.035);
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.file-dropzone.drag-over {
  border-color: var(--cyan);
  background:
    repeating-linear-gradient(90deg, rgba(103, 232, 249, 0.16) 0 12px, transparent 12px 24px),
    rgba(103, 232, 249, 0.08);
  box-shadow: 0 0 44px rgba(103, 232, 249, 0.14);
}

.file-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.drop-visual {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  text-align: center;
}

.scan-icon {
  width: 52px;
  height: 52px;
  border-radius: 18px;
}

.file-list {
  display: grid;
  gap: 8px;
}

.file-row {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.055);
  animation: fly-in 240ms ease both;
}

.file-row.large {
  margin: 12px 0 18px;
  padding: 14px;
}

.file-row > span,
.file-row > i {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 14px;
  color: var(--cyan);
  background: rgba(103, 232, 249, 0.1);
  font-style: normal;
}

.file-row strong,
.file-row small {
  display: block;
}

.file-row small {
  margin-top: 3px;
  color: var(--muted);
}

@keyframes fly-in {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.audio-recorder-card {
  display: grid;
  grid-template-columns: 1fr 74px;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.045);
}

.audio-recorder-card p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.round-record {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border: 1px solid rgba(251, 113, 133, 0.38);
  border-radius: 999px;
  background: rgba(251, 113, 133, 0.1);
}

.round-record span {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--red);
  box-shadow: 0 0 24px rgba(251, 113, 133, 0.42);
}

.round-record.recording span {
  border-radius: 6px;
  animation: record-pulse 900ms ease infinite;
}

@keyframes record-pulse {
  50% {
    transform: scale(0.72);
  }
}

.waveform {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 4px;
  height: 40px;
}

.waveform i {
  width: 4px;
  height: calc(10px + (var(--i) % 8) * 3px);
  border-radius: 999px;
  background: linear-gradient(180deg, var(--cyan), var(--violet));
  animation: wave 1000ms ease-in-out infinite;
  animation-delay: calc(var(--i) * 42ms);
}

@keyframes wave {
  50% {
    transform: scaleY(0.42);
    opacity: 0.52;
  }
}

.option-row {
  display: grid;
  grid-template-columns: 1fr 42px;
  gap: 8px;
}

.security-panel {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    radial-gradient(circle at 10% 0%, rgba(52, 211, 153, 0.09), transparent 38%),
    rgba(255, 255, 255, 0.04);
}

.strength-meter {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
}

.strength-meter i {
  height: 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  transition: background 180ms ease, box-shadow 180ms ease;
}

.strength-meter i.active {
  background: linear-gradient(90deg, var(--cyan), var(--emerald));
  box-shadow: 0 0 18px rgba(52, 211, 153, 0.22);
}

.slot-password {
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--cyan);
  background: rgba(103, 232, 249, 0.06);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  word-break: break-all;
}

.segmented-control {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
}

.segmented-control button {
  display: grid;
  gap: 2px;
  min-height: 54px;
  place-items: center;
  border: 0;
  border-radius: 13px;
  color: var(--muted);
  background: transparent;
  font-weight: 850;
  transition: color 160ms ease, background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.segmented-control button small {
  font-size: 11px;
  font-weight: 700;
}

.segmented-control button.active {
  color: #07111f;
  background: linear-gradient(135deg, var(--cyan), var(--emerald));
  box-shadow: 0 12px 28px rgba(103, 232, 249, 0.16);
}

.custom-limit[hidden] {
  display: none;
}

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

.toggle-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 78px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
}

.toggle-line strong,
.toggle-line span {
  display: block;
}

.toggle-line strong {
  color: var(--soft);
  font-size: 13px;
}

.toggle-line span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.burn-toggle:has(input:checked) {
  border-color: rgba(251, 191, 36, 0.4);
  background:
    radial-gradient(circle at 82% 16%, rgba(251, 191, 36, 0.14), transparent 34%),
    rgba(255, 255, 255, 0.04);
}

.switch {
  position: relative;
  display: inline-flex;
  width: 50px;
  height: 30px;
  flex: 0 0 auto;
  cursor: pointer;
}

.switch input {
  position: absolute;
  opacity: 0;
}

.switch i {
  position: absolute;
  inset: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  transition: background 160ms ease, border-color 160ms ease;
}

.switch i::before {
  position: absolute;
  left: 4px;
  top: 4px;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  content: "";
  background: var(--soft);
  transition: transform 160ms ease, background 160ms ease;
}

.switch input:checked + i {
  border-color: rgba(103, 232, 249, 0.5);
  background: rgba(103, 232, 249, 0.28);
}

.switch input:checked + i::before {
  transform: translateX(20px);
  background: var(--cyan);
}

.create-submit {
  width: 100%;
  min-height: 56px;
  border-radius: 18px;
}

.create-result {
  display: none;
  overflow: hidden;
  border-radius: 22px;
}

.create-result.show {
  display: block;
  animation: panel-rise 260ms ease both;
}

@keyframes panel-rise {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.progress-card,
.success-panel,
.inline-error {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.055);
}

.lock-animation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 84px;
  margin-bottom: 12px;
  border: 1px solid rgba(103, 232, 249, 0.2);
  border-radius: 18px;
  color: var(--cyan);
  background:
    linear-gradient(90deg, transparent, rgba(103, 232, 249, 0.08), transparent),
    rgba(103, 232, 249, 0.04);
}

.char-stream {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  animation: cipher-slide 1.2s ease-in-out infinite;
}

@keyframes cipher-slide {
  50% {
    letter-spacing: 0.08em;
    opacity: 0.62;
  }
}

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

.timeline-step {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: center;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--muted);
}

.timeline-step > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.timeline-step strong,
.timeline-step small {
  display: block;
}

.timeline-step small {
  margin-top: 2px;
  color: var(--muted);
}

.timeline-step.active {
  border-color: rgba(103, 232, 249, 0.42);
  color: var(--text);
  box-shadow: 0 0 30px rgba(103, 232, 249, 0.08);
}

.timeline-step.done > span {
  color: #07111f;
  background: var(--emerald);
  animation: check-pop 220ms ease both;
}

@keyframes check-pop {
  50% {
    transform: scale(1.18);
  }
}

.success-panel {
  background:
    radial-gradient(circle at 24% 0%, rgba(52, 211, 153, 0.16), transparent 32%),
    rgba(255, 255, 255, 0.06);
}

.success-glow {
  box-shadow: 0 0 0 1px rgba(52, 211, 153, 0.2), 0 0 60px rgba(52, 211, 153, 0.12);
}

.success-head {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 16px;
}

.success-mark {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  color: #07111f;
  background: linear-gradient(135deg, var(--emerald), var(--cyan));
}

.success-head h3,
.share-link-card p,
.content-card h2,
.trust-card h3,
.code-card h3 {
  margin: 6px 0;
}

.share-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 176px;
  gap: 14px;
}

.share-link-card,
.qr-card,
.summary-item,
.content-card,
.viewer-head,
.trust-card,
.feature-card,
.code-card,
.state-card,
.unlock-card {
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(18px);
}

.share-link-card {
  padding: 16px;
  border-radius: 18px;
}

.share-link-card label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.share-link-card p {
  word-break: break-all;
  color: var(--soft);
}

.qr-card {
  display: grid;
  gap: 10px;
  place-items: center;
  padding: 14px;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
    var(--surface);
}

.qr-card p {
  width: 100%;
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.qr-grid {
  display: grid;
  grid-template-columns: repeat(11, 1fr);
  gap: 3px;
  width: 132px;
  height: 132px;
  padding: 10px;
  border-radius: 14px;
  background:
    radial-gradient(circle at 20% 12%, rgba(255, 255, 255, 0.7), transparent 24%),
    #f8fafc;
}

.qr-grid i {
  border-radius: 2px;
}

.qr-grid i.on {
  background: #0f172a;
}

.security-summary {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.summary-item {
  display: grid;
  gap: 8px;
  padding: 12px;
  border-radius: 16px;
}

.summary-item svg {
  color: var(--emerald);
}

.summary-item strong,
.summary-item span {
  display: block;
}

.summary-item span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.feature-section,
.trust-section,
.implementation-section {
  padding: 76px 0 0;
}

.section-head {
  max-width: 780px;
  margin-bottom: 24px;
}

.section-head h2 {
  margin-bottom: 12px;
}

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

.feature-card {
  position: relative;
  display: grid;
  gap: 18px;
  min-height: 222px;
  padding: 18px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 42px rgba(0, 0, 0, 0.1);
  animation: panel-rise 420ms ease both;
  animation-delay: var(--delay);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.feature-card:hover {
  transform: perspective(800px) rotateX(1deg) rotateY(-1.5deg) translateY(-3px);
  border-color: rgba(103, 232, 249, 0.32);
  box-shadow: var(--shadow-hover);
}

.feature-icon {
  width: 50px;
  height: 50px;
  border-radius: 18px;
}

.feature-card h3,
.feature-card p {
  margin: 0;
}

.feature-card p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.mini-preview {
  display: flex;
  gap: 6px;
  align-items: end;
  min-height: 34px;
}

.mini-preview i {
  flex: 1;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--cyan), var(--violet));
  opacity: 0.62;
}

.mini-preview i:nth-child(1) {
  height: 18px;
}

.mini-preview i:nth-child(2) {
  height: 28px;
}

.mini-preview i:nth-child(3) {
  height: 12px;
}

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

.trust-card {
  min-height: 180px;
  padding: 18px;
  border-radius: var(--radius-lg);
}

.trust-card.large {
  grid-column: span 2;
}

.trust-card.small svg {
  color: var(--cyan);
}

.encryption-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
  margin-top: 18px;
}

.encryption-flow span,
.cipher-stream,
.server-node,
.locked-node {
  min-height: 52px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
}

.cipher-stream {
  color: var(--cyan);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  animation: cipher-slide 1.5s ease-in-out infinite;
}

.server-node,
.locked-node {
  display: flex;
  align-items: center;
  gap: 9px;
}

.password-gate {
  display: grid;
  grid-template-columns: 56px 1fr 56px;
  gap: 14px;
  align-items: center;
  margin: 24px 0 16px;
}

.password-gate svg {
  width: 56px;
  height: 56px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--cyan);
  background: rgba(103, 232, 249, 0.08);
}

.password-gate span {
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), var(--emerald), var(--violet));
  animation: gate-line 1.6s ease-in-out infinite;
}

@keyframes gate-line {
  50% {
    opacity: 0.42;
    transform: scaleX(0.72);
  }
}

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

.code-card {
  padding: 20px;
  border-radius: var(--radius-lg);
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  margin: 76px auto 0;
  padding: 24px 0 26px;
  border-top: 1px solid var(--line);
}

.footer-brand {
  display: grid;
  gap: 8px;
  min-width: 220px;
}

.footer-brand p {
  max-width: 420px;
  margin: 0;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
}

.footer-meta span,
.footer-meta a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.footer-meta a {
  color: var(--soft);
  transition: color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.footer-meta a:hover {
  color: var(--text);
  border-color: var(--line-strong);
  transform: translateY(-1px);
}

.auth-page + .footer {
  margin-top: 20px;
}

.unlock-page,
.state-page,
.loading {
  display: grid;
  min-height: calc(100vh - 160px);
  place-items: center;
}

.unlock-card,
.state-card {
  position: relative;
  width: min(560px, 100%);
  padding: 34px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  text-align: center;
  box-shadow: var(--shadow);
}

.unlock-ambient {
  position: absolute;
  inset: -30%;
  z-index: -1;
  background: radial-gradient(circle, rgba(103, 232, 249, 0.16), transparent 56%);
  opacity: 0.8;
}

.content-orb {
  width: 62px;
  height: 62px;
  margin: 0 auto;
  border-radius: 22px;
}

.content-orb.small {
  width: 54px;
  height: 54px;
  margin: 0;
}

.unlock-card p,
.state-card p {
  color: var(--muted);
  line-height: 1.7;
}

.unlock-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  margin: 20px 0;
}

.unlock-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--soft);
  background: rgba(255, 255, 255, 0.045);
  font-size: 12px;
  font-weight: 750;
}

.unlock-form {
  display: grid;
  gap: 14px;
  text-align: left;
}

.unlock-input:focus-within {
  filter: drop-shadow(0 0 20px rgba(103, 232, 249, 0.22));
}

.unlock-card.shake {
  animation: shake-card 360ms ease;
  border-color: rgba(251, 113, 133, 0.48);
}

.unlock-card.unlocked .content-orb {
  animation: unlock-pop 360ms ease both;
}

@keyframes shake-card {
  20% {
    transform: translateX(-8px);
  }
  40% {
    transform: translateX(7px);
  }
  60% {
    transform: translateX(-4px);
  }
  80% {
    transform: translateX(3px);
  }
}

@keyframes unlock-pop {
  50% {
    transform: rotate(-7deg) scale(1.12);
  }
}

.protected-viewer {
  display: grid;
  gap: 18px;
}

.viewer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px;
  border-radius: var(--radius-xl);
}

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

.panel-title h1 {
  margin: 7px 0 5px;
}

.panel-title p {
  margin: 0;
  color: var(--muted);
}

.content-card {
  padding: 22px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  animation: reveal-content 420ms ease both;
}

@keyframes reveal-content {
  from {
    opacity: 0;
    filter: blur(12px);
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

.pre-wrap {
  white-space: pre-wrap;
  word-break: break-word;
  color: var(--soft);
  line-height: 1.75;
}

.memo-output {
  min-height: 220px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
}

.destination-box {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 8px 12px;
  align-items: center;
  margin: 16px 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
}

.destination-box span {
  display: grid;
  grid-row: span 2;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 14px;
  color: var(--cyan);
  background: rgba(103, 232, 249, 0.1);
}

.destination-box small {
  color: var(--muted);
  word-break: break-all;
}

.media-stage {
  display: grid;
  min-height: 260px;
  place-items: center;
  gap: 10px;
  padding: 18px;
  border: 1px dashed var(--line);
  border-radius: var(--radius-xl);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
}

.media-preview {
  display: block;
  width: 100%;
  max-height: 720px;
  object-fit: contain;
  border-radius: 18px;
}

.inline-form {
  display: grid;
  grid-template-columns: 160px 1fr auto;
  gap: 10px;
  margin-top: 14px;
}

.inline-form.stack {
  grid-template-columns: 1fr;
}

.passwordless-note,
.poll-identity,
.board-live-tools,
.answer-form {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.055);
}

.passwordless-note {
  grid-template-columns: 42px 1fr;
  align-items: center;
}

.passwordless-note > svg {
  width: 42px;
  height: 42px;
  padding: 10px;
  border-radius: 14px;
  color: var(--coral);
  background: rgba(255, 236, 224, 0.92);
}

.passwordless-note p,
.poll-identity p {
  margin: 4px 0 0;
  color: var(--muted);
}

.poll-identity {
  grid-template-columns: auto auto auto minmax(180px, 1fr);
  align-items: center;
  margin: 12px 0;
}

.poll-identity label {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  color: var(--soft);
  font-weight: 800;
  cursor: pointer;
}

.board-live-tools {
  grid-template-columns: minmax(200px, 1fr) auto auto;
  align-items: center;
  margin: 12px 0;
}

.board-attach-button {
  position: relative;
  overflow: hidden;
}

.answer-form {
  margin-top: 10px;
}

.answer-form label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.chat-box,
.ask-list,
.poll-options {
  display: grid;
  gap: 10px;
}

.chat-box {
  max-height: 430px;
  overflow: auto;
}

.message,
.poll-option,
.qa,
.empty,
.answer {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
}

.message-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 12px;
}

.message strong {
  color: var(--cyan);
}

.poll-option {
  display: grid;
  gap: 8px;
}

.poll-option label {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--soft);
  font-weight: 800;
}

.bar {
  position: relative;
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.bar i {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
}

.qa small,
.poll-option small,
.empty {
  color: var(--muted);
}

.canvas-shell {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    rgba(255, 255, 255, 0.035);
  background-size: 24px 24px;
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 10px;
  border-bottom: 1px solid var(--line);
}

.toolbar .tool-button.active {
  border-color: rgba(103, 232, 249, 0.5);
  color: var(--text);
  background: rgba(103, 232, 249, 0.16);
}

.swatch-button {
  width: 38px;
  padding: 0;
}

.color-swatch {
  width: 22px;
  height: 22px;
  border: 2px solid rgba(255, 255, 255, 0.68);
  border-radius: 999px;
}

.range {
  width: 120px;
  accent-color: var(--cyan);
}

.board-canvas {
  display: block;
  width: 100%;
  height: 380px;
  touch-action: none;
}

.map-card {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(90deg, rgba(103, 232, 249, 0.12) 1px, transparent 1px),
    linear-gradient(rgba(139, 92, 246, 0.1) 1px, transparent 1px),
    radial-gradient(circle at 50% 50%, rgba(52, 211, 153, 0.14), transparent 32%),
    rgba(255, 255, 255, 0.045);
  background-size: 34px 34px, 34px 34px, auto, auto;
}

.location-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(0.92) contrast(0.96);
}

:root:not(.light) .location-map {
  filter: saturate(0.72) contrast(0.88) brightness(0.82);
}

.map-pin {
  position: absolute;
  left: 50%;
  top: 48%;
  display: grid;
  width: 74px;
  height: 74px;
  place-items: center;
  border: 1px solid rgba(103, 232, 249, 0.46);
  border-radius: 999px;
  color: #07111f;
  background: linear-gradient(135deg, var(--cyan), var(--emerald));
  box-shadow: 0 0 0 14px rgba(103, 232, 249, 0.12);
  transform: translate(-50%, -50%);
  animation: pulse-pin 1.8s ease infinite;
}

@keyframes pulse-pin {
  50% {
    box-shadow: 0 0 0 26px rgba(103, 232, 249, 0.03);
  }
}

.map-meta {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: color-mix(in srgb, var(--surface-solid) 88%, transparent);
  backdrop-filter: blur(18px);
}

.state-page.expired .state-card {
  border-color: rgba(251, 191, 36, 0.28);
}

.state-page.error .state-card {
  border-color: rgba(251, 113, 133, 0.28);
}

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

.spinner {
  width: 38px;
  height: 38px;
  border: 3px solid rgba(255, 255, 255, 0.14);
  border-top-color: var(--cyan);
  border-radius: 999px;
  animation: spin 780ms linear infinite;
}

svg:has(path[d="M21 12a9 9 0 0 1-9 9"]) {
  animation: spin 780ms linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.inline-error {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border-color: rgba(251, 113, 133, 0.34);
  color: var(--red);
}

.inline-error p {
  margin: 5px 0 0;
  color: var(--muted);
}

.toast-stack {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 120;
  display: grid;
  gap: 10px;
  width: min(420px, calc(100vw - 44px));
  pointer-events: none;
}

.toast {
  position: relative;
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: center;
  overflow: hidden;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--text);
  background: var(--surface-solid);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateX(18px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.show {
  opacity: 1;
  transform: translateX(0);
}

.toast span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 999px;
  color: #07111f;
  background: var(--emerald);
}

.toast p {
  margin: 0;
  color: var(--soft);
  font-size: 13px;
}

.toast > i {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  animation: toast-progress 2.8s linear both;
}

@keyframes toast-progress {
  from {
    width: 100%;
  }
  to {
    width: 0;
  }
}

.mobile-sheet {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
}

.sheet-scrim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.42);
  opacity: 0;
  transition: opacity 180ms ease;
}

.sheet-panel {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  display: grid;
  gap: 14px;
  max-height: min(78vh, 680px);
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--surface-solid);
  box-shadow: var(--shadow);
  transform: translateY(110%);
  transition: transform 220ms ease;
}

body.sheet-open .mobile-sheet {
  pointer-events: auto;
}

body.sheet-open .sheet-scrim {
  opacity: 1;
}

body.sheet-open .sheet-panel {
  transform: translateY(0);
}

.sheet-grabber {
  justify-self: center;
  width: 44px;
  height: 5px;
  border-radius: 999px;
  background: var(--line-strong);
}

.sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 4px;
}

.sheet-head p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.sheet-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  overflow: auto;
}

.sheet-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--soft);
  background: rgba(255, 255, 255, 0.045);
  font-weight: 800;
}

.sheet-item.active {
  border-color: rgba(103, 232, 249, 0.42);
  color: var(--text);
  background: rgba(103, 232, 249, 0.1);
}

.grid-plane {
  opacity: 0.55;
  background-image:
    linear-gradient(rgba(121, 84, 57, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(121, 84, 57, 0.06) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(180deg, black 0%, rgba(0, 0, 0, 0.52) 48%, transparent 90%);
}

.glow {
  filter: blur(82px);
  opacity: 0.34;
}

.glow-cyan {
  left: -12vw;
  top: 5vw;
  background: #8bd5ff;
}

.glow-violet {
  right: -14vw;
  top: -8vw;
  background: #ffb29a;
}

.glow-emerald {
  left: 46vw;
  bottom: -18vw;
  background: #9be7c0;
  opacity: 0.28;
}

.particle-field span {
  background: rgba(255, 142, 113, 0.72);
  box-shadow: 0 0 18px rgba(255, 111, 97, 0.38);
}

.navbar {
  min-height: 68px;
  border-color: rgba(255, 228, 209, 0.78);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface-solid) 92%, transparent);
  box-shadow: 0 18px 56px rgba(126, 76, 38, 0.12);
}

.navbar.compressed {
  border-radius: 999px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-color: rgba(255, 189, 162, 0.72);
  border-radius: 999px;
  background:
    radial-gradient(circle at 34% 20%, rgba(255, 255, 255, 0.96), transparent 24%),
    linear-gradient(135deg, #ffffff, #fff1e7 52%, #ffe1d1);
  box-shadow:
    0 0 0 7px rgba(255, 111, 97, 0.08),
    0 12px 28px rgba(255, 111, 97, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.brand-word strong {
  font-family: var(--display-font);
  color: var(--text);
  font-weight: 900;
}

.brand-word small {
  color: var(--muted);
}

.nav-tab {
  min-height: 42px;
  padding: 0 10px;
  color: var(--muted);
}

.nav-tab:hover {
  color: var(--coral);
  background: rgba(255, 239, 228, 0.72);
}

:root:not(.light) .nav-tab:hover {
  background: rgba(255, 239, 228, 0.09);
}

.nav-tab.active {
  color: #9f3e2f;
  background:
    radial-gradient(circle at 50% 100%, rgba(255, 111, 97, 0.2), transparent 72%),
    rgba(255, 239, 228, 0.78);
}

:root:not(.light) .nav-tab.active {
  color: #ffd8ca;
  background:
    radial-gradient(circle at 50% 100%, rgba(255, 111, 97, 0.18), transparent 72%),
    rgba(255, 239, 228, 0.08);
}

.nav-tab.active::after {
  left: 24%;
  right: 24%;
  background: linear-gradient(90deg, transparent, var(--coral), var(--amber), transparent);
  box-shadow: 0 0 18px rgba(255, 111, 97, 0.42);
}

.language-switcher select,
.input,
.textarea,
.select {
  border-color: var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.56);
}

:root:not(.light) .language-switcher select,
:root:not(.light) .input,
:root:not(.light) .textarea,
:root:not(.light) .select {
  background: rgba(255, 247, 239, 0.08);
}

.input,
.select {
  min-height: 50px;
  border-radius: 18px;
}

.textarea {
  border-radius: 20px;
}

.input:focus,
.textarea:focus,
.select:focus,
.language-switcher select:focus {
  border-color: rgba(255, 111, 97, 0.62);
  box-shadow: 0 0 0 4px rgba(255, 111, 97, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.98);
}

:root:not(.light) .input:focus,
:root:not(.light) .textarea:focus,
:root:not(.light) .select:focus,
:root:not(.light) .language-switcher select:focus {
  background: rgba(255, 247, 239, 0.12);
}

.button,
.ghost-button,
.icon-button,
.tool-button {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.74);
}

:root:not(.light) .button,
:root:not(.light) .ghost-button,
:root:not(.light) .icon-button,
:root:not(.light) .tool-button {
  background: rgba(255, 247, 239, 0.08);
}

.button {
  min-height: 50px;
}

.button.primary {
  border-color: rgba(255, 111, 97, 0.24);
  color: #ffffff;
  background: linear-gradient(135deg, #ff9b78, var(--coral) 55%, #f45c8a);
  box-shadow: 0 14px 34px rgba(255, 111, 97, 0.27);
}

.button.secondary,
.button.ghost,
.ghost-button {
  color: var(--soft);
  background: rgba(255, 255, 255, 0.72);
}

:root:not(.light) .button.secondary,
:root:not(.light) .button.ghost,
:root:not(.light) .ghost-button {
  background: rgba(255, 247, 239, 0.08);
}

.button:hover,
.ghost-button:hover,
.icon-button:hover,
.tool-button:hover {
  border-color: rgba(255, 111, 97, 0.38);
  box-shadow: var(--shadow-hover);
}

.icon-button {
  color: var(--soft);
}

.tool-button {
  color: var(--soft);
  background: rgba(255, 246, 239, 0.78);
}

.app-main {
  padding-top: 38px;
}

.hero-section {
  grid-template-columns: minmax(0, 0.88fr) minmax(520px, 1.12fr);
  gap: 28px;
}

.hero-copy {
  min-height: 620px;
  border-color: rgba(255, 228, 209, 0.82);
  border-radius: 36px;
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 196, 163, 0.36), transparent 31%),
    radial-gradient(circle at 88% 18%, rgba(155, 231, 192, 0.26), transparent 30%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(255, 246, 238, 0.72));
  box-shadow: 0 24px 80px rgba(126, 76, 38, 0.13);
}

:root:not(.light) .hero-copy {
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 111, 97, 0.18), transparent 31%),
    radial-gradient(circle at 88% 18%, rgba(105, 213, 161, 0.15), transparent 30%),
    linear-gradient(145deg, rgba(255, 247, 239, 0.1), rgba(255, 247, 239, 0.04));
}

.hero-copy::before {
  position: absolute;
  right: -64px;
  bottom: -72px;
  width: 260px;
  height: 260px;
  border: 24px solid rgba(255, 111, 97, 0.08);
  border-radius: 999px;
  content: "";
}

.floating-icons span {
  border-color: rgba(255, 199, 171, 0.82);
  border-radius: 22px;
  color: var(--coral);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 38px rgba(255, 111, 97, 0.13);
}

:root:not(.light) .floating-icons span {
  background: rgba(255, 247, 239, 0.08);
}

.eyebrow {
  border-color: rgba(255, 111, 97, 0.22);
  color: #b94b36;
  background: rgba(255, 238, 228, 0.88);
}

:root:not(.light) .eyebrow {
  color: #ffd5c8;
  background: rgba(255, 111, 97, 0.12);
}

.hero-copy h1,
.creator-head h2,
.section-head h2,
.viewer-head h1,
.unlock-card h1,
.state-card h1 {
  font-family: var(--display-font);
  font-weight: 900;
}

.hero-copy h1 {
  max-width: 13ch;
  line-height: 1.04;
}

.hero-copy p {
  color: var(--soft);
  font-size: 18px;
}

.hero-badges span,
.status-pill,
.burn-note {
  border-color: rgba(255, 218, 195, 0.9);
  color: var(--soft);
  background: rgba(255, 255, 255, 0.72);
}

:root:not(.light) .hero-badges span,
:root:not(.light) .status-pill,
:root:not(.light) .burn-note {
  background: rgba(255, 247, 239, 0.08);
}

.secure-create-card {
  border-radius: 34px;
  box-shadow: 0 28px 90px rgba(126, 76, 38, 0.16);
}

.conic-border {
  background: conic-gradient(from 180deg, rgba(255, 111, 97, 0.08), rgba(255, 111, 97, 0.72), rgba(255, 215, 181, 0.78), rgba(105, 213, 161, 0.58), rgba(117, 207, 255, 0.52), rgba(255, 111, 97, 0.08));
}

.card-orbit {
  display: none;
}

.creator-head,
.creator-form {
  border-inline: 0;
  background: color-mix(in srgb, var(--surface-solid) 95%, transparent);
}

.creator-head {
  border-radius: 34px 34px 0 0;
}

.creator-form {
  border-radius: 0 0 34px 34px;
}

.creator-step,
.security-panel,
.progress-card,
.success-panel,
.inline-error {
  border-color: var(--line);
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 215, 181, 0.18), transparent 32%),
    rgba(255, 255, 255, 0.68);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.64);
}

:root:not(.light) .creator-step,
:root:not(.light) .security-panel,
:root:not(.light) .progress-card,
:root:not(.light) .success-panel,
:root:not(.light) .inline-error {
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 111, 97, 0.09), transparent 32%),
    rgba(255, 247, 239, 0.06);
}

.creator-step {
  border-radius: 24px;
}

.step-label span {
  border: 0;
  color: #ffffff;
  background: linear-gradient(135deg, #ff9b78, var(--coral));
  box-shadow: 0 10px 22px rgba(255, 111, 97, 0.22);
}

.type-card {
  min-height: 132px;
  border-color: rgba(240, 221, 208, 0.96);
  border-radius: 24px;
  color: var(--soft);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 215, 181, 0.2), transparent 58%),
    rgba(255, 255, 255, 0.76);
  box-shadow: 0 10px 30px rgba(126, 76, 38, 0.07);
}

:root:not(.light) .type-card {
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 111, 97, 0.12), transparent 58%),
    rgba(255, 247, 239, 0.06);
}

.type-card:hover {
  border-color: rgba(255, 111, 97, 0.42);
  box-shadow: 0 20px 44px rgba(255, 111, 97, 0.14);
}

.type-card.active {
  border-color: rgba(255, 111, 97, 0.72);
  color: var(--text);
  background:
    linear-gradient(135deg, rgba(255, 241, 231, 0.96), rgba(255, 251, 245, 0.92)),
    rgba(255, 255, 255, 0.9);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.52), 0 20px 46px rgba(255, 111, 97, 0.14);
}

:root:not(.light) .type-card.active {
  background:
    linear-gradient(135deg, rgba(255, 111, 97, 0.16), rgba(105, 213, 161, 0.08)),
    rgba(255, 247, 239, 0.08);
}

.type-icon,
.feature-icon,
.content-orb,
.scan-icon,
.success-mark {
  border-color: rgba(255, 111, 97, 0.18);
  color: var(--coral);
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.58), transparent 28%),
    rgba(255, 236, 224, 0.9);
}

:root:not(.light) .type-icon,
:root:not(.light) .feature-icon,
:root:not(.light) .content-orb,
:root:not(.light) .scan-icon,
:root:not(.light) .success-mark {
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.14), transparent 28%),
    rgba(255, 111, 97, 0.12);
}

.type-card.active .type-icon {
  color: #ffffff;
  background: linear-gradient(135deg, #ff9b78, var(--coral));
}

.type-lock {
  color: var(--emerald);
}

.url-preview,
.markdown-preview,
.audio-recorder-card,
.file-row,
.toggle-line,
.timeline-step,
.encryption-flow span,
.cipher-stream,
.server-node,
.locked-node,
.memo-output,
.destination-box,
.message,
.poll-option,
.qa,
.empty,
.answer,
.media-stage,
.canvas-shell,
.map-card {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.64);
}

:root:not(.light) .url-preview,
:root:not(.light) .markdown-preview,
:root:not(.light) .audio-recorder-card,
:root:not(.light) .file-row,
:root:not(.light) .toggle-line,
:root:not(.light) .timeline-step,
:root:not(.light) .encryption-flow span,
:root:not(.light) .cipher-stream,
:root:not(.light) .server-node,
:root:not(.light) .locked-node,
:root:not(.light) .memo-output,
:root:not(.light) .destination-box,
:root:not(.light) .message,
:root:not(.light) .poll-option,
:root:not(.light) .qa,
:root:not(.light) .empty,
:root:not(.light) .answer,
:root:not(.light) .media-stage,
:root:not(.light) .canvas-shell,
:root:not(.light) .map-card {
  background: rgba(255, 247, 239, 0.06);
}

.favicon-preview,
.file-row > span,
.file-row > i,
.password-gate svg,
.destination-box span {
  color: var(--coral);
  background: rgba(255, 236, 224, 0.92);
}

.file-dropzone {
  border-color: rgba(255, 111, 97, 0.38);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 215, 181, 0.2), transparent 52%),
    rgba(255, 255, 255, 0.56);
}

.file-dropzone.drag-over {
  border-color: var(--coral);
  background:
    repeating-linear-gradient(90deg, rgba(255, 111, 97, 0.16) 0 12px, transparent 12px 24px),
    rgba(255, 239, 229, 0.76);
  box-shadow: 0 0 44px rgba(255, 111, 97, 0.18);
}

.round-record {
  border-color: rgba(237, 107, 100, 0.34);
  background: rgba(237, 107, 100, 0.1);
}

.waveform i,
.bar i,
.mini-preview i {
  background: linear-gradient(180deg, var(--coral), var(--amber));
}

.strength-meter i {
  background: rgba(126, 76, 38, 0.1);
}

.strength-meter i.active {
  background: linear-gradient(90deg, var(--mint), var(--emerald));
  box-shadow: 0 0 18px rgba(47, 191, 124, 0.2);
}

.slot-password {
  border-color: rgba(255, 111, 97, 0.22);
  color: #b94b36;
  background: rgba(255, 239, 228, 0.72);
}

:root:not(.light) .slot-password {
  color: #ffd5c8;
  background: rgba(255, 111, 97, 0.1);
}

.segmented-control {
  border-color: var(--line);
  background: rgba(255, 247, 239, 0.82);
}

:root:not(.light) .segmented-control {
  background: rgba(255, 247, 239, 0.07);
}

.segmented-control button.active {
  color: #ffffff;
  background: linear-gradient(135deg, #ff9b78, var(--coral));
  box-shadow: 0 12px 28px rgba(255, 111, 97, 0.18);
}

.burn-toggle:has(input:checked) {
  border-color: rgba(245, 173, 75, 0.46);
  background:
    radial-gradient(circle at 82% 16%, rgba(245, 173, 75, 0.18), transparent 34%),
    rgba(255, 255, 255, 0.62);
}

:root:not(.light) .burn-toggle:has(input:checked) {
  background:
    radial-gradient(circle at 82% 16%, rgba(245, 173, 75, 0.15), transparent 34%),
    rgba(255, 247, 239, 0.06);
}

.switch i {
  background: rgba(126, 76, 38, 0.12);
}

.switch input:checked + i {
  border-color: rgba(47, 191, 124, 0.46);
  background: rgba(47, 191, 124, 0.34);
}

.switch input:checked + i::before {
  background: #ffffff;
}

.lock-animation {
  border-color: rgba(255, 111, 97, 0.2);
  color: var(--coral);
  background:
    linear-gradient(90deg, transparent, rgba(255, 111, 97, 0.08), transparent),
    rgba(255, 239, 228, 0.58);
}

.timeline-step.active {
  border-color: rgba(255, 111, 97, 0.42);
  box-shadow: 0 0 30px rgba(255, 111, 97, 0.09);
}

.timeline-step.done > span {
  color: #ffffff;
  background: var(--emerald);
}

.success-panel {
  background:
    radial-gradient(circle at 24% 0%, rgba(105, 213, 161, 0.2), transparent 34%),
    rgba(255, 255, 255, 0.72);
}

:root:not(.light) .success-panel {
  background:
    radial-gradient(circle at 24% 0%, rgba(105, 213, 161, 0.16), transparent 34%),
    rgba(255, 247, 239, 0.07);
}

.success-glow {
  box-shadow: 0 0 0 1px rgba(105, 213, 161, 0.22), 0 0 64px rgba(105, 213, 161, 0.14);
}

.success-mark {
  color: #ffffff;
  background: linear-gradient(135deg, var(--emerald), var(--mint));
}

.share-link-card,
.qr-card,
.summary-item,
.content-card,
.viewer-head,
.trust-card,
.feature-card,
.code-card,
.state-card,
.unlock-card {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 44px rgba(126, 76, 38, 0.08);
}

:root:not(.light) .share-link-card,
:root:not(.light) .qr-card,
:root:not(.light) .summary-item,
:root:not(.light) .content-card,
:root:not(.light) .viewer-head,
:root:not(.light) .trust-card,
:root:not(.light) .feature-card,
:root:not(.light) .code-card,
:root:not(.light) .state-card,
:root:not(.light) .unlock-card {
  background: rgba(255, 247, 239, 0.08);
}

.qr-card {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 247, 239, 0.72)),
    var(--surface);
}

.qr-grid {
  background:
    radial-gradient(circle at 20% 12%, rgba(255, 255, 255, 0.8), transparent 24%),
    linear-gradient(135deg, #fffefb, #fff3e9);
}

.feature-section,
.trust-section {
  padding-top: 86px;
}

.section-head {
  max-width: 820px;
  margin-inline: auto;
  margin-bottom: 32px;
  text-align: center;
}

.section-head .eyebrow {
  margin-inline: auto;
}

.feature-grid {
  gap: 18px;
}

.feature-card {
  min-height: 234px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 76% 12%, rgba(255, 215, 181, 0.28), transparent 32%),
    rgba(255, 255, 255, 0.82);
}

.feature-card:nth-child(3n + 2) {
  background:
    radial-gradient(circle at 76% 12%, rgba(155, 231, 192, 0.26), transparent 32%),
    rgba(255, 255, 255, 0.82);
}

.feature-card:nth-child(3n) {
  background:
    radial-gradient(circle at 76% 12%, rgba(117, 207, 255, 0.22), transparent 32%),
    rgba(255, 255, 255, 0.82);
}

.feature-card:hover {
  border-color: rgba(255, 111, 97, 0.32);
  box-shadow: 0 26px 70px rgba(255, 111, 97, 0.16);
}

.feature-icon {
  width: 54px;
  height: 54px;
  border-radius: 20px;
}

.trust-bento {
  gap: 18px;
}

.trust-card {
  border-radius: 30px;
}

.trust-card.large:first-child {
  background:
    radial-gradient(circle at 82% 8%, rgba(155, 231, 192, 0.24), transparent 34%),
    rgba(255, 255, 255, 0.82);
}

.trust-card.large:nth-child(2) {
  background:
    radial-gradient(circle at 82% 8%, rgba(255, 215, 181, 0.28), transparent 34%),
    rgba(255, 255, 255, 0.82);
}

:root:not(.light) .trust-card.large:first-child,
:root:not(.light) .trust-card.large:nth-child(2),
:root:not(.light) .feature-card,
:root:not(.light) .feature-card:nth-child(3n + 2),
:root:not(.light) .feature-card:nth-child(3n) {
  background: rgba(255, 247, 239, 0.08);
}

.cipher-stream {
  color: #b94b36;
}

:root:not(.light) .cipher-stream {
  color: #ffd5c8;
}

.password-gate span {
  background: linear-gradient(90deg, var(--coral), var(--amber), var(--emerald));
}

.footer {
  border-top-color: var(--line);
}

.unlock-card,
.state-card {
  border-radius: 34px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 215, 181, 0.3), transparent 36%),
    rgba(255, 255, 255, 0.86);
}

:root:not(.light) .unlock-card,
:root:not(.light) .state-card {
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 111, 97, 0.16), transparent 36%),
    rgba(255, 247, 239, 0.08);
}

.unlock-ambient {
  background: radial-gradient(circle, rgba(255, 111, 97, 0.14), transparent 56%);
}

.unlock-input:focus-within {
  filter: drop-shadow(0 0 20px rgba(255, 111, 97, 0.2));
}

.unlock-card.shake {
  border-color: rgba(237, 107, 100, 0.48);
}

.map-pin {
  color: #ffffff;
  background: linear-gradient(135deg, var(--coral), var(--amber));
  border-color: rgba(255, 111, 97, 0.46);
  box-shadow: 0 0 0 14px rgba(255, 111, 97, 0.12);
}

.map-meta {
  background: color-mix(in srgb, var(--surface-solid) 90%, transparent);
}

.spinner {
  border-color: rgba(126, 76, 38, 0.16);
  border-top-color: var(--coral);
}

.inline-error {
  border-color: rgba(237, 107, 100, 0.32);
  color: var(--red);
}

.toast {
  border-color: rgba(255, 228, 209, 0.82);
  background: var(--surface-solid);
  box-shadow: 0 18px 52px rgba(126, 76, 38, 0.16);
}

.toast span {
  color: #ffffff;
  background: var(--emerald);
}

.toast > i {
  background: linear-gradient(90deg, var(--coral), var(--amber));
}

.sheet-scrim {
  background: rgba(57, 36, 22, 0.28);
}

.sheet-panel {
  border-color: var(--line);
  background: var(--surface-solid);
  border-radius: 30px;
}

.sheet-item {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.64);
}

:root:not(.light) .sheet-item {
  background: rgba(255, 247, 239, 0.08);
}

.sheet-item.active {
  border-color: rgba(255, 111, 97, 0.42);
  color: var(--text);
  background: rgba(255, 239, 228, 0.78);
}

:root:not(.light) .sheet-item.active {
  background: rgba(255, 111, 97, 0.12);
}

.mobile-sticky-create {
  width: 100%;
}

.workspace-shell {
  display: grid;
  grid-template-columns: 328px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.workspace-sidebar {
  position: sticky;
  top: 108px;
  display: grid;
  gap: 14px;
  max-height: calc(100vh - 126px);
  padding: 16px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 34px;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 215, 181, 0.28), transparent 34%),
    color-mix(in srgb, var(--surface-solid) 92%, transparent);
  box-shadow: 0 20px 64px rgba(126, 76, 38, 0.12);
  backdrop-filter: blur(22px);
  scrollbar-width: thin;
}

:root:not(.light) .workspace-sidebar {
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 111, 97, 0.11), transparent 34%),
    rgba(255, 247, 239, 0.07);
}

.sidebar-head {
  display: grid;
  gap: 10px;
  padding: 4px 4px 8px;
}

.sidebar-head p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.side-tabs {
  display: grid;
  gap: 8px;
}

.side-tab {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 72px;
  padding: 10px;
  border: 1px solid transparent;
  border-radius: 22px;
  color: var(--soft);
  background: rgba(255, 255, 255, 0.48);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

:root:not(.light) .side-tab {
  background: rgba(255, 247, 239, 0.055);
}

.side-tab:hover {
  transform: translateX(3px);
  border-color: rgba(255, 111, 97, 0.28);
  background: rgba(255, 247, 239, 0.82);
}

:root:not(.light) .side-tab:hover {
  background: rgba(255, 111, 97, 0.1);
}

.side-tab.active {
  border-color: rgba(255, 111, 97, 0.42);
  background:
    linear-gradient(135deg, rgba(255, 241, 231, 0.96), rgba(255, 255, 255, 0.76));
  box-shadow: 0 14px 34px rgba(255, 111, 97, 0.14);
}

:root:not(.light) .side-tab.active {
  background:
    linear-gradient(135deg, rgba(255, 111, 97, 0.14), rgba(105, 213, 161, 0.08));
}

.side-tab-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 111, 97, 0.18);
  border-radius: 16px;
  color: var(--coral);
  background: rgba(255, 236, 224, 0.9);
}

:root:not(.light) .side-tab-icon {
  background: rgba(255, 111, 97, 0.12);
}

.side-tab strong,
.side-tab small {
  display: block;
  min-width: 0;
}

.side-tab strong {
  color: var(--text);
  font-size: 14px;
  line-height: 1.2;
}

.side-tab small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.workspace-content {
  display: grid;
  gap: 24px;
  min-width: 0;
}

.product-intro {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 22px;
  align-items: center;
  min-height: 248px;
  padding: clamp(24px, 4vw, 42px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 36px;
  background:
    radial-gradient(circle at 12% 12%, rgba(255, 215, 181, 0.34), transparent 32%),
    radial-gradient(circle at 88% 6%, rgba(155, 231, 192, 0.22), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(255, 246, 238, 0.72));
  box-shadow: 0 24px 80px rgba(126, 76, 38, 0.12);
}

:root:not(.light) .product-intro {
  background:
    radial-gradient(circle at 12% 12%, rgba(255, 111, 97, 0.16), transparent 32%),
    radial-gradient(circle at 88% 6%, rgba(105, 213, 161, 0.13), transparent 28%),
    rgba(255, 247, 239, 0.08);
}

.product-intro::after {
  position: absolute;
  right: -72px;
  bottom: -92px;
  width: 250px;
  height: 250px;
  border: 24px solid rgba(255, 111, 97, 0.08);
  border-radius: 999px;
  content: "";
}

.product-intro-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
  min-width: 0;
}

.product-intro h1 {
  max-width: 13ch;
  margin: 0;
  font-family: var(--display-font);
  font-size: clamp(38px, 5vw, 66px);
  line-height: 1.04;
  letter-spacing: 0;
}

.product-intro p {
  max-width: 820px;
  margin: 0;
  color: var(--soft);
  font-size: 17px;
  line-height: 1.85;
}

.intro-visual {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 210px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 218, 195, 0.82);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(255, 247, 239, 0.34)),
    radial-gradient(circle at 50% 40%, rgba(255, 111, 97, 0.16), transparent 52%);
}

:root:not(.light) .intro-visual {
  background:
    linear-gradient(135deg, rgba(255, 247, 239, 0.1), rgba(255, 247, 239, 0.04)),
    radial-gradient(circle at 50% 40%, rgba(255, 111, 97, 0.16), transparent 52%);
}

.intro-visual > span {
  display: grid;
  width: 86px;
  height: 86px;
  place-items: center;
  border-radius: 30px;
  color: #ffffff;
  background: linear-gradient(135deg, #ff9b78, var(--coral));
  box-shadow: 0 22px 52px rgba(255, 111, 97, 0.24);
}

.intro-visual > span svg {
  width: 38px;
  height: 38px;
}

.intro-visual i {
  position: absolute;
  width: 150px;
  height: 150px;
  border: 1px dashed rgba(255, 111, 97, 0.26);
  border-radius: 999px;
  animation: spin 18s linear infinite;
}

.intro-visual strong {
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--soft);
  background: color-mix(in srgb, var(--surface-solid) 86%, transparent);
  font-size: 13px;
}

.builder-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.56);
}

:root:not(.light) .builder-card {
  background: rgba(255, 247, 239, 0.055);
}

.multi-builder {
  display: grid;
  gap: 12px;
}

.compact-dropzone {
  min-height: 146px;
}

.location-results {
  display: grid;
  gap: 8px;
}

.location-result {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 2px 12px;
  align-items: center;
  width: 100%;
  min-height: 66px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.62);
  text-align: left;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

:root:not(.light) .location-result {
  background: rgba(255, 247, 239, 0.06);
}

.location-result:hover,
.location-result.active {
  transform: translateY(-1px);
  border-color: rgba(255, 111, 97, 0.42);
  background: rgba(255, 239, 228, 0.82);
}

:root:not(.light) .location-result:hover,
:root:not(.light) .location-result.active {
  background: rgba(255, 111, 97, 0.12);
}

.location-result span {
  display: grid;
  grid-row: span 2;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--coral), var(--amber));
}

.location-result strong,
.location-result small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.location-result small {
  color: var(--muted);
}

.poll-block {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.38);
}

:root:not(.light) .poll-block {
  background: rgba(255, 247, 239, 0.04);
}

.poll-block h3 {
  margin: 0 0 4px;
  font-size: 17px;
}

.board-text-output {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.board-text-output p {
  margin: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--soft);
  background: rgba(255, 255, 255, 0.48);
  line-height: 1.7;
}

:root:not(.light) .board-text-output p {
  background: rgba(255, 247, 239, 0.05);
}

.asset-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.asset-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.52);
}

:root:not(.light) .asset-card {
  background: rgba(255, 247, 239, 0.055);
}

.asset-card > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 14px;
  color: var(--coral);
  background: rgba(255, 236, 224, 0.88);
}

.asset-card strong,
.asset-card small {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.asset-card small {
  color: var(--muted);
  font-size: 12px;
}

.announcement-view.normal {
  border-color: rgba(105, 213, 161, 0.28);
}

.announcement-view.important {
  border-color: rgba(245, 173, 75, 0.36);
}

.announcement-view.urgent {
  border-color: rgba(237, 107, 100, 0.36);
}

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

.scenario-card {
  position: relative;
  display: grid;
  gap: 18px;
  min-height: 380px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 34px;
  background:
    radial-gradient(circle at 76% 12%, rgba(255, 215, 181, 0.28), transparent 32%),
    rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 44px rgba(126, 76, 38, 0.08);
  animation: panel-rise 420ms ease both;
  animation-delay: var(--delay);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

:root:not(.light) .scenario-card {
  background: rgba(255, 247, 239, 0.08);
}

.scenario-card:nth-child(2) {
  background:
    radial-gradient(circle at 76% 12%, rgba(155, 231, 192, 0.26), transparent 32%),
    rgba(255, 255, 255, 0.82);
}

.scenario-card:nth-child(3) {
  background:
    radial-gradient(circle at 76% 12%, rgba(117, 207, 255, 0.22), transparent 32%),
    rgba(255, 255, 255, 0.82);
}

:root:not(.light) .scenario-card:nth-child(2),
:root:not(.light) .scenario-card:nth-child(3) {
  background: rgba(255, 247, 239, 0.08);
}

.scenario-card:hover {
  transform: perspective(900px) rotateX(1deg) rotateY(-1.5deg) translateY(-3px);
  border-color: rgba(255, 111, 97, 0.32);
  box-shadow: 0 26px 70px rgba(255, 111, 97, 0.16);
}

.scenario-card h3,
.scenario-card p {
  margin: 0;
}

.scenario-card p {
  color: var(--muted);
  line-height: 1.7;
}

.scenario-visual {
  position: relative;
  display: grid;
  min-height: 180px;
  align-items: center;
  padding: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(255, 247, 239, 0.38)),
    radial-gradient(circle at 50% 30%, rgba(255, 111, 97, 0.12), transparent 50%);
}

:root:not(.light) .scenario-visual {
  background:
    linear-gradient(135deg, rgba(255, 247, 239, 0.08), rgba(255, 247, 239, 0.04)),
    radial-gradient(circle at 50% 30%, rgba(255, 111, 97, 0.12), transparent 50%);
}

.scenario-browser {
  display: grid;
  grid-template-columns: repeat(3, 9px) 1fr 42px;
  gap: 8px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: color-mix(in srgb, var(--surface-solid) 86%, transparent);
}

.scenario-browser span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--coral);
}

.scenario-browser span:nth-child(2) {
  background: var(--amber);
}

.scenario-browser span:nth-child(3) {
  background: var(--emerald);
}

.scenario-browser strong {
  min-width: 0;
  overflow: hidden;
  color: var(--soft);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.scenario-browser i,
.scenario-board span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 15px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--coral), var(--amber));
  font-style: normal;
}

.scenario-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--soft);
  background: rgba(255, 255, 255, 0.48);
}

:root:not(.light) .scenario-meta {
  background: rgba(255, 247, 239, 0.05);
}

.scenario-meta em {
  color: var(--emerald);
  font-style: normal;
  font-weight: 900;
}

.scenario-board {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.scenario-board::before {
  position: absolute;
  inset: -50px;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.42;
  content: "";
}

.scenario-board i,
.scenario-board span {
  position: relative;
  z-index: 1;
}

.scenario-board i {
  min-height: 72px;
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(255, 155, 120, 0.5), rgba(255, 255, 255, 0.12));
}

.scenario-board i:nth-child(2) {
  background:
    linear-gradient(135deg, rgba(155, 231, 192, 0.5), rgba(255, 255, 255, 0.12));
}

.scenario-board i:nth-child(3) {
  background:
    linear-gradient(135deg, rgba(117, 207, 255, 0.46), rgba(255, 255, 255, 0.12));
}

.scenario-stack {
  display: grid;
  gap: 9px;
}

.scenario-stack span {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--soft);
  background: rgba(255, 255, 255, 0.5);
  font-weight: 850;
}

:root:not(.light) .scenario-stack span {
  background: rgba(255, 247, 239, 0.055);
}

@media (max-width: 1260px) {
  .nav-tabs {
    display: none;
  }

  .mobile-menu-button {
    display: inline-flex;
  }

  .navbar {
    grid-template-columns: auto 1fr;
  }

  .nav-actions {
    justify-content: end;
  }

  .hero-section,
  .workspace-shell {
    grid-template-columns: 1fr;
  }

  .workspace-sidebar {
    position: relative;
    top: auto;
    max-height: none;
  }

  .side-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .side-tab {
    min-height: 92px;
    align-items: start;
  }

  .hero-copy {
    position: relative;
    top: auto;
    min-height: 520px;
  }

  .feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .scenario-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 920px) {
  .app-main,
  .navbar {
    width: min(100% - 24px, 1440px);
  }

  .navbar {
    top: 10px;
    margin-top: 10px;
    border-radius: 20px;
  }

  .brand-word small,
  .language-switcher,
  .nav-pricing {
    display: none;
  }

  .sheet-language {
    display: block;
  }

  .nav-create {
    display: none;
  }

  .product-intro,
  .hero-copy,
  .secure-create-card {
    border-radius: 24px;
  }

  .product-intro {
    grid-template-columns: 1fr;
  }

  .intro-visual {
    min-height: 180px;
  }

  .side-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-copy h1 {
    font-size: clamp(38px, 11vw, 54px);
  }

  .creator-head,
  .creator-form {
    padding-inline: 18px;
  }

  .creator-head {
    flex-direction: column;
  }

  .content-type-grid,
  .feature-grid,
  .security-summary,
  .trust-bento,
  .implementation-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-card.large {
    grid-column: span 2;
  }

  .security-toggles {
    grid-template-columns: 1fr;
  }

  .segmented-control {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .share-layout,
  .form-grid,
  .compact-grid,
  .inline-form,
  .poll-identity,
  .board-live-tools,
  .asset-grid {
    grid-template-columns: 1fr;
  }

  .qr-card {
    justify-items: start;
  }

  .viewer-head,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-meta {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .app-main {
    padding-top: 24px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .hero-section {
    min-height: auto;
  }

  .hero-copy {
    min-height: auto;
    padding: 24px;
  }

  .hero-badges,
  .floating-icons {
    display: none;
  }

  .content-type-grid,
  .feature-grid,
  .side-tabs,
  .scenario-grid,
  .security-summary,
  .trust-bento,
  .implementation-grid,
  .sheet-grid {
    grid-template-columns: 1fr;
  }

  .workspace-sidebar,
  .product-intro,
  .secure-create-card {
    border-radius: 22px;
  }

  .workspace-sidebar {
    padding: 12px;
  }

  .side-tab {
    min-height: 72px;
  }

  .product-intro {
    padding: 22px;
  }

  .product-intro h1 {
    font-size: clamp(34px, 10vw, 46px);
  }

  .product-intro p {
    font-size: 15px;
  }

  .creator-head {
    padding: 20px 18px 14px;
  }

  .creator-form {
    padding: 0 18px 20px;
  }

  .trust-card.large {
    grid-column: span 1;
  }

  .creator-step {
    padding: 14px;
  }

  .type-card {
    min-height: 86px;
  }

  .audio-recorder-card,
  .file-row {
    grid-template-columns: 1fr;
  }

  .encryption-flow,
  .password-gate {
    grid-template-columns: 1fr;
  }

  .unlock-card,
  .state-card {
    padding: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

.account-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 170px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.dashboard-page {
  width: min(1220px, calc(100vw - 32px));
  margin: 0 auto;
}

.dashboard-page {
  padding: 118px 0 46px;
}

.auth-page {
  width: 100%;
  margin: 0 auto;
  display: grid;
  gap: 24px;
  padding: 48px 0 0;
}

.auth-layout {
  display: grid;
  grid-template-columns: minmax(320px, 500px) 1fr;
  gap: 28px;
  align-items: start;
}

.auth-main-column {
  display: grid;
  gap: 18px;
}

.auth-hero-band {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  overflow: hidden;
  padding: 24px 28px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background:
    radial-gradient(circle at 8% 20%, rgba(255, 101, 125, 0.2), transparent 26%),
    radial-gradient(circle at 84% 22%, rgba(56, 207, 255, 0.22), transparent 28%),
    linear-gradient(135deg, var(--surface-strong), rgba(255, 255, 255, 0.05));
  box-shadow: 0 18px 54px rgba(21, 12, 8, 0.14);
  backdrop-filter: blur(18px);
  animation: auth-rise 420ms ease both;
}

.auth-hero-band::after {
  content: "";
  position: absolute;
  right: 10%;
  bottom: -50px;
  width: 180px;
  height: 180px;
  border-radius: 999px;
  border: 1px solid rgba(255, 101, 125, 0.22);
  box-shadow:
    0 0 0 28px rgba(255, 101, 125, 0.04),
    0 0 0 58px rgba(56, 207, 255, 0.035);
  pointer-events: none;
}

.auth-hero-band > * {
  position: relative;
  z-index: 1;
}

.auth-hero-band h2 {
  max-width: 740px;
  margin: 10px 0 8px;
  font-family: var(--display-font);
  font-size: clamp(28px, 3.4vw, 46px);
  line-height: 1.04;
}

.auth-hero-band p {
  max-width: 800px;
  margin: 0;
  color: var(--soft);
  line-height: 1.7;
}

.auth-hero-pills {
  display: grid;
  gap: 10px;
  min-width: 210px;
}

.auth-hero-pills span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.12);
  transition: transform 180ms ease, border-color 180ms ease;
}

.auth-hero-pills span:hover {
  border-color: var(--line-strong);
  transform: translateX(3px);
}

.auth-card,
.auth-assurance-grid,
.auth-side-panel,
.dashboard-hero,
.dashboard-stat,
.managed-link-card,
.dashboard-empty,
.dashboard-trend {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, var(--surface-strong), rgba(255, 255, 255, 0.05));
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.auth-card {
  position: relative;
  overflow: hidden;
  padding: 34px;
  border-radius: var(--radius-xl);
}

.auth-assurance-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 18px;
  border-radius: 26px;
  animation: auth-rise 540ms ease both;
}

.auth-assurance-grid > strong {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
}

.auth-assurance-grid article {
  display: grid;
  gap: 7px;
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    radial-gradient(circle at 12% 10%, rgba(255, 101, 125, 0.12), transparent 36%),
    rgba(255, 255, 255, 0.08);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.auth-assurance-grid article:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.13);
  transform: translateY(-2px);
}

.auth-assurance-grid article svg {
  color: var(--coral);
}

.auth-assurance-grid article span {
  font-weight: 850;
}

.auth-assurance-grid article p {
  margin: 0;
  color: var(--soft);
  font-size: 12px;
  line-height: 1.55;
}

.auth-card::after,
.dashboard-hero::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  right: -90px;
  top: -90px;
  background: radial-gradient(circle, rgba(255, 101, 125, 0.34), transparent 68%);
  pointer-events: none;
}

.auth-card h1,
.dashboard-hero h1 {
  margin: 12px 0 10px;
  font-family: var(--display-font);
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
}

.auth-card p,
.dashboard-hero p {
  max-width: 760px;
  color: var(--soft);
  line-height: 1.75;
}

.auth-form {
  display: grid;
  gap: 18px;
  margin-top: 26px;
}

.auth-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  margin-top: 20px;
  color: var(--soft);
}

.auth-switch a {
  padding: 8px 0;
  color: var(--cyan);
  transition: color 180ms ease, transform 180ms ease;
}

.auth-switch a:hover {
  color: var(--emerald);
  transform: translateY(-1px);
}

.anonymous-entry-card {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  margin: 24px 0 6px;
  padding: 16px;
  border: 1px solid rgba(255, 101, 125, 0.32);
  border-radius: 22px;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 101, 125, 0.24), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(56, 207, 255, 0.08));
  box-shadow: 0 18px 44px rgba(255, 101, 125, 0.14);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.anonymous-entry-card:hover {
  border-color: rgba(255, 101, 125, 0.58);
  box-shadow: 0 24px 64px rgba(255, 101, 125, 0.2);
  transform: translateY(-2px);
}

.anonymous-entry-card > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--coral), var(--amber));
}

.anonymous-entry-card strong {
  display: block;
  margin-bottom: 4px;
  font-size: 16px;
}

.anonymous-entry-card p {
  margin: 0;
  color: var(--soft);
  font-size: 13px;
  line-height: 1.5;
}

.anonymous-entry-card em {
  align-self: stretch;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 16px;
  color: #fff;
  font-style: normal;
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  white-space: nowrap;
}

.auth-side-panel {
  position: relative;
  isolation: isolate;
  min-height: 560px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 30% 20%, rgba(56, 207, 255, 0.22), transparent 34%),
    radial-gradient(circle at 76% 70%, rgba(61, 220, 151, 0.22), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 101, 125, 0.08));
  padding: 28px;
  animation: auth-rise 520ms ease both;
}

.auth-side-panel::before {
  content: "";
  position: absolute;
  right: -76px;
  bottom: -90px;
  width: 310px;
  height: 310px;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(255, 101, 125, 0.22), transparent 58%),
    radial-gradient(circle, rgba(56, 207, 255, 0.16), transparent 72%);
  opacity: 0.78;
  animation: float-panel 7s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}

.auth-side-panel::after {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  top: 24px;
  bottom: 24px;
  border: 1px solid rgba(255, 226, 205, 0.14);
  border-radius: 28px;
  pointer-events: none;
  z-index: 0;
}

.auth-side-panel > * {
  position: relative;
  z-index: 1;
}

.auth-card {
  animation: auth-rise 460ms ease both;
}

@keyframes auth-rise {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.985);
  }
}

.metric-orb {
  position: absolute;
  left: 14%;
  top: 22%;
  display: grid;
  gap: 6px;
  width: 168px;
  padding: 18px;
  border-radius: 26px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid var(--line);
}

.metric-orb.accent {
  left: auto;
  right: 12%;
  top: 55%;
  background: rgba(61, 220, 151, 0.16);
}

.metric-orb span {
  font-size: 42px;
  font-weight: 900;
}

.insight-head {
  position: relative;
  z-index: 1;
}

.insight-head h2 {
  margin: 8px 0;
  font-family: var(--display-font);
  font-size: clamp(26px, 3vw, 38px);
}

.insight-head p {
  max-width: 560px;
  margin: 0;
  color: var(--soft);
  line-height: 1.6;
}

.insight-tabs {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 20px 0 18px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
}

.insight-tabs button {
  border: 0;
  border-radius: 13px;
  padding: 10px 12px;
  color: var(--soft);
  background: transparent;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.insight-tabs button:hover,
.insight-tabs button.active {
  color: var(--text);
  background: linear-gradient(135deg, rgba(255, 101, 125, 0.24), rgba(56, 207, 255, 0.18));
  transform: translateY(-1px);
}

.insight-pane {
  position: relative;
  z-index: 1;
  min-height: 260px;
}

.insight-kpis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.insight-kpi {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.12);
  transition: transform 180ms ease, border-color 180ms ease;
}

.insight-kpi:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.insight-kpi svg {
  color: var(--coral);
}

.insight-kpi span {
  color: var(--soft);
  font-size: 12px;
}

.insight-kpi strong {
  font-size: 32px;
  line-height: 1;
}

.mini-trend {
  display: flex;
  align-items: end;
  gap: 8px;
  height: 112px;
  margin-top: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.1);
}

.mini-trend button {
  position: relative;
  flex: 1;
  height: 100%;
  min-width: 9px;
  border: 0;
  background: transparent;
}

.mini-trend button span {
  position: absolute;
  inset: auto 0 0;
  height: var(--h);
  border-radius: 999px 999px 7px 7px;
  background: linear-gradient(180deg, var(--amber), var(--coral) 48%, var(--cyan));
  animation: auth-bar-rise 560ms ease both;
  animation-delay: var(--d);
  box-shadow: 0 10px 24px rgba(255, 101, 125, 0.16);
}

.mini-trend button small {
  position: absolute;
  left: 50%;
  top: -10px;
  color: var(--muted);
  font-size: 10px;
  opacity: 0;
  transform: translateX(-50%);
  transition: opacity 160ms ease, top 160ms ease;
}

.mini-trend button:hover small,
.mini-trend button:focus-visible small {
  top: -16px;
  opacity: 1;
}

@keyframes auth-bar-rise {
  from {
    height: 8px;
    opacity: 0.5;
  }
}

.route-chips,
.recent-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.route-chips button,
.recent-strip span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  max-width: 100%;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--soft);
  background: rgba(255, 255, 255, 0.1);
}

.route-chips button {
  transition: color 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.route-chips button:hover {
  color: var(--text);
  border-color: var(--line-strong);
  transform: translateY(-1px);
}

.route-chips span,
.recent-strip span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.route-chips strong {
  color: var(--cyan);
}

.geo-panel,
.type-insight-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  gap: 14px;
  align-items: center;
  margin-bottom: 14px;
}

.geo-panel h3,
.type-insight-head h3 {
  margin: 0 0 6px;
  font-size: 20px;
}

.geo-panel p {
  margin: 0;
  color: var(--soft);
  line-height: 1.55;
}

.geo-map {
  position: relative;
  height: 124px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    radial-gradient(circle at 25% 34%, rgba(56, 207, 255, 0.22), transparent 8%),
    radial-gradient(circle at 74% 62%, rgba(61, 220, 151, 0.22), transparent 9%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 101, 125, 0.08));
}

.geo-map::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 999px;
  border: 1px dashed var(--line-strong);
}

.geo-map span {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--coral);
  box-shadow: 0 0 0 8px rgba(255, 101, 125, 0.16);
  transform: scale(var(--s));
  animation: geo-pulse 1.8s ease-in-out infinite;
}

@keyframes geo-pulse {
  50% {
    box-shadow: 0 0 0 14px rgba(255, 101, 125, 0.04);
  }
}

.insight-list {
  display: grid;
  gap: 10px;
}

.insight-bar {
  display: grid;
  grid-template-columns: auto minmax(84px, 1fr) minmax(88px, 150px) auto;
  gap: 10px;
  align-items: center;
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.1);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.insight-bar:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.16);
  transform: translateX(3px);
}

.insight-bar > span {
  overflow: hidden;
  color: var(--soft);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.insight-bar i {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.insight-bar b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), var(--coral));
  animation: insight-width 520ms ease both;
}

@keyframes insight-width {
  from {
    width: 4%;
  }
}

.type-insight-head .insight-kpi {
  padding: 12px;
}

.type-insight-head .insight-kpi strong {
  font-size: 24px;
}

@keyframes float-panel {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(12px, -10px, 0);
  }
}

.dashboard-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 24px;
  overflow: hidden;
  padding: 32px;
  border-radius: var(--radius-xl);
}

.dashboard-hero .status-pill {
  margin-top: 14px;
}

.dashboard-trend {
  display: grid;
  align-content: space-between;
  min-height: 220px;
  padding: 20px;
  border-radius: 26px;
}

.trend-bars {
  display: flex;
  align-items: end;
  gap: 8px;
  height: 132px;
  padding-top: 18px;
}

.trend-bars span {
  position: relative;
  flex: 1;
  min-width: 8px;
  border-radius: 999px 999px 6px 6px;
  background: linear-gradient(180deg, var(--coral), var(--cyan));
  box-shadow: 0 10px 24px rgba(56, 207, 255, 0.18);
  animation: bar-rise 480ms ease both;
}

.trend-bars small {
  position: absolute;
  left: 50%;
  top: -18px;
  color: var(--muted);
  font-size: 11px;
  transform: translateX(-50%);
}

@keyframes bar-rise {
  from {
    height: 8px;
    opacity: 0.4;
  }
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0 30px;
}

.dashboard-stat {
  display: grid;
  gap: 10px;
  padding: 18px;
  border-radius: 22px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.dashboard-stat:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.dashboard-stat svg {
  color: var(--coral);
}

.dashboard-stat span {
  color: var(--soft);
  font-size: 13px;
}

.dashboard-stat strong {
  font-size: 30px;
  line-height: 1;
}

.dashboard-list .section-head.compact {
  margin-bottom: 18px;
}

.managed-links {
  display: grid;
  gap: 16px;
}

.managed-link-card {
  display: grid;
  gap: 18px;
  padding: 20px;
  border-radius: 26px;
  animation: fade-card 420ms ease both;
}

@keyframes fade-card {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
}

.managed-link-main {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
}

.content-orb.tiny {
  width: 46px;
  height: 46px;
  min-width: 46px;
}

.managed-link-card h3 {
  margin: 0;
  font-size: 20px;
}

.managed-link-card p {
  margin: 6px 0 0;
  color: var(--soft);
}

.managed-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.managed-meta span,
.share-url-line {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--soft);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  font-size: 13px;
}

.share-url-line {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  width: 100%;
  margin-top: 12px;
  border-radius: 14px;
}

.share-url-line code {
  overflow: hidden;
  color: var(--cyan);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.managed-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button.danger {
  color: #fff;
  border-color: rgba(242, 99, 115, 0.44);
  background: linear-gradient(135deg, rgba(242, 99, 115, 0.94), rgba(255, 101, 125, 0.72));
}

.dashboard-edit {
  display: grid;
  gap: 16px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.08);
}

.dashboard-edit[hidden] {
  display: none;
}

.dashboard-edit h4 {
  margin: 0;
  font-size: 18px;
}

.dashboard-empty {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 40px 24px;
  border-radius: var(--radius-xl);
  text-align: center;
}

.status-pill.active {
  color: var(--emerald);
}

.status-pill.paused,
.status-pill.expired,
.status-pill.limited {
  color: var(--amber);
}

@media (max-width: 1024px) {
  .auth-layout,
  .dashboard-hero {
    grid-template-columns: 1fr;
  }

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

  .auth-hero-pills {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .auth-side-panel {
    min-height: 260px;
  }

  .dashboard-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .dashboard-page {
    width: min(100vw - 20px, 640px);
  }

  .dashboard-page {
    padding-top: 100px;
  }

  .auth-page {
    padding-top: 28px;
  }

  .auth-card,
  .auth-hero-band,
  .auth-assurance-grid,
  .auth-side-panel,
  .dashboard-hero,
  .managed-link-card {
    padding: 18px;
    border-radius: 22px;
  }

  .auth-hero-pills,
  .auth-assurance-grid {
    grid-template-columns: 1fr;
  }

  .anonymous-entry-card,
  .geo-panel,
  .type-insight-head,
  .insight-bar {
    grid-template-columns: 1fr;
  }

  .anonymous-entry-card em {
    justify-content: center;
    min-height: 42px;
  }

  .insight-kpis {
    grid-template-columns: 1fr;
  }

  .geo-map {
    height: 108px;
  }

  .dashboard-stats {
    grid-template-columns: 1fr;
  }

  .managed-link-main {
    grid-template-columns: 1fr;
  }

  .share-url-line {
    grid-template-columns: 1fr;
  }

  .footer-meta span,
  .footer-meta a {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .auth-card,
  .auth-hero-band,
  .auth-assurance-grid,
  .auth-side-panel::before,
  .auth-side-panel,
  .mini-trend button span,
  .geo-map span,
  .insight-bar b,
  .trend-bars span,
  .managed-link-card {
    animation: none !important;
  }
}
