/* RemoveBackgroundGIF — self-contained theme styles.
   Not a Tailwind build: every class the templates use is defined here, so the
   site renders correctly with engine base.css alone (no shared utilities).
   Light/dark follow the viewer's system preference; the old standalone site
   shipped the same warm-paper palette (see rap-demo src/globals.css tokens). */
:root {
  --rb-bg: #f6f5f2;
  --rb-fg: #34322e;
  --rb-muted: #6f6b63;
  --rb-card: #faf9f7;
  --rb-border: rgba(52, 50, 46, 0.18);
  --rb-accent: #c2365b;
  --rb-chip-muted: #eceae4;
  --rb-chip: rgba(194, 54, 91, 0.1);
  --rb-header: rgba(246, 245, 242, 0.88);
  --rb-shadow: 0 10px 30px rgba(35, 32, 27, 0.08);
}
@media (prefers-color-scheme: dark) {
  :root {
    --rb-bg: #1d1c19;
    --rb-fg: #f0efec;
    --rb-muted: #a8a49c;
    --rb-card: #262521;
    --rb-border: rgba(240, 239, 236, 0.16);
    --rb-accent: #e0708c;
    --rb-chip-muted: #322f2a;
    --rb-chip: rgba(224, 112, 140, 0.16);
    --rb-header: rgba(29, 28, 25, 0.88);
    --rb-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  }
}

html {
  background: var(--rb-bg);
}
body {
  margin: 0;
  background: var(--rb-bg);
  color: var(--rb-fg);
  font-family: 'Manrope Variable', 'Manrope', ui-sans-serif, system-ui,
    -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  line-height: 1.55;
}
.no-underline {
  text-decoration: none;
}

