@charset "UTF-8";
/* ============================================================
   AudioFX effect pages (/{lang}/effect/{code}/ + result)
   Restyled to be congruent with the speechgen.io design system
   (probed live from homepage + /voice-cloning/). Inter body/
   headings + JetBrains Mono only for tiny uppercase labels.

   Design conventions ported 1:1 from the site:
   - radius scale: cards 12px · buttons 8px · chips/tabs 6px ·
     circular badges (step number, close ×) stay round
   - primary blue = #2e58ef (--pr-blue, used by in-widget buttons
     like CONTINUE / Clone Your Voice), active-chip tint
     rgba(46,88,239,.08)
   - text slate-900 #0f172a · muted #64748b/#475569 · faint #94a3b8
   - flat white cards, 0.8px slate-200 border, mostly no shadow
   - primary buttons: Inter 15/600 (NOT the mono hero style)

   Loads AFTER style.css → inherits site body base (Inter, slate-50).
   Component layer scoped under .wrap (exactly one per page; 0
   collisions with topnav/footer — verified). Admin links
   (.topbar/.topbtn) stay in the partials untouched — CSS floats
   them to a fixed bottom-right dock, so no PHP edit is needed.

   Linked in layout data/sfx/v2_Effects_admin.php.
   Compile: npx sass sass/meta/_tts_sg_sfx.scss css/tts_sg_sfx.css --no-source-map
   ============================================================ */
:root {
  --fx-ink: #0f172a; /* slate-900 — primary text */
  --fx-ink-2: #1e293b; /* slate-800 */
  --fx-slate-600: #475569; /* slate-600 — button/label text */
  --fx-muted: #64748b; /* slate-500 */
  --fx-faint: #94a3b8; /* slate-400 */
  --fx-line: #e2e8f0; /* slate-200 — card border */
  --fx-line-2: #eef2f6; /* hairline */
  --fx-card: #ffffff;
  --fx-soft: #f1f5f9; /* slate-100 */
  --fx-soft-2: #f8fafc; /* slate-50 */
  --fx-blue: #2e58ef; /* primary (site --pr-blue, in-widget buttons) */
  --fx-blue-hover: #1f47d1;
  --fx-blue-soft: #eef2ff; /* light blue hover bg */
  --fx-blue-tint: rgba(46, 88, 239, .08); /* active chip fill (site) */
  --fx-blue-border: #cdd8f6;
  --fx-danger: #b42318;
  --fx-danger-soft: #fff1f1;
  --fx-danger-border: #ffc8c8;
  --fx-radius: 12px; /* cards / panels */
  --fx-radius-btn: 8px; /* buttons */
  --fx-radius-chip: 6px; /* tabs / chips / tags */
  --fx-mono: "JetBrains Mono", monospace;
  --fx-shadow-cta: 0 2px 8px rgba(46, 88, 239, .25);
}

