/*
 * Sargentini — tema FC Mobile / cartas raras, v1.0
 * Ativação: <html lang="pt-BR" data-theme="fc-mobile">
 * Paleta inspirada na arte criada; não é uma paleta oficial da EA.
 * Camada de cores para o template Sargentini 1.1.0.
 * Não altera medidas, fontes, ordem, rotas, dados ou funcionalidades.
 */

html[data-theme="fc-mobile"] {
  color-scheme: dark;

  /* Paleta: edite os valores aqui para personalizar o tema. */
  --fc-bg: #071411;
  --fc-surface: #10231f;
  --fc-elevated: #172e28;
  --fc-sidebar: #091b17;
  --fc-input: #0b1d18;
  --fc-text: #f4f6f0;
  --fc-muted: #bdccc5;
  --fc-border: #37584b;
  --fc-border-strong: #5f8474;
  --fc-green: #39e58c;
  --fc-green-hover: #67efaa;
  --fc-green-soft: #123b29;
  --fc-gold: #edc967;
  --fc-gold-soft: #3a3016;
  --fc-blue: #67cdff;
  --fc-blue-soft: #102d40;
  --fc-violet: #c4a1ff;
  --fc-violet-soft: #302141;
  --fc-danger: #ffb0b0;
  --fc-danger-bg: #3b2028;
  --fc-warning: #ffe298;
  --fc-warning-bg: #3b311c;
  --fc-success: #94f4bd;
  --fc-success-bg: #113827;
  --fc-ink: #06150e;
  --fc-overlay: #010705b3;

  /* Integração com as variáveis já utilizadas pelo template. */
  --background: var(--fc-bg);
  --surface: var(--fc-surface);
  --sidebar: var(--fc-sidebar);
  --accent: var(--fc-green);
  --accent-light: var(--fc-green-soft);
  --border: var(--fc-border);
  --text: var(--fc-text);
  --muted: var(--fc-muted);
  --brand: var(--fc-green);

  background-color: var(--fc-bg);
  color: var(--fc-text);
}

html[data-theme="fc-mobile"] body {
  background-color: var(--fc-bg);
  color: var(--fc-text);
}

html[data-theme="fc-mobile"] ::selection {
  background: var(--fc-gold);
  color: var(--fc-ink);
}

html[data-theme="fc-mobile"] :is(button, a, input, select, textarea):focus-visible {
  outline-color: var(--fc-blue);
}

html[data-theme="fc-mobile"] :is(input, textarea, select) {
  color: var(--fc-text);
  background-color: var(--fc-input);
  border-color: var(--fc-border-strong);
}

html[data-theme="fc-mobile"] :is(input, textarea)::placeholder {
  color: var(--fc-muted);
}

html[data-theme="fc-mobile"] input[type="checkbox"] {
  accent-color: var(--fc-green);
}

html[data-theme="fc-mobile"] .btn {
  background-color: var(--fc-surface);
  border-color: var(--fc-border-strong);
  color: var(--fc-text);
}

html[data-theme="fc-mobile"] .btn:hover {
  background-color: var(--fc-elevated);
  border-color: var(--fc-green);
}

html[data-theme="fc-mobile"] .btn.btn-primary {
  background: var(--fc-green);
  border-color: var(--fc-green);
  color: var(--fc-ink);
}

html[data-theme="fc-mobile"] .btn.btn-primary:hover {
  background: var(--fc-green-hover);
  border-color: var(--fc-green-hover);
  color: var(--fc-ink);
}

html[data-theme="fc-mobile"] .btn.btn-ghost {
  background: transparent;
  border-color: transparent;
  color: var(--fc-text);
}

html[data-theme="fc-mobile"] .btn.btn-ghost:hover {
  background: var(--fc-elevated);
  color: var(--fc-green);
}

html[data-theme="fc-mobile"] .card {
  background-color: var(--fc-surface);
  border-color: var(--fc-border);
  color: var(--fc-text);
}

html[data-theme="fc-mobile"] :is(.eyebrow, .muted) {
  color: var(--fc-muted);
}

html[data-theme="fc-mobile"] .skip-link {
  background: var(--fc-green);
  color: var(--fc-ink);
}


/*
 * FC Mobile — fragmento de cores da página pública.
 * Carregar depois dos estilos do projeto e ativar com data-theme="fc-mobile" no html.
 * Os tokens --fc-* são definidos pelo arquivo principal do tema.
 * Este fragmento não altera medidas, tipografia, comportamento ou conteúdo.
 */

html[data-theme="fc-mobile"] .public-shell {
  color: var(--fc-text);
  background: var(--fc-bg);
}

html[data-theme="fc-mobile"] .public-shell .eyebrow,
html[data-theme="fc-mobile"] .public-shell .muted {
  color: var(--fc-muted);
}

/* Navegação e cabeçalho */
html[data-theme="fc-mobile"] .public-shell aside {
  background: var(--fc-sidebar);
  border-right-color: var(--fc-border);
}

html[data-theme="fc-mobile"] .public-shell .brand small,
html[data-theme="fc-mobile"] .public-shell .nav-label,
html[data-theme="fc-mobile"] .public-shell nav a,
html[data-theme="fc-mobile"] .public-shell .sidebar-note p,
html[data-theme="fc-mobile"] .public-shell .sidebar-bottom small,
html[data-theme="fc-mobile"] .public-shell .admin-link,
html[data-theme="fc-mobile"] .public-shell .header-subtitle {
  color: var(--fc-muted);
}

