/* WebWerkstatt — digihub.li–tauglich (portable), kreativ im Markenrahmen */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Source+Serif+4:ital,opsz,wght@0,8..60,400;0,8..60,600;1,8..60,400&display=swap");

.ww-root,
.ww-standalone {
  --ww-ink: #0d0d0d;
  --ww-ink-soft: #313131;
  --ww-muted: #5c6560;
  --ww-faint: #8e8ea0;
  --ww-paper: #f4f8f7;
  --ww-paper-2: #ffffff;
  --ww-line: rgba(13, 13, 13, 0.1);
  --ww-brand: #259c90;
  --ww-brand-mid: #31beb0;
  --ww-brand-soft: rgba(37, 156, 144, 0.12);
  --ww-lime: #dbe470;
  --ww-deep: #0a1f1c;
  --ww-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ww-radius: 18px;
  --ww-max: 1080px;
  --ww-font: "Inter", ui-sans-serif, system-ui, sans-serif;
  --ww-serif: "Source Serif 4", Georgia, serif;
  font-family: var(--ww-font);
  color: var(--ww-ink);
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
}

.ww-root * ,
.ww-standalone * {
  box-sizing: border-box;
}

.ww-root a {
  color: var(--ww-brand);
  text-underline-offset: 3px;
}

.ww-shell {
  max-width: var(--ww-max);
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 1.5rem) 3.5rem;
}

.ww-dev-banner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 1.25rem;
  padding: 0.65rem 0.9rem;
  border-radius: 12px;
  background: rgba(13, 13, 13, 0.92);
  color: #e8eee9;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

.ww-dev-banner strong {
  color: var(--ww-lime);
  font-weight: 600;
}

.ww-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ww-brand);
  margin: 0 0 0.85rem;
}

.ww-kicker::before {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--ww-brand), var(--ww-lime));
}

.ww-display {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin: 0 0 1rem;
  max-width: 14ch;
}

.ww-lead {
  font-family: var(--ww-serif);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.65;
  color: var(--ww-muted);
  max-width: 38ch;
  margin: 0 0 1.5rem;
}

.ww-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 46px;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ww-ease), background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
}

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

.ww-btn-solid {
  background: var(--ww-brand);
  color: #fff;
  box-shadow: 0 10px 28px rgba(37, 156, 144, 0.28);
}

.ww-btn-solid:hover {
  background: #1f857b;
  color: #fff;
}

.ww-btn-ghost {
  background: transparent;
  color: var(--ww-ink);
  border-color: var(--ww-line);
}

.ww-btn-ghost:hover {
  border-color: var(--ww-brand);
  color: var(--ww-brand);
}

.ww-btn-dark {
  background: var(--ww-ink);
  color: #fff;
}

.ww-btn-dark:hover {
  background: #222;
  color: #fff;
}

.ww-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

/* —— Landing —— */
.ww-hero {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: clamp(2.2rem, 5vw, 3.6rem);
  margin-bottom: 1.5rem;
  background:
    radial-gradient(900px 420px at 88% 10%, rgba(219, 228, 112, 0.35), transparent 55%),
    radial-gradient(700px 380px at 8% 90%, rgba(49, 190, 176, 0.45), transparent 50%),
    linear-gradient(145deg, #06221e 0%, #0d3d37 42%, #134e47 100%);
  color: #f2f7f5;
  isolation: isolate;
}

.ww-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
  animation: ww-drift 28s linear infinite;
}

.ww-hero::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -40px;
  top: -60px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(219, 228, 112, 0.5), transparent 70%);
  filter: blur(8px);
  z-index: 0;
  animation: ww-orb 8s ease-in-out infinite alternate;
}

@keyframes ww-drift {
  from { background-position: 0 0; }
  to { background-position: 22px 44px; }
}

@keyframes ww-orb {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-30px, 40px) scale(1.12); }
}

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

.ww-hero .ww-kicker {
  color: #9ee5dd;
}

.ww-hero .ww-kicker::before {
  background: linear-gradient(90deg, #9ee5dd, var(--ww-lime));
}

.ww-hero .ww-display {
  color: #fff;
  max-width: 16ch;
}

.ww-hero .ww-lead {
  color: rgba(242, 247, 245, 0.78);
}

.ww-hero-brand {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0 0 1.2rem;
  letter-spacing: -0.02em;
}

.ww-hero-brand span {
  color: var(--ww-brand-mid);
}

.ww-hero-brand i {
  color: var(--ww-lime);
  font-style: normal;
}

.ww-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
  margin: 1.5rem 0 0;
}