@keyframes fxRise {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fxHistoryMarquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-1 * var(--marquee-shift, 0px)));
  }
}
.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 6px 22px 22px;
}
.wrap * {
  box-sizing: border-box;
}
.wrap {
  /* ---------- layout ---------- */
}
.wrap .layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  grid-template-areas: "main sidebar";
  gap: 14px;
  align-items: start;
}
.wrap .sidebar {
  grid-area: sidebar;
  position: sticky;
  top: 14px;
}
.wrap .maincol {
  grid-area: main;
  min-width: 0;
}
.wrap {
  /* ---------- breadcrumb (restores the trail hub -> effect -> result) ---------- */
}
.wrap .fx-breadcrumb {
  font-family: var(--fx-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--fx-faint);
  margin: 0 0 12px;
}
.wrap .fx-breadcrumb ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  align-items: center;
}
.wrap .fx-breadcrumb li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.wrap .fx-breadcrumb li + li::before {
  content: "/";
  color: #cbd5e1;
}
.wrap .fx-breadcrumb a {
  color: var(--fx-muted);
  text-decoration: none;
  transition: color 0.15s;
}
.wrap .fx-breadcrumb a:hover {
  color: var(--fx-blue);
}
.wrap .fx-breadcrumb li[aria-current=page] span {
  color: var(--fx-slate-600);
}
.wrap {
  /* ---------- recipe / "how it's made" spec block (reusable per effect) ---------- */
}
.wrap .fx-recipe {
  margin: 6px 0 4px;
  border: 1px solid var(--fx-line);
  border-radius: var(--fx-radius-btn);
  overflow: hidden;
  background: var(--fx-soft-2);
}
.wrap .fx-recipe__row {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 14px;
  padding: 12px 15px;
  font-size: 14px;
}
.wrap .fx-recipe__row + .fx-recipe__row {
  border-top: 1px solid var(--fx-line-2);
}
.wrap .fx-recipe__k {
  font: 600 11.5px/1.6 var(--fx-mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--fx-slate-600);
}
.wrap .fx-recipe__v {
  color: var(--fx-ink-2);
  line-height: 1.55;
}
.wrap .fx-recipe__v strong {
  color: var(--fx-ink);
}
.wrap .fx-recipe__v em {
  color: var(--fx-muted);
  font-style: normal;
}
@media (max-width: 560px) {
  .wrap .fx-recipe__row {
    grid-template-columns: 1fr;
    gap: 3px;
  }
}
.wrap {
  /* ---------- card + typography ---------- */
}
.wrap .card {
  background: var(--fx-card);
  border: 1px solid var(--fx-line);
  border-radius: var(--fx-radius);
  padding: 22px;
  margin-bottom: 14px;
  animation: fxRise 0.34s ease both;
}
.wrap h1, .wrap h2, .wrap h3 {
  margin: 0 0 10px;
  color: var(--fx-ink);
}
.wrap h1 {
  font-size: 30px;
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.wrap h2 {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.wrap h3 {
  font-size: 15px;
  font-weight: 700;
}
.wrap .muted {
  color: var(--fx-muted);
}
.wrap .small {
  font-size: 12px;
}
.wrap .is-hidden {
  display: none !important;
}
.wrap .alert {
  background: #fff7ed;
  color: #7c4a02;
  border: 1px solid #f6d9ab;
  border-radius: var(--fx-radius-btn);
  padding: 12px;
  margin-bottom: 14px;
}
.wrap {
  /* ---------- hero + seo text ---------- */
}
.wrap .hero-sub {
  font-size: 15px;
  max-width: 740px;
  color: var(--fx-muted);
}
.wrap {
  /* inline "Sample" preview button in the hero-sub (recessive, grayscale — accent stays with result/CTA) */
}
.wrap .fx-sample {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-right: 4px;
  vertical-align: middle;
  position: relative;
  top: -1px;
  padding: 4px 10px 4px 8px;
  font-family: inherit;
  font-weight: 600;
  font-size: 11.5px;
  line-height: 1;
  color: var(--fx-muted);
  background: none;
  border: 1px solid var(--fx-line);
  border-radius: var(--fx-radius-chip);
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.wrap .fx-sample:hover {
  color: var(--fx-ink-2);
  border-color: var(--fx-muted);
}
.wrap .fx-sample.is-playing {
  color: var(--fx-ink-2);
  background: var(--fx-soft);
}
.wrap .fx-sample.is-loading {
  opacity: 0.65;
}
.wrap .fx-sample {
  /* fixed-width icon box so the ▶/⏸ glyph swap never shifts the line */
}
.wrap .fx-sample .fx-sample__ic {
  display: inline-block;
  width: 11px;
  flex: none;
  font-size: 9px;
  line-height: 1;
  text-align: center;
  font-variant-emoji: text; /* keep monochrome, consistent metrics */
}
.wrap .fx-sample .fx-sample__ic::before {
  content: "▶";
}
.wrap .fx-sample.is-playing .fx-sample__ic::before {
  content: "⏸";
}
.wrap .seo-desc,
.wrap .seo-content {
  color: var(--fx-ink-2);
  line-height: 1.7;
}
.wrap .seo-desc {
  max-width: 860px;
  margin-top: 14px;
}
.wrap .seo-content > :first-child {
  margin-top: 0;
}
.wrap .seo-content > :last-child {
  margin-bottom: 0;
}
.wrap .seo-desc a,
.wrap .seo-content a {
  color: var(--fx-blue);
}
.wrap {
  /* rich HTML content kit — authored inside the CMS `desc` / `prostinja`
     localization fields (Google-facing SEO + on-page UX). Congruent with
     the site: slate/blue, 6-8px radius, flat. */
}
.wrap .seo-desc h2, .wrap .seo-content h2 {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 24px 0 10px;
  color: var(--fx-ink);
}
.wrap .seo-desc h2:first-child, .wrap .seo-content h2:first-child {
  margin-top: 0;
}
.wrap .seo-desc h3, .wrap .seo-content h3 {
  font-size: 15px;
  font-weight: 700;
  margin: 18px 0 8px;
  color: var(--fx-ink);
}
.wrap {
  /* ordered lists keep numbers; unordered lists get a clear blue marker */
}
.wrap .seo-content ol:not([class]) {
  margin: 0 0 14px;
  padding-left: 22px;
}
.wrap .seo-content ol:not([class]) li {
  margin-bottom: 7px;
}
.wrap .seo-content ul:not([class]) {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
}
.wrap .seo-content ul:not([class]) li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 9px;
  line-height: 1.6;
}
.wrap .seo-content ul:not([class]) li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--fx-blue);
}
.wrap .fx-tags {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.wrap .fx-tags li {
  background: var(--fx-soft);
  border: 1px solid var(--fx-line);
  border-radius: var(--fx-radius-chip);
  padding: 6px 11px;
  font-size: 13px;
  font-weight: 500;
  color: var(--fx-slate-600);
}
.wrap .fx-steps {
  list-style: none;
  counter-reset: fx;
  margin: 0 0 14px;
  padding: 0;
  display: grid;
  gap: 10px;
}
.wrap .fx-steps li {
  position: relative;
  padding: 3px 0 3px 42px;
}
.wrap .fx-steps li::before {
  counter-increment: fx;
  content: counter(fx);
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--fx-blue-tint);
  color: var(--fx-blue);
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wrap .fx-faq {
  margin: 0;
}
.wrap .fx-faq details {
  border: 1px solid var(--fx-line);
  border-radius: var(--fx-radius-btn);
  padding: 13px 15px;
  margin-bottom: 8px;
  background: #fff;
}
.wrap .fx-faq details[open] {
  border-color: var(--fx-blue-border);
}
.wrap .fx-faq summary {
  font-weight: 600;
  cursor: pointer;
  color: var(--fx-ink);
  list-style: none;
}
.wrap .fx-faq summary::-webkit-details-marker {
  display: none;
}
.wrap .fx-faq summary::after {
  content: "+";
  float: right;
  margin-left: 12px;
  color: var(--fx-blue);
  font-weight: 700;
}
.wrap .fx-faq details[open] summary::after {
  content: "−";
}
.wrap .fx-faq p {
  margin: 10px 0 0;
  color: var(--fx-ink-2);
}
.wrap .fx-note {
  background: var(--fx-blue-soft);
  border: 1px solid var(--fx-blue-border);
  border-radius: var(--fx-radius-btn);
  padding: 12px 14px;
  margin: 0 0 14px;
  color: var(--fx-ink-2);
  font-size: 14px;
}
.wrap {
  /* ---------- effects menu tabs (site step-tabs: 6px, no underline) ---------- */
}
.wrap .tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.wrap .tab {
  text-decoration: none;
  border: 1px solid var(--fx-line);
  border-radius: var(--fx-radius-chip);
  padding: 8px 12px;
  background: #fff;
  color: var(--fx-slate-600);
  font-size: 13px;
  font-weight: 500;
  transition: 0.14s ease;
}
.wrap .tab:hover {
  border-color: var(--fx-blue-border);
  background: var(--fx-blue-soft);
  color: var(--fx-blue);
}
.wrap .tab.active {
  border-color: var(--fx-blue-border);
  background: var(--fx-blue-tint);
  color: var(--fx-blue);
  font-weight: 600;
}
.wrap {
  /* kill any inherited link underline (base a / a::after) in all states */
}
.wrap .tab,
.wrap .tab:hover,
.wrap .tab:focus,
.wrap .tab:active,
.wrap .tab.active {
  text-decoration: none;
}
.wrap .tab::after,
.wrap .tab::before {
  content: none;
}
.wrap .effects-menu details > summary {
  font-size: 15px;
}
.wrap {
  /* Effects menu: always open in the sidebar (force the <details> open via CSS —
     partial is locked). Summary stays a plain heading, no toggle affordance.
     Desktop only: the sidebar .effects-menu is display:none on mobile (mobile
     uses .mobile-effects-nav). */
}
.wrap .effects-menu details > summary {
  cursor: default;
  list-style: none;
}
.wrap .effects-menu details > summary::-webkit-details-marker {
  display: none;
}
.wrap .effects-menu details > summary::marker {
  content: "";
}
.wrap .effects-menu details::details-content {
  content-visibility: visible !important;
}
.wrap .effects-menu details > .history-scroll {
  display: block !important;
}
.wrap .effects-menu .tabs {
  margin-top: 0;
}
.wrap .effects-scroll,
.wrap .history-scroll {
  margin-top: 8px;
  max-height: 320px;
  overflow-y: auto;
  padding-right: 4px;
}
.wrap .mobile-effects-nav {
  display: none;
}
.wrap .mobile-effects-nav details {
  background: var(--fx-card);
  border: 1px solid var(--fx-line);
  border-radius: var(--fx-radius);
  padding: 10px 12px;
}
.wrap .mobile-effects-nav summary {
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  font-family: var(--fx-mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fx-muted);
}
.wrap .mobile-effects-nav .tabs {
  margin-top: 10px;
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 8px;
  padding-bottom: 2px;
  -webkit-overflow-scrolling: touch;
}
.wrap .mobile-effects-nav .tab {
  flex: 0 0 auto;
  white-space: nowrap;
  font-weight: 600;
}
.wrap {
  /* ---------- usage + history ---------- */
}
.wrap .usage {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.wrap .usage span {
  background: var(--fx-soft);
  border: 1px solid var(--fx-line);
  border-radius: var(--fx-radius-chip);
  padding: 6px 10px;
  font-size: 12px;
  color: var(--fx-muted);
}
.wrap .usage.sidebar-usage {
  margin-top: 8px;
}
.wrap details summary {
  cursor: pointer;
  font-weight: 600;
}
.wrap .history-item {
  border-top: 1px solid var(--fx-line-2);
  padding-top: 10px;
  margin-top: 10px;
}
.wrap .history-actions {
  margin-top: 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.wrap .pill {
  text-decoration: none;
  color: var(--fx-slate-600);
  border: 1px solid var(--fx-line);
  border-radius: var(--fx-radius-chip);
  padding: 6px 10px;
  background: #fff;
  font-size: 12px;
  font-weight: 500;
  transition: 0.14s ease;
}
.wrap .pill:hover {
  border-color: var(--fx-blue-border);
  background: var(--fx-blue-soft);
  color: var(--fx-blue);
}
.wrap .history-line {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  font-size: 12px;
}
.wrap .history-name {
  position: relative;
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  max-width: 145px;
  vertical-align: bottom;
}
.wrap .history-name-track {
  display: inline-block;
  white-space: nowrap;
}
.wrap .history-name.is-overflow:hover .history-name-track {
  animation: fxHistoryMarquee 6s linear infinite alternate;
}
.wrap {
  /* ---------- steps + dropzone + source box ---------- */
}
.wrap .step {
  border: 1px solid var(--fx-line);
  border-radius: var(--fx-radius);
  padding: 16px;
  margin-bottom: 10px;
  background: var(--fx-card);
}
.wrap .step-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.wrap .step-num {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: var(--fx-blue-tint);
  color: var(--fx-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}
.wrap .step-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--fx-ink);
}
.wrap .dropzone {
  border: 2px dashed #cbd5e1;
  border-radius: var(--fx-radius);
  background: var(--fx-soft-2);
  padding: 26px 14px;
  text-align: center;
  cursor: pointer;
  transition: 0.16s ease;
}
.wrap .dropzone:hover {
  border-color: var(--fx-blue-border);
  background: var(--fx-blue-soft);
}
.wrap .dropzone.dragover {
  border-color: var(--fx-blue);
  background: var(--fx-blue-soft);
}
.wrap .drop-main {
  margin-top: 7px;
  font-size: 16px;
  font-weight: 700;
  color: var(--fx-ink);
}
.wrap .drop-sub {
  margin-top: 4px;
  color: var(--fx-muted);
  font-size: 13px;
}
.wrap .picked {
  margin-top: 8px;
  color: var(--fx-blue);
  font-size: 13px;
  font-weight: 600;
  min-height: 18px;
}
.wrap .source-choice {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}
.wrap .source-choice-btn {
  border: 1px solid var(--fx-line);
  border-radius: var(--fx-radius-btn);
  padding: 9px 16px;
  background: #fff;
  color: var(--fx-ink);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: 0.16s ease;
}
.wrap .source-choice-btn:hover {
  border-color: var(--fx-blue-border);
  background: var(--fx-blue-soft);
  color: var(--fx-blue);
}
.wrap .source-choice-btn.record {
  border-color: var(--fx-blue);
  background: var(--fx-blue);
  color: #fff;
}
.wrap .source-choice-btn.record:hover {
  background: var(--fx-blue-hover);
  color: #fff;
}
.wrap .source-choice-btn.stop {
  border-color: var(--fx-danger-border);
  background: var(--fx-danger-soft);
  color: var(--fx-danger);
}
.wrap .record-status {
  margin-top: 10px;
  min-height: 18px;
  color: var(--fx-muted);
  font-size: 13px;
  font-weight: 600;
}
.wrap .record-status.is-recording {
  color: var(--fx-danger);
}
.wrap .audio-input {
  position: absolute;
  left: -9999px;
  top: -9999px;
}
.wrap .source-step {
  border: 0;
  padding: 0;
  background: transparent;
  margin-bottom: 14px;
}
.wrap .source-box {
  border: 1px solid var(--fx-line);
  border-radius: var(--fx-radius);
  padding: 16px 18px;
  margin-bottom: 0;
  background: var(--fx-card);
}
.wrap .source-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.wrap .source-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.wrap .source-title-wrap > div {
  min-width: 0;
}
.wrap .source-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: var(--fx-radius-btn);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--fx-blue);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: var(--fx-mono);
}
.wrap .source-title {
  font-size: 10px;
  font-weight: 700;
  color: var(--fx-blue);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: var(--fx-mono);
}
.wrap .source-status {
  font-size: 12px;
  border: 1px solid var(--fx-line);
  border-radius: var(--fx-radius-chip);
  padding: 5px 9px;
  background: var(--fx-soft);
  color: var(--fx-muted);
}
.wrap .source-status.ready {
  border-color: var(--fx-blue-border);
  background: var(--fx-blue-tint);
  color: var(--fx-blue);
}
.wrap .source-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border: 1px solid var(--fx-line);
  border-radius: 999px;
  background: #fff;
  color: var(--fx-muted);
  text-decoration: none;
  font-size: 20px;
  line-height: 1;
  font-weight: 500;
  cursor: pointer;
  padding: 0;
  transition: 0.16s ease;
}
.wrap .source-remove:hover {
  border-color: var(--fx-danger-border);
  background: var(--fx-danger-soft);
  color: var(--fx-danger);
}
.wrap .source-meta {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 15px;
  color: var(--fx-ink);
  font-weight: 700;
  margin-top: 3px;
}
.wrap .source-audio {
  width: 100%;
  display: block;
  border-radius: var(--fx-radius-btn);
  background: var(--fx-soft);
}
.wrap #pendingUploadBox {
  margin-top: 10px;
}
.wrap {
  /* ---------- presets + intensity + cta ---------- */
}
.wrap .preset-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.wrap .preset-option input {
  display: none;
}
.wrap .preset-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--fx-line);
  border-radius: var(--fx-radius-chip);
  padding: 8px 12px;
  background: #fff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  color: var(--fx-slate-600);
  transition: 0.14s ease;
}
.wrap .preset-chip:hover {
  border-color: var(--fx-blue-border);
}
.wrap .preset-option input:checked + .preset-chip {
  border-color: var(--fx-blue-border);
  background: var(--fx-blue-tint);
  color: var(--fx-blue);
  font-weight: 600;
}
.wrap .preset-row + div {
  margin-top: 12px;
}
.wrap select, .wrap input[type=range] {
  width: 100%;
}
.wrap {
  /* ---------- grouped-effect mode selector (Reverb: Room / Plate / Cathedral) ---------- */
  /* fix: .preset-row{display:flex} used to override the [hidden] attribute -> all mode preset rows showed at once */
}
.wrap .fx-mode-presets[hidden] {
  display: none !important;
}
.wrap .fx-mode-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.wrap .fx-mode-option {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  padding-right: 30px;
  border: 1px solid var(--fx-line);
  border-radius: var(--fx-radius-btn);
  background: #fff;
  cursor: pointer;
  transition: 0.14s ease;
}
.wrap .fx-mode-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.wrap .fx-mode-option:hover {
  border-color: var(--fx-blue-border);
  background: var(--fx-blue-soft);
}
.wrap .fx-mode-option.is-selected {
  border-color: var(--fx-blue-border);
  background: var(--fx-blue-tint);
}
.wrap .fx-mode-option__image {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: var(--fx-radius-chip);
  overflow: hidden;
}
.wrap .fx-mode-option__image img {
  display: block;
  width: 100%;
  height: 100%;
}
.wrap .fx-mode-option__copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.wrap .fx-mode-option__copy strong {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--fx-ink);
  line-height: 1.3;
}
.wrap .fx-mode-option__copy small {
  font-size: 11.5px;
  color: var(--fx-muted);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.wrap .fx-mode-option__check {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid var(--fx-line);
  background: #fff;
  transition: 0.14s ease;
}
.wrap .fx-mode-option__check::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 4px;
  width: 7px;
  height: 4px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
  opacity: 0;
}
.wrap .fx-mode-option.is-selected .fx-mode-option__check {
  background: var(--fx-blue);
  border-color: var(--fx-blue);
}
.wrap .fx-mode-option.is-selected .fx-mode-option__check::after {
  opacity: 1;
}
.wrap {
  /* per-mode Sample chip row inside the tile (variant B) */
}
.wrap .fx-mode-option--sample {
  flex-wrap: wrap;
  padding-bottom: 9px;
}
.wrap .fx-mode-option__sample {
  flex-basis: 100%;
  display: flex;
  justify-content: center;
  margin-top: 10px;
  padding-top: 9px;
  border-top: 1px solid var(--fx-line);
}
.wrap .fx-mode-option__sample .fx-sample {
  margin-right: 0;
}
.wrap .fx-mode-option--sample.is-selected .fx-mode-option__sample {
  border-top-color: var(--fx-blue-border);
}
@media (max-width: 760px) {
  .wrap .fx-mode-grid {
    grid-template-columns: 1fr;
  }
  .wrap .fx-mode-option__copy small {
    -webkit-line-clamp: 2;
  }
}
.wrap {
  /* bottom "Reverb types" guide card (anchor links, mirrors the selector) */
}
.wrap .fx-mode-guide__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 12px;
}
.wrap .fx-mode-guide__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--fx-line);
  border-radius: var(--fx-radius-btn);
  background: #fff;
  text-decoration: none;
  transition: 0.14s ease;
}
.wrap .fx-mode-guide__item img {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: var(--fx-radius-chip);
}
.wrap .fx-mode-guide__item span {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.wrap .fx-mode-guide__item strong {
  font-size: 14px;
  font-weight: 600;
  color: var(--fx-ink);
  line-height: 1.3;
}
.wrap .fx-mode-guide__item small {
  font-size: 12px;
  color: var(--fx-muted);
  line-height: 1.5;
}
.wrap .fx-mode-guide__item:hover {
  border-color: var(--fx-blue-border);
  background: var(--fx-blue-soft);
}
.wrap .fx-mode-guide__item.is-selected {
  border-color: var(--fx-blue-border);
  background: var(--fx-blue-tint);
}
@media (max-width: 760px) {
  .wrap .fx-mode-guide__grid {
    grid-template-columns: 1fr;
  }
}
.wrap input[type=range] {
  accent-color: var(--fx-blue);
}
.wrap .range-label {
  font-size: 13px;
  color: var(--fx-muted);
  margin-bottom: 6px;
  display: block;
}
.wrap .cta {
  width: 100%;
  border: 0;
  border-radius: var(--fx-radius-btn);
  padding: 14px 20px;
  background: var(--fx-blue);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  box-shadow: var(--fx-shadow-cta);
  transition: background 0.16s ease;
}
.wrap .cta:hover {
  background: var(--fx-blue-hover);
}
.wrap .cta[disabled] {
  background: #94a3b8;
  box-shadow: none;
  cursor: not-allowed;
}
.wrap #effectControls > .step:last-child {
  margin-bottom: 0;
}
.wrap .linkline {
  margin-top: 10px;
}
.wrap .linkline a {
  color: var(--fx-blue);
  text-decoration: none;
  font-size: 13px;
}
.wrap .linkline a:hover {
  text-decoration: underline;
}
.wrap {
  /* How to Use (<ol>) + FAQ (<ul>) template blocks — data-driven from the
     howto[]/faq[] fields; styled congruently here (not duplicated in prostinja) */
}
.wrap .compact-list {
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--fx-ink-2);
}
.wrap ol.compact-list {
  counter-reset: cl;
}
.wrap ol.compact-list li {
  position: relative;
  padding: 2px 0 2px 36px;
  margin-bottom: 8px;
}
.wrap ol.compact-list li::before {
  counter-increment: cl;
  content: counter(cl);
  position: absolute;
  left: 0;
  top: 0;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: var(--fx-blue-tint);
  color: var(--fx-blue);
  font-weight: 700;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wrap ul.compact-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  line-height: 1.55;
}
.wrap ul.compact-list li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--fx-blue);
}
.wrap .compact-list + h3 {
  margin-top: 14px;
}
.wrap {
  /* ---- FAQ card: always-open wrapper + per-question accordions ----
     The partial renders a bare <details><summary>{faq_formats}</summary> wrapping
     <h3>{faq}</h3> + <ul.compact-list> + <h3>{supported_formats}</h3> + <p.muted>.
     The faq[] field now carries raw HTML — each item is
       <details class="fx-q"><summary>Question?</summary><p class="fx-a">Answer.</p></details>
     so every question is its own accordion row. CSS forces the OUTER <details>
     visually open (no JS / no partial edit): content-visibility on the new
     ::details-content pseudo (Chromium 131+) + display:block on the child div
     (older engines). The outer <summary> (whose text is the unwanted
     "{faq_formats}" = "FAQ + Formats") is hidden, and the inner <h3>{faq}> —
     default "FAQ" from the separate `faq` string — becomes the heading, so the
     label reads "FAQ" with no UI-string change. Scoped to .maincol so the sidebar
     Effects-menu <details> stays untouched. */
}
.wrap .maincol .card > details::details-content {
  content-visibility: visible !important;
}
.wrap .maincol .card > details > div {
  display: block !important;
  margin: 0;
}
.wrap .maincol .card > details > summary {
  display: none !important;
}
.wrap {
  /* inner "FAQ" heading (from the plain `faq` string) */
}
.wrap .maincol .card > details > div > h3:first-child {
  display: block;
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 700;
  color: var(--fx-ink);
}
.wrap {
  /* "Supported Formats" → subtle uppercase sub-label */
}
.wrap .maincol .card > details > div > h3:last-of-type {
  font-family: var(--fx-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fx-faint);
  margin: 20px 0 7px;
}
.wrap .maincol .card > details > div > p.muted {
  font-size: 13px;
  margin: 0;
}
.wrap {
  /* per-question accordion rows */
}
.wrap .maincol .card > details ul.compact-list {
  margin: 6px 0 0;
  padding: 0;
}
.wrap .maincol .card > details ul.compact-list li {
  list-style: none;
  padding: 0;
  margin: 0;
}
.wrap .maincol .card > details ul.compact-list li::before {
  display: none;
}
.wrap .fx-q {
  border-top: 1px solid var(--fx-line);
}
.wrap .maincol .card > details ul.compact-list li:first-child .fx-q {
  border-top: none;
}
.wrap .fx-q > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--fx-ink);
}
.wrap .fx-q > summary::-webkit-details-marker {
  display: none;
}
.wrap .fx-q > summary::after {
  content: "+";
  flex: none;
  color: var(--fx-blue);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.4;
}
.wrap .fx-q[open] > summary::after {
  content: "−";
}
.wrap .fx-q > summary:hover {
  color: var(--fx-blue);
}
.wrap .fx-q > .fx-a {
  padding: 0 0 14px;
  margin: 0;
  color: var(--fx-muted);
  font-size: 14px;
  line-height: 1.6;
}
.wrap .fx-extra-title {
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--fx-ink);
}
.wrap .fx-extra-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 7px;
}
.wrap .fx-extra-value {
  font-size: 13px;
  font-weight: 700;
  color: var(--fx-blue);
}
.wrap {
  /* ---------- result: player + downloads ---------- */
}
.wrap .meta {
  font-size: 13px;
}
.wrap .chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.wrap .chip {
  border: 1px solid var(--fx-line);
  border-radius: var(--fx-radius-chip);
  background: #fff;
  padding: 6px 10px;
  font-size: 12px;
}
.wrap .chip.accent {
  border-color: var(--fx-blue-border);
  background: var(--fx-blue-tint);
  color: var(--fx-blue);
}
.wrap .player {
  margin-top: 14px;
  border: 1px solid var(--fx-line);
  border-radius: var(--fx-radius);
  padding: 18px;
  background: var(--fx-card);
}
.wrap .player .muted {
  margin: 0;
}
.wrap .player-meta-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--fx-ink);
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wrap .player-meta-line strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 700;
}
.wrap .player-meta-line .sep {
  color: var(--fx-faint);
}
.wrap {
  /* native <audio> framed as an intentional "well" (CSS-only, graceful
     across browsers; result.php HTML is untouchable) */
}
.wrap audio {
  width: 100%;
  height: 46px;
  border-radius: var(--fx-radius-btn);
  background: var(--fx-soft-2);
  border: 1px solid var(--fx-line);
  color-scheme: light;
}
.wrap audio::-webkit-media-controls-enclosure {
  border-radius: var(--fx-radius-btn);
  background: var(--fx-soft-2);
}
.wrap audio::-webkit-media-controls-panel {
  background: var(--fx-soft-2);
}
.wrap .actions {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.wrap .btn {
  border: 0;
  border-radius: var(--fx-radius-btn);
  padding: 11px 18px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.16s ease;
}
.wrap .btn.primary {
  background: var(--fx-blue);
  color: #fff;
  box-shadow: var(--fx-shadow-cta);
}
.wrap .btn.primary:hover {
  background: var(--fx-blue-hover);
}
.wrap .btn.soft {
  background: #fff;
  color: var(--fx-ink);
  border: 1px solid var(--fx-line);
}
.wrap .btn.soft:hover {
  border-color: var(--fx-blue-border);
  background: var(--fx-blue-soft);
  color: var(--fx-blue);
}
.wrap .formats-panel {
  margin-top: 10px;
  border: 1px solid var(--fx-line);
  border-radius: var(--fx-radius);
  padding: 12px;
  background: var(--fx-soft-2);
}
.wrap .formats-panel.is-hidden {
  display: none;
}
.wrap .label {
  display: block;
  font-size: 13px;
  color: var(--fx-muted);
  margin-bottom: 5px;
}
.wrap .stack {
  display: grid;
  gap: 10px;
}
.wrap .convert-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(80px, 1fr));
}
.wrap .convert-grid form {
  margin: 0;
}
.wrap .convert-grid .btn {
  width: 100%;
  padding: 9px 8px;
  font-size: 13px;
}
.wrap {
  /* ---------- result: next-effect navigation ---------- */
}
.wrap .effects-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.wrap .effect-card {
  text-decoration: none;
  border: 1px solid var(--fx-line);
  border-radius: var(--fx-radius);
  overflow: hidden;
  background: #fff;
  color: var(--fx-ink-2);
  display: block;
  transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
}
.wrap .effect-card:hover {
  transform: translateY(-1px);
  border-color: var(--fx-blue-border);
  box-shadow: 0 8px 20px rgba(46, 88, 239, 0.08);
}
.wrap .effect-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  background: var(--fx-soft-2);
}
.wrap .effect-name {
  display: block;
  padding: 8px 9px 10px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}
