:root {
  --bg-glow: rgba(255,255,255,0.06);
  --bg-start: #080808;
  --bg-mid: #040404;
  --bg-end: #090909;
  --surface: rgba(255,255,255,0.04);
  --surface-strong: rgba(255,255,255,0.07);
  --line: rgba(255,255,255,0.11);
  --text: #f5f5f5;
  --muted: rgba(255,255,255,0.72);
  --soft: rgba(255,255,255,0.48);
  --pattern-dot: rgba(255,255,255,0.04);
  --shadow: 0 24px 60px rgba(0,0,0,0.42);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --container: min(1380px, calc(100% - 80px));
  --transition: 320ms cubic-bezier(.2,.8,.2,1);
  --button-bg: #ffffff;
  --button-text: #0a0a0a;
  --button-shadow: 0 18px 34px rgba(255,255,255,0.12);
  --button-secondary-bg: rgba(255,255,255,0.04);
  --button-secondary-border: rgba(255,255,255,0.14);
  --focus-ring: rgba(255,255,255,0.05);
  --spotlight-glow: radial-gradient(circle, rgba(255,255,255,0.24) 0%, rgba(176,176,176,0.14) 24%, rgba(82,82,82,0.08) 42%, transparent 72%);
  --builder-blue-glow:
    radial-gradient(circle, #16a064, #0e7a50, #0b563b, #17352a, #1d2823, #191919, #191919, #191919);
  --builder-blue-wash:
    radial-gradient(circle at 18% 18%, rgba(22, 160, 100, 0.16) 0%, rgba(14, 122, 80, 0.1) 22%, transparent 52%);
  --gen: #86efac;
  --gen-border: rgba(134,239,172,.15);
  --gen-glow: rgba(134,239,172,.2);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; color-scheme: dark; }
html[data-theme="light"] {
  color-scheme: light;
  --bg-glow: rgba(255,255,255,0);
  --bg-start: #ffffff;
  --bg-mid: #ffffff;
  --bg-end: #ffffff;
  --surface: rgba(255,255,255,0.82);
  --surface-strong: rgba(255,255,255,0.94);
  --line: rgba(18,18,18,0.16);
  --text: #161616;
  --muted: rgba(22,22,22,0.76);
  --soft: rgba(22,22,22,0.5);
  --pattern-dot: rgba(20,20,20,0.05);
  --shadow: none;
  --button-bg: #161616;
  --button-text: #faf7f2;
  --button-shadow: none;
  --button-secondary-bg: rgba(255,255,255,0.82);
  --button-secondary-border: rgba(20,20,20,0.12);
  --focus-ring: rgba(20,20,20,0.05);
  --spotlight-glow: radial-gradient(circle, rgba(86,128,104,0.18) 0%, rgba(120,146,130,0.09) 24%, rgba(120,120,120,0.04) 42%, transparent 72%);
  --builder-blue-glow:
    radial-gradient(circle, rgba(22, 128, 82, 0.58), rgba(28, 145, 92, 0.4), rgba(56, 150, 104, 0.24), rgba(118, 168, 137, 0.13), rgba(255,255,255,0), rgba(255,255,255,0), rgba(255,255,255,0), rgba(255,255,255,0));
  --builder-blue-wash:
    radial-gradient(circle at 18% 18%, rgba(32, 132, 88, 0.22) 0%, rgba(52, 146, 102, 0.13) 24%, rgba(88, 155, 116, 0.05) 48%, transparent 64%);
  --gen: #15803d;
  --gen-border: rgba(21,128,61,.15);
  --gen-glow: rgba(21,128,61,.12);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, var(--bg-glow), transparent 32%),
    linear-gradient(180deg, var(--bg-start) 0%, var(--bg-mid) 48%, var(--bg-end) 100%);
  overflow-x: hidden;
  transition: background .55s ease, color .55s ease;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(var(--pattern-dot) .7px, transparent .7px);
  background-size: 4px 4px;
  opacity: .22;
  z-index: 0;
}

html[data-theme="light"] body::before { opacity: .12; }

a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
h1, h2, h3 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  line-height: .98;
  letter-spacing: -.03em;
}
p { margin: 0; color: var(--muted); line-height: 1.78; }

.site-shell { position: relative; z-index: 1; padding-top: 96px; }
.section-shell, #premiumFooterSlot, .generator-hero { width: 100%; }
.section-shell { padding: 36px 0; }

#premiumFooterSlot { padding-top: 28px; }

.generator-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(280px, .60fr);
  gap: clamp(72px, 11vw, 140px);
  align-items: start;
  padding: 40px 0 80px;
}

.generator-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: -132px;
  bottom: 0;
  width: 100vw;
  transform: translateX(-50%);
  background:
    radial-gradient(circle at 50% 0%, rgba(22,160,100,0.22), transparent 54%),
    linear-gradient(180deg, rgba(6,18,11,0.82) 0%, rgba(6,18,11,0.5) 60%, transparent 100%);
  pointer-events: none;
}

html[data-theme="light"] .generator-hero::before {
  background:
    radial-gradient(circle at 50% 0%, rgba(155,190,170,0.58), transparent 46%),
    linear-gradient(180deg, #e8f1ec 0%, rgba(232,241,236,0.6) 60%, transparent 100%);
}

.generator-hero + .section-shell {
  padding-top: 80px;
  position: relative;
}

.generator-hero + .section-shell::before {
  content: "";
  position: absolute;
  top: 0;
  left: calc(50% - 50vw);
  width: 100vw;
  height: 1px;
  background: var(--line);
}

html[data-theme="light"] .generator-hero + .section-shell {
  padding-top: 80px;
}

.hero-copy { display: grid; gap: 19px; padding: 24px 0 10px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 12px currentColor;
  opacity: .85;
  flex: none;
}

main .eyebrow {
  border-color: var(--gen-border);
  color: var(--gen);
}
main .eyebrow::before {
  background: var(--gen) !important;
  box-shadow: 0 0 10px var(--gen) !important;
}

.generator-hero .hero-copy > .eyebrow:first-child {
  color: var(--gen);
}

h1 { font-size: clamp(3.15rem, 7.4vw, 6rem); max-width: none; }

main h1 em,
main h2 em {
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(110deg, #d1fae5 0%, var(--gen) 52%, #a7f3d0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

html[data-theme="light"] main h1 em,
html[data-theme="light"] main h2 em {
  background: linear-gradient(110deg, #166534 0%, #15803d 60%, #16a34a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-pills { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-pills span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  font-size: 1rem;
}

.template-showcase {
  display: grid;
  gap: 22px;
  padding-top: 18px;
}

.template-showcase-head {
  display: grid;
  gap: 12px;
  max-width: 760px;
}

.template-showcase-head h2 {
  font-size: clamp(2.3rem, 4vw, 3.5rem);
}

.template-gallery {
  --template-preview-height: 232px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
  margin-top: 4px;
}

.template-card {
  appearance: none;
  width: 100%;
  padding: 18px 16px 20px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 24px;
  background: #050505;
  box-shadow: none;
  display: grid;
  grid-template-rows: var(--template-preview-height) minmax(112px, auto);
  gap: 16px;
  text-align: left;
  cursor: pointer;
  align-content: start;
  transition:
    transform var(--transition),
    border-color var(--transition),
    background var(--transition),
    filter var(--transition);
}

html[data-theme="light"] .template-card {
  border-color: rgba(17,17,17,0.12);
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.84)), rgba(255,255,255,.88);
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}

.template-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,255,255,0.22);
  background: #080808;
  box-shadow: none;
}

html[data-theme="light"] .template-card:hover {
  border-color: rgba(17,17,17,0.22);
  background: linear-gradient(180deg, #ffffff, rgba(255,255,255,.92));
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}

html[data-theme="light"] .template-card-copy strong {
  color: #161616;
}

html[data-theme="light"] .template-card-copy span {
  color: rgba(22,22,22,0.64);
}

html[data-theme="light"] .template-card:hover .template-card-copy strong,
html[data-theme="light"] .template-card:focus-visible .template-card-copy strong,
html[data-theme="light"] .template-card.is-selected .template-card-copy strong {
  color: #0d0d0d;
}

html[data-theme="light"] .template-card:hover .template-card-copy span,
html[data-theme="light"] .template-card:focus-visible .template-card-copy span,
html[data-theme="light"] .template-card.is-selected .template-card-copy span {
  color: rgba(22,22,22,0.72);
}

html[data-theme="light"] .template-card .template-card-copy::before {
  background: rgba(22,22,22,0.55);
}

.contact-support {
  position: relative;
  isolation: isolate;
  padding-top: 30px;
  padding-bottom: 31px;
}

html[data-theme="light"] .contact-support {
  padding-top: 58px;
  padding-bottom: 58px;
}

html[data-theme="light"] .contact-support-card {
  border-color: rgba(255,255,255,0.11);
  background: #050505;
  color: #f5f5f5;
}

.contact-support .spotlight-glow {
  display: none;
}

html[data-theme="light"] .contact-support .eyebrow {
  border-color: rgba(255,255,255,0.11);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.72);
}

html[data-theme="light"] .contact-support-copy h2 {
  color: #f5f5f5;
}

html[data-theme="light"] .contact-support-copy p {
  color: rgba(255,255,255,0.72);
}

.contact-support-card {
  display: grid;
  gap: 34px;
  padding: 56px 36px;
}

.contact-support-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, .8fr);
  gap: 28px;
  align-items: center;
}

.contact-support-main {
  display: grid;
  gap: 28px;
}

.contact-support-copy {
  display: grid;
  gap: 12px;
  max-width: 70ch;
}

.contact-support-copy h2 {
  font-size: clamp(2.1rem, 3.8vw, 3.3rem);
}

.contact-support-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-support-points span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(18,18,18,0.84);
  color: var(--text);
  font-size: .92rem;
  font-weight: 600;
}

html[data-theme="light"] .contact-support-points span {
  border-color: rgba(255,255,255,0.14);
  background: rgba(18,18,18,0.84);
  color: #f5f5f5;
}

.contact-support-actions {
  display: grid;
  gap: 12px;
  align-self: stretch;
  align-content: center;
  justify-items: center;
}

.contact-support-actions .btn,
.contact-support-actions .btn-secondary {
  width: auto;
  justify-content: center;
  text-align: center;
  min-height: 54px;
}

.contact-support-actions .btn {
  position: relative;
  padding: 0 28px;
  border: 1px solid rgba(255,255,255,0.12);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(232,232,232,0.92));
  box-shadow:
    0 18px 36px rgba(0,0,0,0.26),
    0 0 0 1px rgba(255,255,255,0.04),
    inset 0 1px 0 rgba(255,255,255,0.96);
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition),
    filter var(--transition);
}

.contact-support-actions .btn::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,0.42) 50%, transparent 80%);
  opacity: 0;
  transform: translateX(-24%);
  transition: opacity var(--transition), transform 520ms cubic-bezier(.2,.8,.2,1);
  pointer-events: none;
}

.contact-support-actions .btn:hover,
.contact-support-actions .btn:focus-visible {
  transform: translateY(-3px) scale(1.015);
  border-color: rgba(255,255,255,0.24);
  box-shadow:
    0 24px 44px rgba(0,0,0,0.34),
    0 0 24px rgba(255,255,255,0.12),
    inset 0 1px 0 rgba(255,255,255,1);
  filter: brightness(1.02);
}

.contact-support-actions .btn:hover::after,
.contact-support-actions .btn:focus-visible::after {
  opacity: 1;
  transform: translateX(24%);
}

.contact-support-actions .btn:active {
  transform: translateY(-1px) scale(.995);
}

html[data-theme="light"] .contact-support-actions .btn {
  border-color: rgba(255,255,255,0.12);
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(232,232,232,0.92));
  color: #0c0c0c;
  box-shadow:
    0 18px 36px rgba(0,0,0,0.26),
    0 0 0 1px rgba(255,255,255,0.04),
    inset 0 1px 0 rgba(255,255,255,0.96);
}

html[data-theme="light"] .contact-support-actions .btn::after {
  background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,0.14) 50%, transparent 80%);
}

html[data-theme="light"] .contact-support-actions .btn:hover,
html[data-theme="light"] .contact-support-actions .btn:focus-visible {
  border-color: rgba(255,255,255,0.24);
  box-shadow:
    0 24px 44px rgba(0,0,0,0.34),
    0 0 24px rgba(255,255,255,0.12),
    inset 0 1px 0 rgba(255,255,255,1);
}

.template-card.is-selected {
  transform: translateY(-4px);
  box-shadow: none;
}

html[data-theme="light"] .template-card.is-selected {
  box-shadow: none;
}

.template-card-preview {
  position: relative;
  height: var(--template-preview-height);
  min-height: 0;
  display: grid;
  place-items: center;
  border-radius: 22px;
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 12px;
  overflow: visible;
  transition: transform var(--transition), filter var(--transition);
}

.template-card-preview::before {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.18), rgba(255,255,255,0.04) 44%, transparent 72%);
  opacity: 0;
  transform: scale(.84);
  transition: opacity var(--transition), transform var(--transition);
  pointer-events: none;
}

html[data-theme="light"] .template-card-preview {
  background: transparent;
}

.template-card-preview svg {
  position: relative;
  z-index: 1;
  width: min(100%, 190px);
  height: 100%;
  max-height: calc(var(--template-preview-height) - 16px);
  display: block;
  object-fit: contain;
  transition: transform var(--transition), filter var(--transition);
}

.template-card:hover .template-card-preview::before,
.template-card:focus-visible .template-card-preview::before,
.template-card.is-selected .template-card-preview::before {
  opacity: 1;
  transform: scale(1);
}

.template-card:hover .template-card-preview svg,
.template-card:focus-visible .template-card-preview svg {
  transform: translateY(-4px) scale(1.045);
  filter: drop-shadow(0 18px 24px rgba(0,0,0,.28));
}

.template-card:active .template-card-preview svg {
  transform: translateY(-1px) scale(.985);
  filter: drop-shadow(0 10px 16px rgba(0,0,0,.2));
}

.template-card.is-selected .template-card-preview svg {
  transform: translateY(-3px) scale(1.035);
  filter: drop-shadow(0 18px 28px rgba(0,0,0,.3));
}

.template-card-copy {
  position: relative;
  min-height: 112px;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 0 8px 2px;
  transition: transform var(--transition);
}

.template-card-copy::before {
  content: "";
  width: 34px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0;
  transform: scaleX(.5);
  transform-origin: left;
  transition: opacity var(--transition), transform var(--transition);
}

.template-card-copy strong {
  color: #f7f7f7;
  font-size: 1.08rem;
  line-height: 1.2;
  transition: color var(--transition);
}

.template-card-copy span {
  color: rgba(245,245,245,.72);
  font-size: .92rem;
  line-height: 1.48;
  max-width: 24ch;
  transition: color var(--transition);
}

.template-card:hover .template-card-copy,
.template-card:focus-visible .template-card-copy,
.template-card.is-selected .template-card-copy {
  transform: translateY(-2px);
}

.template-card:hover .template-card-copy::before,
.template-card:focus-visible .template-card-copy::before,
.template-card.is-selected .template-card-copy::before {
  opacity: .58;
  transform: scaleX(1);
}

.template-card:hover .template-card-copy strong,
.template-card:focus-visible .template-card-copy strong,
.template-card.is-selected .template-card-copy strong {
  color: #ffffff;
}

.template-card:hover .template-card-copy span,
.template-card:focus-visible .template-card-copy span,
.template-card.is-selected .template-card-copy span {
  color: rgba(255,255,255,.78);
}

.dynamic-bridge-copy {
  display: grid;
  gap: 14px;
  align-content: start;
}

.dynamic-bridge-copy p {
  max-width: 62ch;
}

.dynamic-bridge-link {
  width: fit-content;
}

.generator-side-stack {
  display: grid;
  gap: 18px;
  align-self: stretch;
  align-content: start;
  min-height: 100%;
}

.dynamic-bridge-card {
  display: grid;
  gap: 20px;
  padding: 26px 24px 24px;
  align-self: start;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(99,102,241,.22);
  background: #060810;
  background-image:
    radial-gradient(ellipse at 20% 0%, rgba(99,102,241,.12) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 100%, rgba(56,189,248,.06) 0%, transparent 50%);
  box-shadow: 0 0 0 1px rgba(99,102,241,.08) inset, 0 24px 48px rgba(0,0,0,.4);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.dynamic-bridge-card::before {
  content: "";
  position: absolute;
  top: 0; left: 8%; right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(130,150,255,.55) 38%, rgba(130,150,255,.55) 62%, transparent);
  pointer-events: none;
}

html[data-theme="light"] .dynamic-bridge-card {
  background: #f4f5ff;
  background-image:
    radial-gradient(ellipse at 20% 0%, rgba(99,102,241,.08) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 100%, rgba(56,189,248,.04) 0%, transparent 50%);
  border-color: rgba(99,102,241,.2);
  box-shadow: 0 2px 24px rgba(99,102,241,.08);
}

html[data-theme="light"] .dynamic-bridge-card::before {
  background: linear-gradient(90deg, transparent, rgba(99,102,241,.3) 38%, rgba(99,102,241,.3) 62%, transparent);
}

.dynamic-bridge-card .eyebrow {
  color: #a5b4fc;
  border-color: rgba(165, 180, 252, 0.28);
  background: rgba(99, 102, 241, 0.12);
  font-weight: 700;
  letter-spacing: .06em;
}

html[data-theme="light"] .dynamic-bridge-card .eyebrow {
  color: #1831ad;
  border-color: rgba(20, 37, 171, 0.16);
  background: rgba(20, 37, 171, 0.06);
}

.dynamic-bridge-card .dynamic-bridge-copy {
  gap: 16px;
  padding: 6px 0 4px;
}

.dynamic-bridge-card .dynamic-bridge-copy p {
  max-width: none;
  font-size: .92rem;
}

.dynamic-bridge-card .dynamic-bridge-link {
  width: 100%;
  justify-content: center;
}

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

.qr-stat-card {
  display: grid;
  gap: 6px;
  padding: 20px 16px;
  justify-items: center;
  text-align: center;
}

.qr-stat-card--views {
  background: rgba(110,149,255,.05);
  border: 1px solid rgba(110,149,255,.14);
  border-radius: 14px;
}

.qr-stat-card--created {
  background: rgba(99,230,179,.05);
  border: 1px solid rgba(99,230,179,.14);
  border-radius: 14px;
}