@media (max-width: 800px) {
  .ww-grid-3 { grid-template-columns: 1fr; }
}

.ww-card {
  background: var(--ww-paper-2);
  border: 1px solid var(--ww-line);
  border-radius: var(--ww-radius);
  padding: 1.25rem 1.3rem;
  transition: transform 0.3s var(--ww-ease), box-shadow 0.3s, border-color 0.2s;
}

.ww-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(13, 13, 13, 0.07);
  border-color: rgba(37, 156, 144, 0.35);
}

.ww-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.ww-card p {
  margin: 0;
  font-family: var(--ww-serif);
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ww-muted);
}

.ww-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: var(--ww-brand-soft);
  color: var(--ww-brand);
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
}

.ww-journey {
  margin: 1.5rem 0;
  padding: 1.4rem;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(230, 248, 246, 0.9), rgba(244, 248, 247, 0.6));
  border: 1px solid rgba(37, 156, 144, 0.18);
}

.ww-journey-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  position: relative;
}

@media (max-width: 720px) {
  .ww-journey-track { grid-template-columns: 1fr 1fr; }
}

.ww-journey-step {
  position: relative;
  padding: 0.85rem 0.9rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--ww-line);
}

.ww-journey-step strong {
  display: block;
  font-size: 0.88rem;
  margin-bottom: 0.2rem;
}

.ww-journey-step span {
  font-size: 0.8rem;
  color: var(--ww-muted);
  line-height: 1.4;
}

.ww-note {
  font-size: 0.85rem;
  color: var(--ww-muted);
  margin: 1rem 0 0;
}

/* —— Survey shell —— */
.ww-survey {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.25rem;
  align-items: start;
}

@media (max-width: 860px) {
  .ww-survey { grid-template-columns: 1fr; }
}

.ww-rail {
  position: sticky;
  top: 1rem;
  padding: 1rem;
  border-radius: 18px;
  background: var(--ww-deep);
  color: #d7ddd9;
}

.ww-rail h2 {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  color: #fff;
}

.ww-rail .sub {
  font-size: 0.75rem;
  color: rgba(215, 221, 217, 0.55);
  margin: 0 0 1rem;
  line-height: 1.4;
}

.ww-rail ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.ww-rail button {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  color: rgba(215, 221, 217, 0.62);
  padding: 0.45rem 0.55rem;
  border-radius: 10px;
  font: inherit;
  font-size: 0.78rem;
  display: flex;
  gap: 0.5rem;
  align-items: baseline;
  transition: background 0.2s, color 0.2s;
}

.ww-rail button:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.ww-rail button.is-active {
  color: #fff;
  background: rgba(49, 190, 176, 0.22);
}

.ww-rail button.is-done {
  color: #b8e8e1;
}

.ww-rail button .n {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: var(--ww-lime);
  min-width: 1.2rem;
}

.ww-panel {
  background: #fff;
  border: 1px solid var(--ww-line);
  border-radius: 22px;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 50px rgba(13, 13, 13, 0.05);
}

.ww-panel-head {
  padding: 1.2rem 1.35rem 1rem;
  border-bottom: 1px solid var(--ww-line);
  background:
    linear-gradient(180deg, rgba(230, 248, 246, 0.65), #fff 90%);
}

.ww-panel-head h3 {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.ww-panel-head p {
  margin: 0;
  font-family: var(--ww-serif);
  color: var(--ww-muted);
  font-size: 0.98rem;
  line-height: 1.5;
  max-width: 52ch;
}

.ww-progress-bar {
  height: 3px;
  background: rgba(13, 13, 13, 0.06);
}

.ww-progress-bar > i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--ww-brand), var(--ww-lime));
  transition: width 0.4s var(--ww-ease);
}

.ww-panel-body {
  padding: 1.35rem;
  flex: 1;
}

.ww-step {
  display: none;
  animation: ww-in 0.4s var(--ww-ease);
}

.ww-step.is-active {
  display: block;
}

@keyframes ww-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.ww-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.ww-field label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ww-muted);
}

.ww-field .hint {
  font-size: 0.78rem;
  color: var(--ww-faint);
  font-weight: 400;
}

.ww-field input,
.ww-field textarea,
.ww-field select {
  width: 100%;
  font: inherit;
  font-size: 0.95rem;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  border: 1px solid var(--ww-line);
  background: #fff;
  color: var(--ww-ink);
}

.ww-field input:focus,
.ww-field textarea:focus,
.ww-field select:focus {
  outline: none;
  border-color: var(--ww-brand);
  box-shadow: 0 0 0 3px var(--ww-brand-soft);
}

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

