* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

:root {
  --bg: #f7f8fb;
  --panel: rgba(255, 255, 255, 0.9);
  --panel-strong: rgba(255, 255, 255, 0.96);
  --line: rgba(18, 22, 35, 0.1);
  --line-soft: rgba(18, 22, 35, 0.08);
  --text: #121623;
  --muted: #5f6778;
  --soft: #7f8695;
  --accent: #2ebf59;
  --accent-soft: #71de90;
  --salmon: #f35f7f;
  --danger: #e64862;
  --found: #7a8091;
  --shadow: 0 12px 36px rgba(20, 24, 38, 0.1);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --press-scale: 0.985;
  --control-size: 50px;
  --control-radius: 16px;
  --byline: #ec8189;
}

:root[data-theme="dark"] {
  --bg: #0b0b0d;
  --panel: rgba(28, 28, 30, 0.84);
  --panel-strong: rgba(34, 34, 38, 0.96);
  --line: rgba(255, 255, 255, 0.14);
  --line-soft: rgba(255, 255, 255, 0.10);
  --text: #ffffff;
  --muted: #a4a7b0;
  --soft: #7b8190;
  --accent: #34c759;
  --accent-soft: #8ef0a7;
  --salmon: #f0706d;
  --danger: #ed474c;
  --found: #8e8e93;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
  --byline: #34c759;
}

html {
  height: 100%;
  width: 100%;
  overflow: auto;
  background-color: var(--bg); /* fallback sólido */
  position: relative; /* para o pseudo-elemento fixed se posicionar */
}

html::before {
  content: "";
  position: fixed;
  top: -100px;      /* expande para cima */
  left: -100px;     /* expande para os lados */
  right: -100px;
  bottom: -100px;   /* expande para baixo */
  z-index: -1;
  pointer-events: none;
  background: 
    radial-gradient(circle at top left, rgba(243, 95, 127, 0.15), transparent 35%),
    radial-gradient(circle at bottom right, rgba(46, 191, 89, 0.15), transparent 35%),
    var(--bg);
  background-size: cover;
  background-position: center;
  transition: background 260ms ease;
}

body {
  font-family: Inter, system-ui, -apple-system, sans-serif;
  min-height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background-color: transparent; /* deixa o fundo do html aparecer */
  color: var(--text);
  position: relative;
  z-index: 1; /* acima do pseudo-elemento */
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

button:active {
  transform: scale(var(--press-scale));
}

.bg-orb {
  position: fixed;
  z-index: -1; /* Fica entre o fundo (body::before) e o conteúdo (app-shell) */
  filter: blur(72px);
  opacity: 0.45;
  pointer-events: none;
}

.orb-a {
  width: 220px;
  height: 220px;
  top: 0;
  right: -52px;
  background: rgba(52, 199, 89, 0.2);
  animation: driftA 14s ease-in-out infinite;
}

.orb-b {
  width: 240px;
  height: 240px;
  bottom: 40px;
  left: -80px;
  background: rgba(240, 112, 109, 0.14);
  animation: driftB 18s ease-in-out infinite;
}

.app-shell {
  position: relative;
  z-index: 1;
  width: min(100%, 720px);
  margin: 0 auto;
  padding: 
    calc(env(safe-area-inset-top) + 20px) 
    14px 
    calc(env(safe-area-inset-bottom) + 40px);
  display: flex;
  flex-direction: column;
}

.main-stack {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  min-width: 0;
  transition:
    background 260ms ease,
    border-color 220ms ease,
    box-shadow 260ms ease;
}

.hero-card {  
  position: relative;
  display: grid;
  gap: 12px;
  padding: 0 4px 8px;
  margin-bottom: 8px;
}

.hero-topbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.theme-toggle {
  position: relative;
  width: var(--control-size);
  height: var(--control-size);
  border: 1px solid var(--line);
  border-radius: var(--control-radius);
  background: var(--panel-strong);
  color: var(--text);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
  transition:
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease,
    opacity 220ms ease;
}

.theme-toggle .button-icon {
  width: 20px;
  height: 20px;
}

.theme-toggle .button-icon svg {
  width: 20px;
  height: 20px;
}

.theme-toggle.is-switching .button-icon {
  animation: themeToggleFade 220ms ease;
}

.hero-left {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.app-logo {
  width: 113px;
  height: 113px;
  border-radius: 24px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  background: #ffffff;
  flex: 0 0 auto;
  align-items: center;
}

.hero-copy {
  min-width: 0;
  padding-top: 0;
  align-items: center;
  transform: translateY(-4px);
}

h1 {
  /* Aumento direto: de 28px/38px para 34px/48px */
  font-size: clamp(34px, 7.5vw, 48px); 
  line-height: 0.95;
  letter-spacing: -0.035em;
  
  /* Mantendo exatamente o efeito de brilho anterior */
  background: linear-gradient(
    135deg, 
    #ed474c 20%, 
    #ff8a8e 40%, 
    #fbb5b8 60%, 
    #ed474c 80%
  );
  background-size: 200% auto;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  animation: textShine 5s linear infinite;
}

.hero-subtitle {
  color: var(--muted);
  margin-top: 2px;
  font-size: 13px;
  line-height: 1.46;
  max-width: 34ch;
  text-align: center;
  margin-inline: auto;
}

.hero-byline {
  margin-top: 7px;
  font-size: 12px;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--byline);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 600;
}

.form-card,
.result-card,
.status-card {
  padding: 14px;
}

.label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.tiny-button {
  border: 1px solid var(--line);
  background: rgba(18, 22, 35, 0.05);
  color: var(--muted);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease;
  flex: 0 0 auto;
}

.input-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.text-input {
  width: 100%;
  min-width: 0;
  padding: 14px 16px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--panel-strong);
  color: var(--text);
  outline: none;
  transition:
    border-color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease,
    background 220ms ease,
    color 220ms ease;
  font-size: 13px;
}