html[data-theme="fc-mobile"] .public-shell nav a.active {
  color: var(--fc-green);
  background: var(--fc-green-soft);
}

html[data-theme="fc-mobile"] .public-shell nav a:hover {
  background: var(--fc-elevated);
}

html[data-theme="fc-mobile"] .public-shell .active-dot,
html[data-theme="fc-mobile"] .public-shell .community-pill > span,
html[data-theme="fc-mobile"] .public-shell .hero-tag > span {
  background: var(--fc-green);
}

html[data-theme="fc-mobile"] .public-shell .nav-count {
  background: var(--fc-elevated);
  color: var(--fc-muted);
}

html[data-theme="fc-mobile"] .public-shell .sidebar-note,
html[data-theme="fc-mobile"] .public-shell .admin-link {
  border-top-color: var(--fc-border);
}

html[data-theme="fc-mobile"] .public-shell .corner-line {
  color: var(--fc-green);
}

html[data-theme="fc-mobile"] .public-shell .mini-tag {
  border-color: var(--fc-border-strong);
  color: var(--fc-gold);
}

html[data-theme="fc-mobile"] .public-shell .avatar {
  background: var(--fc-green-soft);
  color: var(--fc-green);
}

html[data-theme="fc-mobile"] .public-shell header {
  border-bottom-color: var(--fc-border);
  background: var(--fc-surface);
}

html[data-theme="fc-mobile"] .public-shell .header-divider {
  background: var(--fc-border-strong);
}

html[data-theme="fc-mobile"] .public-shell .share-btn {
  background: var(--fc-surface);
  border-color: var(--fc-border-strong);
  color: var(--fc-text);
}

html[data-theme="fc-mobile"] .public-shell .page-heading .eyebrow {
  color: var(--fc-muted);
}

html[data-theme="fc-mobile"] .public-shell .page-heading h1 > span {
  color: var(--fc-green);
}

html[data-theme="fc-mobile"] .public-shell .community-pill {
  border-color: var(--fc-border-strong);
  color: var(--fc-muted);
}

/* Hero: preservar os recortes e os pontos do degradê existentes. */
html[data-theme="fc-mobile"] .public-shell .hero {
  background: var(--fc-bg);
  border-color: var(--fc-border-strong);
}

html[data-theme="fc-mobile"] .public-shell .hero-art {
  mix-blend-mode: normal;
}

html[data-theme="fc-mobile"] .public-shell .hero::after {
  background: linear-gradient(
    90deg,
    var(--fc-bg) 0%,
    var(--fc-bg) 25%,
    color-mix(in srgb, var(--fc-bg) 85%, transparent) 39%,
    transparent 64%
  );
}

html[data-theme="fc-mobile"] .public-shell .hero-tag,
html[data-theme="fc-mobile"] .public-shell .hero-caption {
  color: var(--fc-gold);
}

/* A legenda fica sobre a arte, que pode conter cartas muito claras. */
html[data-theme="fc-mobile"] .public-shell .hero-caption {
  background-color: color-mix(in srgb, var(--fc-bg) 94%, transparent);
}

html[data-theme="fc-mobile"] .public-shell .hero h2 {
  color: var(--fc-text);
}

html[data-theme="fc-mobile"] .public-shell .hero p,
html[data-theme="fc-mobile"] .public-shell .hero-meta {
  color: var(--fc-muted);
}

html[data-theme="fc-mobile"] .public-shell .hero-meta i {
  background: var(--fc-border-strong);
}

/* Cards, links e avisos */
html[data-theme="fc-mobile"] .public-shell .card {
  background: var(--fc-surface);
  border-color: var(--fc-border);
}

html[data-theme="fc-mobile"] .public-shell .section-title > .lucide {
  color: var(--fc-gold);
}

html[data-theme="fc-mobile"] .public-shell .section-title .eyebrow,
html[data-theme="fc-mobile"] .public-shell .social-copy small,
html[data-theme="fc-mobile"] .public-shell .social-footnote p {
  color: var(--fc-muted);
}

html[data-theme="fc-mobile"] .public-shell .social-card {
  background: var(--fc-surface);
  border-color: var(--fc-border);
}

html[data-theme="fc-mobile"] .public-shell .social-card:hover {
  background: var(--fc-elevated);
  border-color: var(--fc-border-strong);
}

html[data-theme="fc-mobile"] .public-shell .social-icon {
  background: var(--fc-green-soft);
  color: var(--fc-green);
}

html[data-theme="fc-mobile"] .public-shell .social-icon.tiktok {
  background: var(--fc-ink);
  color: var(--fc-text);
}

html[data-theme="fc-mobile"] .public-shell .link-arrow {
  color: var(--fc-green);
}

html[data-theme="fc-mobile"] .public-shell .little-line {
  background: var(--fc-border-strong);
}

html[data-theme="fc-mobile"] .public-shell .label-pill {
  border-color: var(--fc-border-strong);
  color: var(--fc-muted);
}

html[data-theme="fc-mobile"] .public-shell .notice-tag {
  background: var(--fc-blue-soft);
  color: var(--fc-blue);
}

html[data-theme="fc-mobile"] .public-shell .pinned,
html[data-theme="fc-mobile"] .public-shell .notice time,
html[data-theme="fc-mobile"] .public-shell .notice p {
  color: var(--fc-muted);
}

