/* Wide layout for /criar-figurinhas-whatsapp/ only. */

body.page-criar-figurinhas-whatsapp .fig-page {
  --fig-blue: #2563eb;
  --fig-card: #fff;
}
body.page-criar-figurinhas-whatsapp .fig-page .conv-title {
  font-size: clamp(1.65rem, 2.05vw, 2.15rem);
  letter-spacing: -0.04em;
  line-height: 1.08;
  hyphens: manual;
  word-break: normal;
  overflow-wrap: normal;
}
@media (min-width: 1100px) {
  body.page-criar-figurinhas-whatsapp .fig-page { --cv-aside: clamp(240px, 19vw, 300px); }
}
body.page-criar-figurinhas-whatsapp .article .fig-page .conv-lede {
  margin-bottom: 22px;
  color: #4f63b8;
  font-size: 1.08rem;
  line-height: 1.4;
}
body.page-criar-figurinhas-whatsapp .article .fig-page .conv-perks { gap: 18px; }
body.page-criar-figurinhas-whatsapp .article .fig-page .conv-perks li { gap: 14px; font-size: 0.9rem; }
body.page-criar-figurinhas-whatsapp .fig-page .conv-perks strong { color: #1d3fd8; font-size: 1.02rem; }
body.page-criar-figurinhas-whatsapp .fig-page .conv-perk { width: 48px; height: 48px; background-size: 24px; }
body.page-criar-figurinhas-whatsapp .fig-page .conv-perk.is-cut {
  background-color: #f3e8ff;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3' y='3' width='18' height='18' rx='4' fill='%239333ea'/%3E%3Ccircle cx='9' cy='9' r='1.8' fill='%23fff'/%3E%3Cpath d='m6 17 4-4.5 3 3 2-2 3 3.5z' fill='%23fff'/%3E%3C/svg%3E");
}
body.page-criar-figurinhas-whatsapp .article .fig-page img.conv-art {
  max-width: 280px;
  margin-top: 22px;
}

@media (min-width: 1100px) {
  body.page-criar-figurinhas-whatsapp .fig-page .conv-board {
    grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.95fr);
    gap: 16px;
  }
}
body.page-criar-figurinhas-whatsapp .fig-page .sticker-app { min-width: 0; }
body.page-criar-figurinhas-whatsapp .fig-page [hidden] { display: none !important; }
body.page-criar-figurinhas-whatsapp .fig-page .sticker-file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
}
body.page-criar-figurinhas-whatsapp .fig-page .fig-engine {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

body.page-criar-figurinhas-whatsapp .fig-page .fig-drop {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-height: 240px;
  margin: 0;
  padding: 28px 16px;
  border: 1.5px dashed #93c5fd;
  border-radius: 16px;
  background: #f5f9ff;
  text-align: center;
  cursor: pointer;
}
body.page-criar-figurinhas-whatsapp .fig-page .fig-drop.is-dragover { background: #e6efff; }
body.page-criar-figurinhas-whatsapp .fig-page .fig-drop-title {
  color: var(--cv-ink);
  font-size: 1.05rem;
  font-weight: 800;
}
body.page-criar-figurinhas-whatsapp .article .fig-page .fig-drop-hint,
body.page-criar-figurinhas-whatsapp .article .fig-page .fig-hint,
body.page-criar-figurinhas-whatsapp .article .fig-page .fig-preview-note,
body.page-criar-figurinhas-whatsapp .article .fig-page .sticker-status,
body.page-criar-figurinhas-whatsapp .article .fig-page .fig-crop-help {
  margin: 0;
  color: var(--cv-muted);
  font-size: 0.84rem;
  line-height: 1.4;
  text-align: center;
}
body.page-criar-figurinhas-whatsapp .fig-page .fig-drop-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
}
body.page-criar-figurinhas-whatsapp .fig-page .fig-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  min-height: 46px;
  padding: 8px 16px;
  border: 1px solid var(--cv-line);
  border-radius: 10px;
  background: #fff;
  color: #1e293b;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
}
body.page-criar-figurinhas-whatsapp .fig-page .fig-btn svg { width: 18px; height: 18px; flex: none; fill: currentColor; }
body.page-criar-figurinhas-whatsapp .fig-page .fig-btn-primary {
  border-color: #2563eb;
  background: #2563eb;
  color: #fff;
}
body.page-criar-figurinhas-whatsapp .fig-page .fig-btn:disabled { opacity: 0.5; cursor: not-allowed; }
body.page-criar-figurinhas-whatsapp .fig-page #sticker-btn-sample::before {
  content: "";
  width: 18px;
  height: 18px;
  flex: none;
  background: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231e293b'%3E%3Cpath d='M21 19V5c0-1.1-.9-2-2-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2zM8.5 13.5l2.5 3.01L14.5 12l4.5 6H5l3.5-4.5z'/%3E%3C/svg%3E") center / 18px no-repeat;
}