.text-input::placeholder {
  color: var(--soft);
  font-size: 11px;
}

.text-input:focus {
  border-color: rgba(52, 199, 89, 0.6);
  box-shadow: 0 0 0 4px rgba(52, 199, 89, 0.12);
}

.button-row-compact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 50px 50px;
  gap: 10px;
  margin-top: 10px;
  align-items: center;
}

.primary-button,
.secondary-button {
  border: 0;
  border-radius: var(--radius-lg);
  min-height: 46px;
  padding: 0 16px;
  transition:
    transform 180ms ease,
    filter 180ms ease,
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.primary-button {
  flex: 1;
  background: #ed474c;
  color: #ffffff;
  font-weight: 800;
  box-shadow: 0 10px 26px rgba(237, 71, 76, 0.22);
}

.primary-button:disabled {
  opacity: 0.9;
  cursor: default;
}

.primary-button-wide {
  width: 100%;
}

.icon-button {
  border: 0;
  width: var(--control-size);
  height: var(--control-size);
  border-radius: var(--control-radius);
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  line-height: 1;
  transition:
    transform 180ms ease,
    filter 180ms ease,
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.button-icon {
  width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
  line-height: 0;
}

.button-icon svg,
.button-icon img {
  width: 100%;
  height: 100%;
  display: block;
}

.supported-chips {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin-top: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0 2px 2px 0;
  max-width: 100%;
}

.supported-chips::-webkit-scrollbar {
  display: none;
}

.icon-chips {
  gap: 8px;
}

.chip {
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-size: 12px;
  flex: 0 0 auto;
}

.chip.icon-chip {
  width: 38px;
  height: 38px;
  min-width: 38px;
  padding: 0;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.045);
  transition:
    background 180ms ease,
    border-color 180ms ease;
}

.chip.icon-chip:last-child {
  margin-right: 0;
}

.chip.icon-chip:hover {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.06);
}

.chip.icon-chip svg,
.chip.icon-chip img {
  width: 16px;
  height: 16px;
  display: block;
  flex: 0 0 auto;
  transition: color 220ms ease;
}

.status-card {
  font-size: 14px;
  line-height: 1.45;
  color: var(--muted);
  scroll-margin-top: 12px;
}

.status-card.status-card-live {
  animation: statusFadeIn 260ms ease both;
}

.status-card.is-error {
  color: #8f1d2d;
  border-color: rgba(237, 71, 76, 0.34);
  background: rgba(237, 71, 76, 0.12);
}