/* Sorteios: dourado para prêmio; estados textuais continuam intactos. */
html[data-theme="fc-mobile"] .public-shell .raffle-card {
  background: linear-gradient(125deg, var(--fc-surface), var(--fc-elevated));
  border-color: var(--fc-gold);
}

html[data-theme="fc-mobile"] .public-shell .raffle-icon {
  background: var(--fc-gold-soft);
  border-color: var(--fc-gold);
  color: var(--fc-gold);
}

html[data-theme="fc-mobile"] .public-shell .raffle-status {
  border-color: var(--fc-border-strong);
  color: var(--fc-gold);
}

html[data-theme="fc-mobile"] .public-shell .raffle-status > span {
  background: var(--fc-gold);
}

html[data-theme="fc-mobile"] .public-shell .raffle-card > .eyebrow,
html[data-theme="fc-mobile"] .public-shell .prize {
  color: var(--fc-gold);
}

html[data-theme="fc-mobile"] .public-shell .raffle-card > p,
html[data-theme="fc-mobile"] .public-shell .date-pending,
html[data-theme="fc-mobile"] .public-shell .date-pending > span,
html[data-theme="fc-mobile"] .public-shell .date-pending small,
html[data-theme="fc-mobile"] .public-shell .raffle-bottom,
html[data-theme="fc-mobile"] .public-shell .raffle-hint,
html[data-theme="fc-mobile"] .public-shell .scheduled {
  color: var(--fc-muted);
}

html[data-theme="fc-mobile"] .public-shell .raffle-bottom {
  border-top-color: var(--fc-border);
}

html[data-theme="fc-mobile"] .public-shell .community-card {
  border-color: var(--fc-border-strong);
}

html[data-theme="fc-mobile"] .public-shell .outline-octagon {
  color: var(--fc-green);
}

html[data-theme="fc-mobile"] .public-shell .community-card strong {
  color: var(--fc-text);
}

html[data-theme="fc-mobile"] .public-shell .community-card p,
html[data-theme="fc-mobile"] .public-shell .result small,
html[data-theme="fc-mobile"] .public-shell .result p {
  color: var(--fc-muted);
}

html[data-theme="fc-mobile"] .public-shell .winner {
  background: var(--fc-gold-soft);
  border-color: var(--fc-gold);
}

html[data-theme="fc-mobile"] .public-shell .winner strong {
  color: var(--fc-gold);
}

html[data-theme="fc-mobile"] .public-shell .winner > span:last-child {
  color: var(--fc-muted);
}

html[data-theme="fc-mobile"] .public-shell .result-medal {
  background: var(--fc-gold-soft);
  color: var(--fc-gold);
}

html[data-theme="fc-mobile"] .public-shell .result > svg {
  color: var(--fc-success);
}

/* Countdown.svelte */
html[data-theme="fc-mobile"] .public-shell .countdown div {
  background: var(--fc-input);
  border-color: var(--fc-border);
}

html[data-theme="fc-mobile"] .public-shell .countdown strong {
  color: var(--fc-gold);
}

html[data-theme="fc-mobile"] .public-shell .countdown span {
  color: var(--fc-muted);
}

html[data-theme="fc-mobile"] .public-shell .waiting {
  background: var(--fc-warning-bg);
  color: var(--fc-warning);
}

/* VideoEmbed.svelte: apenas o card e a interface de carregamento local. */
html[data-theme="fc-mobile"] .public-shell .videos-intro {
  color: var(--fc-muted);
}

html[data-theme="fc-mobile"] .public-shell .video-card {
  background: var(--fc-surface);
  border-color: var(--fc-border);
}

html[data-theme="fc-mobile"] .public-shell .provider {
  color: var(--fc-green);
}

html[data-theme="fc-mobile"] .public-shell .video-card h3 {
  color: var(--fc-text);
}

html[data-theme="fc-mobile"] .public-shell .description,
html[data-theme="fc-mobile"] .public-shell .player-status p {
  color: var(--fc-muted);
}

html[data-theme="fc-mobile"] .public-shell .player-stage {
  background: var(--fc-ink);
  border-block-color: var(--fc-border);
}

html[data-theme="fc-mobile"] .public-shell .placeholder,
html[data-theme="fc-mobile"] .public-shell .loading-placeholder {
  color: var(--fc-text);
}

html[data-theme="fc-mobile"] .public-shell .loading-placeholder {
  background: var(--fc-ink);
}

html[data-theme="fc-mobile"] .public-shell .instagram {
  background: var(--fc-surface);
}

html[data-theme="fc-mobile"] .public-shell .instagram .loading-placeholder {
  background: var(--fc-elevated);
  color: var(--fc-muted);
}

html[data-theme="fc-mobile"] .public-shell .instagram-host blockquote a,
html[data-theme="fc-mobile"] .public-shell .original-link {
  color: var(--fc-green);
}

html[data-theme="fc-mobile"] .public-shell .original-link:hover {
  color: var(--fc-green-hover);
}

html[data-theme="fc-mobile"] .public-shell .retry-button {
  background: var(--fc-surface);
  border-color: var(--fc-border-strong);
  color: var(--fc-text);
}

html[data-theme="fc-mobile"] .public-shell .retry-button:hover {
  background: var(--fc-elevated);
}

