@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;600;700;800&display=swap');

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

:root {
  color-scheme: dark;
  --bg: #121212;
  --bg-slate: #0f172a;
  --surface: #1a1625;
  --surface2: #221c32;
  --text: #faf5ff;
  --muted: #c4b5fd;
  --accent: #8b5cf6;
  --accent-hot: #ec4899;
  --accent2: #a78bfa;
  --ok: #34d399;
  --warn: #fbbf24;
  --radius: 14px;
  --shadow: 0 20px 55px rgba(0, 0, 0, 0.45);
  --gradient-cta: linear-gradient(135deg, #8b5cf6 0%, #a855f7 45%, #ec4899 100%);
  --gradient-cta-hover: linear-gradient(135deg, #a78bfa 0%, #c084fc 40%, #f472b6 100%);
  font-family: Outfit, system-ui, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(ellipse 900px 480px at 8% -8%, rgba(139, 92, 246, 0.22), transparent 55%),
    radial-gradient(ellipse 800px 420px at 92% 12%, rgba(236, 72, 153, 0.14), transparent 50%),
    radial-gradient(ellipse 700px 500px at 50% 100%, rgba(139, 92, 246, 0.08), transparent 45%),
    linear-gradient(180deg, var(--bg-slate) 0%, var(--bg) 38%, var(--bg) 100%);
  color: var(--text);
  line-height: 1.5;
}

a {
  color: #e9d5ff;
}

.skip-link {
  position: absolute;
  left: -999px;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  background: var(--surface);
  border-radius: 8px;
  z-index: 100;
}

:focus-visible {
  outline: 2px solid var(--accent2);
  outline-offset: 2px;
}

.wrap-tool {
  max-width: 1120px;
}

.page-title {
  font-size: clamp(1.45rem, 4.5vw + 0.5rem, 2rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin: 0 0 10px;
}

.hub-hero .page-title {
  font-size: clamp(1.65rem, 4.2vw + 0.6rem, 2.45rem);
  line-height: 1.08;
}

.hero-head {
  text-align: center;
  margin-bottom: clamp(16px, 3vw, 22px);
}

.hero-head .lead {
  margin-bottom: 0;
}

@media (min-width: 880px) {
  .hero-head {
    text-align: left;
  }
}

.hero-split {
  display: grid;
  gap: clamp(16px, 3vw, 24px);
  align-items: start;
}

@media (min-width: 880px) {
  .hero-split {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 300px);
  }
}

.hero-actions {
  min-width: 0;
}

.hero-visual {
  position: relative;
  min-height: 180px;
  border-radius: 20px;
  background: radial-gradient(circle at 30% 30%, rgba(236, 72, 153, 0.35), transparent 52%),
    radial-gradient(circle at 72% 58%, rgba(139, 92, 246, 0.45), transparent 48%),
    radial-gradient(circle at 50% 100%, rgba(168, 85, 247, 0.2), transparent 55%);
  filter: saturate(1.15);
  box-shadow: 0 0 60px rgba(139, 92, 246, 0.25), inset 0 0 80px rgba(236, 72, 153, 0.12);
}

.hero-visual::after {
  content: '';
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(250, 245, 255, 0.12), transparent 70%);
  animation: aura-pulse 5s ease-in-out infinite;
}

@keyframes aura-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.9;
  }
  50% {
    transform: scale(1.08);
    opacity: 0.55;
  }
}

.hero-url-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: stretch;
  margin: 0;
  justify-content: center;
}

@media (min-width: 880px) {
  .hero-url-row {
    justify-content: flex-start;
  }
}

.hero-url-row input[type='url'] {
  flex: 1 1 220px;
  min-width: 0;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(196, 181, 253, 0.28);
  background: rgba(34, 28, 50, 0.85);
  color: var(--text);
  font-size: 0.95rem;
  font-family: inherit;
}

.hero-url-row input[type='url']:focus-visible {
  outline: none;
  border-color: #d946ef;
  box-shadow: 0 0 0 2px rgba(217, 70, 239, 0.55), 0 0 18px rgba(236, 72, 153, 0.35);
}

.hub-hero[data-drag-active='true'] {
  background: linear-gradient(145deg, rgba(236, 72, 153, 0.22), rgba(139, 92, 246, 0.12));
  box-shadow: inset 0 0 80px rgba(236, 72, 153, 0.15);
}

.hub-hero[data-drag-active='true'] .hero-dropzone {
  border-color: var(--accent-hot);
  background: rgba(236, 72, 153, 0.12);
  box-shadow: 0 0 32px rgba(139, 92, 246, 0.35);
}