/* Header */
.rb-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--rb-header);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rb-border);
}
.rb-header-in {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.rb-brand {
  color: var(--rb-fg);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}
.rb-nav {
  display: none;
  gap: 1.5rem;
}
.rb-nav a {
  color: var(--rb-muted);
  font-size: 0.9rem;
  font-weight: 600;
}
.rb-nav a:hover {
  color: var(--rb-fg);
}
.rb-burger {
  display: inline-flex;
  padding: 0.5rem;
  border: 0;
  background: transparent;
  color: var(--rb-fg);
  cursor: pointer;
}
.rb-burger .rbg-icon-close {
  display: none;
}
.rb-burger.is-open .rbg-icon-menu {
  display: none;
}
.rb-burger.is-open .rbg-icon-close {
  display: block;
}
.rb-mobile-nav {
  display: flex;
  flex-direction: column;
  padding: 0.25rem 1rem 0.75rem;
  border-top: 1px solid var(--rb-border);
}
.rb-mobile-nav[hidden] {
  display: none;
}
.rb-mobile-nav a {
  color: var(--rb-muted);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.6rem 0.25rem;
}
.rb-mobile-nav a:hover {
  color: var(--rb-fg);
}
@media (min-width: 1024px) {
  .rb-nav {
    display: flex;
  }
  .rb-burger,
  .rb-mobile-nav {
    display: none;
  }
}

/* Hero (home) */
.rb-hero {
  text-align: center;
  padding: 3rem 1rem 2rem;
  max-width: 56rem;
  margin: 0 auto;
}
.rb-hero h1 {
  margin: 0;
  font-size: clamp(1.9rem, 4.5vw, 2.75rem);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.rb-hero-sub {
  margin: 1rem auto 0;
  max-width: 42rem;
  color: var(--rb-muted);
  font-size: 1.05rem;
}
.rb-eyebrow {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--rb-accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

/* Tool placeholder */
.rb-tool-wrap {
  padding: 0 1rem;
}
.rb-tool {
  max-width: 56rem;
  margin: 2.5rem auto 0;
  padding: 1.75rem 1.25rem;
  background: var(--rb-card);
  border: 1px solid var(--rb-border);
  border-radius: 1rem;
  box-shadow: var(--rb-shadow);
}
.rb-tool-note {
  margin: 0 0 1rem;
  color: var(--rb-muted);
  font-size: 0.9rem;
}
.rb-tool-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem 0.5rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--rb-muted);
  font-size: 0.85rem;
}
.rb-tool-trust li + li::before {
  content: '·';
  margin-right: 0.5rem;
}
.rb-tool-status {
  margin: 0.9rem 0 0;
  color: var(--rb-muted);
  font-size: 0.8rem;
}

/* Body page (legal) */
.rb-article {
  max-width: 48rem;
  margin: 0 auto;
  padding: 2.5rem 1rem 3.5rem;
}
.rb-article h1 {
  margin: 0;
  font-size: clamp(1.7rem, 3.5vw, 2.25rem);
  line-height: 1.2;
  font-weight: 700;
}
.rb-article-desc {
  margin: 0.75rem 0 0;
  color: var(--rb-muted);
  font-size: 1.05rem;
}
.rb-article-body {
  margin-top: 1.5rem;
}
.rb-article-body h2 {
  margin: 2rem 0 0.5rem;
  font-size: 1.3rem;
  line-height: 1.3;
}
.rb-article-body h3 {
  margin: 1.5rem 0 0.4rem;
  font-size: 1.05rem;
}
.rb-article-body p,
.rb-article-body li {
  color: var(--rb-fg);
}
.rb-article-body a {
  color: var(--rb-accent);
}
.rb-article-body table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.rb-article-body th,
.rb-article-body td {
  text-align: left;
  vertical-align: top;
  padding: 0.6rem 0.9rem 0.6rem 0;
  border-bottom: 1px solid var(--rb-border);
}
.rb-article-body ul,
.rb-article-body ol {
  padding-left: 1.4rem;
}

/* Sections (home + tool pages) */
.rb-section {
  padding: 3.5rem 1rem;
  max-width: 48rem;
  margin: 0 auto;
}
.rb-section.alt {
  max-width: none;
  border-top: 1px solid var(--rb-border);
  border-bottom: 1px solid var(--rb-border);
  background: var(--rb-card);
}
.rb-section.alt > .rb-section-in {
  max-width: 48rem;
  margin: 0 auto;
}
.rb-section h2 {
  margin: 0;
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  line-height: 1.25;
  font-weight: 700;
}
.rb-section p {
  margin: 1rem 0 0;
  color: var(--rb-muted);
}
.rb-steps {
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1.5rem;
}
.rb-steps li {
  display: flex;
  gap: 1rem;
}
.rb-step-num {
  flex: none;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: var(--rb-chip);
  color: var(--rb-accent);
  font-size: 0.9rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.rb-steps h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}
.rb-steps p {
  margin: 0.25rem 0 0;
}
.rb-table-wrap {
  margin-top: 1.75rem;
  overflow-x: auto;
}
.rb-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}
.rb-table th,
.rb-table td {
  padding: 0.6rem 1rem 0.6rem 0;
  border-bottom: 1px solid var(--rb-border);
  vertical-align: top;
}
.rb-tips {
  margin: 1.75rem 0 0;
  padding-left: 1.4rem;
  display: grid;
  gap: 0.75rem;
  color: var(--rb-muted);
}
.rb-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}
.rb-links a {
  color: var(--rb-accent);
  font-weight: 600;
}

/* FAQ */
.rb-faq {
  margin: 1.75rem 0 0;
}
.rb-faq details {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--rb-border);
}
.rb-faq summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}
.rb-faq summary::-webkit-details-marker {
  display: none;
}
.rb-faq summary::before {
  content: '+ ';
  color: var(--rb-accent);
  font-weight: 700;
}
.rb-faq details[open] summary::before {
  content: '− ';
}
.rb-faq .rb-answer {
  margin: 0.5rem 0 0;
}