html[data-theme="light"] .qr-stat-card--views {
  background: rgba(99,102,241,.05);
  border-color: rgba(99,102,241,.14);
}

html[data-theme="light"] .qr-stat-card--created {
  background: rgba(11,111,79,.05);
  border-color: rgba(11,111,79,.14);
}

.qr-stat-value {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 600;
  line-height: .88;
  letter-spacing: -.04em;
  color: #7dc7ff;
  text-shadow: 0 4px 18px rgba(110,149,255,.32), 0 12px 36px rgba(64,156,255,.16);
}

.qr-stat-card--created .qr-stat-value {
  color: var(--gen);
  text-shadow: 0 4px 18px var(--gen-glow), 0 12px 36px var(--gen-glow);
}

.qr-stat-label {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--soft);
}

.qr-stats-grid-compact .qr-stat-card {
  padding: 16px 14px;
}

.qr-stats-grid-compact .qr-stat-value {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
}

.qr-stats-grid-compact .qr-stat-label {
  font-size: .72rem;
}

/* ── Dynamic Bridge Card v2 ────────────────────────────── */
.dbc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.dbc-badge {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.42);
}

.dbc-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6366f1;
  flex: 0 0 auto;
}

.dbc-edition {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.22);
}

.dbc-heading {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -.01em;
  color: rgba(255,255,255,.9);
  margin: 0;
}

.dbc-heading em {
  font-style: italic;
  color: rgba(255,255,255,.9);
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
  background-clip: unset;
}

.dbc-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,.07);
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.dbc-stat-col {
  display: grid;
  gap: 3px;
  padding-right: 16px;
  align-content: start;
}

.dbc-stat-col + .dbc-stat-col {
  padding-right: 0;
  padding-left: 16px;
  border-left: 1px solid rgba(255,255,255,.08);
}

.dbc-stat-meta {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.32);
  margin-bottom: 4px;
}

.dbc-stat-num {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: .88;
  letter-spacing: -.04em;
  color: rgba(255,255,255,.9);
}

.dbc-stat-label {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.28);
  line-height: 1.5;
  margin-top: 4px;
}

.dbc-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255,255,255,.02);
}

.dbc-compare-col {
  padding: 13px 13px 14px;
  display: grid;
  gap: 9px;
  align-content: start;
}

.dbc-compare-col--dynamic {
  border-left: 1px solid rgba(255,255,255,.08);
  background: rgba(99,102,241,.06);
}

.dbc-compare-head {
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.dbc-compare-col--dynamic .dbc-compare-head {
  color: #818cf8;
  border-bottom-color: rgba(99,102,241,.18);
}

.dbc-compare-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 7px;
}

.dbc-compare-list li {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: .78rem;
  font-weight: 500;
  line-height: 1.3;
}

.dbc-compare-list li::before {
  flex: 0 0 auto;
  font-weight: 700;
}

.dbc-compare-list--bad li {
  color: rgba(255,255,255,.32);
}

.dbc-compare-list--bad li::before {
  content: "×";
  color: rgba(220,80,60,.65);
}

.dbc-compare-list--good li {
  color: rgba(255,255,255,.68);
}

.dbc-compare-list--good li::before {
  content: "✓";
  color: #818cf8;
}

.dbc-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.07);
}

.dbc-price {
  display: grid;
  gap: 1px;
}

.dbc-price-label {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.28);
}

.dbc-price-value {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.55rem;
  font-weight: 600;
  color: rgba(255,255,255,.88);
  letter-spacing: -.02em;
  line-height: 1;
}

.dbc-price-period {
  font-family: "Inter", sans-serif;
  font-size: .8rem;
  font-weight: 500;
  color: rgba(255,255,255,.38);
  letter-spacing: 0;
}

.dbc-cta {
  font-size: .88rem;
  font-weight: 600;
  color: rgba(255,255,255,.82);
  text-decoration: none;
  letter-spacing: .02em;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color .2s ease, gap .2s ease;
}

.dbc-cta::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: #ffffff;
  transition: width .25s ease;
}

.dbc-cta:hover {
  color: #ffffff;
  gap: 7px;
}

.dbc-cta:hover::after { width: 100%; }

.dbc-cta:active {
  transform: scale(.97);
  transition: color .1s ease, transform .1s ease;
}

html[data-theme="light"] .dbc-badge { color: rgba(20,20,20,.48); }
html[data-theme="light"] .dbc-badge-dot { background: #4f46e5; }
html[data-theme="light"] .dbc-edition { color: rgba(20,20,20,.2); }
html[data-theme="light"] .dbc-heading { color: rgba(10,10,10,.9); }
html[data-theme="light"] .dbc-heading em { color: rgba(10,10,10,.9); }
html[data-theme="light"] .dbc-stat-meta { color: rgba(20,20,20,.38); }
html[data-theme="light"] .dbc-stat-num { color: rgba(10,10,10,.88); }
html[data-theme="light"] .dbc-stat-label { color: rgba(20,20,20,.35); }
html[data-theme="light"] .dbc-compare { background: rgba(20,20,20,.02); border-color: rgba(20,20,20,.1); }
html[data-theme="light"] .dbc-compare-head { color: rgba(20,20,20,.35); border-bottom-color: rgba(20,20,20,.07); }
html[data-theme="light"] .dbc-compare-col--dynamic .dbc-compare-head { color: #4f46e5; }
html[data-theme="light"] .dbc-compare-col--dynamic { background: rgba(99,102,241,.05); border-left-color: rgba(20,20,20,.09); }
html[data-theme="light"] .dbc-compare-list--bad li { color: rgba(20,20,20,.34); }
html[data-theme="light"] .dbc-compare-list--bad li::before { color: rgba(200,50,30,.65); }
html[data-theme="light"] .dbc-compare-list--good li { color: rgba(20,20,20,.7); }
html[data-theme="light"] .dbc-compare-list--good li::before { color: #4f46e5; }
html[data-theme="light"] .dbc-price-label { color: rgba(20,20,20,.3); }
html[data-theme="light"] .dbc-price-value { color: rgba(10,10,10,.9); }
html[data-theme="light"] .dbc-price-period { color: rgba(20,20,20,.4); }
html[data-theme="light"] .dbc-cta { color: rgba(20,20,20,.78); }
html[data-theme="light"] .dbc-cta:hover { color: #111111; }

.btn, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
}
.btn { background: var(--button-bg); color: var(--button-text); box-shadow: var(--button-shadow); }
.btn-secondary { border: 1px solid var(--button-secondary-border); background: var(--button-secondary-bg); color: var(--text); }
html[data-theme="dark"] .btn-secondary {
  background: rgba(18,18,18,0.88);
}
html[data-theme="light"] .btn-secondary {
  background: rgba(255,255,255,0.96);
}

.panel-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015)), rgba(10,10,10,.58);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
html[data-theme="light"] .panel-card {
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.84)), rgba(255,255,255,.88);
}

.template-card.panel-card {
  overflow: visible;
  isolation: auto;
  border: 1px solid rgba(255,255,255,0.1);
  background: #050505;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

html[data-theme="light"] .template-card.panel-card {
  border-color: rgba(17,17,17,0.12);
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.84)), rgba(255,255,255,.88);
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.panel-card.dynamic-bridge-card,
html[data-theme="light"] .panel-card.dynamic-bridge-card {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.spotlight-card { position: relative; overflow: hidden; isolation: isolate; padding: 0; }
.spotlight-card > *:not(.spotlight-glow) { position: relative; z-index: 1; }
.spotlight-glow {
  position: absolute;
  z-index: 0;
  width: 620px;
  height: 620px;
  left: var(--glow-x, 70%);
  top: var(--glow-y, 24%);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--spotlight-glow);
  filter: blur(22px);
  opacity: 0;
  transition: opacity .26s ease;
}
.spotlight-card.is-active .spotlight-glow { opacity: .95; }

.preview-card {
  display: grid;
  gap: 22px;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.preview-card .spotlight-glow,
.preview-card .qr-preview-stage::before {
  display: none;
}

.qr-preview {
  min-height: 430px;
  display: grid;
  place-items: center;
  border-radius: 28px;
  border: 0;
  background: transparent;
  padding: 24px;
}
.qr-preview svg,
.qr-preview canvas,
.qr-preview img {
  max-width: 100%;
  height: auto;
  display: block;
}
.qr-preview-stage {
  position: relative;
  width: min(100%, 560px);
  min-height: 390px;
  display: grid;
  place-items: center;
}
.qr-preview-stage::before {
  content: "";
  position: absolute;
  inset: 12% 14%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,.24), rgba(255,255,255,.08) 40%, transparent 74%);
  filter: blur(28px);
  opacity: .9;
  pointer-events: none;
}
html[data-theme="light"] .qr-preview-stage::before {
  background: radial-gradient(circle at 50% 50%, rgba(18,18,18,.08), rgba(18,18,18,.03) 44%, transparent 74%);
}
.qr-preview-object {
  position: relative;
  z-index: 1;
  width: min(100%, 420px);
  transform-origin: center;
}
.qr-preview-object svg {
  width: 100%;
  height: auto;
  display: block;
}
.qr-preview-stage-alt {
  min-height: 270px;
  --qr-back-base-x: -30px;
  --qr-back-base-y: 16px;
  --qr-back-rotate: -8deg;
  --qr-front-base-x: 26px;
  --qr-front-base-y: -10px;
  --qr-front-rotate: 6deg;
  --qr-back-x: 0px;
  --qr-back-y: 0px;
  --qr-front-x: 0px;
  --qr-front-y: 0px;
}
.qr-preview-object-back,
.qr-preview-object-front {
  position: absolute;
  width: min(100%, 268px);
  will-change: transform;
  transition: transform 220ms cubic-bezier(.2,.8,.2,1);
}
.qr-preview-object-back {
  transform:
    translate(
      calc(var(--qr-back-base-x) + var(--qr-back-x)),
      calc(var(--qr-back-base-y) + var(--qr-back-y))
    )
    rotate(var(--qr-back-rotate));
  opacity: .42;
  filter: saturate(.9);
}
.qr-preview-object-front {
  transform:
    translate(
      calc(var(--qr-front-base-x) + var(--qr-front-x)),
      calc(var(--qr-front-base-y) + var(--qr-front-y))
    )
    rotate(var(--qr-front-rotate));
}
.qr-preview-object-main {
  filter: drop-shadow(0 28px 42px rgba(0,0,0,.28));
}
.qr-preview-stage-alt .qr-preview-object-front,
.qr-preview-stage-alt .qr-preview-object-back {
  filter: drop-shadow(0 20px 30px rgba(0,0,0,.2));
}
.qr-scene {
  position: relative;
  width: min(100%, 540px);
  min-height: 390px;
  display: grid;
  place-items: center;
}
.qr-scene-glow {
  position: absolute;
  inset: 8% 10%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,.28), rgba(255,255,255,.08) 42%, transparent 74%);
  filter: blur(28px);
  opacity: .92;
}
.qr-device {
  position: relative;
  width: clamp(220px, 42vw, 324px);
  aspect-ratio: .55 / 1;
  border-radius: 42px;
  background:
    radial-gradient(circle at 72% 12%, rgba(255,255,255,.74), rgba(255,255,255,.2) 24%, transparent 44%),
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(245,245,245,.94));
  border: 14px solid #111113;
  box-shadow: 0 42px 84px rgba(0,0,0,.3), inset 0 0 0 1px rgba(255,255,255,.44);
  overflow: hidden;
}
.qr-device::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 50%;
  width: 40%;
  height: 12%;
  transform: translateX(-50%);
  border-radius: 0 0 24px 24px;
  background: #151518;
}
.qr-device-screen {
  position: absolute;
  inset: 0;
  padding: 24% 12% 10%;
  display: grid;
  align-content: start;
  gap: 16px;
}
.qr-avatar {
  width: 74px;
  height: 74px;
  margin: 0 auto 4px;
  border-radius: 50%;
  background: linear-gradient(180deg, #e1e1e1, #cfcfcf);
}
.qr-device-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  line-height: .94;
  text-align: center;
  color: #161616;
}
.qr-device-subtitle {
  text-align: center;
  font-size: clamp(1rem, 1.8vw, 1.28rem);
  color: #60708a;
}
.qr-device-lines {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}
.qr-device-lines span {
  display: block;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(235,238,242,.98), rgba(225,228,233,.84));
}
.qr-device-lines span:nth-child(1) { width: 92%; }
.qr-device-lines span:nth-child(2) { width: 92%; }
.qr-device-lines span:nth-child(3) { width: 74%; margin: 0 auto; }

.qr-float-card {
  position: absolute;
  left: 4%;
  top: 18%;
  width: clamp(160px, 26vw, 220px);
  padding: 18px 18px 16px;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255,255,255,.99), rgba(246,246,246,.96));
  box-shadow: 0 30px 54px rgba(0,0,0,.2), inset 0 1px 0 rgba(255,255,255,.96);
  transform: rotate(-8deg);
  display: grid;
  gap: 14px;
}
.qr-float-label {
  text-align: center;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #5b677b;
}
.qr-float-shell {
  border-radius: 26px;
  border: 2px solid rgba(18,18,18,.08);
  background: rgba(255,255,255,.84);
  padding: 14px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.92);
}
.qr-float-code {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
}
.qr-float-code svg {
  width: 100%;
  height: 100%;
}
.qr-float-caption {
  text-align: center;
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.18;
  color: #445166;
}

.qr-scene-alt {
  width: min(100%, 320px);
  min-height: 220px;
  display: grid;
  place-items: center;
}
.qr-card-stack {
  position: relative;
  width: 100%;
  height: 220px;
}
.qr-card-layer {
  position: absolute;
  inset: 0;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(244,244,244,.96));
  border: 1px solid rgba(17,17,17,.08);
  box-shadow: 0 22px 40px rgba(0,0,0,.14);
}
.qr-card-layer.back {
  transform: rotate(-8deg) translate(-18px, 8px);
  opacity: .42;
}
.qr-card-layer.front {
  transform: rotate(4deg);
  padding: 18px;
  display: grid;
  gap: 12px;
}
.qr-card-layer.front .qr-float-code {
  border-radius: 20px;
  border: 1px solid rgba(17,17,17,.08);
  background: #fff;
  padding: 12px;
}
.qr-preview-stack {
  position: relative;
  width: min(100%, 280px);
  aspect-ratio: 1 / 1;
}
.qr-preview-card {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.06);
  box-shadow: 0 18px 42px rgba(0,0,0,.24);
}
.qr-preview-card svg {
  width: 100%;
  height: auto;
}
.qr-preview-card-back {
  transform: translate(-16px, 14px) scale(.94) rotate(-7deg);
  opacity: .42;
}
.qr-preview-card-front {
  transform: rotate(5deg);
}
html[data-theme="light"] .qr-preview-card {
  background: rgba(255,255,255,.9);
  box-shadow: 0 18px 34px rgba(0,0,0,.1);
}
.preview-note {
  display: grid;
  gap: 0;
  padding-top: 14px;
}

.preview-note strong {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: 'JetBrains Mono', monospace;
  font-size: .62rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gen);
  padding-bottom: 14px;
}

.preview-note strong::before {
  content: "";
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gen);
  box-shadow: 0 0 8px var(--gen);
}

.preview-note span {
  font-size: .97rem;
  color: var(--muted);
  line-height: 1.72;
  padding-top: 14px;
}

.preview-note span::before {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  margin-bottom: 14px;
  background: linear-gradient(90deg, transparent 0%, var(--line) 18%, var(--line) 82%, transparent 100%);
}
.preview-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.preview-actions > button {
  border: 1px solid rgba(255,255,255,0.14);
  background: transparent;
  color: #f6f3ee;
  box-shadow: none;
  transition:
    transform var(--transition),
    border-color var(--transition),
    box-shadow var(--transition),
    background var(--transition),
    color var(--transition);
  position: relative;
}

.preview-actions > button:hover,
.preview-actions > button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.96);
  background: transparent;
  color: #ffffff;
  box-shadow: none;
  position: relative;
}

html[data-theme="light"] .preview-actions > button {
  border-color: rgba(20,20,20,0.12);
  background: transparent;
  color: #161616;
  box-shadow: none;
  position: relative;
}

html[data-theme="light"] .preview-actions > button:hover,
html[data-theme="light"] .preview-actions > button:focus-visible {
  border-color: rgba(20,20,20,0.24);
  background: transparent;
  color: #111111;
  box-shadow: none;
}

.preview-actions > button,
.preview-actions > button:hover,
.preview-actions > button:focus-visible,
.preview-actions > button:active {
  appearance: none;
  -webkit-appearance: none;
  background-image: none;
}

html[data-theme="light"] .preview-actions > button,
html[data-theme="light"] .preview-actions > button:hover,
html[data-theme="light"] .preview-actions > button:focus-visible,
html[data-theme="light"] .preview-actions > button:active {
  background-image: none;
}