.hero-drag-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: inherit;
  background: rgba(18, 18, 18, 0.72);
  pointer-events: none;
}

.hero-drag-overlay[hidden] {
  display: none !important;
}

.hub-hero {
  position: relative;
}

.hero-drag-overlay-text {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 700;
  color: #faf5ff;
  text-align: center;
  padding: 16px 20px;
  max-width: 22rem;
  line-height: 1.35;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.hub-aura-title {
  letter-spacing: -0.02em;
}

.hero-dropzone-main {
  min-height: 148px;
  margin: 0 0 14px;
}

.hero-ad-col {
  display: none;
}

@media (min-width: 880px) {
  .hero-ad-col {
    display: flex;
    align-items: flex-start;
    justify-content: center;
  }
}

.hub-hero-ad {
  width: 100%;
  max-width: 300px;
  min-height: 250px;
  opacity: 0.72;
  background: rgba(26, 22, 37, 0.65);
}

.hub-hero-ad .sponsored-label {
  opacity: 0.65;
}

.hub-leaderboard-wrap {
  margin: 20px 0 8px;
  text-align: center;
}

.hero-dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  border-radius: 16px;
  border: 2px dashed rgba(196, 181, 253, 0.4);
  background: rgba(34, 28, 50, 0.55);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.hero-dropzone[data-active='true'],
.hero-dropzone:hover {
  border-color: var(--accent-hot);
  box-shadow: 0 0 32px rgba(139, 92, 246, 0.35);
}

.hero-drop-title {
  font-weight: 700;
  color: var(--text);
}

.hero-drop-sub {
  font-size: 0.88rem;
  color: var(--muted);
}

.hero-url-row input[type='url']::placeholder {
  color: rgba(196, 181, 253, 0.55);
}

.hero-url-hint {
  margin-top: 10px;
  max-width: 40rem;
}

.hub-hero .hero-url-hint {
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 880px) {
  .hub-hero .hero-url-hint {
    margin-left: 0;
    margin-right: 0;
  }
}

.tech-marquee {
  margin-top: 28px;
  padding: 12px 0 4px;
  overflow: hidden;
  border-top: 1px solid rgba(196, 181, 253, 0.12);
  border-bottom: 1px solid rgba(196, 181, 253, 0.12);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.tech-marquee-label {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(233, 213, 255, 0.55);
  margin-bottom: 10px;
}

.tech-marquee-viewport {
  overflow: hidden;
}

.tech-marquee-inner {
  display: flex;
  width: max-content;
  animation: tech-scroll 34s linear infinite;
}

.tech-marquee-inner:hover {
  animation-play-state: paused;
}

.tech-marquee-seg {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-right: 2rem;
  flex-shrink: 0;
}

.tech-marquee-seg span {
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(250, 245, 255, 0.78);
  white-space: nowrap;
}

.tech-marquee-seg span::after {
  content: '·';
  margin-left: 2rem;
  color: rgba(236, 72, 153, 0.5);
}

.tech-marquee-seg span:last-child::after {
  content: none;
  margin: 0;
}

@keyframes tech-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.aura-card {
  border-radius: calc(var(--radius) + 2px);
  padding: 1px;
  background: linear-gradient(125deg, #8b5cf6, #ec4899, #6366f1, #8b5cf6, #ec4899);
  background-size: 320% 320%;
  animation: aura-border-flow 10s ease infinite;
}

@keyframes aura-border-flow {
  0%,
  100% {
    background-position: 0% 40%;
  }
  50% {
    background-position: 100% 60%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .aura-card {
    animation: none;
    background: linear-gradient(125deg, #8b5cf6, #ec4899);
  }

  .hero-visual::after {
    animation: none;
  }

  .tech-marquee-inner {
    animation: none;
    transform: translateX(0);
  }
}

.aura-card > .card {
  border: 0;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  border-radius: calc(var(--radius) + 1px);
}

.hub-section-wrap {
  margin-top: 14px;
}

.hub-main > .aura-card:first-child {
  margin-top: 0;
}

.lead {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.steps {
  margin: 0 0 20px;
  padding-left: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.steps li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 8px;
}

.step-num {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: rgba(167, 139, 250, 0.2);
  color: var(--accent2);
  font-weight: 800;
  font-size: 0.8rem;
  display: grid;
  place-items: center;
}

.card-hero {
  padding: clamp(18px, 3.5vw, 22px);
}

.card-secondary {
  margin-top: 14px;
}

.section-title {
  margin: 0 0 12px;
  font-size: 1.05rem;
}

.pdf-options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-items: center;
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--surface2);
  border: 1px solid rgba(166, 159, 197, 0.12);
}

.pdf-options-label {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text);
  margin-right: 8px;
}

.inline-radio {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--muted);
  cursor: pointer;
}

.tool-panel {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--surface2);
  border: 1px solid rgba(166, 159, 197, 0.12);
  font-size: 0.88rem;
  color: var(--muted);
  display: grid;
  gap: 10px;
}

.tool-panel strong {
  color: var(--text);
  font-size: 0.9rem;
}

.tool-panel label {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.tool-panel select,
.tool-panel input[type='range'] {
  min-height: 36px;
  border-radius: 8px;
  border: 1px solid rgba(166, 159, 197, 0.25);
  background: var(--surface);
  color: var(--text);
  padding: 6px 10px;
  max-width: 100%;
}

.tool-panel input[type='range'] {
  flex: 1;
  min-width: 120px;
}

.drop-or {
  display: block;
  margin: 8px 0;
  font-size: 0.9rem;
}

.drop-hint {
  margin: 14px 0 0;
  font-size: 0.88rem;
  color: var(--muted);
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.45;
}

.queue-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 16px;
}

.queue-stats {
  color: var(--muted);
  font-size: 0.88rem;
}

.note-list {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.note-list li {
  margin-bottom: 8px;
}

.tool-column {
  min-width: 0;
}

.tool-column > .aura-card {
  margin-bottom: 14px;
}

.ad-card {
  padding: 12px;
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(120px, calc(env(safe-area-inset-bottom) + 96px))
    max(16px, env(safe-area-inset-left));
}

.topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
  box-shadow: 0 0 24px rgba(236, 72, 153, 0.35);
}

a.brand {
  text-decoration: none;
  color: inherit;
}

.brand-logo {
  height: 36px;
  width: auto;
  display: block;
}

.nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.nav a {
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid rgba(166, 159, 197, 0.15);
}

.layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: start;
}