body.page-criar-figurinhas-whatsapp .fig-page .fig-canvas-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  margin-top: 8px;
  padding: 10px;
  border-radius: 14px;
  background:
    linear-gradient(45deg, #e8edf3 25%, transparent 25%),
    linear-gradient(-45deg, #e8edf3 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #e8edf3 75%),
    linear-gradient(-45deg, transparent 75%, #e8edf3 75%);
  background-size: 20px 20px;
  background-position: 0 0, 0 10px, 10px -10px, -10px 0;
  background-color: #fff;
}
body.page-criar-figurinhas-whatsapp .fig-page #sticker-canvas {
  display: block;
  width: min(100%, 512px);
  height: auto;
  border-radius: 8px;
  touch-action: none;
}
body.page-criar-figurinhas-whatsapp .article .fig-page .fig-crop-help { margin: 0 0 8px; text-align: left; }
body.page-criar-figurinhas-whatsapp .article .fig-page #sticker-meta {
  margin: 8px 0 0;
  color: var(--cv-ink);
  font-size: 0.84rem;
  font-weight: 650;
  text-align: left;
  word-break: break-word;
}
body.page-criar-figurinhas-whatsapp .fig-page .fig-crop-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
body.page-criar-figurinhas-whatsapp .fig-page .fig-crop-actions .fig-btn {
  flex: 1 1 140px;
  min-height: 40px;
  padding: 6px 10px;
  font-size: 0.84rem;
  white-space: normal;
}