.ww-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

@media (max-width: 640px) {
  .ww-row-2 { grid-template-columns: 1fr; }
}

.ww-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.ww-chip {
  cursor: pointer;
  user-select: none;
  font: inherit;
  font-size: 0.86rem;
  padding: 0.48rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--ww-line);
  background: #fff;
  color: var(--ww-ink);
  transition: all 0.18s;
}

.ww-chip:hover {
  border-color: var(--ww-brand);
}

.ww-chip.is-on {
  background: var(--ww-ink);
  border-color: var(--ww-ink);
  color: #fff;
}

.ww-chip.is-off {
  background: #f4ecec;
  border-color: #e4c8c8;
  color: #8a5555;
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}

.ww-chip-mode {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 0.55rem;
  font-size: 0.75rem;
  color: var(--ww-faint);
}

.ww-panel-nav {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding: 1rem 1.35rem 1.25rem;
  border-top: 1px solid var(--ww-line);
  background: #fafcfb;
}

/* —— Style library —— */
.ww-moods {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

@media (max-width: 700px) {
  .ww-moods { grid-template-columns: 1fr; }
}

.ww-mood {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  text-align: left;
  padding: 0;
  font: inherit;
  background: #fff;
  transition: border-color 0.2s, transform 0.25s var(--ww-ease), box-shadow 0.25s;
}

.ww-mood:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(13, 13, 13, 0.08);
}

.ww-mood.is-like {
  border-color: var(--ww-brand);
  box-shadow: 0 0 0 3px var(--ww-brand-soft);
}

.ww-mood.is-dislike {
  border-color: #c98989;
  opacity: 0.72;
}

.ww-mood-preview {
  height: 120px;
  position: relative;
  overflow: hidden;
}

.ww-mood-body {
  padding: 0.85rem 0.9rem 0.95rem;
}

.ww-mood-body strong {
  display: block;
  font-size: 0.98rem;
  margin-bottom: 0.35rem;
  letter-spacing: -0.02em;
}

.ww-mood-feel {
  display: block;
  font-size: 0.84rem;
  color: var(--ww-muted);
  line-height: 1.45;
  margin-bottom: 0.4rem;
}

.ww-mood-eg {
  display: block;
  font-size: 0.78rem;
  color: var(--ww-brand);
  line-height: 1.4;
  margin-bottom: 0.65rem;
  font-weight: 500;
}

.ww-mood-votes {
  display: flex;
  gap: 0.35rem;
  margin-top: 0.15rem;
}

.ww-mood-votes button {
  flex: 1;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.35rem;
  border-radius: 8px;
  border: 1px solid var(--ww-line);
  background: #fff;
}

.ww-mood-votes button[data-v="like"].is-on {
  background: var(--ww-brand);
  border-color: var(--ww-brand);
  color: #fff;
}

.ww-mood-votes button[data-v="dislike"].is-on {
  background: #5c3a3a;
  border-color: #5c3a3a;
  color: #fff;
}

/* mood preview skins — recognizable mini layouts */
.mood-klar {
  background: linear-gradient(160deg, #ffffff 35%, #f0f7f6 100%);
}
.mood-klar::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 28px;
  width: 42%;
  height: 14px;
  border-radius: 4px;
  background: #0d0d0d;
}
.mood-klar::after {
  content: "";
  position: absolute;
  left: 16px;
  top: 52px;
  width: 28%;
  height: 8px;
  border-radius: 4px;
  background: #31beb0;
  box-shadow: 56px 0 0 #e5e5e5, 56px 18px 0 #e5e5e5, 16px 36px 0 0 #31beb0;
}

.mood-warm {
  background: linear-gradient(145deg, #faf6f0, #f0e0d0 55%, #e2c4a8);
}
.mood-warm::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 22px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(210, 160, 120, 0.55);
}
.mood-warm::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  height: 36px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.65);
  box-shadow: 0 4px 16px rgba(120, 80, 40, 0.12);
}