/* Mensagens e rodapé; avisos mantêm a cor de atenção. */
html[data-theme="fc-mobile"] .public-shell .empty-card {
  border-color: var(--fc-border-strong);
  color: var(--fc-muted);
}

html[data-theme="fc-mobile"] .public-shell .sync-warning {
  background: var(--fc-warning-bg);
  color: var(--fc-warning);
}

html[data-theme="fc-mobile"] .public-shell .sync-warning button {
  color: inherit;
}

html[data-theme="fc-mobile"] .public-shell footer {
  border-top-color: var(--fc-border);
  color: var(--fc-muted);
}

html[data-theme="fc-mobile"] .public-shell .toast {
  background: var(--fc-elevated);
  color: var(--fc-text);
}

html[data-theme="fc-mobile"] .public-shell .menu-backdrop {
  background: var(--fc-overlay);
}

@media (max-width: 900px) {
  html[data-theme="fc-mobile"] .public-shell aside.mobile-open {
    box-shadow: 12px 0 30px var(--fc-overlay);
  }
}

@media (max-width: 600px) {
  html[data-theme="fc-mobile"] .public-shell .hero::after {
    background: linear-gradient(
      180deg,
      var(--fc-bg) 10%,
      var(--fc-bg) 45%,
      color-mix(in srgb, var(--fc-bg) 33.333%, transparent) 70%,
      transparent 90%
    );
  }
}


/* FC Mobile palette: administration, login, loading and root-level dialogs.
   Opt-in only. Geometry, type, disabled opacity and motion remain unchanged. */

html[data-theme="fc-mobile"] .admin-shell,
html[data-theme="fc-mobile"] .initial-loading {
  background: var(--fc-bg);
  color: var(--fc-text);
}

html[data-theme="fc-mobile"] .admin-shell .sidebar {
  background: var(--fc-sidebar);
  border-color: var(--fc-border);
}

html[data-theme="fc-mobile"] .admin-shell .topbar {
  background: var(--fc-sidebar);
  border-color: var(--fc-border);
}

html[data-theme="fc-mobile"] .admin-shell .panel,
html[data-theme="fc-mobile"] .admin-shell .stat-card,
html[data-theme="fc-mobile"] .admin-shell .link-card,
html[data-theme="fc-mobile"] .admin-shell .notice-card,
html[data-theme="fc-mobile"] .admin-shell .raffle-list-card,
html[data-theme="fc-mobile"] .admin-shell .video-admin-card,
html[data-theme="fc-mobile"] .admin-shell .video-help,
html[data-theme="fc-mobile"] .admin-shell .empty-state {
  background: var(--fc-surface);
  border-color: var(--fc-border);
  color: var(--fc-text);
}

/* Navigation and secondary text. */
html[data-theme="fc-mobile"] .admin-shell .sidebar-brand small,
html[data-theme="fc-mobile"] .admin-shell .nav-caption,
html[data-theme="fc-mobile"] .admin-shell .sidebar-tip p,
html[data-theme="fc-mobile"] .admin-shell .sidebar-bottom small,
html[data-theme="fc-mobile"] .admin-shell .breadcrumb,
html[data-theme="fc-mobile"] .admin-shell .private-pill,
html[data-theme="fc-mobile"] .admin-shell .section-eyebrow,
html[data-theme="fc-mobile"] .admin-shell .page-heading p:last-child,
html[data-theme="fc-mobile"] .admin-shell .stat-top,
html[data-theme="fc-mobile"] .admin-shell .stat-card > small,
html[data-theme="fc-mobile"] .admin-shell .featured-raffle p,
html[data-theme="fc-mobile"] .admin-shell .inline-detail,
html[data-theme="fc-mobile"] .admin-shell .panel-footer,
html[data-theme="fc-mobile"] .admin-shell .notice-preview p,
html[data-theme="fc-mobile"] .admin-shell .tiny-label,
html[data-theme="fc-mobile"] .admin-shell .quick-start p,
html[data-theme="fc-mobile"] .admin-shell .admin-footer,
html[data-theme="fc-mobile"] .admin-shell .save-bar > span,
html[data-theme="fc-mobile"] .admin-shell .section-toolbar p,
html[data-theme="fc-mobile"] .admin-shell .section-toolbar > span,
html[data-theme="fc-mobile"] .admin-shell .link-card > p,
html[data-theme="fc-mobile"] .admin-shell .link-card-footer > span,
html[data-theme="fc-mobile"] .admin-shell .notice-card-footer > span,
html[data-theme="fc-mobile"] .admin-shell .notice-card > p,
html[data-theme="fc-mobile"] .admin-shell .hidden-label,
html[data-theme="fc-mobile"] .admin-shell .raffle-list-meta,
html[data-theme="fc-mobile"] .admin-shell .table-empty,
html[data-theme="fc-mobile"] .admin-shell .draw-hint,
html[data-theme="fc-mobile"] .admin-shell .draw-bar span,
html[data-theme="fc-mobile"] .admin-shell .history-row small,
html[data-theme="fc-mobile"] .admin-shell .video-format,
html[data-theme="fc-mobile"] .admin-shell .video-description,
html[data-theme="fc-mobile"] .admin-shell .video-admin-footer > span,
html[data-theme="fc-mobile"] .admin-shell .video-help,
html[data-theme="fc-mobile"] .admin-shell .empty-state p {
  color: var(--fc-muted);
}