@media (min-width: 1024px) {
  .layout {
    grid-template-columns: 1fr 180px;
  }
}

.card {
  background: var(--surface);
  border: 1px solid rgba(139, 92, 246, 0.18);
  border-radius: var(--radius);
  padding: clamp(14px, 3vw, 18px);
  box-shadow: var(--shadow);
}

.card h1 {
  font-size: clamp(1.35rem, 4vw + 0.6rem, 1.85rem);
  line-height: 1.25;
  margin: 0;
}

.dropzone {
  border: 2px dashed rgba(166, 159, 197, 0.35);
  border-radius: 16px;
  padding: 22px;
  text-align: center;
  color: var(--muted);
  background: rgba(31, 29, 51, 0.55);
}

.dropzone[data-active='true'] {
  border-color: var(--accent);
  color: var(--text);
}

.tabs {
  display: flex;
  gap: 8px;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  padding-bottom: 6px;
  margin: 12px -4px 16px;
  padding-left: 4px;
  padding-right: 4px;
}

.tabs .tab {
  scroll-snap-align: start;
  flex: 0 0 auto;
}

@media (min-width: 560px) {
  .tabs {
    flex-wrap: wrap;
    overflow-x: visible;
  }
}

.tab {
  border: 1px solid rgba(166, 159, 197, 0.2);
  background: var(--surface2);
  color: var(--text);
  padding: 10px 12px;
  border-radius: 999px;
  cursor: pointer;
  min-height: 44px;
}

.tab.is-active,
.tab[aria-selected='true'] {
  border-color: rgba(167, 139, 250, 0.55);
  box-shadow: 0 0 0 2px rgba(167, 139, 250, 0.18) inset;
}

.queue {
  display: grid;
  gap: 10px;
}

.job {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(166, 159, 197, 0.15);
  background: var(--surface2);
}

.job small {
  color: var(--muted);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.82rem;
  border: 1px solid rgba(166, 159, 197, 0.18);
}

.status-pill[data-state='done'] {
  border-color: rgba(52, 211, 153, 0.35);
  color: var(--ok);
}

.status-pill[data-state='error'] {
  border-color: rgba(251, 113, 133, 0.35);
  color: #fb7185;
}

.btn {
  border: 0;
  border-radius: 12px;
  padding: 12px 14px;
  cursor: pointer;
  min-height: 44px;
  font-weight: 700;
}