.wrap .next-effects-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 14px;
}
.wrap .next-effect-link {
  min-height: 54px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: var(--fx-radius-btn);
  text-decoration: none;
  color: var(--fx-ink);
  background: #fff;
  border: 1px solid var(--fx-line);
  transition: border-color 0.12s ease, background 0.12s ease, transform 0.12s ease;
}
.wrap .next-effect-link:hover {
  background: var(--fx-blue-soft);
  border-color: var(--fx-blue-border);
  transform: translateY(-1px);
}
.wrap .next-effect-icon {
  width: 28px;
  height: 28px;
  border-radius: var(--fx-radius-chip);
  object-fit: cover;
  background: var(--fx-soft);
  display: block;
}
.wrap .next-effect-icon.fallback {
  background: radial-gradient(circle at 34% 36%, #fff 0 15%, transparent 16%), linear-gradient(135deg, #93aef9 0%, #2e58ef 100%);
}
.wrap .next-effect-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 700;
}
.wrap .next-effect-arrow {
  color: var(--fx-faint);
  font-size: 18px;
  line-height: 1;
}
.wrap iframe[name=audiofxConvertDownloadFrame] {
  display: none;
}
.wrap {
  /* ---------- admin utility dock (partials untouched: .topbar/.topbtn stay
     in the DOM, CSS floats them to a fixed corner so they read as an admin
     tool and don't sit on top of the page content) ---------- */
}
.wrap .topbar {
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 40;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
  margin: 0;
  padding: 7px;
  max-width: min(92vw, 520px);
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid var(--fx-line);
  border-radius: var(--fx-radius);
  box-shadow: 0 8px 26px rgba(15, 23, 42, 0.14);
}
.wrap .topbtn {
  text-decoration: none;
  border: 1px solid var(--fx-line);
  border-radius: var(--fx-radius-btn);
  padding: 6px 11px;
  background: #fff;
  color: var(--fx-slate-600);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  transition: 0.16s ease;
}
.wrap .topbtn:hover {
  border-color: var(--fx-blue-border);
  background: var(--fx-blue-soft);
  color: var(--fx-blue);
}
.wrap .topbtn.primary {
  border-color: var(--fx-blue-border);
  background: var(--fx-blue-tint);
  color: var(--fx-blue);
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .wrap .layout {
    grid-template-columns: 1fr;
    grid-template-areas: "main" "sidebar";
  }
  .wrap .sidebar {
    position: static;
  }
  .wrap .mobile-effects-nav {
    display: block;
    margin-bottom: 12px;
  }
  .wrap .sidebar .effects-menu {
    display: none;
  }
}
@media (max-width: 820px) {
  .wrap h1 {
    font-size: 26px;
  }
  .wrap .source-box {
    padding: 14px;
  }
  .wrap .source-head {
    gap: 10px;
  }
  .wrap .source-icon {
    width: 38px;
    height: 38px;
  }
  .wrap .source-meta {
    font-size: 14px;
  }
  .wrap .source-choice {
    gap: 7px;
  }
  .wrap .source-choice-btn {
    flex: 1 1 140px;
  }
  .wrap .convert-grid {
    grid-template-columns: repeat(2, minmax(80px, 1fr));
  }
  .wrap .effects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .wrap .next-effects-grid {
    grid-template-columns: 1fr;
  }
  .wrap .player-meta-line {
    white-space: normal;
  }
  .wrap .topbar {
    left: 10px;
    right: 10px;
    bottom: 10px;
    max-width: none;
    justify-content: center;
    gap: 5px;
    padding: 6px;
  }
  .wrap .topbtn {
    padding: 6px 9px;
    font-size: 11px;
  }
}
.wrap .cta.is-processing,
.wrap .cta.is-processing:hover {
  background: #1d4ed8;
  box-shadow: 0 8px 24px rgba(29, 78, 216, 0.22);
  cursor: wait;
}