.dynamic-bridge-link {
  border-color: transparent;
  background: linear-gradient(135deg, #3b4fd4 0%, #6366f1 60%, #818cf8 100%);
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(99,102,241,.28);
  font-weight: 600;
  transition:
    transform var(--transition),
    border-color var(--transition),
    box-shadow var(--transition),
    background var(--transition),
    color var(--transition);
}

.dynamic-bridge-link:hover,
.dynamic-bridge-link:focus-visible {
  transform: translateY(-2px);
  border-color: transparent;
  background: linear-gradient(135deg, #4a5de0 0%, #7275f5 60%, #9098fb 100%);
  color: #ffffff;
  box-shadow: 0 8px 28px rgba(99,102,241,.35);
}

html[data-theme="light"] .dynamic-bridge-link {
  border-color: transparent;
  background: linear-gradient(135deg, #3b4fd4 0%, #6366f1 60%, #818cf8 100%);
  color: #ffffff;
}

html[data-theme="light"] .dynamic-bridge-link:hover,
html[data-theme="light"] .dynamic-bridge-link:focus-visible {
  background: linear-gradient(135deg, #4a5de0 0%, #7275f5 60%, #9098fb 100%);
  box-shadow: 0 8px 28px rgba(99,102,241,.28);
  color: #ffffff;
}

.qr-preview-alt {
  min-height: 236px;
  background: transparent;
}
html[data-theme="light"] .qr-preview-alt {
  background: transparent;
}

.generator-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, .92fr);
  gap: 22px;
}

.generator-form, .helper-card { display: grid; gap: 0; }
.generator-form {
  position: relative;
  background: linear-gradient(160deg, rgba(255,255,255,.06) 0%, rgba(10,10,10,.72) 100%);
  border-color: rgba(255,255,255,.11);
  box-shadow: 0 1px 0 rgba(255,255,255,.08) inset, 0 -1px 0 rgba(0,0,0,.3) inset, 0 40px 100px rgba(0,0,0,.42);
}

.generator-form::before {
  display: none;
}

html[data-theme="light"] .generator-form::before {
  display: none;
}

.helper-card {
  align-self: start;
  align-content: start;
  height: fit-content;
}
.helper-card-static {
  padding: 24px;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  position: sticky;
  top: 118px;
}

.helper-card-static .preview-note { margin-top: 22px; }
.helper-card-static .preview-actions { margin-top: 18px; }

.helper-card-static .spotlight-glow {
  display: none;
}
.builder-step { display: grid; gap: 18px; padding: 36px 28px; }
.builder-step:first-child { padding-top: 36px; }
.step-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 28px;
  color: rgba(255,255,255,.15);
}
.step-divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.12) 40%, rgba(255,255,255,.12) 60%, transparent);
}
html[data-theme="light"] .step-divider { color: rgba(20,20,20,.2); }
html[data-theme="light"] .step-divider-line {
  background: linear-gradient(90deg, transparent, rgba(20,20,20,.1) 40%, rgba(20,20,20,.1) 60%, transparent);
}
.builder-step-type-hero {
  position: relative;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.builder-step-type-hero::before {
  display: none;
}

.builder-step-type-hero > * {
  position: relative;
  z-index: 1;
}

.builder-step-type-hero .step-title h2 {
  color: var(--text);
}

.builder-step-type-hero .step-number {
  color: rgba(255,255,255,.3);
}

html[data-theme="light"] .builder-step-type-hero {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

html[data-theme="light"] .builder-step-type-hero::before {
  display: none;
}

html[data-theme="light"] .builder-step-type-hero .step-title h2 {
  color: var(--text);
}
.step-title {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 10px;
}
.step-title h2 { font-size: 2rem; font-weight: 600; flex: 1; }
.step-number {
  flex-shrink: 0;
  width: auto;
  height: auto;
  border-radius: 0;
  border: none;
  background: none;
  box-shadow: none;
  font-family: 'Cormorant Garamond', 'Georgia', 'Times New Roman', serif;
  font-style: italic;
  font-size: 2.8rem;
  font-weight: 600;
  line-height: 1;
  color: rgba(255,255,255,.3);
  letter-spacing: .06em;
  min-width: 44px;
  text-align: center;
}
.step-meta {
  flex-shrink: 0;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: rgba(255,255,255,.28);
  white-space: nowrap;
}
html[data-theme="light"] .step-number {
  background: none;
  border: none;
  color: rgba(20,20,20,.25);
}
html[data-theme="light"] .step-meta {
  color: rgba(20,20,20,.3);
}

.generator-form .builder-step,
.helper-card .preview-note,
.helper-card .preview-actions,
.helper-card h2,
.helper-card .eyebrow,
.generator-form .field span,
.generator-form .custom-label,
.generator-form .text-link,
.generator-form .step-title h2,
.helper-card .preview-note strong,
.helper-card .preview-note span {
  position: relative;
  z-index: 1;
}

.helper-card-static .eyebrow,
.helper-card-static h2,
.helper-card-static .preview-note,
.helper-card-static .preview-actions,
.helper-card-static .qr-preview-alt {
  position: relative;
  z-index: 1;
}

.helper-card-static .eyebrow {
  color: var(--gen);
}

html[data-theme="light"] .qr-stat-card--created .qr-stat-value {
  text-shadow: 0 10px 24px var(--gen-glow);
}

html[data-theme="light"] .qr-stat-card--views .qr-stat-value {
  color: #1831ad;
  text-shadow: 0 10px 24px rgba(24, 49, 173, 0.16);
}

.type-grid, .option-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(82px, 1fr));
  gap: 6px;
}
#qrTypeGrid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
}

.option-row-frames {
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 6px;
}

.custom-tabs {
  display: flex;
  align-items: flex-end;
  gap: 28px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  padding-bottom: 0;
}
html[data-theme="light"] .custom-tabs {
  border-bottom-color: rgba(20,20,20,.1);
}

.custom-tab {
  box-sizing: border-box;
  flex: 0 0 auto;
  height: auto;
  min-height: unset;
  padding: 0 0 14px;
  border-radius: 0;
  border: none;
  background: none;
  color: rgba(255,255,255,.35);
  font-size: .95rem;
  font-weight: 500;
  cursor: pointer;
  outline: none;
  position: relative;
  transition: color .2s ease;
}
.custom-tab:hover { color: rgba(255,255,255,.65); }

.custom-tab.is-active {
  color: #ffffff;
  border: none;
  background: none;
  box-shadow: none;
  font-weight: 700;
}
.custom-tab.is-active::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: -8px;
  right: -8px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.95) 28%, rgba(255,255,255,.95) 72%, transparent);
  box-shadow:
    0 0 6px 1px rgba(255,255,255,.3),
    0 0 18px 3px rgba(255,255,255,.12);
}

html[data-theme="light"] .custom-tab { color: rgba(20,20,20,.38); }
html[data-theme="light"] .custom-tab:hover { color: rgba(20,20,20,.7); }
html[data-theme="light"] .custom-tab.is-active { color: #111111; }
html[data-theme="light"] .custom-tab.is-active::after {
  background: linear-gradient(90deg, transparent, rgba(20,20,20,.85) 25%, rgba(20,20,20,.85) 75%, transparent);
}

.type-chip, .option-chip {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  padding: 0 10px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(18,18,18,0.92);
  color: var(--text);
  font-size: .85rem;
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease, color .2s ease;
}
.type-chip:hover:not(.is-active):not(.type-chip--locked) {
  border-color: rgba(255,255,255,.18);
  background: rgba(22,22,24,0.98);
  transform: translateY(-1px);
}
.chip-icon {
  flex-shrink: 0;
  opacity: .65;
  transition: opacity .2s ease;
}
.type-chip.is-active .chip-icon { opacity: 1; }
html[data-theme="light"] .type-chip:hover:not(.is-active):not(.type-chip--locked) {
  border-color: rgba(20,20,20,.18);
  background: rgba(20,20,20,.04);
}

html[data-theme="light"] .type-chip,
html[data-theme="light"] .option-chip {
  background: rgba(255,255,255,0.97);
}

.type-chip.is-active, .option-chip.is-active {
  border: 2px solid rgba(255,255,255,.65);
  background: #0a0a0a;
  color: var(--text);
  box-shadow: none;
}

html[data-theme="light"] .type-chip.is-active,
html[data-theme="light"] .option-chip.is-active {
  border-color: rgba(20,20,20,.14);
  background: linear-gradient(180deg, rgba(255,255,255,1), rgba(255,255,255,.78));
}

/* ── Chips "contenu encodé" (vcard, pdf, image…) ──────────── */
.type-chip--content {
  border-color: rgba(107,140,255,.3);
  color: #a5b4fc;
  gap: 6px;
}

.type-chip--content .type-chip-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #6b8cff;
  box-shadow: 0 0 6px rgba(107,140,255,.7);
  flex-shrink: 0;
}

.type-chip--content:hover {
  border-color: rgba(107,140,255,.65);
  background: rgba(107,140,255,.12);
  box-shadow: 0 0 0 1px rgba(107,140,255,.22), 0 8px 20px rgba(107,140,255,.16);
  color: #c4d0ff;
}
.type-chip--content.is-active {
  border-color: rgba(255,255,255,.6);
  background: #ffffff;
  color: #111111;
  box-shadow: 0 4px 16px rgba(0,0,0,.22);
}

html[data-theme="light"] .type-chip--content {
  border-color: rgba(20,37,171,.28);
  color: #1425ab;
  background: rgba(20,37,171,.05);
}

html[data-theme="light"] .type-chip--content:hover,
html[data-theme="light"] .type-chip--content.is-active {
  border-color: rgba(20,37,171,.5);
  background: rgba(20,37,171,.1);
  color: #0f1e8a;
}

/* ── Chips verrouillés (dynamique — abonnement requis) ──────── */
.type-chip--locked {
  border-color: rgba(99,102,241,.22);
  color: rgba(148,163,255,.45);
  background: #0a0a0a;
  gap: 6px;
  font-size: inherit;
  font-family: inherit;
  opacity: 1;
  cursor: not-allowed;
  pointer-events: none;
}
.type-chip--locked svg { flex-shrink: 0; }
html[data-theme="light"] .type-chip--locked {
  border-color: rgba(20,37,171,.28);
  color: rgba(20,37,171,.58);
  background: rgba(255,255,255,0.97);
}

/* ── Section cadenas séparée ─────────────────────────────── */
.type-grid-locked-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
  padding: 14px 16px 16px;
  border-radius: 14px;
  background: #0a0a0c;
  border: 1px solid rgba(99,102,241,.18);
  position: relative;
}
.type-grid-locked-row::before {
  content: "";
  position: absolute;
  top: 0; left: 12%; right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(120,130,255,.35) 40%, rgba(120,130,255,.35) 60%, transparent);
}

.locked-row-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.type-grid-locked-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: rgba(148,155,255,.6);
  text-transform: uppercase;
}

.locked-row-cta {
  font-size: .63rem;
  font-weight: 600;
  letter-spacing: .07em;
  color: rgba(148,155,255,.38);
  text-decoration: none;
  text-transform: uppercase;
  transition: color .2s ease;
  white-space: nowrap;
}
.locked-row-cta:hover { color: rgba(148,155,255,.75); }

.type-grid--locked {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
}

html[data-theme="light"] .type-grid-locked-row {
  background: rgba(255,255,255,.97);
  border-color: rgba(99,102,241,.2);
}
html[data-theme="light"] .type-grid-locked-label {
  color: rgba(79,70,229,.45);
}
html[data-theme="light"] .locked-row-cta {
  color: rgba(79,70,229,.35);
}
html[data-theme="light"] .locked-row-cta:hover {
  color: rgba(79,70,229,.65);
}

/* ── Panneau descriptif "Plus avec le dynamique" ─────────── */
.type-upgrade-panel {
  display: none;
  grid-column: 1 / -1;
  margin-top: 4px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(107,140,255,.28);
  background: rgba(107,140,255,.07);
  animation: upgradeIn .28s cubic-bezier(.2,.8,.2,1);
}

.type-upgrade-panel.is-visible { display: flex; gap: 14px; align-items: flex-start; }

@keyframes upgradeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.type-upgrade-icon {
  width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0;
  background: rgba(107,140,255,.15); border: 1px solid rgba(107,140,255,.25);
  display: flex; align-items: center; justify-content: center;
  color: #818cf8;
}

.type-upgrade-body { flex: 1; min-width: 0; display: grid; gap: 5px; }

.type-upgrade-title {
  font-size: .8rem; font-weight: 700; color: #c4d0ff;
}

html[data-theme="light"] .type-upgrade-title { color: #1425ab; }

.type-upgrade-desc {
  font-size: .76rem; line-height: 1.6; color: rgba(196,208,255,.7);
}

html[data-theme="light"] .type-upgrade-desc { color: rgba(20,37,171,.72); }

.type-upgrade-link {
  display: inline-flex; align-items: center; gap: 5px;
  margin-top: 2px;
  font-size: .74rem; font-weight: 700;
  color: #818cf8; text-decoration: none;
}

html[data-theme="light"] .type-upgrade-link { color: #1425ab; }

.type-upgrade-link:hover { text-decoration: underline; }

html[data-theme="light"] .type-upgrade-panel {
  border-color: rgba(20,37,171,.22);
  background: rgba(20,37,171,.06);
}

/* ── Séparateur dynamique ──────────────────────────────────── */
.type-grid-sep {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
}

.type-grid-sep-line {
  flex: 1;
  height: 1px;
  background: rgba(107,140,255,.22);
}

.type-grid-sep-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  font-size: .68rem;
  font-weight: 700;
  color: rgba(107,140,255,.75);
  letter-spacing: .06em;
}

html[data-theme="light"] .type-grid-sep-line { background: rgba(20,37,171,.18); }
html[data-theme="light"] .type-grid-sep-label { color: rgba(20,37,171,.65); }

/* ── Chips dynamiques (verrouillés) ────────────────────────── */
.type-chip--dynamic {
  position: relative;
  border-color: rgba(107,140,255,.2);
  background: rgba(107,140,255,.04);
  color: rgba(107,140,255,.45);
  cursor: pointer;
  gap: 6px;
  opacity: .72;
  transition: opacity .25s ease, border-color .25s ease, background .25s ease, transform .25s ease, box-shadow .25s ease;
}

.type-chip--dynamic:hover {
  opacity: 1;
  border-color: rgba(107,140,255,.45);
  background: rgba(107,140,255,.1);
  color: #a5b4fc;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(107,140,255,.15);
}

html[data-theme="light"] .type-chip--dynamic {
  border-color: rgba(20,37,171,.18);
  background: rgba(20,37,171,.04);
  color: rgba(20,37,171,.45);
}

html[data-theme="light"] .type-chip--dynamic:hover {
  border-color: rgba(20,37,171,.35);
  background: rgba(20,37,171,.08);
  color: rgba(20,37,171,.8);
}

.type-chip-lock {
  flex-shrink: 0;
  opacity: .65;
}

.type-chip-dyn-badge {
  position: absolute;
  top: -1px; right: -1px;
  padding: 2px 6px;
  border-radius: 0 14px 0 8px;
  background: linear-gradient(135deg, rgba(107,140,255,.5), rgba(74,110,245,.4));
  border: 1px solid rgba(107,140,255,.35);
  color: #c4d0ff;
  font-size: .56rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  line-height: 1.2;
}

html[data-theme="light"] .type-chip-dyn-badge {
  background: linear-gradient(135deg, rgba(20,37,171,.15), rgba(20,37,171,.1));
  border-color: rgba(20,37,171,.22);
  color: #1425ab;
}

.option-chip[data-dot-style],
.option-chip[data-eye-frame],
.option-chip[data-eye-ball] {
  min-height: 70px;
  align-items: flex-end;
  padding: 0 6px 7px;
  text-align: center;
  overflow: hidden;
  font-size: .72rem;
}
.option-chip[data-frame-style] {
  min-height: 92px;
  align-items: flex-end;
  padding: 0 8px 10px;
  text-align: center;
  overflow: hidden;
}

.option-chip[data-dot-style],
.option-chip[data-eye-frame],
.option-chip[data-eye-ball] {
  border: none;
  background: transparent;
  box-shadow: none;
  border-radius: 999px;
  overflow: visible;
  transition:
    transform .25s ease,
    opacity .25s ease,
    text-shadow .25s ease,
    background .25s ease,
    box-shadow .25s ease;
}

.option-chip[data-dot-style]:hover,
.option-chip[data-dot-style]:focus-visible,
.option-chip[data-eye-frame]:hover,
.option-chip[data-eye-frame]:focus-visible,
.option-chip[data-eye-ball]:hover,
.option-chip[data-eye-ball]:focus-visible {
  border-color: transparent;
  background: radial-gradient(circle, rgba(255,255,255,.14) 0%, rgba(255,255,255,.05) 38%, rgba(255,255,255,0) 72%);
  box-shadow: none;
  transform: translateY(-2px);
}

.option-chip[data-dot-style].is-active,
.option-chip[data-eye-frame].is-active,
.option-chip[data-eye-ball].is-active {
  border-color: transparent;
  background: radial-gradient(circle, rgba(255,255,255,.18) 0%, rgba(255,255,255,.07) 40%, rgba(255,255,255,0) 74%);
  color: var(--text);
  box-shadow: none;
  transform: translateY(-1px);
  text-shadow: 0 0 14px rgba(255,255,255,.18);
}

html[data-theme="light"] .option-chip[data-dot-style],
html[data-theme="light"] .option-chip[data-eye-frame],
html[data-theme="light"] .option-chip[data-eye-ball] {
  background: transparent;
  box-shadow: none;
}

html[data-theme="light"] .option-chip[data-dot-style]:hover,
html[data-theme="light"] .option-chip[data-dot-style]:focus-visible,
html[data-theme="light"] .option-chip[data-eye-frame]:hover,
html[data-theme="light"] .option-chip[data-eye-frame]:focus-visible,
html[data-theme="light"] .option-chip[data-eye-ball]:hover,
html[data-theme="light"] .option-chip[data-eye-ball]:focus-visible {
  border-color: transparent;
  background: radial-gradient(circle, rgba(17,17,17,.09) 0%, rgba(17,17,17,.03) 38%, rgba(17,17,17,0) 72%);
  box-shadow: none;
}

html[data-theme="light"] .option-chip[data-dot-style].is-active,
html[data-theme="light"] .option-chip[data-eye-frame].is-active,
html[data-theme="light"] .option-chip[data-eye-ball].is-active {
  border-color: transparent;
  background: radial-gradient(circle, rgba(17,17,17,.12) 0%, rgba(17,17,17,.04) 40%, rgba(17,17,17,0) 74%);
  box-shadow: none;
  text-shadow: 0 0 12px rgba(17,17,17,.08);
}

.frame-choice {
  min-height: 88px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 6px;
  padding: 8px 4px 8px;
  border: 1.5px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.02);
  box-shadow: none;
  border-radius: 12px;
  overflow: visible;
  transition:
    transform .25s ease,
    opacity .25s ease,
    background .25s ease,
    border-color .25s ease,
    box-shadow .25s ease;
}

.frame-choice:hover,
.frame-choice:focus-visible {
  border-color: rgba(255,255,255,.16);
  background: rgba(255,255,255,.05);
  box-shadow: none;
  transform: translateY(-1px);
}

.frame-choice.is-active {
  border: 2px solid rgba(255,255,255,.65);
  background: #0a0a0a;
  color: var(--text);
  box-shadow: none;
  transform: none;
}

.frame-choice .frame-name {
  color: var(--soft);
  text-shadow: none;
}

.frame-choice:hover .frame-name,
.frame-choice:focus-visible .frame-name {
  color: var(--muted);
}

.frame-choice.is-active .frame-name {
  color: var(--text);
}

html[data-theme="light"] .frame-choice {
  border-color: rgba(20,20,20,.09);
  background: rgba(20,20,20,.03);
  box-shadow: none;
}

html[data-theme="light"] .frame-choice:hover,
html[data-theme="light"] .frame-choice:focus-visible {
  border-color: rgba(20,20,20,.18);
  background: rgba(20,20,20,.06);
}