html[data-theme="fc-mobile"] .admin-shell .breadcrumb strong,
html[data-theme="fc-mobile"] .admin-shell .module-copy strong,
html[data-theme="fc-mobile"] .admin-shell .section-toolbar strong,
html[data-theme="fc-mobile"] .admin-shell .empty-state h3,
html[data-theme="fc-mobile"] .admin-shell .sidebar-tip strong,
html[data-theme="fc-mobile"] .admin-shell .draw-bar strong,
html[data-theme="fc-mobile"] .admin-shell .history-winner,
html[data-theme="fc-mobile"] .admin-shell .video-help summary {
  color: var(--fc-text);
}

html[data-theme="fc-mobile"] .admin-shell nav button {
  background: transparent;
  color: var(--fc-muted);
}

html[data-theme="fc-mobile"] .admin-shell nav button:hover {
  background: var(--fc-elevated);
  color: var(--fc-text);
}

html[data-theme="fc-mobile"] .admin-shell nav button.active {
  background: var(--fc-green-soft);
  color: var(--fc-green);
}

html[data-theme="fc-mobile"] .admin-shell .nav-dot,
html[data-theme="fc-mobile"] .admin-shell .private-pill > span,
html[data-theme="fc-mobile"] .admin-shell .dot,
html[data-theme="fc-mobile"] .admin-shell .small-dot {
  background: var(--fc-green);
}

html[data-theme="fc-mobile"] .admin-shell .small-dot.off {
  background: var(--fc-border-strong);
}

html[data-theme="fc-mobile"] .admin-shell .sidebar-collapse,
html[data-theme="fc-mobile"] .admin-shell .icon-button {
  background: var(--fc-elevated);
  color: var(--fc-muted);
  border-color: var(--fc-border);
}

html[data-theme="fc-mobile"] .admin-shell .icon-button:hover {
  background: var(--fc-green-soft);
  color: var(--fc-text);
  border-color: var(--fc-border-strong);
}

html[data-theme="fc-mobile"] .admin-shell .sidebar-bottom > button,
html[data-theme="fc-mobile"] .admin-shell .panel-footer button,
html[data-theme="fc-mobile"] .admin-shell .mobile-toggle {
  background: transparent;
  color: var(--fc-muted);
}

html[data-theme="fc-mobile"] .admin-shell .mobile-close {
  background: var(--fc-elevated);
  color: var(--fc-text);
}

html[data-theme="fc-mobile"] .admin-shell .mobile-overlay {
  background: var(--fc-overlay);
}

html[data-theme="fc-mobile"] .admin-shell .admin-avatar,
html[data-theme="fc-mobile"] .admin-shell .topbar-avatar {
  background: var(--fc-green-soft);
  color: var(--fc-green);
}

html[data-theme="fc-mobile"] .admin-shell .topbar-avatar {
  border-color: var(--fc-sidebar);
  outline-color: var(--fc-border-strong);
}

html[data-theme="fc-mobile"] .admin-shell .private-pill,
html[data-theme="fc-mobile"] .admin-shell .panel-number,
html[data-theme="fc-mobile"] .admin-shell .sidebar-bottom,
html[data-theme="fc-mobile"] .admin-shell .panel-footer,
html[data-theme="fc-mobile"] .admin-shell .notice-preview,
html[data-theme="fc-mobile"] .admin-shell .module-toggle,
html[data-theme="fc-mobile"] .admin-shell .link-card-footer,
html[data-theme="fc-mobile"] .admin-shell .notice-card-footer,
html[data-theme="fc-mobile"] .admin-shell .participant-form,
html[data-theme="fc-mobile"] .admin-shell .draw-bar,
html[data-theme="fc-mobile"] .admin-shell .history-row,
html[data-theme="fc-mobile"] .admin-shell .video-admin-footer {
  border-color: var(--fc-border);
}

html[data-theme="fc-mobile"] .admin-shell .panel-number {
  color: var(--fc-gold);
}

html[data-theme="fc-mobile"] .admin-shell .sidebar-tip a,
html[data-theme="fc-mobile"] .admin-shell .public-link,
html[data-theme="fc-mobile"] .admin-shell .text-button,
html[data-theme="fc-mobile"] .admin-shell .create-notice,
html[data-theme="fc-mobile"] .admin-shell .destination,
html[data-theme="fc-mobile"] .admin-shell .video-source {
  color: var(--fc-blue);
}

html[data-theme="fc-mobile"] .admin-shell .text-button:hover {
  color: var(--fc-green-hover);
}

/* The hero keeps its existing size, rings, imagery and shadow geometry. */
html[data-theme="fc-mobile"] .admin-shell .overview-hero {
  background: var(--fc-green-soft);
  color: var(--fc-text);
  border-color: var(--fc-border-strong);
}

html[data-theme="fc-mobile"] .admin-shell .hero-pill {
  background: var(--fc-sidebar);
  color: var(--fc-green);
  border-color: var(--fc-border-strong);
}

html[data-theme="fc-mobile"] .admin-shell .hero-pill > span {
  background: var(--fc-green);
}

html[data-theme="fc-mobile"] .admin-shell .overview-hero p,
html[data-theme="fc-mobile"] .admin-shell .art-label {
  color: var(--fc-muted);
}

html[data-theme="fc-mobile"] .admin-shell .hero-button {
  background: var(--fc-gold);
  color: var(--fc-ink);
}