.wrap .cta.is-processing::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 10px;
  vertical-align: -3px;
  border: 2px solid rgba(255, 255, 255, 0.42);
  border-top-color: #fff;
  border-radius: 50%;
  animation: audiofxApplySpin 0.7s linear infinite;
}

.wrap .fx-apply-status {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 20px;
  margin-top: 10px;
  color: var(--fx-muted);
  font-size: 13px;
  font-weight: 600;
}

.wrap .fx-apply-status[hidden] {
  display: none;
}

.wrap .audiofx-apply-form.is-submitting #effectControls > .step:not(:last-child) {
  opacity: 0.62;
  pointer-events: none;
}

@keyframes audiofxApplySpin {
  to {
    transform: rotate(360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .wrap .cta.is-processing::before {
    animation-duration: 1.4s;
  }
}
.fx-catalog-page {
  --fxc-ink: #0f172a;
  --fxc-muted: #64748b;
  --fxc-faint: #94a3b8;
  --fxc-line: #e2e8f0;
  --fxc-bg: #f8fafc;
  --fxc-pr: #2e58ef;
  --fxc-pr-tint: rgba(46, 88, 239, .08);
  --fxc-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  max-width: 1200px;
  margin: 0 auto;
  padding: 34px 22px 80px;
  color: var(--fxc-ink);
  font-family: Inter, system-ui, -apple-system, sans-serif;
}
.fx-catalog-page .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.fx-catalog-admin {
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 50;
  margin: 0;
}
.fx-catalog-admin a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 13px;
  border: 1px solid var(--fxc-line);
  border-radius: 8px;
  background: #fff;
  color: var(--fxc-muted);
  text-decoration: none;
  font: 600 12px/1 Inter, sans-serif;
  letter-spacing: 0.02em;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.1);
}
.fx-catalog-admin a::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--fxc-pr);
}
.fx-catalog-admin a:hover {
  color: var(--fxc-ink);
  border-color: #cbd5e1;
}