.btn-primary {
  background: var(--gradient-cta);
  background-size: 140% 140%;
  color: #fff;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.28);
  transition: filter 0.2s ease, transform 0.12s ease;
}

.btn-primary:hover {
  filter: brightness(1.2);
}

.btn-primary:active {
  transform: scale(0.98);
}

.btn-ghost {
  background: transparent;
  border: 1px solid rgba(166, 159, 197, 0.25);
  color: var(--text);
}

.ad-col {
  position: sticky;
  top: 16px;
}

.ad-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.ad-slot-row {
  margin: 18px 0;
  text-align: center;
}

.tool-ad-leaderboard {
  margin-top: 14px;
}

.monetag-slot {
  width: 100%;
  max-width: 300px;
  min-height: 250px;
  border-radius: 12px;
  background: rgba(34, 28, 50, 0.65);
  border: 1px dashed rgba(196, 181, 253, 0.22);
}

.ad-anchor-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  margin: 0;
  padding: 8px 12px 10px;
  border-radius: 0;
  background: rgba(18, 18, 18, 0.94);
  border-top: 1px solid rgba(196, 181, 253, 0.2);
}

body:has(.ad-anchor-bar) .wrap,
body:has(.ad-anchor-bar) .wrap-tool {
  padding-bottom: 72px;
}

@media (min-width: 1024px) {
  .ad-anchor-bar {
    display: none;
  }

  body:has(.ad-anchor-bar) .wrap,
  body:has(.ad-anchor-bar) .wrap-tool {
    padding-bottom: 0;
  }
}

.ins-sky {
  display: inline-block;
  width: 160px;
  min-height: 600px;
}

@media (max-width: 1023px) {
  .ad-col {
    position: static;
    width: 100%;
  }
  .ins-sky {
    width: 100%;
    min-height: 280px;
  }
}

details.faq {
  border: 1px solid rgba(166, 159, 197, 0.15);
  border-radius: 12px;
  padding: 12px 14px;
  background: var(--surface2);
}

details.faq + details.faq {
  margin-top: 10px;
}

#cookie-banner.cookie-sheet {
  position: fixed;
  left: max(12px, env(safe-area-inset-left));
  right: max(12px, env(safe-area-inset-right));
  bottom: max(12px, env(safe-area-inset-bottom));
  max-width: 640px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid rgba(166, 159, 197, 0.25);
  border-radius: 14px;
  padding: 0;
  box-shadow: var(--shadow);
  z-index: 50;
}

.cookie-sheet-inner {
  padding: 16px 18px;
}

.cookie-lead {
  margin: 8px 0 0;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.55;
}

.cookie-actions-primary {
  flex-direction: column;
  align-items: stretch;
}

.btn-wide {
  width: 100%;
}

.btn-text {
  background: transparent;
  color: var(--accent2);
  border: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  font-size: 0.9rem;
  padding: 8px 0;
  min-height: auto;
}

.btn-block {
  width: 100%;
  margin-top: 12px;
}

.cookie-customize {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(166, 159, 197, 0.15);
}

.fine-print {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 12px 0 0;
}

.inline-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--muted);
  cursor: pointer;
  margin: 10px 0 0;
}