html[data-theme="light"] .frame-choice.is-active {
  border-color: rgba(20,20,20,.55);
  background: rgba(20,20,20,.07);
  color: #111111;
}

html[data-theme="light"] .frame-choice.is-active .frame-name {
  color: #111111;
}

.frame-choice::before,
.frame-choice::after {
  content: none !important;
}

.frame-thumb {
  position: relative;
  width: 50px;
  height: 50px;
  border-radius: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  isolation: isolate;
  transition: transform .28s ease;
}

.frame-thumb::before,
.frame-thumb::after {
  content: "";
  position: absolute;
  pointer-events: none;
  opacity: 0;
  transition: opacity .28s ease, transform .28s ease, filter .28s ease;
}

.frame-thumb::before {
  z-index: -2;
  inset: 6px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255,255,255,.22) 0%, rgba(255,255,255,.08) 42%, rgba(255,255,255,0) 76%);
  filter: blur(12px);
  transform: scale(.72);
}

.frame-thumb::after {
  z-index: -1;
  inset: 14px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255,255,255,.14) 0%, rgba(255,255,255,0) 72%);
  filter: blur(4px);
  transform: scale(.84);
}

.frame-thumb svg {
  display: block;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 0 rgba(255,255,255,0));
  transition: filter .28s ease, transform .28s ease;
}

.frame-choice:hover .frame-thumb,
.frame-choice:focus-visible .frame-thumb {
  transform: translateY(-2px) scale(1.04);
}

.frame-choice:hover .frame-thumb::before,
.frame-choice:focus-visible .frame-thumb::before {
  opacity: .56;
  transform: scale(1.02);
}

.frame-choice:hover .frame-thumb::after,
.frame-choice:focus-visible .frame-thumb::after {
  opacity: .5;
  transform: scale(1.08);
}

.frame-choice:hover .frame-thumb svg,
.frame-choice:focus-visible .frame-thumb svg {
  filter: drop-shadow(0 0 12px rgba(255,255,255,.16));
}

.frame-choice.is-active .frame-thumb {
  transform: translateY(-1px) scale(1.05);
}

.frame-choice.is-active .frame-thumb::before {
  opacity: .72;
  transform: scale(1.12);
}

.frame-choice.is-active .frame-thumb::after {
  opacity: .62;
  transform: scale(1.16);
}

.frame-choice.is-active .frame-thumb svg {
  filter:
    drop-shadow(0 0 18px rgba(255,255,255,.16))
    drop-shadow(0 10px 26px rgba(255,255,255,.08));
}

.logo-frame-choice,
.support-choice {
  min-height: 90px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 6px;
  padding: 8px;
  text-align: center;
}

.logo-frame-choice::before,
.logo-frame-choice::after,
.support-choice::before,
.support-choice::after {
  content: none !important;
}

.logo-frame-choice.is-active,
.support-choice.is-active {
  background: #0a0a0a;
  border-color: rgba(255,255,255,.65);
  color: var(--text);
  box-shadow: none;
}

.logo-frame-choice.is-active .logo-frame-thumb,
.support-choice.is-active .support-thumb {
  border-color: rgba(255,255,255,.4);
  box-shadow: none;
}

.logo-frame-thumb,
.support-thumb {
  position: relative;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.04);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
  overflow: hidden;
}

.logo-frame-thumb {
  width: 52px;
  height: 52px;
}

.support-thumb {
  width: 64px;
  height: 52px;
  border-radius: 16px;
}

.logo-frame-thumb svg,
.support-thumb svg {
  display: block;
  width: 100%;
  height: 100%;
}

html[data-theme="light"] .logo-frame-thumb,
html[data-theme="light"] .support-thumb {
  background: rgba(255,255,255,.98);
  border-color: rgba(20,20,20,.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.94);
}

html[data-theme="light"] .logo-frame-thumb svg,
html[data-theme="light"] .support-thumb svg {
  filter: invert(1);
}

.frame-name {
  font-size: .72rem;
  line-height: 1.2;
  color: var(--soft);
}

html[data-theme="light"] .frame-thumb { background: transparent; }

html[data-theme="light"] .frame-thumb::before {
  background: radial-gradient(circle, rgba(17,17,17,.12) 0%, rgba(17,17,17,.04) 42%, rgba(17,17,17,0) 76%);
}

html[data-theme="light"] .frame-thumb::after {
  background: radial-gradient(circle, rgba(17,17,17,.08) 0%, rgba(17,17,17,0) 72%);
}

html[data-theme="light"] .frame-thumb svg {
  filter: brightness(0) opacity(.84);
}

html[data-theme="light"] .frame-choice:hover .frame-thumb svg,
html[data-theme="light"] .frame-choice:focus-visible .frame-thumb svg {
  filter:
    brightness(0)
    opacity(.92)
    drop-shadow(0 0 10px rgba(17,17,17,.1));
}

html[data-theme="light"] .frame-choice.is-active .frame-thumb svg {
  filter:
    brightness(0)
    drop-shadow(0 0 14px rgba(17,17,17,.12))
    drop-shadow(0 10px 24px rgba(17,17,17,.06));
}

.option-chip[data-dot-style]::before,
.option-chip[data-frame-style]::before,
.option-chip[data-eye-frame]::before,
.option-chip[data-eye-ball]::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 8px;
  transform: translateX(-50%);
  transition: filter .25s ease, opacity .25s ease;
}

.option-chip[data-dot-style]:hover::before,
.option-chip[data-dot-style]:focus-visible::before,
.option-chip[data-eye-frame]:hover::before,
.option-chip[data-eye-frame]:focus-visible::before,
.option-chip[data-eye-ball]:hover::before,
.option-chip[data-eye-ball]:focus-visible::before {
  filter: drop-shadow(0 0 10px rgba(255,255,255,.18));
}

.option-chip[data-dot-style].is-active::before,
.option-chip[data-eye-frame].is-active::before,
.option-chip[data-eye-ball].is-active::before {
  filter: drop-shadow(0 0 14px rgba(255,255,255,.24));
}