.fx-catalog-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(26px, 4.5vw, 52px);
  border: 1px solid var(--fxc-line);
  border-radius: 16px;
  background: #fff;
}
.fx-catalog-hero::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--fxc-pr-tint), transparent 70%);
  pointer-events: none;
}

.fx-catalog-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--fxc-pr);
  font: 700 11px/1 var(--fxc-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.fx-catalog-kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--fxc-pr);
}

.fx-catalog-hero h1 {
  margin: 0;
  font-size: clamp(32px, 5.2vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.fx-catalog-lead {
  margin: 18px 0 0;
  color: var(--fxc-muted);
  font-size: clamp(15px, 1.7vw, 18px);
  line-height: 1.6;
}

.fx-catalog-toolbar {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 24px 0 18px;
}

.fx-catalog-search {
  position: relative;
  flex: 1;
}
.fx-catalog-search::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 50%;
  width: 12px;
  height: 12px;
  border: 2px solid var(--fxc-faint);
  border-radius: 50%;
  transform: translateY(-60%);
}
.fx-catalog-search::after {
  content: "";
  position: absolute;
  left: 29px;
  top: 56%;
  width: 6px;
  height: 2px;
  background: var(--fxc-faint);
  transform: rotate(45deg);
}
.fx-catalog-search input {
  width: 100%;
  height: 52px;
  padding: 0 18px 0 44px;
  border: 1px solid var(--fxc-line);
  border-radius: 10px;
  outline: none;
  background: #fff;
  color: var(--fxc-ink);
  font: inherit;
}
.fx-catalog-search input::placeholder {
  color: var(--fxc-faint);
}
.fx-catalog-search input:focus {
  border-color: var(--fxc-pr);
  box-shadow: 0 0 0 3px var(--fxc-pr-tint);
}

.fx-catalog-count {
  flex: 0 0 auto;
  color: var(--fxc-muted);
  font: 700 12px/1 var(--fxc-mono);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

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

.fx-catalog-card {
  position: relative;
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 12px;
  min-height: 112px;
  padding: 13px;
  border: 1px solid var(--fxc-line);
  border-radius: 12px;
  background: #fff;
  color: var(--fxc-ink);
  text-decoration: none;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}
.fx-catalog-card:hover {
  transform: translateY(-2px);
  border-color: #c7d2fe;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
}

.fx-catalog-art {
  position: relative;
  width: 84px;
  height: 84px;
  border-radius: 19%;
  overflow: hidden;
}
.fx-catalog-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fx-catalog-art-fallback {
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(90deg, var(--fxc-pr) 0 4px, transparent 4px 9px);
}

.fx-catalog-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.fx-catalog-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
}

.fx-catalog-description {
  display: -webkit-box;
  overflow: hidden;
  color: var(--fxc-muted);
  font-size: 12.5px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.fx-catalog-arrow {
  display: grid;
  place-items: center;
  justify-self: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--fxc-pr-tint);
  color: var(--fxc-pr);
  transition: background 0.16s, color 0.16s;
}
.fx-catalog-arrow svg {
  width: 14px;
  height: 14px;
  display: block;
}

.fx-catalog-card:hover .fx-catalog-arrow {
  background: var(--fxc-pr);
  color: #fff;
}

.fx-catalog-play {
  position: absolute;
  inset: 0;
  z-index: 2;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  box-sizing: border-box !important;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.fx-catalog-play .scrim {
  position: absolute;
  inset: 0;
  background: rgba(13, 20, 33, 0.52);
  opacity: 0;
  transition: opacity 0.16s ease;
}
.fx-catalog-play .disc {
  position: relative;
  display: grid;
  color: #fff;
  opacity: 0;
  transform: scale(0.82);
  transition: opacity 0.16s ease, transform 0.16s ease;
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.45));
}
.fx-catalog-play .disc svg {
  grid-area: 1/1;
  place-self: center;
  width: 30px;
  height: 30px;
}
.fx-catalog-play .ic-pause {
  display: none;
}
.fx-catalog-play.is-playing .ic-play {
  display: none;
}
.fx-catalog-play.is-playing .ic-pause {
  display: block;
}
.fx-catalog-play.is-playing .disc {
  animation: fxc-breath 1.5s ease-in-out infinite;
}
.fx-catalog-play.is-loading {
  pointer-events: none;
}
.fx-catalog-play.is-loading .disc svg {
  opacity: 0;
}
.fx-catalog-play.is-loading .disc::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2.5px solid #fff;
  border-top-color: transparent;
  border-radius: 50%;
  animation: fxc-spin 0.6s linear infinite;
}