.status-card.is-success {
  color: #1f6d33;
  border-color: rgba(46, 191, 89, 0.32);
  background: rgba(46, 191, 89, 0.14);
}

.result-card {
  overflow: visible;
}

.result-header {
  display: flex;
  gap: 12px;
  align-items: center;
  min-width: 0;
}

.cover-wrap {
  position: relative;
  width: 82px;
  height: 82px;
  flex: 0 0 auto;
  border-radius: 18px;
  overflow: hidden;
}

.cover-image {
  width: 82px;
  height: 82px;
  border-radius: 18px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.24);
  position: relative;
  z-index: 2;
}

.cover-shimmer {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 18px;
  background:
    linear-gradient(
      110deg,
      rgba(255, 255, 255, 0.04) 8%,
      rgba(255, 255, 255, 0.11) 18%,
      rgba(255, 255, 255, 0.04) 33%
    ),
    rgba(255, 255, 255, 0.04);
  background-size: 200% 100%;
  animation: shimmer 1.2s linear infinite;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.result-copy {
  min-width: 0;
  width: 100%;
}

.result-description {
  color: #ed474c;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.result-title-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  justify-content: space-between;
  min-width: 0;
}

.result-title-stack {
  min-width: 0;
  flex: 1 1 auto;
}

h2 {
  font-size: 22px;
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.result-meta {
  color: var(--muted);
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.35;
}

.result-head-actions {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  flex: 0 0 auto;
}

.mini-head-action {
  border: 0;
  width: 26px;
  height: 26px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  flex: 0 0 auto;
  transition:
    background 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease;
}

.mini-head-action .button-icon {
  width: 12px;
  height: 12px;
}

.platform-groups {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  min-width: 0;
}

.group-title {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}

.platform-list {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.platform-item {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-soft);
  min-height: 78px;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
  min-width: 0;
  overflow: hidden;
}

.platform-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-soft);
  box-shadow: none;
}

.platform-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
  flex: 0 0 auto;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.platform-icon svg,
.platform-icon img {
  width: 22px;
  height: 22px;
  display: block;
  flex: 0 0 auto;
  max-width: 100%;
  max-height: 100%;
  transition: color 220ms ease;
}

.icon-chip-youTube,
.icon-chip-youtube,
.icon-chip-youtubeMusic,
.platform-icon-youTube,
.platform-icon-youtube,
.platform-icon-youtubeMusic {
  --yt-play-cutout: var(--bg);
}

.platform-copy {
  min-width: 0;
  align-self: center;
}

.platform-name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}

.platform-name {
  font-weight: 700;
  font-size: 13px;
  line-height: 1.15;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.platform-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  line-height: 0;
}

.platform-badge svg,
.platform-badge img {
  width: 18px;
  height: 18px;
  display: block;
}

.platform-badge.is-verified {
  color: #ed474c;
}

.platform-badge.is-found {
  color: #8e8e93;
}

.platform-actions {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-self: end;
  align-self: center;
  flex: 0 0 auto;
  flex-shrink: 0;
}

.mini-action {
  border: 0;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  line-height: 1;
  font-weight: 700;
  flex: 0 0 auto;
  transition:
    background 220ms ease,
    box-shadow 220ms ease,
    color 220ms ease,
    opacity 220ms ease;
}

.mini-action .button-icon {
  width: 15px;
  height: 15px;
}

.mini-action.open {
  background: #ed474c;
  color: #ffffff;
}

.mini-action.is-pressed-copy,
.mini-head-action.is-pressed-copy,
.icon-button.is-pressed-copy,
.tiny-button.is-pressed-copy {
  background: var(--danger);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(237, 71, 76, 0.3);
  animation: copyPulse 420ms ease;
}

.mini-action.is-pressed-open,
.mini-head-action.is-pressed-open {
  animation: openPulse 320ms ease;
}

.platform-toast {
  display: none;
}

.floating-toast {
  position: fixed;
  left: 50%;
  bottom: calc(18px + env(safe-area-inset-bottom));
  transform: translateX(-50%) translateY(10px) scale(0.98);
  z-index: 999;
  width: max-content;
  max-width: calc(100vw - 32px);
  padding: 12px 16px;
  border-radius: 14px;
  background: #ed474c;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 13px;
  text-align: center;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.34);
  opacity: 0;
  transition:
    opacity 260ms ease,
    transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 260ms ease;
  filter: saturate(0.92);
  pointer-events: none;
}