.inline-check input {
  margin-top: 3px;
  flex-shrink: 0;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.site-footer {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid rgba(166, 159, 197, 0.15);
  color: var(--muted);
}

@media (max-width: 520px) {
  .nav {
    width: 100%;
    justify-content: flex-start;
  }

  .job {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .dropzone {
    padding: 18px 14px;
    min-height: 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
}

.hub-wrap {
  max-width: 960px;
}

.hub-main {
  padding-bottom: 32px;
}

.hub-hero .hub-cta-row {
  margin: 16px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

@media (min-width: 880px) {
  .hub-hero .hub-cta-row {
    justify-content: flex-start;
  }
}

.hub-section {
  margin-top: 0;
}

.hub-cat-title {
  margin: 0 0 14px;
  font-size: 1.05rem;
  color: var(--accent2);
}

.hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}

.hub-grid-2 {
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.hub-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(166, 159, 197, 0.18);
  background: rgba(31, 29, 51, 0.45);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  min-height: 88px;
}

.hub-card:hover {
  border-color: rgba(236, 72, 153, 0.45);
  box-shadow: 0 0 0 1px rgba(139, 92, 246, 0.35), 0 0 24px rgba(139, 92, 246, 0.15);
}

.hub-card-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
}

.hub-card-desc {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.45;
}

.hub-footer {
  margin-top: 28px;
}

.deploy-meta {
  color: var(--muted);
  font-size: 0.82rem;
}

.lead-short {
  margin-bottom: 14px;
  max-width: 52ch;
}

.url-intent-banner {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(236, 72, 153, 0.22);
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.field-block {
  margin-bottom: 16px;
}

.field-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.recipe-select {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  font-size: 1rem;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(166, 159, 197, 0.28);
  background: var(--surface2);
  color: var(--text);
  min-height: 48px;
  cursor: pointer;
}

.job-options {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(166, 159, 197, 0.15);
  background: rgba(31, 29, 51, 0.35);
}

.job-options > summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--accent2);
  list-style: none;
}

.job-options > summary::-webkit-details-marker {
  display: none;
}

.job-options[open] > summary {
  margin-bottom: 12px;
}

.picker-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

label.dropzone {
  cursor: pointer;
  display: block;
}

.help-fold {
  margin-top: 14px;
  padding: clamp(14px, 3vw, 18px);
}

.help-fold-summary {
  cursor: pointer;
  list-style: none;
}

.help-fold-summary::-webkit-details-marker {
  display: none;
}

.help-fold[open] .help-fold-summary {
  margin-bottom: 10px;
}

.back-row {
  margin: 0 0 8px;
}

.back-link {
  font-size: 0.9rem;
  color: var(--accent2);
  text-decoration: none;
}

.back-link:hover {
  text-decoration: underline;
}

.stash-result {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(166, 159, 197, 0.12);
  display: grid;
  gap: 8px;
}

.stash-url-field {
  width: 100%;
  font-size: 0.78rem;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid rgba(166, 159, 197, 0.25);
  background: var(--bg);
  color: var(--text);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.stash-expiry {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.stash-security-note {
  margin: 0;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.45;
}

.job .btn-small {
  padding: 6px 12px;
  font-size: 0.82rem;
  min-height: 36px;
  justify-self: start;
}

.sponsored-module {
  border: 1px solid transparent;
  border-radius: 14px;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(135deg, #8b5cf6, #ec4899) border-box;
  padding: 12px;
}

.sponsored-label {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 8px;
}

.hub-ad-wrap {
  margin-top: 20px;
}

.processing-overlay[hidden] {
  display: none !important;
}

.processing-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: rgba(18, 18, 18, 0.88);
  backdrop-filter: blur(8px);
  padding: 24px;
}

.processing-overlay:not([hidden]) {
  pointer-events: auto;
}

.processing-ring-wrap {
  width: 120px;
  height: 120px;
}

.processing-ring {
  transform: rotate(-90deg);
}

.processing-ring-track {
  stroke: rgba(196, 181, 253, 0.2);
}

.processing-ring-fill {
  stroke: url(#aura-ring-gradient);
  stroke: #ec4899;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.35s ease;
}

.processing-console {
  width: min(420px, 92vw);
  max-height: 120px;
  overflow-y: auto;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(34, 28, 50, 0.9);
  border: 1px solid rgba(196, 181, 253, 0.2);
  font-family: ui-monospace, 'Cascadia Code', monospace;
  font-size: 0.78rem;
  color: #e9d5ff;
}

.processing-console-line {
  padding: 2px 0;
  opacity: 0.95;
}

.processing-console-line:last-child {
  color: #f9a8d4;
}

.aura-receipt {
  margin-top: 14px;
  padding: 16px;
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(34, 28, 50, 0.95), rgba(18, 18, 18, 0.98));
  border: 1px solid rgba(196, 181, 253, 0.3);
  box-shadow: 0 8px 32px rgba(139, 92, 246, 0.2);
}

.aura-receipt-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.aura-receipt-badge {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.aura-receipt-points {
  font-size: 1.25rem;
  color: var(--accent-hot);
}

.aura-receipt-job {
  margin: 0 0 10px;
  color: var(--text);
}

.aura-receipt-metrics {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  display: grid;
  gap: 6px;
}

.aura-receipt-metrics li {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--muted);
}

.aura-receipt-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.processing-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0;
}

.processing-sub {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.aura-success-panel {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(236, 72, 153, 0.15));
  border: 1px solid rgba(196, 181, 253, 0.25);
}

.aura-success-panel strong {
  color: var(--accent-hot);
}

.editorial {
  margin-top: 16px;
}

.editorial-steps {
  margin: 0 0 16px 1.1rem;
  color: var(--muted);
}

.editorial .faq {
  margin-top: 8px;
  border: 1px solid rgba(196, 181, 253, 0.15);
  border-radius: 10px;
  padding: 8px 12px;
}