/* Related tools */
.rb-related {
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1rem;
}
.rb-related a {
  display: block;
  height: 100%;
  padding: 1rem 1.1rem;
  background: var(--rb-card);
  border: 1px solid var(--rb-border);
  border-radius: 0.75rem;
  text-decoration: none;
}
.rb-related a:hover {
  border-color: var(--rb-accent);
}
.rb-related .rb-related-label {
  font-weight: 700;
  color: var(--rb-fg);
}
.rb-related .rb-related-desc {
  display: block;
  margin-top: 0.25rem;
  color: var(--rb-muted);
  font-size: 0.9rem;
}
@media (min-width: 640px) {
  .rb-related {
    grid-template-columns: 1fr 1fr;
  }
}

/* Footer */
.rb-footer {
  border-top: 1px solid var(--rb-border);
  background: var(--rb-card);
}
.rb-footer-in {
  max-width: 72rem;
  margin: 0 auto;
  padding: 2.5rem 1rem 1.5rem;
}
.rb-footer-tagline {
  margin: 0;
  max-width: 42rem;
  font-size: 1.15rem;
  font-weight: 600;
}
.rb-footer-cols {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
}
@media (min-width: 640px) {
  .rb-footer-cols {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.rb-footer-title {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.rb-footer-list {
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}
.rb-footer-list a {
  color: var(--rb-muted);
  font-size: 0.9rem;
}
.rb-footer-list a:hover {
  color: var(--rb-fg);
}
.rb-footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rb-border);
  color: var(--rb-muted);
  font-size: 0.8rem;
}
@media (min-width: 640px) {
  .rb-footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* Extension slot (future tool bundle) */
.rb-tool-slot {
  margin-top: 2rem;
}
.rb-tool-slot:empty {
  display: none;
}

/* ── Tool bundle utilities ──────────────────────────────────────────────
   tool.js (the prebuilt React bundle, tool/src/) renders Tailwind utility
   class names. This theme has no Tailwind build, so every utility the
   bundle emits is hand-written below, scoped to #gif-tool-root. Values
   mirror the old site's shadcn tokens (projects/removebackgroundgif
   src/styles/globals.css): light palette = warm paper, dark palette =
   near-black, both mapped onto this theme's --rb-* variables so the tool
   follows the same system-preference switch as the rest of the site. */
#gif-tool-root {
  /* shadcn token mapping (used only by the utility classes below) */
  --rb-tw-background: var(--rb-bg);
  --rb-tw-foreground: var(--rb-fg);
  --rb-tw-card: var(--rb-card);
  --rb-tw-muted: var(--rb-chip-muted);
  --rb-tw-muted-foreground: var(--rb-muted);
  --rb-tw-primary: var(--rb-fg);
  --rb-tw-primary-foreground: var(--rb-bg);
  --rb-tw-border: var(--rb-border);
  --rb-tw-destructive: #b91c1c;
  --rb-tw-dark-destructive: #f87171;
  color: var(--rb-fg);
}
@media (prefers-color-scheme: dark) {
  #gif-tool-root {
    --rb-tw-destructive: #ef4444;
    --rb-tw-dark-destructive: #fca5a5;
  }
}
#gif-tool-root *,
#gif-tool-root *::before,
#gif-tool-root *::after {
  box-sizing: border-box;
}
#gif-tool-root button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}
#gif-tool-root input,
#gif-tool-root select {
  font: inherit;
  color: inherit;
}
#gif-tool-root figure {
  margin: 0;
}
#gif-tool-root canvas {
  display: block;
  max-width: 100%;
}