.floating-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0) scale(1);
  filter: saturate(1);
  pointer-events: auto;
}

.footer {
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  padding: 16px 0 8px;
  display: grid;
  gap: 3px;
}

.footer a {
  font-weight: 700;
  text-decoration: underline;
  color: inherit;
}

.hidden {
  display: none !important;
}

.reveal {
  animation: reveal 700ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.reveal-delay-1 {
  animation-delay: 80ms;
}

.reveal-delay-2 {
  animation-delay: 140ms;
}

.result-card-live {
  animation: resultCardIn 420ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.result-card.is-exiting {
  animation: resultCardOut 220ms ease both;
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes titleFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes floatingToastIn {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(10px);
  }
  12% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  84% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(6px);
  }
}

@keyframes copyPulse {
  0% {
    transform: scale(1);
  }
  35% {
    transform: scale(0.93);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes resultCardIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes statusFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes resultCardOut {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateY(8px) scale(0.985);
  }
}

@keyframes themeToggleFade {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.45;
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes openPulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(0.95);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes driftA {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(-18px, 12px, 0) scale(1.08);
  }
}

@keyframes driftB {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(22px, -14px, 0) scale(1.05);
  }
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

@media (max-width: 640px) {
  .app-shell {
    padding-left: 12px;
    padding-right: 12px;
  }

  .hero-card {
    padding: 4px 2px 6px;
  }

  .button-row-compact {
    grid-template-columns: minmax(0, 1fr) 50px 50px;
  }

  .platform-item {
    grid-template-columns: 44px minmax(0, 1fr) auto;
    min-height: 74px;
    gap: 10px;
    padding: 11px 12px;
  }

  .platform-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 13px;
  }

  .platform-icon svg,
  .platform-icon img {
    width: 20px;
    height: 20px;
  }

  .platform-name {
    font-size: 12.5px;
  }

  .cover-image,
  .cover-wrap,
  .cover-shimmer {
    width: 72px;
    height: 72px;
  }

  .app-logo {
    width: 96px;
    height: 96px;
  }

  .chip.icon-chip {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 12px;
  }

  .chip.icon-chip svg,
  .chip.icon-chip img {
    width: 15px;
    height: 15px;
  }
}

@media (max-width: 420px) {
  .label-row {
    gap: 8px;
  }

  .tiny-button {
    padding: 7px 10px;
    font-size: 11px;
  }

  .platform-item {
    grid-template-columns: 42px minmax(0, 1fr) auto;
    padding: 10px 11px;
    gap: 9px;
    min-height: 72px;
  }

  .platform-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 12px;
  }

  .platform-icon svg,
  .platform-icon img {
    width: 19px;
    height: 19px;
  }

  .platform-actions {
    gap: 6px;
  }

  .mini-action {
    width: 32px;
    height: 32px;
  }

  .platform-name {
    font-size: 12px;
  }

  .app-logo {
    width: 92px;
    height: 92px;
    border-radius: 22px;
  }

  .hero-subtitle {
    font-size: 13px;
  }

  .chip.icon-chip {
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 11px;
  }

  .chip.icon-chip svg,
  .chip.icon-chip img {
    width: 14px;
    height: 14px;
  }
}

:root[data-theme="dark"] .app-logo {
  background: #101113;
  align-items: center;
}

:root[data-theme="dark"] h1 {
  background: linear-gradient(
    135deg, 
    #ffffff 35%,   /* Branco predomina na esquerda */
    #00d752 45%,   /* Verde neon (brilho rápido) */
    #ed474c 50%,   /* Rosa (transição rápida) */
    #ffffff 65%    /* Volta para o branco rápido */
  );
  background-size: 200% auto;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}

/* KEYFRAME ÚNICO PARA O BRILHO */
@keyframes textShine {
  to {
    background-position: 200% center;
  }
}