.mood-ruhig {
  background: linear-gradient(180deg, #f7f5f1, #ebe7df);
}
.mood-ruhig::before {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  top: 32px;
  height: 12px;
  background: #2c2a26;
  border-radius: 2px;
}
.mood-ruhig::after {
  content: "";
  position: absolute;
  left: 22px;
  width: 62%;
  top: 56px;
  height: 7px;
  background: #9a958c;
  border-radius: 2px;
  box-shadow: 0 16px 0 #cfcac0, 0 32px 0 #cfcac0;
}

.mood-nacht {
  background:
    radial-gradient(circle at 72% 28%, rgba(212, 175, 55, 0.4), transparent 42%),
    linear-gradient(160deg, #070b18, #12182b 70%, #1a1030);
}
.mood-nacht::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 36px;
  width: 40%;
  height: 10px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.85);
}
.mood-nacht::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(#fff 1px, transparent 1px);
  background-size: 16px 16px;
  opacity: 0.28;
  pointer-events: none;
}

.mood-tech {
  background: #0b0f14;
  background-image:
    linear-gradient(rgba(80, 200, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(80, 200, 255, 0.1) 1px, transparent 1px);
  background-size: 14px 14px;
}
.mood-tech::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 24px;
  width: 50%;
  height: 8px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.7);
}
.mood-tech::after {
  content: "";
  position: absolute;
  left: 16px;
  bottom: 22px;
  width: 58%;
  height: 26px;
  border-radius: 6px;
  background: linear-gradient(90deg, #3dd6c6, #5b8dff);
}

.mood-erde {
  background: linear-gradient(160deg, #eef3e8, #c8d6b6 48%, #7a9a6a);
}
.mood-erde::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 30px;
  width: 36%;
  height: 10px;
  border-radius: 3px;
  background: #3d5234;
}
.mood-erde::after {
  content: "";
  position: absolute;
  width: 78px;
  height: 78px;
  right: 8px;
  bottom: -16px;
  border-radius: 50%;
  background: rgba(60, 90, 50, 0.4);
}

.mood-glass {
  background: linear-gradient(135deg, #1a2a4a, #3d5a80 60%, #6a8bb0);
}
.mood-glass::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 20px;
  width: 38%;
  height: 8px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.75);
}
.mood-glass::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 42px;
  bottom: 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.ww-inspo {
  margin-top: 1.1rem;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  background: var(--ww-brand-soft);
  border: 1px dashed rgba(37, 156, 144, 0.35);
  font-size: 0.85rem;
  color: var(--ww-muted);
  line-height: 1.5;
}

.ww-inspo a {
  font-weight: 600;
}