html[data-theme="fc-mobile"] .admin-shell .hero-ring {
  border-color: var(--fc-border-strong);
}

html[data-theme="fc-mobile"] .admin-shell .hero-art img {
  filter: drop-shadow(0 15px 14px color-mix(in srgb, var(--fc-overlay) 57%, transparent));
}

html[data-theme="fc-mobile"] .admin-shell .art-star {
  color: color-mix(in srgb, var(--fc-blue) 44%, transparent);
}

/* Decorative icon families are distinct from semantic success/error states. */
html[data-theme="fc-mobile"] .admin-shell .stat-icon.orange,
html[data-theme="fc-mobile"] .admin-shell .tip-icon {
  background: var(--fc-green-soft);
  color: var(--fc-green);
}

html[data-theme="fc-mobile"] .admin-shell .stat-icon.purple,
html[data-theme="fc-mobile"] .admin-shell .notice-preview-icon {
  background: var(--fc-violet-soft);
  color: var(--fc-violet);
}

html[data-theme="fc-mobile"] .admin-shell .stat-icon.green,
html[data-theme="fc-mobile"] .admin-shell .quick-start-icon,
html[data-theme="fc-mobile"] .admin-shell .module-icon,
html[data-theme="fc-mobile"] .admin-shell .count-pill {
  background: var(--fc-blue-soft);
  color: var(--fc-blue);
}

html[data-theme="fc-mobile"] .admin-shell .stat-icon.yellow,
html[data-theme="fc-mobile"] .admin-shell .raffle-visual,
html[data-theme="fc-mobile"] .admin-shell .raffle-mini-icon,
html[data-theme="fc-mobile"] .admin-shell .number-badge,
html[data-theme="fc-mobile"] .admin-shell .history-icon {
  background: var(--fc-gold-soft);
  color: var(--fc-gold);
  border-color: var(--fc-border-strong);
}

html[data-theme="fc-mobile"] .admin-shell .ticket-cut {
  border-color: var(--fc-gold);
}

html[data-theme="fc-mobile"] .admin-shell .quick-start {
  background: var(--fc-elevated);
  border-color: var(--fc-border);
}

html[data-theme="fc-mobile"] .admin-shell .footer-dot {
  color: var(--fc-border-strong);
}

html[data-theme="fc-mobile"] .admin-shell .footer-spark,
html[data-theme="fc-mobile"] .admin-shell .pinned-label {
  color: var(--fc-gold);
}

/* Form controls also occur in login and dialogs outside .admin-shell. */
html[data-theme="fc-mobile"] .admin-shell label,
html[data-theme="fc-mobile"] .login-page label,
html[data-theme="fc-mobile"] dialog[aria-label] label,
html[data-theme="fc-mobile"] dialog[aria-label] .confirmation-copy strong {
  color: var(--fc-text);
}

html[data-theme="fc-mobile"] .admin-shell input:not([type=checkbox]),
html[data-theme="fc-mobile"] .admin-shell textarea,
html[data-theme="fc-mobile"] .admin-shell select,
html[data-theme="fc-mobile"] .login-page input:not([type=checkbox]),
html[data-theme="fc-mobile"] dialog[aria-label] input:not([type=checkbox]),
html[data-theme="fc-mobile"] dialog[aria-label] textarea,
html[data-theme="fc-mobile"] dialog[aria-label] select {
  background: var(--fc-input);
  color: var(--fc-text);
  border-color: var(--fc-border-strong);
}

html[data-theme="fc-mobile"] .admin-shell input:not([type=checkbox]):focus,
html[data-theme="fc-mobile"] .admin-shell textarea:focus,
html[data-theme="fc-mobile"] .admin-shell select:focus,
html[data-theme="fc-mobile"] .login-page input:not([type=checkbox]):focus,
html[data-theme="fc-mobile"] dialog[aria-label] input:not([type=checkbox]):focus,
html[data-theme="fc-mobile"] dialog[aria-label] textarea:focus,
html[data-theme="fc-mobile"] dialog[aria-label] select:focus {
  border-color: var(--fc-blue);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--fc-blue) 15%, transparent);
}

html[data-theme="fc-mobile"] .admin-shell input::placeholder,
html[data-theme="fc-mobile"] .admin-shell textarea::placeholder,
html[data-theme="fc-mobile"] .login-page input::placeholder,
html[data-theme="fc-mobile"] dialog[aria-label] input::placeholder,
html[data-theme="fc-mobile"] dialog[aria-label] textarea::placeholder {
  color: var(--fc-muted);
}

html[data-theme="fc-mobile"] .admin-shell input:disabled,
html[data-theme="fc-mobile"] .admin-shell textarea:disabled,
html[data-theme="fc-mobile"] .admin-shell select:disabled,
html[data-theme="fc-mobile"] .login-page input:disabled,
html[data-theme="fc-mobile"] dialog[aria-label] input:disabled,
html[data-theme="fc-mobile"] dialog[aria-label] textarea:disabled,
html[data-theme="fc-mobile"] dialog[aria-label] select:disabled {
  background: var(--fc-elevated);
  color: var(--fc-muted);
}

html[data-theme="fc-mobile"] .admin-shell .field-hint,
html[data-theme="fc-mobile"] .admin-shell .module-copy small,
html[data-theme="fc-mobile"] .admin-shell .private-label,
html[data-theme="fc-mobile"] dialog[aria-label] .field-hint,
html[data-theme="fc-mobile"] dialog[aria-label] .confirmation-copy {
  color: var(--fc-muted);
}