:root[data-theme="dark"] .primary-button {
  background: linear-gradient(180deg, #40da67 0%, var(--accent) 100%);
  color: #071208;
  box-shadow: 0 10px 26px rgba(52, 199, 89, 0.18);
}

:root[data-theme="dark"] .status-card.is-success {
  color: #dbffe4;
  border-color: rgba(52, 199, 89, 0.22);
  background: rgba(21, 76, 33, 0.35);
}

:root[data-theme="dark"] .result-description {
  color: var(--accent);
}

:root[data-theme="dark"] .platform-badge.is-verified {
  color: #34c759;
}

:root[data-theme="dark"] .mini-action.open {
  background: linear-gradient(180deg, #40da67 0%, var(--accent) 100%);
  color: #071208;
}

:root[data-theme="dark"] .mini-action.is-pressed-copy,
:root[data-theme="dark"] .mini-head-action.is-pressed-copy,
:root[data-theme="dark"] .icon-button.is-pressed-copy,
:root[data-theme="dark"] .tiny-button.is-pressed-copy {
  background: linear-gradient(180deg, #40da67 0%, var(--accent) 100%);
  color: #071208;
  box-shadow: 0 10px 24px rgba(52, 199, 89, 0.35);
}

:root[data-theme="dark"] .status-card.is-error {
  color: #ffd7d8;
  border-color: rgba(237, 71, 76, 0.24);
  background: rgba(110, 28, 28, 0.34);
}

:root:not([data-theme="dark"]) .icon-button,
:root:not([data-theme="dark"]) .mini-action,
:root:not([data-theme="dark"]) .mini-head-action {
  background: rgba(18, 22, 35, 0.06);
}

:root:not([data-theme="dark"]) .platform-item {
  background: rgba(246, 248, 253, 0.9);
  border-color: rgba(18, 22, 35, 0.14);
  box-shadow: 0 8px 20px rgba(25, 32, 50, 0.06);
}

:root:not([data-theme="dark"]) .platform-icon {
  background: rgba(18, 22, 35, 0.08);
  color: #ed474c;
}

:root:not([data-theme="dark"]) .chip {
  background: rgba(18, 22, 35, 0.04);
  border-color: rgba(18, 22, 35, 0.12);
}

:root:not([data-theme="dark"]) .mini-action.open {
  background: #ed474c;
  color: #ffffff;
}

:root:not([data-theme="dark"]) .icon-chip-youTube,
:root:not([data-theme="dark"]) .icon-chip-youtube,
:root:not([data-theme="dark"]) .icon-chip-youtubeMusic {
  --yt-play-cutout: rgba(18, 22, 35, 0.04);
}

:root:not([data-theme="dark"]) .platform-icon-youTube,
:root:not([data-theme="dark"]) .platform-icon-youtube,
:root:not([data-theme="dark"]) .platform-icon-youtubeMusic {
  --yt-play-cutout: rgba(18, 22, 35, 0.08);
}

:root[data-theme="dark"] .footer {
  color: rgba(255, 255, 255, 0.38);
}

:root[data-theme="dark"] .icon-chip-youTube,
:root[data-theme="dark"] .icon-chip-youtube,
:root[data-theme="dark"] .icon-chip-youtubeMusic {
  --yt-play-cutout: rgba(255, 255, 255, 0.045);
}

:root[data-theme="dark"] .platform-icon-youTube,
:root[data-theme="dark"] .platform-icon-youtube,
:root[data-theme="dark"] .platform-icon-youtubeMusic {
  --yt-play-cutout: rgba(255, 255, 255, 0.07);
}

:root:not([data-theme="dark"]) .mini-action.is-pressed-copy,
:root:not([data-theme="dark"]) .mini-head-action.is-pressed-copy,
:root:not([data-theme="dark"]) .icon-button.is-pressed-copy,
:root:not([data-theme="dark"]) .tiny-button.is-pressed-copy {
  background: #ed474c;
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(237, 71, 76, 0.3);
}

:root[data-theme="dark"] .floating-toast {
  background: linear-gradient(180deg, #40da67 0%, var(--accent) 100%);
  color: #071208;
  border-color: rgba(52, 199, 89, 0.3);
  box-shadow: 0 18px 44px rgba(12, 44, 23, 0.42);
}

/* Garantia extra de que o fundo fixo sempre prevalece */
html, body {
  background-color: transparent;
}
html {
  background-color: var(--bg); /* fallback apenas enquanto o CSS carrega */
}