/* —— Effects —— */
.ww-effects {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (max-width: 700px) {
  .ww-effects { grid-template-columns: 1fr; }
}

.ww-fx {
  border: 1px solid var(--ww-line);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  cursor: pointer;
  text-align: left;
  padding: 0;
  font: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.ww-fx.is-on {
  border-color: var(--ww-brand);
  box-shadow: 0 0 0 3px var(--ww-brand-soft);
}

.ww-fx.is-locked {
  opacity: 0.45;
  cursor: not-allowed;
}

.ww-fx-demo {
  height: 78px;
  position: relative;
  overflow: hidden;
  background: #0f1715;
}

.ww-fx-meta {
  padding: 0.7rem 0.85rem 0.85rem;
}

.ww-fx-meta strong {
  display: block;
  font-size: 0.88rem;
  margin-bottom: 0.15rem;
}

.ww-fx-meta span {
  font-size: 0.76rem;
  color: var(--ww-muted);
  line-height: 1.35;
}

.ww-fx-count {
  font-size: 0.8rem;
  color: var(--ww-brand);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

/* effect demos */
.fx-reveal .bar {
  position: absolute;
  left: 16px;
  right: 16px;
  height: 12px;
  border-radius: 6px;
  background: #31beb0;
  top: 50%;
  animation: fx-reveal 2.2s ease infinite;
}
@keyframes fx-reveal {
  0%, 15% { opacity: 0; transform: translateY(18px); }
  40%, 70% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: translateY(-8px); }
}

.fx-shimmer .t {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 700;
  font-size: 1.2rem;
  background: linear-gradient(90deg, #c9a227, #fff4c2, #c9a227);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: fx-shim 2.4s linear infinite;
}
@keyframes fx-shim {
  to { background-position: 200% center; }
}

.fx-spotlight {
  background: #1a1f2a;
}
.fx-spotlight::after {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 10px;
  background:
    radial-gradient(120px 80px at var(--mx, 40%) var(--my, 40%), rgba(255, 255, 255, 0.22), transparent 55%),
    rgba(255, 255, 255, 0.04);
  animation: fx-spot 3s ease-in-out infinite alternate;
}
@keyframes fx-spot {
  from { --mx: 25%; --my: 30%; }
  to { --mx: 75%; --my: 70%; }
}

.fx-parallax .layer {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 40%, rgba(49, 190, 176, 0.45), transparent 40%),
    radial-gradient(circle at 70% 60%, rgba(219, 228, 112, 0.3), transparent 35%);
  animation: fx-para 4s ease-in-out infinite alternate;
}
@keyframes fx-para {
  from { transform: translate(-6px, -4px) scale(1.05); }
  to { transform: translate(8px, 6px) scale(1.12); }
}

.fx-cover .c {
  position: absolute;
  top: 14px;
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: #31beb0;
  transition: transform 0.4s;
}
.fx-cover .c:nth-child(1) { left: 28%; transform: scale(0.75) translateX(-20px) rotateY(25deg); opacity: 0.5; }
.fx-cover .c:nth-child(2) { left: 42%; z-index: 2; box-shadow: 0 10px 20px rgba(0,0,0,.35); }
.fx-cover .c:nth-child(3) { left: 56%; transform: scale(0.75) translateX(20px) rotateY(-25deg); opacity: 0.5; background: #dbe470; }
.fx-cover:hover .c:nth-child(1) { transform: scale(0.8) translateX(-28px); }
.fx-cover:hover .c:nth-child(3) { transform: scale(0.8) translateX(28px); }

.fx-glass .g {
  position: absolute;
  left: 18px;
  right: 18px;
  top: 16px;
  bottom: 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.fx-thread .line {
  position: absolute;
  left: 50%;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: rgba(255, 255, 255, 0.15);
}
.fx-thread .fill {
  position: absolute;
  left: 50%;
  top: 10px;
  width: 2px;
  height: 40%;
  background: linear-gradient(#31beb0, #dbe470);
  animation: fx-thread 2.8s ease-in-out infinite;
}
@keyframes fx-thread {
  0%, 100% { height: 25%; }
  50% { height: 75%; }
}

.fx-blobs .b {
  position: absolute;
  border-radius: 50%;
  filter: blur(14px);
  opacity: 0.7;
  animation: fx-blob 5s ease-in-out infinite alternate;
}
.fx-blobs .b1 { width: 70px; height: 70px; background: #31beb0; left: 20%; top: 20%; }
.fx-blobs .b2 { width: 60px; height: 60px; background: #dbe470; right: 18%; bottom: 10%; animation-delay: -1.5s; }
@keyframes fx-blob {
  from { transform: translate(0, 0); }
  to { transform: translate(12px, -10px); }
}

/* Jonas placeholder */
.ww-jonas {
  border-radius: 16px;
  padding: 1.2rem 1.25rem;
  background:
    repeating-linear-gradient(-45deg, rgba(13,13,13,.03), rgba(13,13,13,.03) 8px, transparent 8px, transparent 16px),
    #f7f8f6;
  border: 1px dashed rgba(13, 13, 13, 0.2);
}

.ww-jonas h4 {
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ww-jonas .badge {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: var(--ww-ink);
  color: var(--ww-lime);
}

.ww-jonas p {
  margin: 0;
  font-family: var(--ww-serif);
  color: var(--ww-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* Export */
.ww-prompt {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.74rem;
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-word;
  background: var(--ww-deep);
  color: #d7ddd9;
  border-radius: 14px;
  padding: 1rem 1.05rem;
  min-height: 280px;
  max-height: 420px;
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin: 0 0 1rem;
}

.ww-export-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.ww-sec-mini {
  margin: 1.25rem 0 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ww-brand);
}

.ww-sec-mini:first-child {
  margin-top: 0;
}

.ww-owner-tag {
  display: none !important;
}

.ww-check-line {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin: 0.75rem 0;
  font-size: 0.92rem;
  color: var(--ww-ink-soft);
  cursor: pointer;
}

.ww-check-line input {
  margin-top: 0.2rem;
}

.ww-toast.is-on {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Desk immersion */
body.ww-mode .hero {
  display: none;
}

body.ww-mode .main-inner {
  max-width: none;
  padding-top: 1rem;
}

body.ww-mode .view.is-active {
  animation: none;
}

/* Standalone page */
.ww-standalone {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(219, 228, 112, 0.2), transparent 55%),
    radial-gradient(ellipse 50% 35% at 0% 0%, rgba(49, 190, 176, 0.25), transparent 50%),
    var(--ww-paper);
}

.ww-standalone-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--ww-max);
  margin: 0 auto;
  padding: 1rem clamp(1rem, 3vw, 1.5rem);
}

.ww-standalone-nav .logo {
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ww-ink);
  text-decoration: none;
}

.ww-standalone-nav .logo span {
  color: var(--ww-brand-mid);
}