html[data-theme="fc-mobile"] .admin-shell .checkbox-label,
html[data-theme="fc-mobile"] dialog[aria-label] .checkbox-label {
  color: var(--fc-text);
}

html[data-theme="fc-mobile"] .admin-shell .search-field {
  background: var(--fc-input);
  color: var(--fc-muted);
  border-color: var(--fc-border-strong);
}

html[data-theme="fc-mobile"] .admin-shell .search-field input {
  background: transparent;
}

html[data-theme="fc-mobile"] .admin-shell .search-field input:focus {
  box-shadow: none;
}

html[data-theme="fc-mobile"] .admin-shell .switch {
  background: var(--fc-border);
}

html[data-theme="fc-mobile"] .admin-shell .switch::after {
  background: var(--fc-text);
  box-shadow: 0 1px 2px color-mix(in srgb, var(--fc-overlay) 57%, transparent);
}

html[data-theme="fc-mobile"] .admin-shell .module-toggle input:checked + .switch {
  background: var(--fc-green);
}

html[data-theme="fc-mobile"] .admin-shell .module-toggle input:focus-visible + .switch {
  outline-color: var(--fc-blue);
}

html[data-theme="fc-mobile"] .admin-shell thead {
  background: var(--fc-elevated);
  color: var(--fc-muted);
}

html[data-theme="fc-mobile"] .admin-shell thead th {
  color: var(--fc-muted);
}

html[data-theme="fc-mobile"] .admin-shell td {
  color: var(--fc-text);
  border-color: var(--fc-border);
}

/* Social/video accents and the add-card state. */
html[data-theme="fc-mobile"] .admin-shell .platform-icon,
html[data-theme="fc-mobile"] .admin-shell .platform-icon.tiktok {
  background: var(--fc-elevated);
  color: var(--fc-text);
}

html[data-theme="fc-mobile"] .admin-shell .platform-icon.youtube {
  background: var(--fc-danger-bg);
  color: var(--fc-danger);
}

html[data-theme="fc-mobile"] .admin-shell .platform-icon.instagram,
html[data-theme="fc-mobile"] .admin-shell .notice-tag {
  background: var(--fc-violet-soft);
  color: var(--fc-violet);
  border-color: var(--fc-border-strong);
}

html[data-theme="fc-mobile"] .admin-shell .video-platform,
html[data-theme="fc-mobile"] .admin-shell .video-platform.tiktok {
  color: var(--fc-text);
}

html[data-theme="fc-mobile"] .admin-shell .video-platform.youtube {
  color: var(--fc-danger);
}

html[data-theme="fc-mobile"] .admin-shell .video-platform.instagram {
  color: var(--fc-violet);
}

html[data-theme="fc-mobile"] .admin-shell .add-link-card {
  background: transparent;
  color: var(--fc-green);
  border-color: var(--fc-border-strong);
}

html[data-theme="fc-mobile"] .admin-shell .add-link-card > span {
  background: var(--fc-green-soft);
}

html[data-theme="fc-mobile"] .admin-shell .add-link-card small {
  color: var(--fc-muted);
}

html[data-theme="fc-mobile"] .admin-shell .add-link-card:not(:disabled):hover {
  background: var(--fc-elevated);
}

/* Status: inactive is neutral; completed draws remain gold. */
html[data-theme="fc-mobile"] .admin-shell .status,
html[data-theme="fc-mobile"] .admin-shell .enabled-pill.inactive {
  background: var(--fc-elevated);
  color: var(--fc-muted);
}

html[data-theme="fc-mobile"] .admin-shell .status.open,
html[data-theme="fc-mobile"] .admin-shell .enabled-pill,
html[data-theme="fc-mobile"] .admin-shell .flash {
  background: var(--fc-success-bg);
  color: var(--fc-success);
}

html[data-theme="fc-mobile"] .admin-shell .enabled-pill.inactive {
  background: var(--fc-elevated);
  color: var(--fc-muted);
}

html[data-theme="fc-mobile"] .admin-shell .status.drawn,
html[data-theme="fc-mobile"] .admin-shell .winner-banner {
  background: var(--fc-gold-soft);
  color: var(--fc-gold);
  border-color: var(--fc-gold);
}

html[data-theme="fc-mobile"] .admin-shell .winner-banner > span {
  background: var(--fc-elevated);
  color: var(--fc-gold);
}

html[data-theme="fc-mobile"] .admin-shell .winner-banner h3 {
  color: var(--fc-text);
}

html[data-theme="fc-mobile"] .admin-shell .winner-banner p,
html[data-theme="fc-mobile"] .admin-shell .winner-banner small {
  color: var(--fc-warning);
}

html[data-theme="fc-mobile"] .admin-shell .winner-banner h3 span,
html[data-theme="fc-mobile"] .admin-shell .history-winner b,
html[data-theme="fc-mobile"] .admin-shell .history-panel .panel-header > svg,
html[data-theme="fc-mobile"] .admin-shell .draw-bar > div {
  color: var(--fc-gold);
}

html[data-theme="fc-mobile"] .admin-shell .raffle-list-card.selected {
  border-color: var(--fc-gold);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--fc-gold) 15%, transparent);
}