.option-chip[data-dot-style="square"]::before {
  width: 34px;
  height: 34px;
  background: linear-gradient(#fff 0 0) 50% 50%/24px 24px no-repeat;
}

.option-chip[data-dot-style="rounded"]::before,
.option-chip[data-dot-style="fusion"]::before,
.option-chip[data-dot-style="fusionround"]::before,
.option-chip[data-dot-style="fusionsharp"]::before,
.option-chip[data-dot-style="fusionsharpocto"]::before,
.option-chip[data-dot-style="fusionaigu"]::before,
.option-chip[data-dot-style="fusionfleche"]::before,
.option-chip[data-dot-style="fusiontriangle"]::before,
.option-chip[data-dot-style="fusionencoche"]::before,
.option-chip[data-dot-style="fusionencochedouce"]::before,
.option-chip[data-dot-style="fusionencocheronde"]::before,
.option-chip[data-dot-style="fusionencocherondedouce"]::before,
.option-chip[data-dot-style="fusionflechebout"]::before,
.option-chip[data-dot-style="fusiondemi"]::before,
.option-chip[data-dot-style="fusioncreuse"]::before,
.option-chip[data-dot-style="fusionchevron"]::before,
.option-chip[data-dot-style="fusionpic"]::before,
.option-chip[data-dot-style="soft"]::before,
.option-chip[data-dot-style="classy"]::before {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background:
    radial-gradient(circle at 8px 8px, #fff 0 4px, transparent 4.2px),
    radial-gradient(circle at 18px 8px, #fff 0 4px, transparent 4.2px),
    radial-gradient(circle at 28px 8px, #fff 0 4px, transparent 4.2px),
    radial-gradient(circle at 8px 18px, #fff 0 4px, transparent 4.2px),
    radial-gradient(circle at 18px 18px, #fff 0 4px, transparent 4.2px),
    radial-gradient(circle at 28px 18px, #fff 0 4px, transparent 4.2px),
    radial-gradient(circle at 8px 28px, #fff 0 4px, transparent 4.2px),
    radial-gradient(circle at 18px 28px, #fff 0 4px, transparent 4.2px),
    radial-gradient(circle at 28px 28px, #fff 0 4px, transparent 4.2px);
}

.option-chip[data-dot-style="rounded"]::before {
  width: 34px;
  height: 34px;
  border-radius: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 34'%3E%3Crect x='5' y='5' width='24' height='24' rx='7' fill='white'/%3E%3C/svg%3E") center/contain no-repeat;
}

.option-chip[data-dot-style="fusion"]::before {
  width: 34px;
  height: 34px;
  border-radius: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 34'%3E%3Crect x='3' y='7' width='28' height='20' rx='8' fill='white'/%3E%3C/svg%3E") center/contain no-repeat;
}

.option-chip[data-dot-style="fusionround"]::before {
  width: 34px;
  height: 34px;
  border-radius: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 34'%3E%3Crect x='2' y='7' width='30' height='20' rx='10' fill='white'/%3E%3C/svg%3E") center/contain no-repeat;
}

.option-chip[data-dot-style="fusionsharp"]::before {
  width: 40px;
  height: 40px;
  border-radius: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath fill='white' d='M12 4 H28 L36 12 V28 L28 36 H12 L4 28 V12 Z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.option-chip[data-dot-style="fusionsharpocto"]::before {
  width: 40px;
  height: 40px;
  border-radius: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cg fill='white'%3E%3Cpath d='M12 4 H28 L36 12 V28 L28 36 H12 L4 28 V12 Z'/%3E%3Cpath d='M20 10 L26 16 L20 22 L14 16 Z'/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat;
}

.option-chip[data-dot-style="fusionaigu"]::before {
  width: 40px;
  height: 40px;
  border-radius: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cg fill='white'%3E%3Cpath d='M12 4 L22 14 L12 24 L2 14 Z'/%3E%3Crect x='20' y='18' width='16' height='16' rx='0'/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat;
}

.option-chip[data-dot-style="fusionfleche"]::before {
  width: 40px;
  height: 40px;
  border-radius: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cg fill='white'%3E%3Crect x='8' y='8' width='24' height='24'/%3E%3Cpath d='M18 8 L22 8 L20 4 Z'/%3E%3Cpath d='M18 32 L22 32 L20 36 Z'/%3E%3Cpath d='M8 18 L8 22 L4 20 Z'/%3E%3Cpath d='M32 18 L32 22 L36 20 Z'/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat;
}

.option-chip[data-dot-style="fusiontriangle"]::before {
  width: 40px;
  height: 40px;
  border-radius: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cg fill='white'%3E%3Cpath d='M20 4 L28 20 L12 20 Z'/%3E%3Cpath d='M36 20 L20 28 L20 12 Z'/%3E%3Cpath d='M20 36 L12 20 L28 20 Z'/%3E%3Cpath d='M4 20 L20 12 L20 28 Z'/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat;
}

.option-chip[data-dot-style="fusionencoche"]::before {
  width: 40px;
  height: 40px;
  border-radius: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath fill='white' fill-rule='evenodd' d='M6 6 H34 V34 H6 Z M6 6 L20 20 L34 6 Z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.option-chip[data-dot-style="fusionencochedouce"]::before {
  width: 40px;
  height: 40px;
  border-radius: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath fill='white' d='M10 6 H16 L20 18 L24 6 H30 Q34 6 34 10 V30 Q34 34 30 34 H10 Q6 34 6 30 V10 Q6 6 10 6 Z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.option-chip[data-dot-style="fusionencocheronde"]::before {
  width: 40px;
  height: 40px;
  border-radius: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath fill='white' fill-rule='evenodd' d='M6 6 H34 V34 H6 Z M6 6 Q20 24 34 6 Z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.option-chip[data-dot-style="fusionencocherondedouce"]::before {
  width: 40px;
  height: 40px;
  border-radius: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath fill='white' fill-rule='evenodd' d='M10 6 H30 Q34 6 34 10 V30 Q34 34 30 34 H10 Q6 34 6 30 V10 Q6 6 10 6 Z M12 6 A8 8 0 0 0 28 6 Z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.option-chip[data-dot-style="fusionflechebout"]::before {
  width: 40px;
  height: 40px;
  border-radius: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath fill='white' d='M6 17 H22 V9 L34 20 L22 31 V23 H6 Z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.option-chip[data-dot-style="fusiondemi"]::before {
  width: 40px;
  height: 40px;
  border-radius: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cg fill='white'%3E%3Cpath d='M4 10 L14 10 L20 4 L26 10 L36 10 L36 20 L30 20 L30 30 L20 30 L20 36 L10 36 L10 26 L4 26 Z'/%3E%3Cpath d='M6 6 L12 6 L9 2 Z'/%3E%3Cpath d='M28 22 L34 22 L37 26 L31 26 Z'/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat;
}

.option-chip[data-dot-style="fusioncreuse"]::before {
  width: 40px;
  height: 40px;
  border-radius: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cg fill='white'%3E%3Cpath d='M4 4 L36 4 L36 14 L29 14 L24 20 L29 26 L36 26 L36 36 L26 36 L20 29 L14 36 L4 36 L4 26 L11 26 L16 20 L11 14 L4 14 Z'/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat;
}

.option-chip[data-dot-style="fusionchevron"]::before {
  width: 40px;
  height: 40px;
  border-radius: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath fill='white' d='M20 4 L30 20 L20 36 L10 20 Z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.option-chip[data-dot-style="fusionpic"]::before {
  width: 40px;
  height: 40px;
  border-radius: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cg fill='white'%3E%3Cpath d='M9 6 L24 6 L28 10 L28 13 L31 10 L35 14 L35 21 L31 25 L35 29 L31 33 L28 30 L28 34 L24 34 L20 30 L16 34 L9 34 L9 27 L13 23 L9 19 Z'/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat;
}

.option-chip[data-dot-style="soft"]::before {
  width: 34px;
  height: 34px;
  border-radius: 0;
  filter: none;
  opacity: 1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 34'%3E%3Crect x='5' y='5' width='24' height='24' rx='10' fill='white'/%3E%3C/svg%3E") center/contain no-repeat;
}

.option-chip[data-dot-style="dots"]::before {
  width: 34px;
  height: 34px;
  border-radius: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 34'%3E%3Ccircle cx='17' cy='17' r='12' fill='white'/%3E%3C/svg%3E") center/contain no-repeat;
}

.option-chip[data-dot-style="dots2"]::before {
  width: 34px;
  height: 34px;
  border-radius: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 34'%3E%3Ccircle cx='17' cy='17' r='17' fill='white'/%3E%3C/svg%3E") center/contain no-repeat;
}

.option-chip[data-dot-style="diamond"]::before {
  width: 40px;
  height: 40px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath fill='white' d='M20 4 L34 20 L20 36 L6 20 Z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.option-chip[data-dot-style="heart"]::before {
  width: 34px;
  height: 32px;
  top: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 32'%3E%3Cpath fill='white' d='M17 30 C22.4 25.7 28.6 20.8 28.6 12.2 C28.6 6.6 24.7 2.5 19.8 2.5 C18.3 2.5 16.9 3 15.8 3.9 C15 4.5 14.3 5.3 13.8 6.2 C13.3 5.3 12.6 4.5 11.8 3.9 C10.7 3 9.3 2.5 7.8 2.5 C2.9 2.5 -1 6.6 -1 12.2 C-1 20.8 5.2 25.7 10.6 30 L13.8 32 Z' transform='translate(3.4 -1.4)'/%3E%3C/svg%3E") center/contain no-repeat;
}

.option-chip[data-dot-style="cross"]::before {
  width: 38px;
  height: 38px;
  background:
    linear-gradient(45deg, transparent 40%, #fff 40% 60%, transparent 60%),
    linear-gradient(-45deg, transparent 40%, #fff 40% 60%, transparent 60%);
}

.option-chip[data-dot-style="lineh"]::before {
  width: 40px;
  height: 20px;
  background:
    linear-gradient(#fff 0 0) 0 50%/17px 8px no-repeat,
    linear-gradient(#fff 0 0) 100% 50%/17px 8px no-repeat;
  border-radius: 999px;
}

.option-chip[data-dot-style="linehlink"]::before {
  width: 40px;
  height: 16px;
  background: linear-gradient(#fff 0 0) 50% 50%/40px 8px no-repeat;
  border-radius: 999px;
}

.option-chip[data-dot-style="linev"]::before {
  width: 20px;
  height: 40px;
  background:
    linear-gradient(#fff 0 0) 50% top/8px 17px no-repeat,
    linear-gradient(#fff 0 0) 50% bottom/8px 17px no-repeat;
  border-radius: 999px;
}

.option-chip[data-dot-style="linevlink"]::before {
  width: 16px;
  height: 40px;
  background: linear-gradient(#fff 0 0) 50% 50%/8px 40px no-repeat;
  border-radius: 999px;
}

.option-chip[data-dot-style="rings"]::before {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: radial-gradient(circle, transparent 0 9px, #fff 9.5px 14px, transparent 14.5px);
}

.option-chip[data-dot-style="corner"]::before {
  width: 34px;
  height: 34px;
  border-left: 8px solid #fff;
  border-top: 8px solid #fff;
  border-top-left-radius: 14px;
}

.option-chip[data-dot-style="star"]::before {
  width: 36px;
  height: 36px;
  background: #fff;
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 69% 56%, 79% 92%, 50% 72%, 21% 92%, 31% 56%, 2% 35%, 39% 35%);
}

.option-chip[data-dot-style="plus"]::before {
  width: 38px;
  height: 38px;
  background: #fff;
  clip-path: polygon(38% 0, 62% 0, 62% 38%, 100% 38%, 100% 62%, 62% 62%, 62% 100%, 38% 100%, 38% 62%, 0 62%, 0 38%, 38% 38%);
}

.option-chip[data-dot-style="spark"]::before {
  width: 38px;
  height: 38px;
  background: #fff;
  clip-path: polygon(50% 0, 63% 37%, 100% 50%, 63% 63%, 50% 100%, 37% 63%, 0 50%, 37% 37%);
}

.option-chip[data-dot-style="notch"]::before {
  width: 38px;
  height: 38px;
  background: #fff;
  clip-path: polygon(18% 0, 100% 0, 100% 82%, 82% 100%, 0 100%, 0 18%);
}

.option-chip[data-dot-style="confetti"]::before {
  width: 38px;
  height: 38px;
  background:
    linear-gradient(#fff 0 0) 4px 5px/8px 8px no-repeat,
    linear-gradient(#fff 0 0) 24px 4px/8px 8px no-repeat,
    linear-gradient(#fff 0 0) 9px 24px/8px 8px no-repeat,
    linear-gradient(#fff 0 0) 24px 24px/8px 8px no-repeat;
}

.option-chip[data-dot-style="tilt"]::before {
  width: 34px;
  height: 34px;
  background: #fff;
  border-radius: 8px;
  transform: translateX(-50%) rotate(16deg);
}

.option-chip[data-dot-style="connect"]::before {
  width: 40px;
  height: 40px;
  background:
    linear-gradient(#fff 0 0) 50% 8px/12px 10px no-repeat,
    linear-gradient(#fff 0 0) 32px 50%/10px 12px no-repeat,
    linear-gradient(#fff 0 0) 50% 32px/12px 10px no-repeat,
    linear-gradient(#fff 0 0) 8px 50%/10px 12px no-repeat,
    linear-gradient(#fff 0 0) 50% 50%/18px 18px no-repeat,
    linear-gradient(#fff 0 0) 31px 9px/9px 9px no-repeat,
    linear-gradient(#fff 0 0) 31px 31px/9px 9px no-repeat,
    linear-gradient(#fff 0 0) 9px 31px/9px 9px no-repeat,
    linear-gradient(#fff 0 0) 9px 9px/9px 9px no-repeat;
  clip-path: polygon(0 18%, 18% 0, 82% 0, 100% 18%, 100% 82%, 82% 100%, 18% 100%, 0 82%);
}

.option-chip[data-dot-style="diamondlink"]::before {
  width: 40px;
  height: 40px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cg fill='white'%3E%3Cpath d='M20 5 L27 12 L20 19 L13 12 Z'/%3E%3Cpath d='M10 15 L17 22 L10 29 L3 22 Z'/%3E%3Cpath d='M30 15 L37 22 L30 29 L23 22 Z'/%3E%3Cpath d='M20 21 L27 28 L20 35 L13 28 Z'/%3E%3Crect x='18' y='11' width='4' height='18' rx='2'/%3E%3Crect x='10' y='20' width='20' height='4' rx='2'/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat;
}

.option-chip[data-dot-style="pointes"]::before {
  width: 40px;
  height: 40px;
  background:
    linear-gradient(#fff 0 0) 50% 50%/22px 12px no-repeat,
    linear-gradient(#fff 0 0) 50% 50%/12px 22px no-repeat,
    linear-gradient(90deg, transparent 0 38%, #fff 38% 100%) 0 50%/14px 12px no-repeat,
    linear-gradient(-90deg, transparent 0 38%, #fff 38% 100%) 100% 50%/14px 12px no-repeat,
    linear-gradient(180deg, transparent 0 38%, #fff 38% 100%) 50% 0/12px 14px no-repeat,
    linear-gradient(0deg, transparent 0 38%, #fff 38% 100%) 50% 100%/12px 14px no-repeat;
  clip-path: polygon(50% 0, 66% 18%, 100% 18%, 82% 50%, 100% 82%, 66% 82%, 50% 100%, 34% 82%, 0 82%, 18% 50%, 0 18%, 34% 18%);
}

.option-chip[data-dot-style="molecule"]::before {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, #fff 0 7px, transparent 7.5px),
    radial-gradient(circle at 50% 10px, #fff 0 4px, transparent 4.5px),
    radial-gradient(circle at 30px 50%, #fff 0 4px, transparent 4.5px),
    radial-gradient(circle at 50% 30px, #fff 0 4px, transparent 4.5px),
    radial-gradient(circle at 10px 50%, #fff 0 4px, transparent 4.5px),
    radial-gradient(circle at 30px 10px, #fff 0 3px, transparent 3.5px),
    radial-gradient(circle at 30px 30px, #fff 0 3px, transparent 3.5px),
    radial-gradient(circle at 10px 30px, #fff 0 3px, transparent 3.5px),
    radial-gradient(circle at 10px 10px, #fff 0 3px, transparent 3.5px);
}

.option-chip[data-dot-style="classy"]::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 16px;
  width: 42px;
  height: 42px;
  transform: translateX(-50%);
  border-radius: 14px;
  background: transparent;
}

.option-chip[data-eye-frame="square"]::before,
.option-chip[data-eye-frame="pearls"]::before,
.option-chip[data-eye-frame="rounded"]::before,
.option-chip[data-eye-frame="outer-corner"]::before,
.option-chip[data-eye-frame="outer-corner-stretch"]::before,
.option-chip[data-eye-frame="outer-square-round"]::before,
.option-chip[data-eye-frame="outer-corner-long"]::before,
.option-chip[data-eye-frame="square-circle"]::before,
.option-chip[data-eye-frame="rounded-circle"]::before,
.option-chip[data-eye-frame="squircle"]::before {
  width: 34px;
  height: 34px;
}

.option-chip[data-eye-frame="square"]::before {
  border: 4px solid #fff;
}

.option-chip[data-eye-frame="pearls"]::before {
  width: 38px;
  height: 38px;
  border: none;
  background: center/100% 100% no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 38 38'%3E%3Ccircle cx='2.714' cy='2.714' r='2.714' fill='white'/%3E%3Ccircle cx='8.143' cy='2.714' r='2.714' fill='white'/%3E%3Ccircle cx='13.571' cy='2.714' r='2.714' fill='white'/%3E%3Ccircle cx='19' cy='2.714' r='2.714' fill='white'/%3E%3Ccircle cx='24.429' cy='2.714' r='2.714' fill='white'/%3E%3Ccircle cx='29.857' cy='2.714' r='2.714' fill='white'/%3E%3Ccircle cx='35.286' cy='2.714' r='2.714' fill='white'/%3E%3Ccircle cx='2.714' cy='8.143' r='2.714' fill='white'/%3E%3Ccircle cx='35.286' cy='8.143' r='2.714' fill='white'/%3E%3Ccircle cx='2.714' cy='13.571' r='2.714' fill='white'/%3E%3Ccircle cx='35.286' cy='13.571' r='2.714' fill='white'/%3E%3Ccircle cx='2.714' cy='19' r='2.714' fill='white'/%3E%3Ccircle cx='35.286' cy='19' r='2.714' fill='white'/%3E%3Ccircle cx='2.714' cy='24.429' r='2.714' fill='white'/%3E%3Ccircle cx='35.286' cy='24.429' r='2.714' fill='white'/%3E%3Ccircle cx='2.714' cy='29.857' r='2.714' fill='white'/%3E%3Ccircle cx='35.286' cy='29.857' r='2.714' fill='white'/%3E%3Ccircle cx='2.714' cy='35.286' r='2.714' fill='white'/%3E%3Ccircle cx='8.143' cy='35.286' r='2.714' fill='white'/%3E%3Ccircle cx='13.571' cy='35.286' r='2.714' fill='white'/%3E%3Ccircle cx='19' cy='35.286' r='2.714' fill='white'/%3E%3Ccircle cx='24.429' cy='35.286' r='2.714' fill='white'/%3E%3Ccircle cx='29.857' cy='35.286' r='2.714' fill='white'/%3E%3Ccircle cx='35.286' cy='35.286' r='2.714' fill='white'/%3E%3Crect x='5.429' y='5.429' width='27.143' height='27.143' fill='%23181818'/%3E%3C/svg%3E");
}

.option-chip[data-eye-frame="rounded"]::before {
  border: 4px solid #fff;
  border-radius: 11px;
}

.option-chip[data-eye-frame="outer-corner"]::before {
  border: none;
  background: center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 34'%3E%3Cpath fill='white' d='M9 3H31V25Q31 31 25 31H3V9Q3 3 9 3Z'/%3E%3Cpath fill='%23181818' d='M11 9H25V23Q25 25 23 25H9V11Q9 9 11 9Z'/%3E%3C/svg%3E");
}

.option-chip[data-eye-frame="outer-corner-stretch"]::before {
  border: none;
  background: center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 34'%3E%3Cpath fill='white' d='M11 1H31V24Q31 31 24 31H1V11Q1 3 11 1Z'/%3E%3Cpath fill='%23181818' d='M12 8H25V23Q25 25 23 25H8V12Q8 8.5 12 8Z'/%3E%3C/svg%3E");
}

.option-chip[data-eye-frame="outer-corner-long"]::before {
  border: none;
  background: center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 34'%3E%3Cpath fill='white' d='M13 -1H31V23Q31 31 23 31H-1V13Q-1 2.2 13 -1Z'/%3E%3Cpath fill='%23181818' d='M11 8H24V24Q24 26 22 26H8V11Q8 8 11 8Z'/%3E%3C/svg%3E");
}

.option-chip[data-eye-frame="outer-square-round"]::before {
  border: none;
  background: center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 34'%3E%3Cpath fill='white' d='M3 3H25Q31 3 31 9V25Q31 31 25 31H9Q3 31 3 25Z'/%3E%3Cpath fill='%23181818' d='M8 8H22Q26 8 26 12V22Q26 26 22 26H12Q8 26 8 22Z'/%3E%3C/svg%3E");
}

.option-chip[data-eye-frame="circle"]::before {
  width: 34px;
  height: 34px;
  border: 4px solid #fff;
  border-radius: 50%;
}

.option-chip[data-eye-frame="rough"]::before {
  width: 36px;
  height: 36px;
  background: #fff;
  clip-path: polygon(8% 2%, 84% 6%, 97% 14%, 93% 84%, 84% 97%, 16% 94%, 3% 84%, 7% 16%);
}

.option-chip[data-eye-frame="tilt"]::before {
  width: 34px;
  height: 34px;
  border: 4px solid #fff;
  border-radius: 7px;
  transform: translateX(-50%) rotate(-7deg);
}

.option-chip[data-eye-frame="square-circle"]::before {
  background-color: #fff;
  background: radial-gradient(circle at center, transparent 0 7px, #fff 7.5px 20px);
}

.option-chip[data-eye-frame="rounded-circle"]::before {
  border-radius: 11px;
  background-color: #fff;
  background: radial-gradient(circle at center, transparent 0 7px, #fff 7.5px 20px);
}

.option-chip[data-eye-frame="squircle"]::before {
  border: 4px solid #fff;
  border-radius: 15px;
}

.option-chip[data-eye-frame="octagon"]::before {
  width: 36px;
  height: 36px;
  background: #fff;
  clip-path: polygon(18% 0, 82% 0, 100% 18%, 100% 82%, 82% 100%, 18% 100%, 0 82%, 0 18%);
}

.option-chip[data-eye-frame="bevel"]::before {
  width: 36px;
  height: 36px;
  background: #fff;
  clip-path: polygon(12% 0, 88% 0, 100% 12%, 100% 88%, 88% 100%, 12% 100%, 0 88%, 0 12%);
}

.option-chip[data-eye-frame="stretch"]::before {
  width: 36px;
  height: 36px;
  background: center/100% 100% no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36'%3E%3Cpath d='M5 7Q5 3 9 3H24Q30 3 31 8L33 28Q33 33 28 33H10Q5 33 5 28Z' fill='white'/%3E%3Cpath d='M10 10Q10 8 12 8H23Q27 8 27.5 11L28 24Q28 28 24 28H13Q10 28 10 25Z' fill='%23181818'/%3E%3C/svg%3E");
}

.option-chip[data-eye-frame="stretch-tip"]::before {
  width: 36px;
  height: 36px;
  background: center/100% 100% no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36'%3E%3Cpath d='M7 6L27.8 4.8Q31.8 4.6 31.8 9V26.8Q31.8 31 27.6 31H9.7Q5.8 31 5.5 27.2L4.2 9.8Q4 6.2 7 6Z' fill='white'/%3E%3Cpath d='M10.8 9.5L24.2 8.8Q27.3 8.6 27.3 11.9V23.8Q27.3 27.2 23.9 27.2H12.8Q9.8 27.2 9.6 24.2L8.7 12.2Q8.5 9.7 10.8 9.5Z' fill='%23181818'/%3E%3C/svg%3E");
}

.option-chip[data-eye-frame="leaf-ne"]::before,
.option-chip[data-eye-frame="leaf-nw"]::before,
.option-chip[data-eye-frame="leaf-se"]::before,
.option-chip[data-eye-frame="leaf-sw"]::before {
  width: 36px;
  height: 36px;
  border: none;
  clip-path: none;
}

.option-chip[data-eye-frame="leaf-ne"]::before {
  background: center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36'%3E%3Cpath fill='white' d='M0 0H24Q36 0 36 12V36H12Q0 36 0 24Z'/%3E%3Cpath fill='%23181818' d='M6 6H22Q30 6 30 14V30H14Q6 30 6 22Z'/%3E%3C/svg%3E");
}

.option-chip[data-eye-frame="leaf-nw"]::before {
  background: center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36'%3E%3Cg transform='rotate(270 18 18)'%3E%3Cpath fill='white' d='M0 0H24Q36 0 36 12V36H12Q0 36 0 24Z'/%3E%3Cpath fill='%23181818' d='M6 6H22Q30 6 30 14V30H14Q6 30 6 22Z'/%3E%3C/g%3E%3C/svg%3E");
}

.option-chip[data-eye-frame="leaf-se"]::before {
  background: center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36'%3E%3Cg transform='rotate(90 18 18)'%3E%3Cpath fill='white' d='M0 0H24Q36 0 36 12V36H12Q0 36 0 24Z'/%3E%3Cpath fill='%23181818' d='M6 6H22Q30 6 30 14V30H14Q6 30 6 22Z'/%3E%3C/g%3E%3C/svg%3E");
}

.option-chip[data-eye-frame="leaf-sw"]::before {
  background: center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36'%3E%3Cg transform='rotate(180 18 18)'%3E%3Cpath fill='white' d='M0 0H24Q36 0 36 12V36H12Q0 36 0 24Z'/%3E%3Cpath fill='%23181818' d='M6 6H22Q30 6 30 14V30H14Q6 30 6 22Z'/%3E%3C/g%3E%3C/svg%3E");
}

.option-chip[data-eye-ball="square"]::before,
.option-chip[data-eye-ball="bars"]::before,
.option-chip[data-eye-ball="rounded"]::before,
.option-chip[data-eye-ball="cracked"]::before,
.option-chip[data-eye-ball="dots-grid"]::before,
.option-chip[data-eye-ball="circle"]::before,
.option-chip[data-eye-ball="rough"]::before,
.option-chip[data-eye-ball="tilt"]::before,
.option-chip[data-eye-ball="diamond"]::before,
.option-chip[data-eye-ball="star"]::before,
.option-chip[data-eye-ball="burst"]::before,
.option-chip[data-eye-ball="x"]::before,
.option-chip[data-eye-ball="plus"]::before,
.option-chip[data-eye-ball="clover"]::before,
.option-chip[data-eye-ball="petals"]::before,
.option-chip[data-eye-ball="heart"]::before,
.option-chip[data-eye-ball="leaf-ne"]::before,
.option-chip[data-eye-ball="leaf-nw"]::before,
.option-chip[data-eye-ball="leaf-se"]::before,
.option-chip[data-eye-ball="leaf-sw"]::before {
  top: 20px;
}

.option-chip[data-eye-ball="square"]::before {
  width: 18px;
  height: 18px;
  background: #fff;
  top: 22px;
}

.option-chip[data-eye-ball="bars"]::before {
  width: 26px;
  height: 26px;
  background: linear-gradient(#fff 0 0) 50% 50%/26px 6px no-repeat;
  border-radius: 999px;
}

.option-chip[data-eye-ball="rounded"]::before {
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 5px;
  top: 22px;
}

.option-chip[data-eye-ball="cracked"]::before {
  width: 22px;
  height: 22px;
  background: center/100% 100% no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Crect x='1' y='1' width='20' height='20' rx='2' fill='white'/%3E%3Cpath d='M12 2 L9 8 L12.5 8 L10 13 L14 13 L11.5 20' fill='none' stroke='%23181818' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M9.2 8 L6.6 10.2 M12.5 8 L15.6 10.2 M10 13 L7.4 15.2 M14 13 L16.6 15.6' fill='none' stroke='%23181818' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
}

.option-chip[data-eye-ball="dots-grid"]::before {
  width: 24px;
  height: 24px;
  background:
    radial-gradient(circle at 4px 4px, #fff 0 4px, transparent 4.1px),
    radial-gradient(circle at 12px 4px, #fff 0 4px, transparent 4.1px),
    radial-gradient(circle at 20px 4px, #fff 0 4px, transparent 4.1px),
    radial-gradient(circle at 4px 12px, #fff 0 4px, transparent 4.1px),
    radial-gradient(circle at 12px 12px, #fff 0 4px, transparent 4.1px),
    radial-gradient(circle at 20px 12px, #fff 0 4px, transparent 4.1px),
    radial-gradient(circle at 4px 20px, #fff 0 4px, transparent 4.1px),
    radial-gradient(circle at 12px 20px, #fff 0 4px, transparent 4.1px),
    radial-gradient(circle at 20px 20px, #fff 0 4px, transparent 4.1px);
}

.option-chip[data-eye-ball="circle"]::before {
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  top: 22px;
}

.option-chip[data-eye-ball="rough"]::before {
  width: 20px;
  height: 20px;
  background: #fff;
  clip-path: polygon(10% 0, 84% 4%, 100% 16%, 94% 86%, 82% 100%, 16% 96%, 0 82%, 6% 14%);
}

.option-chip[data-eye-ball="tilt"]::before {
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 3px;
  transform: translateX(-50%) rotate(-8deg);
  top: 22px;
}

.option-chip[data-eye-ball="leaf-ne"]::before,
.option-chip[data-eye-ball="leaf-nw"]::before,
.option-chip[data-eye-ball="leaf-se"]::before,
.option-chip[data-eye-ball="leaf-sw"]::before,
.option-chip[data-eye-ball="outer-corner"]::before,
.option-chip[data-eye-ball="outer-corner-stretch"]::before,
.option-chip[data-eye-ball="outer-square-round"]::before,
.option-chip[data-eye-ball="outer-corner-long"]::before {
  width: 22px;
  height: 22px;
  background: #fff;
}

.option-chip[data-eye-ball="leaf-ne"]::before,
.option-chip[data-eye-ball="leaf-nw"]::before,
.option-chip[data-eye-ball="leaf-se"]::before,
.option-chip[data-eye-ball="leaf-sw"]::before {
  clip-path: none;
}

.option-chip[data-eye-ball="leaf-ne"]::before {
  background: center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath fill='white' d='M0 0H14.6Q22 0 22 7.4V22H7.4Q0 22 0 14.6Z'/%3E%3C/svg%3E");
}

.option-chip[data-eye-ball="leaf-nw"]::before {
  background: center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cg transform='rotate(270 11 11)'%3E%3Cpath fill='white' d='M0 0H14.6Q22 0 22 7.4V22H7.4Q0 22 0 14.6Z'/%3E%3C/g%3E%3C/svg%3E");
}

.option-chip[data-eye-ball="leaf-se"]::before {
  background: center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cg transform='rotate(90 11 11)'%3E%3Cpath fill='white' d='M0 0H14.6Q22 0 22 7.4V22H7.4Q0 22 0 14.6Z'/%3E%3C/g%3E%3C/svg%3E");
}

.option-chip[data-eye-ball="leaf-sw"]::before {
  background: center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cg transform='rotate(180 11 11)'%3E%3Cpath fill='white' d='M0 0H14.6Q22 0 22 7.4V22H7.4Q0 22 0 14.6Z'/%3E%3C/g%3E%3C/svg%3E");
}

.option-chip[data-eye-ball="outer-corner"]::before {
  clip-path: none;
  background: center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath fill='white' d='M4 2H18V18H4V2ZM4 2H14Q18 2 18 6V18H4V2Z'/%3E%3C/svg%3E");
}

.option-chip[data-eye-ball="outer-corner-stretch"]::before {
  clip-path: none;
  background: center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath fill='white' d='M7 1H20V15Q20 20 15 20H1V7Q1 2.4 7 1Z'/%3E%3C/svg%3E");
}

.option-chip[data-eye-ball="outer-corner-long"]::before {
  clip-path: none;
  background: center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath fill='white' d='M8 -1H20V14Q20 20 14 20H-1V8Q-1 2 8 -1Z'/%3E%3C/svg%3E");
}

.option-chip[data-eye-ball="outer-square-round"]::before {
  clip-path: none;
  background: center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath fill='white' d='M2 2H16Q20 2 20 6V16Q20 20 16 20H6Q2 20 2 16Z'/%3E%3C/svg%3E");
}

.option-chip[data-eye-ball="burst"]::before {
  width: 24px;
  height: 24px;
  background: #fff;
  clip-path: polygon(50% 0, 58% 18%, 76% 6%, 72% 26%, 94% 20%, 82% 38%, 100% 50%, 82% 62%, 94% 80%, 72% 74%, 76% 94%, 58% 82%, 50% 100%, 42% 82%, 24% 94%, 28% 74%, 6% 80%, 18% 62%, 0 50%, 18% 38%, 6% 20%, 28% 26%, 24% 6%, 42% 18%);
}

.option-chip[data-eye-ball="diamond"]::before {
  width: 18px;
  height: 18px;
  background: #fff;
  transform: translateX(-50%) rotate(45deg);
  top: 22px;
}

.option-chip[data-eye-ball="star"]::before {
  width: 22px;
  height: 22px;
  background: #fff;
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 69% 56%, 79% 91%, 50% 70%, 21% 91%, 31% 56%, 2% 35%, 39% 35%);
}

.option-chip[data-eye-ball="x"]::before {
  width: 22px;
  height: 22px;
  background:
    linear-gradient(45deg, transparent 34%, #fff 34% 66%, transparent 66%),
    linear-gradient(-45deg, transparent 34%, #fff 34% 66%, transparent 66%);
}

.option-chip[data-eye-ball="plus"]::before {
  width: 26px;
  height: 26px;
  background: #fff;
  clip-path: polygon(32% 0, 68% 0, 68% 32%, 100% 32%, 100% 68%, 68% 68%, 68% 100%, 32% 100%, 32% 68%, 0 68%, 0 32%, 32% 32%);
}

.option-chip[data-eye-ball="clover"]::before {
  width: 24px;
  height: 24px;
  background:
    radial-gradient(circle at 50% 6px, #fff 0 6px, transparent 6.4px),
    radial-gradient(circle at 18px 50%, #fff 0 6px, transparent 6.4px),
    radial-gradient(circle at 50% 18px, #fff 0 6px, transparent 6.4px),
    radial-gradient(circle at 6px 50%, #fff 0 6px, transparent 6.4px);
}

.option-chip[data-eye-ball="petals"]::before {
  width: 24px;
  height: 24px;
  background:
    radial-gradient(circle at 7px 7px, #fff 0 6px, transparent 6.4px),
    radial-gradient(circle at 17px 7px, #fff 0 6px, transparent 6.4px),
    radial-gradient(circle at 17px 17px, #fff 0 6px, transparent 6.4px),
    radial-gradient(circle at 7px 17px, #fff 0 6px, transparent 6.4px),
    radial-gradient(circle at 12px 12px, #fff 0 5px, transparent 5.4px);
}

.option-chip[data-eye-ball="heart"]::before {
  width: 26px;
  height: 26px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 26'%3E%3Cpath fill='white' d='M13 24 C17.4 20.4 22.5 16.5 22.5 9.6 C22.5 5.2 19.4 2 15.5 2 C14.2 2 13.1 2.4 12.1 3.1 C11.4 3.6 10.9 4.3 10.5 5.1 C10.1 4.3 9.6 3.6 8.9 3.1 C7.9 2.4 6.8 2 5.5 2 C1.6 2 -1.5 5.2 -1.5 9.6 C-1.5 16.5 3.6 20.4 8 24 L10.5 26 Z' transform='translate(2 -1.4)'/%3E%3C/svg%3E") center/contain no-repeat;
  top: 18px;
}

.option-chip[data-frame-style="none"]::before {
  width: 40px;
  height: 40px;
  border: 2px dashed rgba(255,255,255,.72);
  border-radius: 12px;
}

.option-chip[data-frame-style="rounded"]::before {
  width: 42px;
  height: 42px;
  border: 4px solid #fff;
  border-radius: 14px;
}

.option-chip[data-frame-style="scan"]::before {
  width: 46px;
  height: 36px;
  border: 3px solid #fff;
  border-radius: 14px;
  box-shadow: inset 0 -8px 0 rgba(255,255,255,.2);
}

.option-chip[data-frame-style="ticket"]::before {
  width: 48px;
  height: 34px;
  background: #fff;
  clip-path: polygon(0 18%, 10% 18%, 10% 0, 90% 0, 90% 18%, 100% 18%, 100% 82%, 90% 82%, 90% 100%, 10% 100%, 10% 82%, 0 82%);
}

.option-chip[data-frame-style="badge"]::before {
  width: 48px;
  height: 40px;
  border: 3px solid #fff;
  border-radius: 14px;
  box-shadow: 0 -10px 0 -3px rgba(255,255,255,.95);
}

.option-chip[data-frame-style="hex"]::before {
  width: 50px;
  height: 42px;
  background: #fff;
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
}

.option-chip[data-frame-style="squircle"]::before {
  width: 46px;
  height: 46px;
  border: 4px solid #fff;
  border-radius: 18px;
}

.option-chip[data-frame-style="flower"]::before {
  width: 48px;
  height: 48px;
  background:
    radial-gradient(circle at 50% 12%, #fff 0 7px, transparent 7.5px),
    radial-gradient(circle at 82% 28%, #fff 0 7px, transparent 7.5px),
    radial-gradient(circle at 88% 58%, #fff 0 7px, transparent 7.5px),
    radial-gradient(circle at 68% 84%, #fff 0 7px, transparent 7.5px),
    radial-gradient(circle at 32% 84%, #fff 0 7px, transparent 7.5px),
    radial-gradient(circle at 12% 58%, #fff 0 7px, transparent 7.5px),
    radial-gradient(circle at 18% 28%, #fff 0 7px, transparent 7.5px),
    radial-gradient(circle at 50% 50%, rgba(255,255,255,.94) 0 8px, transparent 8.5px);
}

html[data-theme="light"] .option-chip[data-dot-style]::before,
html[data-theme="light"] .option-chip[data-frame-style]::before,
html[data-theme="light"] .option-chip[data-eye-frame]::before,
html[data-theme="light"] .option-chip[data-eye-ball]::before,
html[data-theme="light"] .option-chip[data-dot-style="classy"]::after {
  filter: invert(1);
}

html[data-theme="light"] .option-chip[data-dot-style]:hover::before,
html[data-theme="light"] .option-chip[data-dot-style]:focus-visible::before,
html[data-theme="light"] .option-chip[data-eye-frame]:hover::before,
html[data-theme="light"] .option-chip[data-eye-frame]:focus-visible::before,
html[data-theme="light"] .option-chip[data-eye-ball]:hover::before,
html[data-theme="light"] .option-chip[data-eye-ball]:focus-visible::before {
  filter: invert(1) drop-shadow(0 0 8px rgba(17,17,17,.12));
}

html[data-theme="light"] .option-chip[data-dot-style].is-active::before,
html[data-theme="light"] .option-chip[data-eye-frame].is-active::before,
html[data-theme="light"] .option-chip[data-eye-ball].is-active::before {
  filter: invert(1) drop-shadow(0 0 12px rgba(17,17,17,.16));
}

.field-grid, .color-grid, .size-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.color-grid-spacer {
  display: block;
}
.field { display: grid; gap: 10px; }
.field-full { grid-column: 1 / -1; }
.field span, .custom-label {
  color: rgba(255,255,255,.55);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
html[data-theme="light"] .field span,
html[data-theme="light"] .custom-label {
  color: rgba(20,20,20,.45);
}
.field input, .field textarea, .field select {
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(14,14,14,0.95);
  color: var(--text);
  padding: 14px 16px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: rgba(255,255,255,.28);
  box-shadow: 0 0 0 3px rgba(255,255,255,.05), 0 4px 16px rgba(0,0,0,.2);
}
html[data-theme="light"] .field input:focus,
html[data-theme="light"] .field textarea:focus,
html[data-theme="light"] .field select:focus {
  border-color: rgba(20,20,20,.3);
  box-shadow: 0 0 0 3px rgba(20,20,20,.05);
}
html[data-theme="light"] .field input,
html[data-theme="light"] .field textarea,
html[data-theme="light"] .field select {
  background: rgba(255,255,255,0.96);
}
.field input::placeholder, .field textarea::placeholder { color: var(--soft); }

.field-input-wrap {
  display: flex;
  align-items: center;
  width: 100%;
}
.field-input-wrap input {
  flex: 1;
  min-width: 0;
}
.field-input-wrap.has-prefix {
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(14,14,14,0.95);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field-input-wrap.has-prefix:focus-within {
  border-color: rgba(255,255,255,.28);
  box-shadow: 0 0 0 3px rgba(255,255,255,.05), 0 4px 16px rgba(0,0,0,.2);
}
.field-input-wrap.has-prefix input {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 16px 16px 0 !important;
  padding-left: 12px;
}
.field-prefix {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 0 0 16px;
  font-size: .8rem;
  color: rgba(255,255,255,.32);
  white-space: nowrap;
  font-family: ui-monospace, 'SFMono-Regular', monospace;
  line-height: 1;
}
.field-prefix::after {
  content: "";
  display: block;
  width: 1px;
  height: 18px;
  background: rgba(255,255,255,.12);
  flex-shrink: 0;
}
html[data-theme="light"] .field-prefix::after {
  background: rgba(20,20,20,.12);
}
html[data-theme="light"] .field-input-wrap.has-prefix { background: rgba(255,255,255,0.96); }
html[data-theme="light"] .field-input-wrap.has-prefix:focus-within {
  border-color: rgba(20,20,20,.3);
  box-shadow: 0 0 0 3px rgba(20,20,20,.05);
}
html[data-theme="light"] .field-prefix { color: rgba(20,20,20,.32); }

.field-prefix--select {
  gap: 0;
  position: relative;
}
.phone-dial-btn {
  background: none;
  border: none;
  outline: none;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  color: rgba(255,255,255,.55);
  font-family: ui-monospace, 'SFMono-Regular', monospace;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .04em;
  transition: color .15s ease;
}
.phone-dial-btn:hover { color: rgba(255,255,255,.85); }
html[data-theme="light"] .phone-dial-btn { color: rgba(20,20,20,.45); }
html[data-theme="light"] .phone-dial-btn:hover { color: rgba(20,20,20,.8); }
.field-prefix-arrow {
  opacity: .55;
  flex-shrink: 0;
  pointer-events: none;
  transition: transform .2s ease, opacity .15s ease;
}
.phone-dial-btn[aria-expanded="true"] .field-prefix-arrow {
  transform: rotate(180deg);
  opacity: .9;
}
.phone-dial-menu {
  position: fixed;
  z-index: 9999;
  background: rgba(16,16,18,.97);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 170px;
  box-shadow: 0 20px 48px rgba(0,0,0,.55), 0 1px 0 rgba(255,255,255,.06) inset;
  backdrop-filter: blur(12px);
}
html[data-theme="light"] .phone-dial-menu {
  background: rgba(255,255,255,.98);
  border-color: rgba(20,20,20,.1);
  box-shadow: 0 16px 40px rgba(0,0,0,.14), 0 1px 0 rgba(255,255,255,.8) inset;
}
.phone-dial-option {
  background: none;
  border: none;
  border-radius: 9px;
  padding: 9px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  text-align: left;
  width: 100%;
  transition: background .14s ease;
}
.phone-dial-option:hover { background: rgba(255,255,255,.06); }
.phone-dial-option.is-active { background: rgba(255,255,255,.08); }
html[data-theme="light"] .phone-dial-option:hover { background: rgba(20,20,20,.05); }
html[data-theme="light"] .phone-dial-option.is-active { background: rgba(20,20,20,.07); }
.phone-dial-code {
  font-family: ui-monospace, 'SFMono-Regular', monospace;
  font-size: .92rem;
  font-weight: 700;
  color: rgba(255,255,255,.9);
  letter-spacing: .03em;
  min-width: 34px;
}
html[data-theme="light"] .phone-dial-code { color: rgba(20,20,20,.85); }
.phone-dial-country {
  font-size: .78rem;
  font-weight: 500;
  color: rgba(255,255,255,.32);
  letter-spacing: .04em;
}
html[data-theme="light"] .phone-dial-country { color: rgba(20,20,20,.38); }
.phone-dial-sep {
  height: 1px;
  background: rgba(255,255,255,.07);
  margin: 4px 4px;
}
html[data-theme="light"] .phone-dial-sep { background: rgba(20,20,20,.08); }
.phone-dial-option--autre .phone-dial-code { color: rgba(255,255,255,.45); }
html[data-theme="light"] .phone-dial-option--autre .phone-dial-code { color: rgba(20,20,20,.38); }

.field-stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 2px;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .07em;
  color: rgba(255,255,255,.25);
}
html[data-theme="light"] .field-stats { color: rgba(20,20,20,.3); }
.field-stats-valid { color: rgba(120,210,140,.75) !important; }
html[data-theme="light"] .field-stats-valid { color: rgba(20,130,60,.7) !important; }
.field-stats-hint { color: rgba(255,255,255,.2) !important; }
html[data-theme="light"] .field-stats-hint { color: rgba(20,20,20,.22) !important; }

.custom-grid { display: grid; gap: 16px; }
.custom-card {
  display: grid;
  gap: 14px;
  padding: 20px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(14,14,16,0.96);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
  isolation: isolate;
}
html[data-theme="light"] .custom-card {
  background: rgba(255,255,255,.97);
  border-color: rgba(20,20,20,.1);
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  isolation: isolate;
}

.shape-tabs-card {
  gap: 18px;
}

.shape-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.shape-tab {
  box-sizing: border-box;
  flex: 0 0 auto;
  height: 44px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(18,18,18,0.92);
  color: var(--muted);
  cursor: pointer;
  outline: none;
  transform: none;
  transition: background .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease;
}

html[data-theme="light"] .shape-tab {
  background: rgba(255,255,255,0.97);
}

.shape-tab:focus-visible {
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.22);
}

.shape-tab.is-active {
  color: var(--text);
  border: 2px solid rgba(255,255,255,.65);
  background: #0a0a0a;
  box-shadow: none;
  transform: none;
}

html[data-theme="light"] .shape-tab.is-active {
  border-color: rgba(20,20,20,.14);
  background: linear-gradient(180deg, rgba(255,255,255,1), rgba(255,255,255,.78));
}

html[data-theme="light"] .shape-tab:focus-visible {
  box-shadow: inset 0 0 0 1px rgba(20,20,20,.16);
}

.shape-panel {
  display: grid;
  gap: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.shape-subsection {
  display: grid;
  gap: 12px;
}

.custom-card[data-custom-panel="shape"],
.custom-card[data-custom-panel="frame"],
.custom-card[data-custom-panel="dressing"],
.custom-card[data-custom-panel="logo"],
.custom-card[data-custom-panel="color"] {
  display: grid;
}

.color-input {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 58px;
  gap: 10px;
}
.color-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.color-meta span {
  color: var(--muted);
  font-size: .82rem;
  font-weight: 600;
}
.alpha-input {
  display: inline-grid;
  grid-template-columns: minmax(0, 72px) auto;
  align-items: center;
  gap: 8px;
}
.alpha-input input {
  width: 72px;
  min-width: 72px;
  padding: 10px 12px;
  text-align: right;
}
.alpha-input span {
  color: var(--text);
  font-size: .86rem;
  font-weight: 700;
}
.color-input input[type="color"] {
  width: 58px;
  height: 52px;
  padding: 4px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: transparent;
  outline: 2px solid rgba(255,255,255,.10);
  outline-offset: 2px;
}
html[data-theme="light"] .color-input input[type="color"] {
  outline: 2px solid rgba(0,0,0,.08);
  outline-offset: 2px;
}

.toggle-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.toggle-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(18,18,18,0.9);
  color: var(--muted);
}
html[data-theme="light"] .toggle-pill {
  background: rgba(255,255,255,0.96);
}

.logo-tools { display: grid; gap: 12px; }
.logo-mode-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.logo-brand-grid {
  align-items: start;
}
.field-helper {
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.5;
}
.field-inline-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.field-inline-value {
  color: var(--text);
  font-size: .84rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.vcard-advanced {
  gap: 18px;
}
.vcard-advanced-head,
.vcard-group {
  display: grid;
  gap: 12px;
}
.vcard-group {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.vcard-group:first-of-type {
  padding-top: 0;
  border-top: none;
}
.vcard-grid {
  align-items: start;
}
.vcard-advanced-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 4px;
}
.vcard-advanced-footer .field-helper {
  max-width: 58ch;
}
.vcard-advanced-head .field-helper {
  max-width: 64ch;
}
.upload-zone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 18px;
  border-radius: 18px;
  border: 1px dashed var(--line);
  background: rgba(18,18,18,0.88);
  cursor: pointer;
}
html[data-theme="light"] .upload-zone {
  background: rgba(255,255,255,0.96);
}
.upload-zone input { display: none; }

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 8px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
}
.text-link::after {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}
.vcard-cta-link {
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(18,18,18,0.9);
  color: var(--text);
  font-weight: 700;
  letter-spacing: -0.01em;
  box-shadow: 0 18px 34px rgba(0,0,0,0.22);
  transition: transform var(--transition), background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition), filter var(--transition);
}
.vcard-cta-link::after {
  display: none;
}
.vcard-cta-link:hover {
  transform: translateY(-1px);
  border-color: rgba(80, 120, 255, 0.26);
  background: rgba(16,16,20,0.98);
  color: var(--text);
  box-shadow: 0 18px 34px rgba(3, 8, 26, 0.22);
  filter: none;
}
.vcard-cta-link:focus-visible {
  outline: 2px solid rgba(255,255,255,0.42);
  outline-offset: 3px;
}
html[data-theme="light"] .vcard-cta-link {
  background: rgba(255,255,255,0.96);
  border-color: rgba(20,20,20,0.12);
  box-shadow: 0 18px 34px rgba(0,0,0,0.1);
}

.faq-section {
  display: grid;
  gap: 22px;
  padding-top: 14px;
}

html[data-theme="light"] .faq-section {
  padding-bottom: 150px;
}

.faq-head {
  display: grid;
  gap: 12px;
  max-width: 760px;
}

.faq-head .eyebrow {
  margin: 0;
}

.faq-head h2 {
  font-size: clamp(3rem, 5.5vw, 5rem);
}

.faq-head p {
  max-width: 68ch;
  margin: 0;
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 14px;
  width: 100%;
}

.faq-item {
  padding: 0;
  min-height: 0;
  overflow: visible;
  border-color: rgba(255,255,255,0.12);
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015)), rgba(10,10,10,.56);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition), background var(--transition);
  z-index: 0;
}

.faq-item::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 24%, transparent 72%);
  opacity: 0.28;
  transform: scale(0.94);
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
}

.faq-item::after {
  content: "";
  position: absolute;
  top: 0;
  left: 26px;
  right: 26px;
  height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,0.24), rgba(255,255,255,0.04), transparent);
  opacity: 0.36;
  pointer-events: none;
}

.faq-item:hover,
.faq-item.is-open {
  border-color: rgba(255,255,255,0.18);
  box-shadow: 0 26px 54px rgba(0,0,0,0.24);
}

.faq-item:hover {
  transform: translateY(-2px);
}

.faq-item.is-open {
  transform: translateY(-2px);
  background: #0a0a0a;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  z-index: 12;
}

.faq-item:hover::before,
.faq-item.is-open::before {
  opacity: 0.5;
  transform: scale(1);
}

html[data-theme="light"] .faq-item:hover,
html[data-theme="light"] .faq-item.is-open {
  border-color: rgba(20,20,20,0.14);
  box-shadow: 0 20px 42px rgba(0,0,0,0.08);
}

html[data-theme="light"] .faq-item {
  border-color: rgba(20,20,20,0.1);
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.88)), rgba(255,255,255,.9);
}

.faq-item.is-open .faq-question,
.faq-item.is-open .faq-question-text {
  color: #f4efe7;
}

.faq-question {
  appearance: none;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 76px;
  padding: 16px 18px;
  border: 0;
  background: transparent;
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.faq-question:focus-visible {
  outline: 2px solid rgba(255,255,255,0.34);
  outline-offset: -2px;
}

html[data-theme="light"] .faq-question:focus-visible {
  outline-color: rgba(20,20,20,0.26);
}

.faq-question-text {
  display: block;
  font-size: clamp(.96rem, 1.15vw, 1.04rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.35;
  text-wrap: balance;
}

.faq-icon {
  position: relative;
  width: 34px;
  height: 34px;
  flex: none;
  color: rgba(255,255,255,0.7);
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.03);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 1.5px;
  border-radius: 999px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform var(--transition), opacity var(--transition), background var(--transition);
}

.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item.is-open .faq-icon {
  color: #f4efe7;
  border-color: rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.05);
  box-shadow: 0 14px 28px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.12);
}

.faq-item.is-open .faq-icon::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(90deg) scaleX(0.2);
}

.faq-item:hover .faq-icon {
  color: rgba(255,255,255,0.9);
  border-color: rgba(255,255,255,0.18);
}

html[data-theme="light"] .faq-icon {
  color: rgba(20,20,20,0.6);
  border-color: rgba(20,20,20,0.1);
  background: rgba(20,20,20,0.02);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.74);
}

html[data-theme="light"] .faq-item.is-open .faq-icon {
  color: #f4efe7;
  border-color: rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.05);
  box-shadow: 0 14px 28px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.12);
}

.faq-answer-wrap {
  position: absolute;
  top: calc(100% - 14px);
  left: -1px;
  right: -1px;
  display: block;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--transition), transform var(--transition), visibility 0s linear 320ms;
}

.faq-item.is-open .faq-answer-wrap {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: translateY(0);
  transition: opacity var(--transition), transform var(--transition), visibility 0s linear 0s;
}

.faq-answer {
  overflow: visible;
  margin: 0;
  padding: 26px 18px 18px;
  border: 1px solid rgba(255,255,255,0.14);
  border-top: 0;
  border-radius: 0 0 30px 30px;
  background: #0a0a0a;
  box-shadow: 0 30px 58px rgba(0,0,0,0.28);
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}

.faq-item.is-open .faq-answer {
  border-color: rgba(255,255,255,0.16);
}

.faq-answer p,
.faq-answer li {
  color: var(--muted);
}

.faq-item.is-open .faq-answer p,
.faq-item.is-open .faq-answer li {
  color: rgba(244,239,231,0.82);
}

.faq-answer p + p {
  margin-top: 10px;
}

.faq-answer ul {
  display: grid;
  gap: 8px;
  margin: 10px 0 0;
  padding-left: 18px;
}

.faq-answer li::marker {
  color: var(--text);
}

.faq-item.is-open .faq-answer li::marker {
  color: #f4efe7;
}

html[data-theme="light"] .faq-answer {
  border-color: rgba(255,255,255,0.14);
  background: #0a0a0a;
  box-shadow: 0 20px 42px rgba(0,0,0,0.08);
}

html[data-theme="light"] .faq-item.is-open {
  background: #0a0a0a;
}

html[data-theme="light"] .panel-card {
  border-color: rgba(18,18,18,0.14);
  background: rgba(255,255,255,0.96);
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

html[data-theme="light"] .panel-card.preview-card {
  overflow: visible;
  isolation: auto;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

html[data-theme="light"] .btn,
html[data-theme="light"] .btn-secondary,
html[data-theme="light"] .vcard-cta-link {
  box-shadow: none;
}

html[data-theme="light"] .btn-secondary,
html[data-theme="light"] .vcard-cta-link {
  border-color: rgba(18,18,18,0.18);
  background: #ffffff;
}

html[data-theme="light"] .preview-actions > button,
html[data-theme="light"] .preview-actions > button:active {
  border-color: #0e7a50;
  background: transparent;
  color: #111111;
}

html[data-theme="light"] .preview-actions > button:hover,
html[data-theme="light"] .preview-actions > button:focus-visible,
html[data-theme="light"] .preview-actions > button:active {
  border-color: #0e7a50;
  background: #0e7a50;
  color: #ffffff;
}

html[data-theme="light"] .preview-actions > button[data-share-qr] {
  border-color: #1831ad;
  background: #1831ad;
  color: #ffffff;
}

html[data-theme="light"] .preview-actions > button[data-share-qr]:hover,
html[data-theme="light"] .preview-actions > button[data-share-qr]:focus-visible,
html[data-theme="light"] .preview-actions > button[data-share-qr]:active {
  border-color: #10279d;
  background: #10279d;
  color: #ffffff;
}

html[data-theme="light"] .contact-support-actions .btn,
html[data-theme="light"] .contact-support-actions .btn:hover,
html[data-theme="light"] .contact-support-actions .btn:focus-visible,
html[data-theme="light"] .template-card:hover .template-card-preview svg,
html[data-theme="light"] .template-card:focus-visible .template-card-preview svg,
html[data-theme="light"] .template-card.is-selected .template-card-preview svg,
html[data-theme="light"] .qr-preview-card,
html[data-theme="light"] .faq-answer,
html[data-theme="light"] .faq-item:hover,
html[data-theme="light"] .faq-item.is-open {
  box-shadow: none;
}

html[data-theme="light"] .contact-support .contact-support-card.panel-card {
  border-color: rgba(255,255,255,0.11);
  background: #050505;
  color: #f5f5f5;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

html[data-theme="light"] .contact-support .spotlight-glow {
  display: none;
}

html[data-theme="light"] .contact-support .contact-support-actions .btn {
  border-color: rgba(255,255,255,0.12);
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(232,232,232,0.92));
  color: #0c0c0c;
  box-shadow:
    0 18px 36px rgba(0,0,0,0.26),
    0 0 0 1px rgba(255,255,255,0.04),
    inset 0 1px 0 rgba(255,255,255,0.96);
}

html[data-theme="light"] .contact-support .contact-support-actions .btn:hover,
html[data-theme="light"] .contact-support .contact-support-actions .btn:focus-visible {
  border-color: rgba(255,255,255,0.24);
  box-shadow:
    0 24px 44px rgba(0,0,0,0.34),
    0 0 24px rgba(255,255,255,0.12),
    inset 0 1px 0 rgba(255,255,255,1);
}

html[data-theme="light"] .template-card:hover .template-card-preview svg,
html[data-theme="light"] .template-card:focus-visible .template-card-preview svg,
html[data-theme="light"] .template-card.is-selected .template-card-preview svg {
  filter: none;
}

html[data-theme="light"] .template-card-preview::before {
  background: radial-gradient(circle, rgba(17,17,17,0.08), rgba(17,17,17,0.03) 44%, transparent 72%);
}

html[data-theme="light"] .template-card:hover .template-card-copy::before,
html[data-theme="light"] .template-card:focus-visible .template-card-copy::before,
html[data-theme="light"] .template-card.is-selected .template-card-copy::before {
  opacity: 0.82;
}

html[data-theme="light"] .custom-card,
html[data-theme="light"] .upload-zone {
  border-color: rgba(18,18,18,0.14);
  background: #ffffff;
}

html[data-theme="light"] .shape-tab,
html[data-theme="light"] .type-chip,
html[data-theme="light"] .option-chip,
html[data-theme="light"] .toggle-pill {
  border-color: rgba(18,18,18,0.16);
  background: #ffffff;
  box-shadow: none;
}

html[data-theme="light"] .shape-tab:hover,
html[data-theme="light"] .shape-tab:focus-visible,
html[data-theme="light"] .type-chip:hover,
html[data-theme="light"] .type-chip:focus-visible,
html[data-theme="light"] .option-chip:hover,
html[data-theme="light"] .option-chip:focus-visible {
  border-color: rgba(18,18,18,0.34);
  background: #f5f5f5;
  box-shadow: none;
}

html[data-theme="light"] .shape-tab.is-active,
html[data-theme="light"] .type-chip.is-active {
  border-color: rgba(20,20,20,.55);
  background: rgba(20,20,20,.07);
  color: #111111;
  box-shadow: none;
}

html[data-theme="light"] .shape-tabs .shape-tab,
html[data-theme="light"] .shape-tabs .shape-tab:hover,
html[data-theme="light"] .shape-tabs .shape-tab:focus-visible,
html[data-theme="light"] .shape-tabs .shape-tab.is-active {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

html[data-theme="light"] .shape-tabs .shape-tab {
  color: #111111;
}

html[data-theme="light"] .shape-tabs .shape-tab:hover,
html[data-theme="light"] .shape-tabs .shape-tab:focus-visible,
html[data-theme="light"] .shape-tabs .shape-tab.is-active {
  color: #0e7a50;
  text-shadow: 0 8px 22px rgba(14,122,80,0.24);
}

html[data-theme="light"] .option-chip[data-dot-style],
html[data-theme="light"] .option-chip[data-eye-frame],
html[data-theme="light"] .option-chip[data-eye-ball] {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

html[data-theme="light"] .option-chip[data-dot-style]:hover,
html[data-theme="light"] .option-chip[data-dot-style]:focus-visible,
html[data-theme="light"] .option-chip[data-eye-frame]:hover,
html[data-theme="light"] .option-chip[data-eye-frame]:focus-visible,
html[data-theme="light"] .option-chip[data-eye-ball]:hover,
html[data-theme="light"] .option-chip[data-eye-ball]:focus-visible {
  background: rgba(17,17,17,0.05);
  box-shadow: inset 0 0 0 1px rgba(17,17,17,0.12);
}

html[data-theme="light"] .option-chip[data-dot-style].is-active,
html[data-theme="light"] .option-chip[data-eye-frame].is-active,
html[data-theme="light"] .option-chip[data-eye-ball].is-active {
  background: rgba(17,17,17,0.08);
  box-shadow: inset 0 0 0 1px rgba(17,17,17,0.24);
  color: #111111;
  text-shadow: none;
}

html[data-theme="light"] .option-chip[data-qr-surface] {
  border-color: rgba(18,18,18,0.28);
  background: #ffffff;
  color: #111111;
}

html[data-theme="light"] .option-chip[data-qr-surface]:hover,
html[data-theme="light"] .option-chip[data-qr-surface]:focus-visible {
  border-color: #0e7a50;
  background: rgba(14,122,80,0.08);
  color: #0b563b;
}

html[data-theme="light"] .option-chip[data-qr-surface].is-active {
  border-color: #0e7a50;
  background: #0e7a50;
  color: #ffffff;
  box-shadow: none;
}

html[data-theme="light"] .frame-choice.is-active {
  background: radial-gradient(circle, rgba(17,17,17,.12) 0%, rgba(17,17,17,.04) 40%, rgba(17,17,17,0) 74%);
  border-color: transparent;
  color: #111111;
  box-shadow: none;
}

html[data-theme="light"] .logo-frame-choice.is-active,
html[data-theme="light"] .support-choice.is-active {
  background: transparent;
  border-color: transparent;
  color: #111111;
  box-shadow: none;
}

html[data-theme="light"] .logo-frame-choice.is-active .logo-frame-thumb,
html[data-theme="light"] .support-choice.is-active .support-thumb {
  border-color: #111111;
  background: #ffffff;
  box-shadow: inset 0 0 0 2px #111111;
}

html[data-theme="light"] .frame-choice.is-active .frame-thumb {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

html[data-theme="light"] .frame-choice.is-active .frame-name,
html[data-theme="light"] .logo-frame-choice.is-active,
html[data-theme="light"] .support-choice.is-active {
  color: #111111;
  text-shadow: 0 0 12px rgba(17,17,17,.08);
}

html[data-theme="light"] .frame-choice:hover .frame-name,
html[data-theme="light"] .frame-choice:focus-visible .frame-name {
  color: #111111;
  text-shadow: 0 0 12px rgba(17,17,17,.08);
}

html[data-theme="light"] .frame-choice:hover .frame-thumb svg,
html[data-theme="light"] .frame-choice:focus-visible .frame-thumb svg,
html[data-theme="light"] .frame-choice.is-active .frame-thumb svg,
html[data-theme="light"] .option-chip[data-dot-style]:hover::before,
html[data-theme="light"] .option-chip[data-dot-style]:focus-visible::before,
html[data-theme="light"] .option-chip[data-dot-style].is-active::before,
html[data-theme="light"] .option-chip[data-eye-frame]:hover::before,
html[data-theme="light"] .option-chip[data-eye-frame]:focus-visible::before,
html[data-theme="light"] .option-chip[data-eye-frame].is-active::before,
html[data-theme="light"] .option-chip[data-eye-ball]:hover::before,
html[data-theme="light"] .option-chip[data-eye-ball]:focus-visible::before,
html[data-theme="light"] .option-chip[data-eye-ball].is-active::before {
  filter: invert(1);
}

html[data-theme="light"] .option-chip[data-frame-style].is-active::before {
  filter: none;
}

html[data-theme="light"] .logo-frame-thumb svg,
html[data-theme="light"] .support-thumb svg,
html[data-theme="light"] .frame-thumb svg,
html[data-theme="light"] .option-chip[data-dot-style]::before,
html[data-theme="light"] .option-chip[data-frame-style]::before,
html[data-theme="light"] .option-chip[data-eye-frame]::before,
html[data-theme="light"] .option-chip[data-eye-ball]::before,
html[data-theme="light"] .option-chip[data-dot-style="classy"]::after {
  filter: invert(1) opacity(0.7);
}

html[data-theme="light"] .frame-choice:hover .frame-thumb svg,
html[data-theme="light"] .frame-choice:focus-visible .frame-thumb svg,
html[data-theme="light"] .logo-frame-choice:hover .logo-frame-thumb svg,
html[data-theme="light"] .logo-frame-choice:focus-visible .logo-frame-thumb svg,
html[data-theme="light"] .support-choice:hover .support-thumb svg,
html[data-theme="light"] .support-choice:focus-visible .support-thumb svg,
html[data-theme="light"] .option-chip[data-dot-style]:hover::before,
html[data-theme="light"] .option-chip[data-dot-style]:focus-visible::before,
html[data-theme="light"] .option-chip[data-frame-style]:hover::before,
html[data-theme="light"] .option-chip[data-frame-style]:focus-visible::before,
html[data-theme="light"] .option-chip[data-eye-frame]:hover::before,
html[data-theme="light"] .option-chip[data-eye-frame]:focus-visible::before,
html[data-theme="light"] .option-chip[data-eye-ball]:hover::before,
html[data-theme="light"] .option-chip[data-eye-ball]:focus-visible::before {
  filter: invert(1) opacity(0.82);
}

html[data-theme="light"] .frame-choice.is-active .frame-thumb svg,
html[data-theme="light"] .logo-frame-choice.is-active .logo-frame-thumb svg,
html[data-theme="light"] .support-choice.is-active .support-thumb svg,
html[data-theme="light"] .option-chip[data-dot-style].is-active::before,
html[data-theme="light"] .option-chip[data-frame-style].is-active::before,
html[data-theme="light"] .option-chip[data-eye-frame].is-active::before,
html[data-theme="light"] .option-chip[data-eye-ball].is-active::before {
  filter: invert(1);
}

html[data-theme="light"] .frame-choice.is-active .frame-thumb svg {
  filter:
    invert(1)
    drop-shadow(0 0 14px rgba(17,17,17,.12))
    drop-shadow(0 10px 24px rgba(17,17,17,.06));
}

html[data-theme="light"] .frame-choice .frame-thumb svg {
  filter: invert(1) opacity(0.7);
}

html[data-theme="light"] .frame-choice:hover .frame-thumb svg,
html[data-theme="light"] .frame-choice:focus-visible .frame-thumb svg {
  filter:
    invert(1)
    opacity(0.82);
}

html[data-theme="light"] .frame-choice.is-active .frame-thumb svg {
  filter:
    invert(1)
    drop-shadow(0 0 14px rgba(17,17,17,.1))
    drop-shadow(0 10px 24px rgba(17,17,17,.08));
}

html[data-theme="light"] .field input,
html[data-theme="light"] .field textarea,
html[data-theme="light"] .field select,
html[data-theme="light"] .color-input input[type="color"] {
  border-color: rgba(18,18,18,0.18);
  background: #ffffff;
  box-shadow: none;
}

html[data-theme="light"] .field input:focus,
html[data-theme="light"] .field textarea:focus,
html[data-theme="light"] .field select:focus {
  border-color: #111111;
  box-shadow: 0 0 0 3px rgba(17,17,17,0.08);
}

html[data-theme="light"] .faq-item:hover {
  border-color: rgba(18,18,18,0.22);
  background: #f5f5f5;
}

html[data-theme="light"] .faq-item:hover .faq-question,
html[data-theme="light"] .faq-item:hover .faq-question-text {
  color: #111111;
}

html[data-theme="light"] .faq-item:hover .faq-icon {
  color: #111111;
  border-color: rgba(18,18,18,0.22);
  background: #ffffff;
  box-shadow: none;
}

html[data-theme="light"] .faq-item.is-open,
html[data-theme="light"] .faq-item.is-open:hover {
  border-color: #111111;
  background: #111111;
}

html[data-theme="light"] .faq-item.is-open .faq-question,
html[data-theme="light"] .faq-item.is-open .faq-question-text,
html[data-theme="light"] .faq-item.is-open:hover .faq-question,
html[data-theme="light"] .faq-item.is-open:hover .faq-question-text {
  color: #ffffff;
}

html[data-theme="light"] .faq-item.is-open .faq-icon,
html[data-theme="light"] .faq-item.is-open:hover .faq-icon {
  color: #ffffff;
  border-color: rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.08);
  box-shadow: none;
}

.generator-form.spotlight-card {
  background:
    var(--builder-blue-wash),
    #191919;
}

.generator-form.spotlight-card::before {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  border: 1px solid rgba(24,24,24,0.84);
  background:
    linear-gradient(180deg, rgba(0,0,0,0.82), rgba(8,8,12,0.86));
  pointer-events: none;
}

.generator-form.spotlight-card > *:not(.spotlight-glow) {
  position: relative;
  z-index: 2;
}

.generator-form.spotlight-card .spotlight-glow {
  width: 980px;
  height: 980px;
  left: var(--glow-x, 26%);
  top: var(--glow-y, 42%);
  background: var(--builder-blue-glow);
  filter: blur(6px);
  opacity: 0.22;
  transition:
    opacity 260ms ease,
    transform 260ms ease,
    background 0.45s ease;
  pointer-events: none;
}

.generator-form.spotlight-card.is-active .spotlight-glow {
  opacity: 0.96;
}

html[data-theme="light"] .panel-card.generator-form.spotlight-card {
  background:
    radial-gradient(circle at 18% 16%, rgba(32, 132, 88, 0.12) 0%, rgba(32, 132, 88, 0.06) 22%, transparent 48%),
    #ffffff;
}

html[data-theme="light"] .generator-form.spotlight-card::before {
  border: 1px solid rgba(20,20,20,0.08);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.86), rgba(252,252,255,0.76));
}

html[data-theme="light"] .generator-form.spotlight-card .spotlight-glow {
  filter: blur(14px);
  opacity: 0.16;
}

html[data-theme="light"] .generator-form.spotlight-card.is-active .spotlight-glow {
  opacity: 0.4;
}

.is-hidden { display: none !important; }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  filter: blur(8px);
  transition: opacity 700ms cubic-bezier(.2,.8,.2,1), transform 700ms cubic-bezier(.2,.8,.2,1), filter 700ms cubic-bezier(.2,.8,.2,1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

@media (max-width: 1080px) {
  .template-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .dynamic-bridge,
  .generator-hero,
  .generator-layout,
  .contact-support-layout,
  .field-grid,
  .color-grid,
  .size-grid {
    grid-template-columns: 1fr;
  }
  .spotlight-card { padding: 24px; }
  .field-full { grid-column: auto; }
  .color-grid-spacer { display: none; }
  .helper-card-static {
    position: static;
    top: auto;
  }
}

@media (max-width: 980px) {
  .site-shell { padding-top: 120px; }
}

@media (max-width: 760px) {
  .template-gallery {
    --template-preview-height: 190px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .template-card-preview {
    height: var(--template-preview-height);
  }

  .site-shell { padding-top: 126px; }
  .generator-hero { padding-top: 26px; }
  .section-shell, #premiumFooterSlot { padding-top: 0; }
  .spotlight-card { padding: 22px; }
  .contact-support-card { padding: 24px; }
  h1 { font-size: clamp(2.9rem, 12vw, 4.8rem); }
  .preview-actions,
  .form-actions { grid-template-columns: 1fr; flex-direction: column; }
  .preview-actions > *,
  .form-actions > *,
  .contact-support-actions > * { width: 100%; }
  .vcard-advanced-footer { align-items: flex-start; }
  .type-grid, .option-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logo-mode-row { grid-template-columns: 1fr; }
  .custom-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .custom-tab { width: 100%; }
  .qr-preview-stage { min-height: 320px; }
  .qr-preview-object { width: min(100%, 320px); }
  .qr-preview-object-back,
  .qr-preview-object-front { width: min(100%, 220px); }
  .qr-preview-stage-alt {
    --qr-back-base-x: -16px;
    --qr-back-base-y: 14px;
    --qr-back-rotate: -7deg;
    --qr-front-base-x: 12px;
    --qr-front-base-y: -8px;
    --qr-front-rotate: 5deg;
  }
  .support-choice,
  .logo-frame-choice,
  .frame-choice { min-height: 114px; }
  .faq-question {
    min-height: 72px;
    padding: 15px 16px;
    gap: 10px;
  }
  .faq-icon {
    width: 30px;
    height: 30px;
  }
  .faq-answer {
    padding: 0 16px;
  }
  .faq-item.is-open .faq-answer {
    padding: 0 16px 16px;
  }
}

@media (max-width: 900px) {
  .faq-list {
    grid-template-columns: 1fr;
  }

  .faq-item {
    overflow: hidden;
    z-index: auto;
  }

  .faq-item.is-open {
    border-bottom-left-radius: var(--radius-xl);
    border-bottom-right-radius: var(--radius-xl);
  }

  .faq-answer-wrap {
    position: static;
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    pointer-events: none;
    visibility: visible;
    transform: none;
    transition: grid-template-rows var(--transition), opacity var(--transition);
  }

  .faq-item.is-open .faq-answer-wrap {
    grid-template-rows: 1fr;
    opacity: 1;
    pointer-events: auto;
  }

  .faq-answer {
    overflow: hidden;
    padding: 0 16px;
    border: 0;
    border-top: 1px solid transparent;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .faq-item.is-open .faq-answer {
    padding: 0 16px 16px;
    border-top-color: rgba(255,255,255,0.1);
    background: #0a0a0a;
  }

  html[data-theme="light"] .faq-answer {
    border-top-color: transparent;
    background: #0a0a0a;
    box-shadow: none;
  }
}

@media (max-width: 560px) {
  .template-gallery {
    grid-template-columns: 1fr;
  }

  .faq-question {
    min-height: 0;
  }
}

/* ─── Dynamic nudge (sous les boutons de téléchargement) ─────── */
.dynamic-nudge {
  font-size: .78rem;
  color: var(--soft);
  text-align: center;
  line-height: 1.6;
  padding-top: 2px;
  margin: 0;
}
.dynamic-nudge a {
  color: #6b8cff;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: opacity var(--transition);
}
.dynamic-nudge a:hover { opacity: .72; }
html[data-theme="light"] .dynamic-nudge a { color: #1425ab; }

/* ─── Use cases (Pour chaque activité) ───────────────────────── */
.usecase-section { padding-top: 20px; }
.usecase-head { display: grid; gap: 14px; max-width: 680px; margin-bottom: 44px; }
.usecase-head h2 { font-size: clamp(2.4rem, 4.6vw, 3.8rem); }

.usecase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.usecase-card {
  display: grid;
  gap: 18px;
  padding: 28px 26px 24px;
  align-content: start;
  text-decoration: none;
  transition:
    transform var(--transition),
    border-color var(--transition);
}
.usecase-card:hover { transform: translateY(-5px); }

.usecase-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  color: var(--muted);
  flex: none;
}

.usecase-copy { display: grid; gap: 10px; }
.usecase-copy strong {
  display: block;
  font-size: 1.12rem;
  letter-spacing: -.02em;
  color: var(--text);
  line-height: 1.3;
}
.usecase-copy p { font-size: .9rem; margin: 0; }

.usecase-link {
  font-size: .82rem;
  color: var(--gen);
  letter-spacing: .02em;
  transition: opacity var(--transition);
  margin-top: 4px;
}
.usecase-card:hover .usecase-link { opacity: .7; }

/* ─── Comparison (Statique vs Dynamique) ─────────────────────── */
.comparison-section { padding-top: 20px; }
.comparison-head { display: grid; gap: 14px; max-width: 680px; margin-bottom: 44px; }
.comparison-head h2 { font-size: clamp(2.4rem, 4.6vw, 3.8rem); }

.comparison-card.panel-card {
  padding: 0;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.comparison-col {
  padding: 36px 32px;
  display: grid;
  gap: 26px;
  align-content: start;
}

.comparison-col--dynamic {
  background: linear-gradient(160deg, rgba(20,37,171,.12) 0%, rgba(10,18,100,.07) 100%);
  border-left: 1px solid rgba(107,140,255,.2);
}

.comparison-col-head { display: grid; gap: 6px; }
.comparison-col-head strong {
  font-size: 1.06rem;
  color: var(--text);
  display: block;
  margin-top: 4px;
}
.comparison-col-head > span:last-of-type {
  font-size: .82rem;
  color: var(--soft);
}

.comparison-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  height: 26px;
  padding: 0 11px;
  border-radius: 999px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  color: var(--soft);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.comparison-badge--dynamic {
  background: rgba(20,37,171,.18);
  border-color: rgba(107,140,255,.3);
  color: #6b8cff;
}
html[data-theme="light"] .comparison-badge--dynamic {
  background: rgba(20,37,171,.1);
  border-color: rgba(20,37,171,.22);
  color: #1425ab;
}

.comparison-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.comparison-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: .9rem;
  color: var(--muted);
}
.comparison-item:last-child { border-bottom: 0; }

.comparison-item::before {
  content: "";
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-repeat: no-repeat;
  background-position: center;
}

.comparison-item--yes::before {
  background-color: rgba(14,122,80,.18);
  border: 1.5px solid rgba(14,122,80,.36);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' viewBox='0 0 10 8'%3E%3Cpath d='M1 4l3 3 5-6' stroke='%2363e6b3' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
}
html[data-theme="light"] .comparison-item--yes::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' viewBox='0 0 10 8'%3E%3Cpath d='M1 4l3 3 5-6' stroke='%230b6742' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
}

.comparison-item--no::before {
  background-color: rgba(255,255,255,.04);
  border: 1.5px solid rgba(255,255,255,.1);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3E%3Cpath d='M1 1l6 6M7 1l-6 6' stroke='rgba(255,255,255,0.3)' stroke-width='1.6' stroke-linecap='round' fill='none'/%3E%3C/svg%3E");
}
html[data-theme="light"] .comparison-item--no::before {
  background-color: rgba(0,0,0,.04);
  border-color: rgba(0,0,0,.1);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3E%3Cpath d='M1 1l6 6M7 1l-6 6' stroke='rgba(0,0,0,0.22)' stroke-width='1.6' stroke-linecap='round' fill='none'/%3E%3C/svg%3E");
}

.comparison-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  background: #1425ab;
  color: #ffffff;
  font-weight: 600;
  font-size: .94rem;
  text-decoration: none;
  transition: opacity var(--transition), transform var(--transition);
  width: fit-content;
  box-shadow: 0 8px 28px rgba(20,37,171,.38);
}
.comparison-cta:hover { opacity: .88; transform: translateY(-2px); }

@media (max-width: 760px) {
  .comparison-card.panel-card {
    grid-template-columns: 1fr;
    overflow: visible;
  }
  .comparison-col { padding: 28px 22px; }
  .comparison-col--dynamic {
    border-left: none;
    border-top: 1px solid rgba(107,140,255,.2);
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  }
  .comparison-col--static {
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  }
  .usecase-grid { grid-template-columns: 1fr; }
}

/* ─── Bridge Real-Digital ─────────────────────────────────── */
.bridge-real-digital { padding-top: 20px; }

.bridge-head {
  display: grid;
  gap: 14px;
  max-width: 680px;
  margin-bottom: 42px;
}
.bridge-head h2 { font-size: clamp(2.4rem, 4.6vw, 3.8rem); }

.bridge-eyebrow { color: var(--muted); }

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

.bridge-item {
  display: grid;
  gap: 20px;
  padding: 28px 24px 26px;
  align-content: start;
}

.bridge-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  color: var(--soft);
  font-family: "Space Grotesk", sans-serif;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
}

.bridge-flow { display: grid; gap: 8px; }

.bridge-from {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .13em;
  color: var(--soft);
}

.bridge-connector {
  display: block;
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(134,239,172,.3), var(--gen));
  position: relative;
}
.bridge-connector::after {
  content: "";
  position: absolute;
  right: -1px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 5px;
  height: 5px;
  border-top: 2px solid var(--gen);
  border-right: 2px solid var(--gen);
}

.bridge-to {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.26rem;
  font-weight: 600;
  line-height: 1.18;
  color: var(--text);
}

.bridge-item p { font-size: .9rem; line-height: 1.7; }

@media (max-width: 980px) {
  .bridge-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .bridge-grid { grid-template-columns: 1fr; }
  .bridge-head h2 { font-size: clamp(2rem, 8vw, 3rem); }
}

/* ─── Template Cards — Améliorations visuelles ──────────────── */

/* Bande accent subtile en haut de chaque carte */
.template-card.panel-card {
  box-shadow: inset 0 3px 0 var(--card-accent, rgba(255,255,255,0.07));
}
html[data-theme="light"] .template-card.panel-card {
  box-shadow: inset 0 3px 0 var(--card-accent, rgba(17,17,17,0.07));
}

/* Glow ambiant coloré dans la zone preview (remplace le blanc statique) */
.template-card .template-card-preview::before {
  background: radial-gradient(circle, var(--card-glow, rgba(255,255,255,0.1)), transparent 72%);
  opacity: 0.6;
  transform: scale(0.88);
}
.template-card:hover .template-card-preview::before,
.template-card:focus-visible .template-card-preview::before,
.template-card.is-selected .template-card-preview::before {
  opacity: 1;
  transform: scale(1);
}

/* Ligne accent toujours visible sous le titre */
.template-card .template-card-copy::before {
  background: var(--card-accent, rgba(255,255,255,0.4));
  opacity: 0.48;
  transform: scaleX(1);
}
.template-card:hover .template-card-copy::before,
.template-card:focus-visible .template-card-copy::before,
.template-card.is-selected .template-card-copy::before {
  opacity: 1;
}

/* Titres et descriptions — typographie renforcée */
.template-card-copy { gap: 7px; }
.template-card-copy strong { font-size: 1.15rem; letter-spacing: -.025em; }
.template-card-copy span  { font-size: .87rem; line-height: 1.5; }

/* Hauteur preview légèrement augmentée pour respiration */
.template-gallery { --template-preview-height: 250px; }

/* ─── Premium type teaser ───────────────────────────────────── */
.premium-type-teaser {
  gap: 16px;
  border-color: rgba(107,140,255,0.26);
  background: rgba(10,18,60,0.22);
}
html[data-theme="light"] .premium-type-teaser {
  border-color: rgba(20,37,171,0.2);
  background: rgba(20,37,171,0.04);
}
.ptt-head { display: grid; gap: 9px; }
.ptt-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #a5b4fc;
  background: rgba(107,140,255,0.14);
  border: 1px solid rgba(107,140,255,0.28);
  width: fit-content;
}
html[data-theme="light"] .ptt-badge {
  color: #1425ab;
  background: rgba(20,37,171,0.1);
  border-color: rgba(20,37,171,0.2);
}
.ptt-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin: 0;
  line-height: 1.4;
}
.ptt-body {
  font-size: 0.94rem;
  color: var(--muted);
  line-height: 1.68;
  margin: 0;
}
.ptt-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 7px;
}
.ptt-feature {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.5;
}
.ptt-feature svg { flex-shrink: 0; margin-top: 1px; color: #a5b4fc; }
html[data-theme="light"] .ptt-feature svg { color: #1425ab; }
.ptt-foot {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(107,140,255,0.2);
}
html[data-theme="light"] .ptt-foot { border-top-color: rgba(20,37,171,0.14); }
.ptt-cta {
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid rgba(107,140,255,0.42);
  background: rgba(107,140,255,0.1);
  color: #a5b4fc;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color var(--transition), background var(--transition), color var(--transition);
}
html[data-theme="light"] .ptt-cta {
  color: #1425ab;
  border-color: rgba(20,37,171,0.36);
  background: rgba(20,37,171,0.08);
}
.ptt-cta:hover {
  border-color: rgba(107,140,255,0.72);
  background: rgba(107,140,255,0.18);
  color: #c4d0ff;
}
html[data-theme="light"] .ptt-cta:hover {
  border-color: rgba(20,37,171,0.6);
  background: rgba(20,37,171,0.14);
  color: #0f1e8a;
}
.ptt-static-note {
  font-size: 0.75rem;
  color: var(--soft);
  line-height: 1.5;
}