.fx-catalog-art:hover .fx-catalog-play .scrim,
.fx-catalog-play.is-playing .scrim,
.fx-catalog-play.is-loading .scrim {
  opacity: 1;
}

.fx-catalog-art:hover .fx-catalog-play .disc,
.fx-catalog-play.is-playing .disc,
.fx-catalog-play.is-loading .disc {
  opacity: 1;
  transform: scale(1);
}

.fx-catalog-play.is-playing .scrim {
  background: rgba(13, 20, 33, 0.42);
}

.fx-catalog-art:hover .fx-catalog-play.is-playing .scrim {
  background: rgba(13, 20, 33, 0.52);
}

@keyframes fxc-breath {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.12);
  }
}
@keyframes fxc-spin {
  to {
    transform: rotate(360deg);
  }
}
.fx-catalog-empty {
  display: none;
  padding: 32px;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  color: var(--fxc-muted);
  text-align: center;
  background: #fff;
}

.fx-catalog-how {
  margin-top: 26px;
  padding: clamp(24px, 4vw, 40px);
  border-radius: 16px;
  background: #0f172a;
  color: #fff;
}

.fx-catalog-how h2 {
  margin: 0 0 22px;
  color: #fff !important;
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.fx-catalog-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.fx-catalog-step {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: start;
  color: #cbd5e1;
  font-size: 14px;
  line-height: 1.55;
}
.fx-catalog-step span {
  color: #cbd5e1;
}
.fx-catalog-step strong {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  color: #93b4ff;
  background: rgba(147, 180, 255, 0.12);
  font: 700 15px/1 var(--fxc-mono);
}

.fx-catalog-seo {
  margin-top: 34px;
}
.fx-catalog-seo h2 {
  margin: 0 0 10px;
  color: var(--fxc-ink);
  font-size: clamp(21px, 2.6vw, 30px);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.fx-catalog-seo-lead {
  margin: 0 0 22px;
  color: var(--fxc-muted);
  font-size: 16px;
  line-height: 1.65;
}

.fx-catalog-ways {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 0 0 22px;
}

.fx-catalog-way {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px;
  border: 1px solid var(--fxc-line);
  border-radius: 14px;
  background: #fff;
}
.fx-catalog-way span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--fxc-pr-tint);
  color: var(--fxc-pr);
  font: 800 15px/1 var(--fxc-mono);
}
.fx-catalog-way h3 {
  margin: 0 0 5px;
  color: var(--fxc-ink);
  font-size: 16px;
  font-weight: 700;
}
.fx-catalog-way p {
  margin: 0;
  color: var(--fxc-muted);
  font-size: 13.5px;
  line-height: 1.55;
}