html[data-theme="fc-mobile"] .admin-shell .draw-button,
html[data-theme="fc-mobile"] .admin-shell .draw-button:hover {
  background: var(--fc-gold);
  color: var(--fc-ink);
  border-color: var(--fc-gold);
}

/* Informational / warning panels retain their meaning. */
html[data-theme="fc-mobile"] .admin-shell .preview-banner,
html[data-theme="fc-mobile"] .admin-shell .refresh-needed,
html[data-theme="fc-mobile"] .admin-shell .video-module-note {
  background: var(--fc-warning-bg);
  color: var(--fc-warning);
  border-color: var(--fc-gold);
}

html[data-theme="fc-mobile"] .admin-shell .preview-banner strong,
html[data-theme="fc-mobile"] .admin-shell .video-module-note strong {
  color: var(--fc-warning);
}

html[data-theme="fc-mobile"] .admin-shell .info-note,
html[data-theme="fc-mobile"] dialog[aria-label] .info-note,
html[data-theme="fc-mobile"] dialog[aria-label] .video-url-feedback {
  background: var(--fc-blue-soft);
  color: var(--fc-blue);
  border-color: var(--fc-border-strong);
}

html[data-theme="fc-mobile"] dialog[aria-label] .video-url-feedback:has(> svg) {
  background: var(--fc-success-bg);
  color: var(--fc-success);
}

/* Destructive actions and invalid input must not inherit the green CTA palette. */
html[data-theme="fc-mobile"] .admin-shell .flash.error,
html[data-theme="fc-mobile"] .admin-shell .form-error,
html[data-theme="fc-mobile"] .login-page .form-error,
html[data-theme="fc-mobile"] dialog[aria-label] .form-error,
html[data-theme="fc-mobile"] dialog[aria-label] .video-url-feedback.invalid {
  background: var(--fc-danger-bg);
  color: var(--fc-danger);
  border-color: var(--fc-danger);
}

html[data-theme="fc-mobile"] .admin-shell .icon-button.danger {
  color: var(--fc-danger);
}

html[data-theme="fc-mobile"] .admin-shell .icon-button.danger:hover {
  background: var(--fc-danger-bg);
  color: var(--fc-danger);
  border-color: var(--fc-danger);
}

html[data-theme="fc-mobile"] dialog[aria-label] .delete-button,
html[data-theme="fc-mobile"] dialog[aria-label] .delete-button:hover {
  background: var(--fc-danger-bg);
  color: var(--fc-danger);
  border-color: var(--fc-danger);
}

/* Login and setup. The existing radial-gradient geometry is preserved. */
html[data-theme="fc-mobile"] .login-page {
  background: radial-gradient(ellipse at 80% 10%, color-mix(in srgb, var(--fc-green) 9%, transparent), transparent 55%), var(--fc-bg);
  color: var(--fc-text);
}

html[data-theme="fc-mobile"] .login-page .login-card {
  background: var(--fc-surface);
  color: var(--fc-text);
  border-color: var(--fc-border);
  box-shadow: 0 20px 70px color-mix(in srgb, var(--fc-overlay) 57%, transparent);
}

html[data-theme="fc-mobile"] .login-page .brand-sub,
html[data-theme="fc-mobile"] .login-page .login-intro,
html[data-theme="fc-mobile"] .login-page .login-footnote,
html[data-theme="fc-mobile"] .login-page .login-bottom {
  color: var(--fc-muted);
}

html[data-theme="fc-mobile"] .login-page .back-link,
html[data-theme="fc-mobile"] .login-page .preview-link {
  color: var(--fc-blue);
}

html[data-theme="fc-mobile"] .login-page .login-icon {
  background: var(--fc-green-soft);
  color: var(--fc-green);
}

html[data-theme="fc-mobile"] .login-page .login-card .eyebrow {
  color: var(--fc-gold);
}

html[data-theme="fc-mobile"] .login-page .setup-note {
  background: var(--fc-blue-soft);
  color: var(--fc-blue);
}

html[data-theme="fc-mobile"] .login-page .setup-note strong {
  color: var(--fc-blue);
}

html[data-theme="fc-mobile"] .login-page .setup-note p {
  color: var(--fc-muted);
}

html[data-theme="fc-mobile"] .initial-loading {
  color: var(--fc-green);
}

/* AdminModal is a sibling of the shell, so it needs its own opt-in selectors. */
html[data-theme="fc-mobile"] dialog[aria-label] {
  background: var(--fc-surface);
  color: var(--fc-text);
  border-color: var(--fc-border-strong);
  box-shadow: 0 24px 100px var(--fc-overlay);
}

html[data-theme="fc-mobile"] dialog[aria-label]::backdrop {
  background: var(--fc-overlay);
}

html[data-theme="fc-mobile"] dialog[aria-label] > header,
html[data-theme="fc-mobile"] dialog[aria-label] .modal-actions {
  border-color: var(--fc-border);
}

html[data-theme="fc-mobile"] dialog[aria-label] > header p {
  color: var(--fc-gold);
}

html[data-theme="fc-mobile"] dialog[aria-label] .close {
  background: var(--fc-elevated);
  color: var(--fc-muted);
}

html[data-theme="fc-mobile"] dialog[aria-label] .close:hover {
  background: var(--fc-border);
  color: var(--fc-text);
}

html[data-theme="fc-mobile"] dialog[aria-label] .draw-confirm-icon {
  background: var(--fc-gold-soft);
  color: var(--fc-gold);
}