/* Layout */
#gif-tool-root .block { display: block; }
#gif-tool-root .hidden { display: none; }
#gif-tool-root .flex { display: flex; }
#gif-tool-root .grid { display: grid; }
#gif-tool-root .flex-col { flex-direction: column; }
#gif-tool-root .flex-wrap { flex-wrap: wrap; }
#gif-tool-root .flex-1 { flex: 1 1 0%; }
#gif-tool-root .shrink-0 { flex-shrink: 0; }
#gif-tool-root .items-center { align-items: center; }
#gif-tool-root .items-end { align-items: flex-end; }
#gif-tool-root .justify-center { justify-content: center; }
#gif-tool-root .justify-between { justify-content: space-between; }
#gif-tool-root .grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
#gif-tool-root .grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
#gif-tool-root .gap-1 { gap: 0.25rem; }
#gif-tool-root .gap-2 { gap: 0.5rem; }
#gif-tool-root .gap-3 { gap: 0.75rem; }
#gif-tool-root .gap-4 { gap: 1rem; }
@media (min-width: 640px) {
  #gif-tool-root .sm\:gap-5 { gap: 1.25rem; }
  #gif-tool-root .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  #gif-tool-root .sm\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
#gif-tool-root .relative { position: relative; }
#gif-tool-root .absolute { position: absolute; }
#gif-tool-root .inset-0 { inset: 0; }
#gif-tool-root .inset-y-0 { top: 0; bottom: 0; }
#gif-tool-root .top-2 { top: 0.5rem; }
#gif-tool-root .top-3 { top: 0.75rem; }
#gif-tool-root .right-2 { right: 0.5rem; }
#gif-tool-root .left-2 { left: 0.5rem; }
#gif-tool-root .left-3 { left: 0.75rem; }
#gif-tool-root .z-10 { z-index: 10; }

/* Spacing */
#gif-tool-root .p-2 { padding: 0.5rem; }
#gif-tool-root .p-3 { padding: 0.75rem; }
#gif-tool-root .p-4 { padding: 1rem; }
#gif-tool-root .px-1 { padding-left: 0.25rem; padding-right: 0.25rem; }
#gif-tool-root .px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
#gif-tool-root .px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
#gif-tool-root .px-4 { padding-left: 1rem; padding-right: 1rem; }
#gif-tool-root .px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
#gif-tool-root .px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
#gif-tool-root .py-0\.5 { padding-top: 0.125rem; padding-bottom: 0.125rem; }
#gif-tool-root .py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
#gif-tool-root .py-1\.5 { padding-top: 0.375rem; padding-bottom: 0.375rem; }
#gif-tool-root .py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
#gif-tool-root .py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
#gif-tool-root .py-16 { padding-top: 4rem; padding-bottom: 4rem; }
#gif-tool-root .pl-2 { padding-left: 0.5rem; }
#gif-tool-root .pr-2 { padding-right: 0.5rem; }
#gif-tool-root .pr-4 { padding-right: 1rem; }
#gif-tool-root .pt-5 { padding-top: 1.25rem; }
@media (min-width: 640px) {
  #gif-tool-root .sm\:p-6 { padding: 1.5rem; }
  #gif-tool-root .sm\:p-7 { padding: 1.75rem; }
}
#gif-tool-root .mt-0\.5 { margin-top: 0.125rem; }
#gif-tool-root .mt-1 { margin-top: 0.25rem; }
#gif-tool-root .mt-2 { margin-top: 0.5rem; }
#gif-tool-root .mt-3 { margin-top: 0.75rem; }
#gif-tool-root .mt-4 { margin-top: 1rem; }
#gif-tool-root .mt-5 { margin-top: 1.25rem; }
#gif-tool-root .mt-8 { margin-top: 2rem; }
#gif-tool-root .mt-10 { margin-top: 2.5rem; }
#gif-tool-root .mb-4 { margin-bottom: 1rem; }
#gif-tool-root .my-5 { margin-top: 1.25rem; margin-bottom: 1.25rem; }
#gif-tool-root .mx-auto { margin-left: auto; margin-right: auto; }
#gif-tool-root .ml-1 { margin-left: 0.25rem; }
#gif-tool-root .space-y-2 > * + * { margin-top: 0.5rem; }
#gif-tool-root .space-y-3 > * + * { margin-top: 0.75rem; }
#gif-tool-root .space-y-4 > * + * { margin-top: 1rem; }
#gif-tool-root .space-y-5 > * + * { margin-top: 1.25rem; }

/* Sizing */
#gif-tool-root .size-5 { width: 1.25rem; height: 1.25rem; }
#gif-tool-root .size-6 { width: 1.5rem; height: 1.5rem; }
#gif-tool-root .size-8 { width: 2rem; height: 2rem; }
#gif-tool-root .h-2 { height: 0.5rem; }
#gif-tool-root .h-6 { height: 1.5rem; }
#gif-tool-root .h-auto { height: auto; }
#gif-tool-root .h-full { height: 100%; }
#gif-tool-root .w-0\.5 { width: 0.125rem; }
#gif-tool-root .w-8 { width: 2rem; }
#gif-tool-root .w-16 { width: 4rem; }
#gif-tool-root .w-24 { width: 6rem; }
#gif-tool-root .w-28 { width: 7rem; }
#gif-tool-root .w-64 { width: 16rem; }
#gif-tool-root .w-full { width: 100%; }
#gif-tool-root .min-h-8 { min-height: 2rem; }
#gif-tool-root .min-h-9 { min-height: 2.25rem; }
#gif-tool-root .min-h-10 { min-height: 2.5rem; }
#gif-tool-root .min-h-11 { min-height: 2.75rem; }
#gif-tool-root .max-w-md { max-width: 28rem; }
#gif-tool-root .max-w-xl { max-width: 36rem; }
#gif-tool-root .max-w-5xl { max-width: 64rem; }
#gif-tool-root .aspect-square { aspect-ratio: 1 / 1; }
#gif-tool-root .object-contain { object-fit: contain; }

/* Typography */
#gif-tool-root .text-left { text-align: left; }
#gif-tool-root .text-center { text-align: center; }
#gif-tool-root .text-right { text-align: right; }
#gif-tool-root .text-xs { font-size: 0.75rem; line-height: 1.33; }
#gif-tool-root .text-sm { font-size: 0.875rem; line-height: 1.43; }
#gif-tool-root .text-lg { font-size: 1.125rem; line-height: 1.44; }
#gif-tool-root .text-2xl { font-size: 1.5rem; line-height: 1.25; }
@media (min-width: 640px) {
  #gif-tool-root .sm\:text-3xl { font-size: 1.875rem; line-height: 1.27; }
}
#gif-tool-root .font-medium { font-weight: 500; }
#gif-tool-root .font-semibold { font-weight: 600; }
#gif-tool-root .font-serif { font-family: Georgia, 'Times New Roman', serif; }
#gif-tool-root .tracking-widest { letter-spacing: 0.1em; }
#gif-tool-root .leading-snug { line-height: 1.375; }
#gif-tool-root .leading-relaxed { line-height: 1.625; }
#gif-tool-root .tabular-nums { font-variant-numeric: tabular-nums; }

/* Colors */
#gif-tool-root .text-white { color: #fff; }
#gif-tool-root .text-gray-800 { color: #1f2937; }
#gif-tool-root .text-primary { color: var(--rb-accent); }
#gif-tool-root .text-primary-foreground { color: var(--rb-tw-primary-foreground); }
#gif-tool-root .text-muted-foreground { color: var(--rb-tw-muted-foreground); }
#gif-tool-root .text-destructive { color: var(--rb-tw-destructive); }
#gif-tool-root .text-red-700 { color: #b91c1c; }
#gif-tool-root .hover\:text-foreground:hover { color: var(--rb-tw-foreground); }
#gif-tool-root .hover\:underline:hover { text-decoration: underline; }
@media (prefers-color-scheme: dark) {
  #gif-tool-root .dark\:text-red-300 { color: var(--rb-tw-dark-destructive); }
}
#gif-tool-root .bg-background { background-color: var(--rb-tw-background); }
#gif-tool-root .bg-card { background-color: var(--rb-tw-card); }
#gif-tool-root .bg-muted { background-color: var(--rb-tw-muted); }
#gif-tool-root .bg-primary { background-color: var(--rb-tw-primary); }
#gif-tool-root .bg-transparent { background-color: transparent; }
#gif-tool-root .bg-white { background-color: #fff; }
#gif-tool-root .bg-white\/90 { background-color: rgba(255, 255, 255, 0.9); }
#gif-tool-root .bg-white\/95 { background-color: rgba(255, 255, 255, 0.95); }
#gif-tool-root .bg-black\/60 { background-color: rgba(0, 0, 0, 0.6); }
#gif-tool-root .bg-primary\/10 { background-color: color-mix(in srgb, var(--rb-tw-primary) 10%, transparent); }
#gif-tool-root .bg-red-50 { background-color: #fef2f2; }
@media (prefers-color-scheme: dark) {
  #gif-tool-root .dark\:bg-red-950 { background-color: #450a0a; }
}
#gif-tool-root .hover\:bg-muted:hover { background-color: var(--rb-tw-muted); }
#gif-tool-root .hover\:bg-muted\/60:hover { background-color: color-mix(in srgb, var(--rb-tw-muted) 60%, transparent); }
#gif-tool-root .hover\:bg-muted\/70:hover { background-color: color-mix(in srgb, var(--rb-tw-muted) 70%, transparent); }
#gif-tool-root .hover\:bg-primary\/90:hover { background-color: color-mix(in srgb, var(--rb-tw-primary) 90%, transparent); }

/* Borders */
#gif-tool-root .border { border-width: 1px; border-style: solid; border-color: var(--rb-tw-border); }
#gif-tool-root .border-2 { border-width: 2px; border-style: solid; border-color: var(--rb-tw-border); }
#gif-tool-root .border-4 { border-width: 4px; border-style: solid; border-color: var(--rb-tw-border); }
#gif-tool-root .border-t { border-top-width: 1px; border-top-style: solid; border-top-color: var(--rb-tw-border); }
#gif-tool-root .border-border { border-color: var(--rb-tw-border); }
#gif-tool-root .border-primary { border-color: var(--rb-tw-primary); }
#gif-tool-root .border-red-300 { border-color: #fca5a5; }
#gif-tool-root .border-dashed { border-style: dashed; }
#gif-tool-root .border-t-primary\/30 { border-top-color: color-mix(in srgb, var(--rb-tw-primary) 30%, transparent); }
#gif-tool-root .hover\:border-primary\/50:hover { border-color: color-mix(in srgb, var(--rb-tw-primary) 50%, transparent); }
@media (prefers-color-scheme: dark) {
  #gif-tool-root .dark\:border-red-800 { border-color: #991b1b; }
}
#gif-tool-root .ring-1 { box-shadow: 0 0 0 1px var(--rb-tw-primary); }
#gif-tool-root .rounded { border-radius: 0.25rem; }
#gif-tool-root .rounded-lg { border-radius: 0.5rem; }
#gif-tool-root .rounded-xl { border-radius: 0.75rem; }
#gif-tool-root .rounded-2xl { border-radius: 1rem; }
#gif-tool-root .rounded-full { border-radius: 9999px; }
#gif-tool-root .shadow { box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06); }
#gif-tool-root .shadow-sm { box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); }

/* Effects */
#gif-tool-root .opacity-0 { opacity: 0; }
#gif-tool-root .pointer-events-none { pointer-events: none; }
#gif-tool-root .overflow-hidden { overflow: hidden; }
#gif-tool-root .appearance-none { appearance: none; }
#gif-tool-root .cursor-pointer { cursor: pointer; }
#gif-tool-root .cursor-ew-resize { cursor: ew-resize; }
#gif-tool-root .cursor-crosshair { cursor: crosshair; }
#gif-tool-root .animate-spin { animation: rbg-spin 1s linear infinite; }
@keyframes rbg-spin {
  to { transform: rotate(360deg); }
}
#gif-tool-root .transition-all { transition-property: all; transition-duration: 150ms; }
#gif-tool-root .transition-colors { transition-property: color, background-color, border-color; transition-duration: 150ms; }
#gif-tool-root .scroll-mt-24 { scroll-margin-top: 6rem; }
#gif-tool-root .disabled\:opacity-50:disabled { opacity: 0.5; }