body.page-criar-figurinhas-whatsapp .fig-page .fig-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 18px;
}
body.page-criar-figurinhas-whatsapp .fig-page .fig-label-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}
body.page-criar-figurinhas-whatsapp .fig-page .fig-label {
  color: var(--cv-ink);
  font-size: 0.92rem;
  font-weight: 700;
}
body.page-criar-figurinhas-whatsapp .fig-page .fig-value {
  color: #1d3fd8;
  font-size: 0.88rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
body.page-criar-figurinhas-whatsapp .article .fig-page .fig-field .fig-hint { display: block; margin-top: 6px; text-align: left; }
body.page-criar-figurinhas-whatsapp .fig-page .fig-slider {
  width: 100%;
  margin: 4px 0;
  accent-color: #2563eb;
}
body.page-criar-figurinhas-whatsapp .fig-page .fig-modes { display: grid; gap: 8px; }
body.page-criar-figurinhas-whatsapp .fig-page .fig-mode {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid var(--cv-line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}
body.page-criar-figurinhas-whatsapp .fig-page .fig-mode:has(input:checked) {
  border-color: #93c5fd;
  background: #f5f9ff;
}
body.page-criar-figurinhas-whatsapp .fig-page .fig-mode input { margin-top: 3px; accent-color: #2563eb; }
body.page-criar-figurinhas-whatsapp .fig-page .fig-mode strong,
body.page-criar-figurinhas-whatsapp .fig-page .fig-mode small { display: block; }
body.page-criar-figurinhas-whatsapp .fig-page .fig-mode strong { color: var(--cv-ink); font-size: 0.92rem; }
body.page-criar-figurinhas-whatsapp .fig-page .fig-mode small { color: var(--cv-muted); font-size: 0.78rem; line-height: 1.3; }
body.page-criar-figurinhas-whatsapp .fig-page .fig-select {
  width: 100%;
  margin-top: 6px;
  padding: 10px 12px;
  border: 1px solid var(--cv-line);
  border-radius: 10px;
  background: #fff;
  color: var(--cv-ink);
  font: inherit;
}
body.page-criar-figurinhas-whatsapp .fig-page .fig-switch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 8px;
  color: var(--cv-ink);
  font-weight: 700;
}
body.page-criar-figurinhas-whatsapp .fig-page .fig-switch input { width: 42px; height: 24px; accent-color: #2563eb; }
body.page-criar-figurinhas-whatsapp .fig-page .fig-sideopts { display: grid; align-content: start; gap: 14px; }
body.page-criar-figurinhas-whatsapp .fig-page #sticker-btn-export.conv-go {
  gap: 10px;
  min-height: 54px;
  margin-top: 16px;
  border-radius: 12px;
  background: #fcc419;
  color: #111827;
  font-size: 1.08rem;
  box-shadow: 0 2px 0 rgba(180, 120, 0, 0.25);
}
body.page-criar-figurinhas-whatsapp .fig-page #sticker-btn-export.conv-go:not(:disabled):hover { background: #f5b400; }
body.page-criar-figurinhas-whatsapp .article .fig-page .sticker-status { margin-top: 10px; text-align: left; }
body.page-criar-figurinhas-whatsapp .fig-page .sticker-status:empty { display: none; }
body.page-criar-figurinhas-whatsapp .fig-page .sticker-status.is-ok { color: #15803d; }
body.page-criar-figurinhas-whatsapp .fig-page .sticker-status.is-error { color: #b91c1c; }

body.page-criar-figurinhas-whatsapp .fig-page .fig-downloads { display: grid; gap: 8px; }
body.page-criar-figurinhas-whatsapp .fig-page .fig-dl-big {
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 12px;
  background: #2563eb;
  color: #fff;
  font-size: 1rem;
}
body.page-criar-figurinhas-whatsapp .fig-page .fig-dl-big:disabled { background: #e8eef9; color: #94a3b8; }
body.page-criar-figurinhas-whatsapp .article .fig-page .fig-dl-note {
  margin: -2px 0 4px;
  color: var(--cv-muted);
  font-size: 0.78rem;
  text-align: center;
}
body.page-criar-figurinhas-whatsapp .fig-page .fig-pack {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--cv-line);
}
body.page-criar-figurinhas-whatsapp .fig-page .fig-pack-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--cv-ink);
  font-weight: 700;
}
body.page-criar-figurinhas-whatsapp .fig-page .fig-pack-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
body.page-criar-figurinhas-whatsapp .fig-page .sticker-pack-item {
  position: relative;
  width: 64px;
  height: 64px;
}
body.page-criar-figurinhas-whatsapp .fig-page .sticker-pack-item img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
}
body.page-criar-figurinhas-whatsapp .fig-page .sticker-pack-item button {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 20px;
  height: 20px;
  border: 0;
  border-radius: 50%;
  background: #0f172a;
  color: #fff;
  cursor: pointer;
}

body.page-criar-figurinhas-whatsapp .fig-page .fig-tips {
  padding: 16px 18px;
  border-color: #fdecb2;
  border-radius: 18px;
  background: #fffaeb;
}
body.page-criar-figurinhas-whatsapp .article .fig-page .fig-tips h2 { color: #1e293b; }
body.page-criar-figurinhas-whatsapp .article .fig-page .fig-tips ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
body.page-criar-figurinhas-whatsapp .article .fig-page .fig-tips li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 0;
  color: #334155;
  font-size: 0.86rem;
  line-height: 1.35;
  text-align: left;
}
body.page-criar-figurinhas-whatsapp .article .fig-page .fig-tips li::before {
  content: "";
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 1px;
  border-radius: 50%;
  background: #f59e0b url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat;
}

body.page-criar-figurinhas-whatsapp .fig-page .sticker-side {
  display: block;
  min-width: 0;
  margin: 16px 0 0;
  padding: 0;
  border: 0;
  background: transparent;
}
body.page-criar-figurinhas-whatsapp .fig-page .sticker-side:not(:has(.itool-hist-host:not([hidden]))) {
  display: none;
}
body.page-criar-figurinhas-whatsapp .fig-page .sticker-side .itool-hist-host {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0;
}
body.page-criar-figurinhas-whatsapp .fig-page .sticker-side .itool-hist-card {
  padding: 16px 18px 14px;
  border-radius: 16px;
}
body.page-criar-figurinhas-whatsapp .fig-page .sticker-side .itool-hist-label {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
  color: #0f172a;
}
body.page-criar-figurinhas-whatsapp .fig-page .sticker-side .itool-hist-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
}
body.page-criar-figurinhas-whatsapp .fig-page .sticker-side .itool-hist-item {
  flex: none;
  max-width: none;
  width: auto;
  min-width: 0;
}
body.page-criar-figurinhas-whatsapp .article .fig-page .sticker-side .itool-hist-list > li {
  margin: 0;
}
body.page-criar-figurinhas-whatsapp .article .fig-page .sticker-side .itool-hist-list > li::before {
  content: none;
  display: none;
}
body.page-criar-figurinhas-whatsapp .fig-page .sticker-app > .util-success,
body.page-criar-figurinhas-whatsapp .fig-page .sticker-app > .itool-success {
  position: static;
  top: auto;
  z-index: auto;
  margin: 0 0 12px;
  border: 1px solid #bbf7d0;
  border-radius: 16px;
}
body.page-criar-figurinhas-whatsapp .fig-page .conv-ico-title {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 50%;
  background: #eff6ff;
  color: #2563eb;
}