.fx-catalog-seo-out {
  margin: 0;
  color: var(--fxc-muted);
  font-size: 15px;
  line-height: 1.65;
}

@media (max-width: 980px) {
  .fx-catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .fx-catalog-page {
    padding: 18px 12px 64px;
  }
  .fx-catalog-ways {
    grid-template-columns: 1fr;
  }
  .fx-catalog-hero {
    padding: 24px 18px;
    border-radius: 14px;
  }
  .fx-catalog-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .fx-catalog-count {
    padding-left: 2px;
  }
  .fx-catalog-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .fx-catalog-card {
    grid-template-columns: 72px minmax(0, 1fr) 24px;
    min-height: 96px;
    padding: 11px;
    gap: 11px;
  }
  .fx-catalog-art {
    width: 72px;
    height: 72px;
  }
  .fx-catalog-arrow {
    width: 22px;
    height: 22px;
  }
  .fx-catalog-arrow svg {
    width: 13px;
    height: 13px;
  }
  .fx-catalog-steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .fx-catalog-admin {
    right: 10px;
    bottom: 10px;
  }
}
@media (hover: none) {
  .fx-catalog-play .scrim {
    opacity: 1;
    background: rgba(13, 20, 33, 0.42);
  }
  .fx-catalog-play .disc {
    opacity: 1;
    transform: scale(1);
  }
}