@media (max-width: 800px) {
  body.page-criar-figurinhas-whatsapp .fig-page .fig-split { grid-template-columns: 1fr; }
}

html[data-theme="dark"] body.page-criar-figurinhas-whatsapp .fig-page .fig-drop { background: #0f1b33; border-color: #3b5b99; }
html[data-theme="dark"] body.page-criar-figurinhas-whatsapp .fig-page .fig-btn,
html[data-theme="dark"] body.page-criar-figurinhas-whatsapp .fig-page .fig-mode,
html[data-theme="dark"] body.page-criar-figurinhas-whatsapp .fig-page .fig-select {
  background: #1e293b;
  border-color: #334155;
  color: #e2e8f0;
}
html[data-theme="dark"] body.page-criar-figurinhas-whatsapp .fig-page .fig-mode:has(input:checked) { background: #172554; }
html[data-theme="dark"] body.page-criar-figurinhas-whatsapp .fig-page .fig-mode strong,
html[data-theme="dark"] body.page-criar-figurinhas-whatsapp .fig-page .fig-switch { color: #e2e8f0; }
html[data-theme="dark"] body.page-criar-figurinhas-whatsapp .fig-page .fig-tips { background: #3b2f12; border-color: #854d0e; }
html[data-theme="dark"] body.page-criar-figurinhas-whatsapp .article .fig-page .fig-tips h2,
html[data-theme="dark"] body.page-criar-figurinhas-whatsapp .article .fig-page .fig-tips li { color: #f8fafc; }
html[data-theme="dark"] body.page-criar-figurinhas-whatsapp .fig-page .sticker-side .itool-hist-label { color: #f8fafc; }
html[data-theme="dark"] body.page-criar-figurinhas-whatsapp .fig-page .fig-dl-big:disabled { background: #1e293b; color: #64748b; }

/* AI cutout progress over the crop canvas */
body.page-criar-figurinhas-whatsapp .fig-page .fig-ai-busy {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 16px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(2px);
}
body.page-criar-figurinhas-whatsapp .fig-page .fig-ai-card {
  display: grid;
  gap: 8px;
  width: min(100%, 300px);
  padding: 14px 16px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.25);
  text-align: center;
}
body.page-criar-figurinhas-whatsapp .fig-page .fig-ai-card strong { color: var(--cv-ink); font-size: 0.95rem; }
body.page-criar-figurinhas-whatsapp .fig-page .fig-ai-card small { color: var(--cv-muted); font-size: 0.78rem; line-height: 1.35; }
body.page-criar-figurinhas-whatsapp .fig-page .fig-ai-bar {
  height: 8px;
  overflow: hidden;
  border-radius: 99px;
  background: #e2e8f0;
}
body.page-criar-figurinhas-whatsapp .fig-page .fig-ai-bar span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #25d366, #128c7e);
  transition: width 0.3s ease;
}

body.page-criar-figurinhas-whatsapp .fig-page .fig-tag {
  display: inline-block;
  margin-left: 4px;
  padding: 1px 7px;
  border-radius: 99px;
  background: #dcfce7;
  color: #15803d;
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 800;
  vertical-align: 1px;
}
body.page-criar-figurinhas-whatsapp .fig-page .fig-tol { margin-top: 12px; }
body.page-criar-figurinhas-whatsapp .fig-page .fig-label small,
body.page-criar-figurinhas-whatsapp .fig-page .fig-switch small { color: var(--cv-muted); font-size: 0.78rem; font-weight: 600; }
body.page-criar-figurinhas-whatsapp .fig-page .fig-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
}
body.page-criar-figurinhas-whatsapp .fig-page .fig-inline .fig-select { width: auto; flex: 1 1 130px; margin-top: 0; }
body.page-criar-figurinhas-whatsapp .fig-page .fig-toggles { display: grid; gap: 8px; }
body.page-criar-figurinhas-whatsapp .fig-page .fig-toggles .fig-switch { margin: 0; }

body.page-criar-figurinhas-whatsapp .fig-page .fig-swatches { display: flex; flex-wrap: wrap; gap: 6px; }
body.page-criar-figurinhas-whatsapp .fig-page .fig-swatch {
  position: relative;
  width: 30px;
  height: 30px;
  margin: 0;
  padding: 0;
  border: 2px solid #cbd5e1;
  border-radius: 50%;
  background: var(--sw, #fff);
  cursor: pointer;
}
body.page-criar-figurinhas-whatsapp .fig-page .fig-swatch.is-on { border-color: #2563eb; box-shadow: 0 0 0 2px #bfdbfe; }
body.page-criar-figurinhas-whatsapp .fig-page .fig-swatch-pick {
  overflow: hidden;
  background: conic-gradient(#ef4444, #f59e0b, #22c55e, #06b6d4, #6366f1, #d946ef, #ef4444);
}
body.page-criar-figurinhas-whatsapp .fig-page .fig-swatch-pick input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

body.page-criar-figurinhas-whatsapp .fig-page .fig-textopts {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--cv-line);
}
body.page-criar-figurinhas-whatsapp .fig-page .fig-text-input { margin-top: 0; }
body.page-criar-figurinhas-whatsapp .fig-page .fig-text-size {
  display: flex;
  flex: 1 1 160px;
  align-items: center;
  gap: 8px;
}
body.page-criar-figurinhas-whatsapp .fig-page .fig-text-size .fig-label { flex: none; font-size: 0.84rem; white-space: nowrap; }
body.page-criar-figurinhas-whatsapp .fig-page .fig-seg {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--cv-line);
  border-radius: 10px;
  background: #f1f5f9;
}
body.page-criar-figurinhas-whatsapp .fig-page .fig-seg button {
  min-height: 36px;
  padding: 4px 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #475569;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
}
body.page-criar-figurinhas-whatsapp .fig-page .fig-seg button.is-on { background: #fff; color: #1d3fd8; box-shadow: 0 1px 3px rgba(15, 23, 42, 0.15); }
body.page-criar-figurinhas-whatsapp .fig-page .fig-seg-sm button { min-height: 30px; padding: 2px 10px; font-size: 0.8rem; }

/* Live preview: WhatsApp-like chat */
body.page-criar-figurinhas-whatsapp .fig-page .fig-preview-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
body.page-criar-figurinhas-whatsapp .article .fig-page .fig-preview-head .conv-card-title { margin: 0; }
body.page-criar-figurinhas-whatsapp .fig-page .fig-chat {
  --chat-bg: #efeae2;
  --chat-in: #ffffff;
  --chat-ink: #111b21;
  --chat-time: #667781;
  display: grid;
  gap: 10px;
  margin-top: 12px;
  padding: 14px 12px 12px;
  border-radius: 14px;
  background-color: var(--chat-bg);
  background-image: radial-gradient(rgba(0, 0, 0, 0.045) 1.2px, transparent 1.3px);
  background-size: 16px 16px;
  transition: background-color 0.2s ease;
}
body.page-criar-figurinhas-whatsapp .fig-page .fig-chat[data-chat="dark"] {
  --chat-bg: #0b141a;
  --chat-in: #202c33;
  --chat-ink: #e9edef;
  --chat-time: #8696a0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1.2px, transparent 1.3px);
}
body.page-criar-figurinhas-whatsapp .fig-page .fig-chat-msg {
  justify-self: start;
  max-width: 85%;
  padding: 6px 9px 6px 10px;
  border-radius: 0 10px 10px 10px;
  background: var(--chat-in);
  color: var(--chat-ink);
  font-size: 0.88rem;
  line-height: 1.35;
  box-shadow: 0 1px 0.5px rgba(11, 20, 26, 0.13);
}
body.page-criar-figurinhas-whatsapp .fig-page .fig-chat time {
  margin-left: 8px;
  color: var(--chat-time);
  font-size: 0.68rem;
  white-space: nowrap;
}
body.page-criar-figurinhas-whatsapp .fig-page .fig-chat-sticker {
  display: grid;
  justify-items: end;
  justify-self: end;
  gap: 2px;
}
body.page-criar-figurinhas-whatsapp .fig-page #fig-live {
  display: block;
  width: min(190px, 60vw);
  height: auto;
  aspect-ratio: 1;
}
body.page-criar-figurinhas-whatsapp .fig-page .fig-chat-sticker time {
  padding: 1px 6px;
  border-radius: 8px;
  background: var(--chat-in);
  box-shadow: 0 1px 0.5px rgba(11, 20, 26, 0.13);
}
body.page-criar-figurinhas-whatsapp .fig-page .fig-chat-sticker time span { color: #53bdeb; }
body.page-criar-figurinhas-whatsapp .article .fig-page .fig-live-meta {
  margin: 8px 0 0;
  color: var(--cv-muted);
  font-size: 0.82rem;
  font-weight: 650;
  text-align: center;
}

body.page-criar-figurinhas-whatsapp .fig-page .fig-dl-row { display: flex; gap: 8px; }
body.page-criar-figurinhas-whatsapp .fig-page .fig-dl-row .fig-btn { flex: 1 1 0; min-height: 42px; padding: 6px 10px; font-size: 0.9rem; }

html[data-theme="dark"] body.page-criar-figurinhas-whatsapp .fig-page .fig-ai-card { background: #1e293b; }
html[data-theme="dark"] body.page-criar-figurinhas-whatsapp .fig-page .fig-ai-card strong { color: #f1f5f9; }
html[data-theme="dark"] body.page-criar-figurinhas-whatsapp .fig-page .fig-ai-bar { background: #334155; }
html[data-theme="dark"] body.page-criar-figurinhas-whatsapp .fig-page .fig-tag { background: #14532d; color: #bbf7d0; }
html[data-theme="dark"] body.page-criar-figurinhas-whatsapp .fig-page .fig-seg { background: #0f172a; border-color: #334155; }
html[data-theme="dark"] body.page-criar-figurinhas-whatsapp .fig-page .fig-seg button { color: #94a3b8; }
html[data-theme="dark"] body.page-criar-figurinhas-whatsapp .fig-page .fig-seg button.is-on { background: #1e293b; color: #93c5fd; }
html[data-theme="dark"] body.page-criar-figurinhas-whatsapp .fig-page .fig-swatch { border-color: #475569; }
html[data-theme="dark"] body.page-criar-figurinhas-whatsapp .fig-page .fig-swatch.is-on { border-color: #60a5fa; box-shadow: 0 0 0 2px #1e3a8a; }
html[data-theme="dark"] body.page-criar-figurinhas-whatsapp .fig-page .fig-dl-big:not(:disabled) { background: #2563eb; border-color: #2563eb; color: #fff; }
