/* FortuDux · Paleta azul, amarillo, rojo y blanco. Solo propiedades de color. */
:root{
 --bg:var(--fd-color-fondo)!important;
 --bg2:var(--fd-color-fondo)!important;
 --bg-1:var(--fd-color-fondo)!important;
 --bg-2:var(--fd-color-fondo)!important;
 --panel:var(--fd-color-cards)!important;
 --panel-2:var(--fd-color-cards)!important;
 --text:var(--fd-color-texto)!important;
 --muted:var(--fd-color-texto-secundario)!important;
 --gold:var(--fd-color-secundario)!important;
 --gold2:var(--fd-color-secundario)!important;
 --gold-2:var(--fd-color-secundario)!important;
 --line:var(--fd-color-bordes)!important;
 --line-strong:var(--fd-color-bordes)!important;
 --border:var(--fd-color-bordes)!important;
 --danger:var(--fd-color-error)!important;
 --ok:var(--fd-color-exito)!important;
}
html,html body{background:var(--fd-color-cards)!important;color:var(--fd-readable-text)!important}
html body :is(.app-shell,.app-screen,.admin-layout,.admin-main,.admin-content,.auth-shell,.login-shell){background:var(--fd-color-cards)!important;color:var(--fd-readable-text)!important}
html body :is(h1,h2,h3,h4,h5,h6,p,label,small,strong,b,summary,th,td){color:var(--fd-readable-text)!important}
html body a{color:var(--fd-color-primario)!important}
html body :is(.muted,.muted-text,.helper-text,.feature-text,.info-text,.section-copy,.section-subtitle,.card-subtitle,.mini-text,.fd-subtle,.subtle,.source-note,.spiritual-note,.tarot-status,.price-note,.plan-desc,.pill-label,.metric-k,.fd-result-meta,.fd-result-note,.fd-pred-sub,.fd-bucket-copy,.fd-today-date,.fd-today-kicker,.fd-context-copy span,.fd-app-legal,.fd-app-legal a,.stat-label,.stat-extra,.table-sub,.auth-subtitle,.auth-footer,.help,.security-note){color:var(--fd-readable-text)!important}
html body :is(.panel-card,.feature-card,.result-card,.info-card,.plan-card,.stat-card,.alert-card,.card,.admin-card,.config-card,.kpi-card,.auth-box,.auth-card,.login-box,.fd-poster-card,.fd-register-card,.logout-card,.legal-card,.quick-card,.quick-panel,.panel,.table-wrap,.fd-rs-logo-card,.fd-rs-category){background:var(--fd-color-cards)!important;color:var(--fd-readable-text)!important;border-color:color-mix(in srgb, var(--fd-color-cards) 92%, var(--fd-color-primario))!important}
html body :is(.card-title,.section-title,.plan-title,.feature-label,.info-label,.analysis-label,.analysis-value,.mini-title,.mini-value,.pill-value,.feature-number,.result-number,.stat-number,.prediction-number,.plan-price,.fd-plan-price,.fd-favorite-number,.fd-history-number,.fd-pred-number,.fd-row-value,.fd-context-copy,.fd-today-name,.fd-today-prediction,.fd-bucket-num,.fd-bucket-title,.metric-v,.stat-value,.fd-favorites-count,.reading-head h3){color:var(--fd-readable-text)!important}
html body :is(.mystic-bg,.fd-poster-glow){background:radial-gradient(circle at 20% 8%,color-mix(in srgb, var(--fd-color-cards) 92%, var(--fd-color-primario)),transparent 55%)!important}
html body :is(.mini-card,.mini-stat,.analysis-card,.summary-box,.reading-box,.reflection-box,.destination-card,.solar-summary,.spiritual-note,.profile-details,.fd-activity-kpi,.fd-history-card,.fd-row,.fd-favorite,.fd-plan-strip,.fd-analysis-card,.fd-bucket-card,.fd-result-row,.fd-context-item,.fd-pred-card,.fd-favorite-chip,.fd-today-panel,.fd-poster-summary,.auth-about,.energy-wait,.config-section,.config-field-group,.filters,.filter-card,.fd-payment-review-body){background:var(--fd-color-cards)!important;color:var(--fd-readable-text)!important;border-color:color-mix(in srgb, var(--fd-color-cards) 92%, var(--fd-color-primario))!important}
html body :is(.hero-card,.fd-portada-hero,.fd-rs-banner){background:linear-gradient(125deg,var(--fd-color-primario),var(--fd-color-primario))!important;color:var(--fd-color-cards)!important;border-color:var(--fd-color-primario)!important}
html body :is(.hero-card,.fd-portada-hero,.fd-rs-banner) :is(h1,h2,h3,h4,p,small,strong,b,.hero-title,.hero-text,.hero-description,.hero-badge,.feature-text,.feature-label,.metric-v,.metric-k,.mini-value,.mini-text,.prediction-number,.feature-number,.result-number,.stat-number,.plan-price,.fd-plan-price){color:var(--fd-color-cards)!important}
html body :is(.hero-card,.fd-portada-hero,.fd-rs-banner) :is(.hero-description,.hero-text){color:var(--fd-color-cards)!important}
html body .fd-portada-hero h2 span,html body .fd-rs-banner small{color:var(--fd-color-secundario)!important}
html body .hero-card :is(.badge,.pill,.chip){background:color-mix(in srgb, var(--fd-color-cards) 10%, transparent)!important;color:var(--fd-color-secundario)!important;border-color:color-mix(in srgb, var(--fd-color-cards) 44%, transparent)!important}
html body .hero-card :is(.metric-box,.mini-card,.mini-stat,.stat-card){background:color-mix(in srgb, var(--fd-color-cards) 8%, transparent)!important;color:var(--fd-color-cards)!important;border-color:color-mix(in srgb, var(--fd-color-cards) 33%, transparent)!important}
html body .hero-card :is(.metric-box,.mini-card,.mini-stat,.stat-card) :is(span,strong,small,p){color:var(--fd-color-cards)!important}
html body :is(.prediction-highlight,.prediction-highlight--resultado-dia,.prediction-side,.prediction-side--resultado-dia){background:var(--fd-color-cards)!important;color:var(--fd-readable-text)!important;border-color:color-mix(in srgb, var(--fd-color-cards) 92%, var(--fd-color-primario))!important}
html body :is(.prediction-highlight,.prediction-side)::before{background:linear-gradient(135deg,color-mix(in srgb, var(--fd-color-cards) 0%, transparent),color-mix(in srgb, color-mix(in srgb, var(--fd-color-cards) 92%, var(--fd-color-primario)) 33%, transparent))!important}
html body .panel-card--resultado-dia :is(.lottery-head-copy h3,.lottery-head-copy p,.prediction-number,.feature-label){color:var(--fd-readable-text)!important}
html body :is(.prediction-highlight,.prediction-side) :is(.mini-title,.mini-value,.mini-text,.feature-label,.reading-box,.reason-item){color:var(--fd-readable-text)!important}
html body :is(.prediction-highlight,.prediction-side) :is(.reading-box,.mini-card){background:var(--fd-color-cards)!important;color:var(--fd-readable-text)!important;border-color:color-mix(in srgb, var(--fd-color-cards) 92%, var(--fd-color-primario))!important}
html body :is(.btn-primary,.fd-portada-cta,.fd-favorite-save,.welcome-book-download,.auth-btn,.legal-home,.btn-payment-state){background:var(--fd-color-secundario)!important;color:var(--fd-readable-text)!important;border-color:var(--fd-color-secundario)!important}
html body :is(.btn-primary,.fd-portada-cta,.fd-favorite-save,.welcome-book-download,.auth-btn,.legal-home,.btn-payment-state) :is(span,strong,b,small){color:var(--fd-readable-text)!important}
html body :is(.btn-primary,.fd-portada-cta,.fd-favorite-save,.welcome-book-download,.auth-btn,.legal-home):hover{background:var(--fd-color-secundario)!important;color:var(--fd-readable-text)!important;border-color:var(--fd-color-secundario)!important}
html body :is(.btn-secondary,.btn-ghost,.home-logout-button,.fd-app-account,.fd-energy-sections a,.fd-analysis-toggle,.fd-today-more,.fd-rs-open,.fd-house-promo a,.quick-link,.btn-secondary:visited){background:var(--fd-color-primario)!important;color:var(--fd-color-cards)!important;border-color:var(--fd-color-primario)!important}
html body :is(.btn-secondary,.btn-ghost,.home-logout-button,.fd-app-account,.fd-energy-sections a,.fd-analysis-toggle,.fd-today-more,.fd-rs-open,.fd-house-promo a,.quick-link) :is(span,strong,b,small){color:var(--fd-color-cards)!important}
html body :is(button,.btn){border-color:color-mix(in srgb, var(--fd-color-cards) 92%, var(--fd-color-primario))!important}
html body :is(.btn-danger,.btn-delete,.danger-button,.delete-btn){background:var(--fd-color-error)!important;color:var(--fd-color-cards)!important;border-color:var(--fd-color-error)!important}
html body :is(.btn-danger,.btn-delete,.danger-button,.delete-btn) :is(span,strong,b){color:var(--fd-color-cards)!important}
html body :is(input:not([type=checkbox]):not([type=radio]):not([type=color]):not([type=submit]):not([type=button]):not([type=reset]),select,textarea){background:var(--fd-color-cards)!important;color:var(--fd-readable-text)!important;border-color:var(--fd-color-primario)!important;caret-color:var(--fd-readable-text)!important;-webkit-text-fill-color:var(--fd-readable-text)}
html body input::placeholder,html body textarea::placeholder{color:var(--fd-readable-text)!important;-webkit-text-fill-color:var(--fd-readable-text)}
html body select option{background:var(--fd-color-cards)!important;color:var(--fd-readable-text)!important}
html body :is(input[type=checkbox],input[type=radio]){accent-color:var(--fd-color-primario)!important}
html body :is(.tabs,.fd-ia-tabs,.mode-tabs,.energy-tabs){background:color-mix(in srgb, var(--fd-color-cards) 92%, var(--fd-color-primario))!important;border-color:color-mix(in srgb, var(--fd-color-cards) 92%, var(--fd-color-primario))!important}
html body :is(.tab,.fd-ia-tab,.mode-tabs button){background:color-mix(in srgb, var(--fd-color-cards) 92%, var(--fd-color-primario))!important;color:var(--fd-readable-text)!important;border-color:color-mix(in srgb, var(--fd-color-cards) 92%, var(--fd-color-primario))!important}
html body :is(.tab.active,.fd-ia-tab.is-active,.mode-tabs button.active,.intention-option input:checked+span){background:var(--fd-color-primario)!important;color:var(--fd-color-cards)!important;border-color:var(--fd-color-primario)!important}
html body :is(.tab.active,.fd-ia-tab.is-active,.mode-tabs button.active) :is(span,strong,b){color:var(--fd-color-cards)!important}
html body :is(.badge,.pill,.chip,.state-pill,.fd-status-chip,.fd-score-pill,.fd-inline-pill,.fd-rs-today){background:var(--fd-color-cards)!important;color:var(--fd-readable-text)!important;border-color:color-mix(in srgb, var(--fd-color-cards) 92%, var(--fd-color-primario))!important}
html body :is(.badge-warning,.state-amber,.plan-badge,.plan-badge-free,.welcome-book-badge,.fd-poster-badge,.fd-visit-urgency,.fd-payment-chip,.fd-payment-clock,.fd-rs-category small){background:var(--fd-color-secundario)!important;color:var(--fd-color-error)!important;border-color:var(--fd-color-secundario)!important}
html body :is(.badge-danger,.is-hot,.alert-error,.error-box,.auth-alert.error,.status.error,.fd-favorite-message.is-error){background:var(--fd-color-cards)!important;color:var(--fd-color-error)!important;border-color:var(--fd-color-error)!important}
html body :is(.alert-warning,.legal-notice){background:var(--fd-color-secundario)!important;color:var(--fd-color-error)!important;border-color:var(--fd-color-secundario)!important}
html body :is(.alert-ok,.is-active.stat-status,.auth-alert.ok,.status.ok,.fd-favorite-message.is-ok){background:var(--fd-color-cards)!important;color:var(--fd-color-exito)!important;border-color:var(--fd-color-exito)!important}
html body :is(.fd-portada-card,.fd-rs-category,.fd-rs-logo-card){background:var(--fd-color-cards)!important;border-color:color-mix(in srgb, var(--fd-color-cards) 92%, var(--fd-color-primario))!important}
html body .fd-portada-card:nth-child(3n+1),html body .fd-rs-category:first-child{background:color-mix(in srgb, var(--fd-color-cards) 92%, var(--fd-color-primario))!important;border-color:var(--fd-color-secundario)!important}
html body .fd-portada-card:nth-child(3n+2),html body .fd-rs-category:nth-child(2){background:var(--fd-color-cards)!important;border-color:var(--fd-color-primario)!important}
html body .fd-portada-card:nth-child(3n),html body .fd-rs-logo-card:nth-child(3n){background:var(--fd-color-cards)!important;border-color:var(--fd-color-error)!important}
html body :is(.fd-portada-card strong,.fd-rs-category strong,.fd-rs-logo-card strong){background:transparent!important;color:var(--fd-readable-text)!important}
html body :is(.fd-portada-subtitulo,.fd-rs-category>span>span,.fd-rs-schedule,.fd-rs-type,.fd-rs-data-state,.fd-rs-group-copy,.fd-rs-hint,.fd-rs-search-state,.fd-rs-search,.fd-rs-breadcrumb,.fd-rs-breadcrumb span,.fd-rs-detail-head small){color:var(--fd-readable-text)!important}
html body :is(.fd-rs-empty,.fd-rs-access-summary,.legal-panel,.legal-check-wrap,.fd-bible-card,.welcome-book-card){background:var(--fd-color-cards)!important;color:var(--fd-readable-text)!important;border-color:color-mix(in srgb, var(--fd-color-cards) 92%, var(--fd-color-primario))!important}
html body :is(.fd-bible-text,.fd-bible-label,.fd-bible-ref,.welcome-book-title,.welcome-book-text,.welcome-book-message,.fd-poster-title span){color:var(--fd-readable-text)!important}
html body .fd-house-promo{background:linear-gradient(115deg,var(--fd-color-secundario),var(--fd-color-secundario))!important;border-color:var(--fd-color-secundario)!important;color:var(--fd-readable-text)!important}
html body .fd-house-promo :is(strong,p,small){color:var(--fd-readable-text)!important}
html body .fd-portada-inspiracion{background:var(--fd-color-cards)!important;color:var(--fd-readable-text)!important}
html body .fd-banner-art i,html body .fd-banner-art b{border-color:var(--fd-color-secundario)!important;color:var(--fd-readable-text)!important}
html body :is(.solar-icon,.top-icon,.energy-circle,.ritual-step-number){background:var(--fd-color-secundario)!important;color:var(--fd-readable-text)!important;border-color:var(--fd-color-secundario)!important}
html body :is(.reading-head,.reflection-box,.destination-action,.intention-option span){background:var(--fd-color-cards)!important;color:var(--fd-readable-text)!important;border-color:color-mix(in srgb, var(--fd-color-cards) 92%, var(--fd-color-primario))!important}
html body .intention-option input:checked+span{background:var(--fd-color-primario)!important;color:var(--fd-color-cards)!important;border-color:var(--fd-color-primario)!important}
html body .tarot-back{background:linear-gradient(145deg,var(--fd-color-primario),var(--fd-readable-text))!important;border-color:var(--fd-color-secundario)!important}
html body .tarot-back::after{border-color:var(--fd-color-secundario)!important}
html body .tarot-experience-label{background:var(--fd-color-primario)!important;color:var(--fd-color-cards)!important;border-color:var(--fd-color-primario)!important}
html body :is(.fd-unified-nav,.fd-app-nav,.bottom-nav,.fd-bottom-nav){background:var(--fd-color-cards)!important;border-color:color-mix(in srgb, var(--fd-color-cards) 92%, var(--fd-color-primario))!important}
html body :is(.fd-unified-nav,.fd-app-nav,.bottom-nav,.fd-bottom-nav) a{background:var(--fd-color-cards)!important;color:var(--fd-readable-text)!important}
html body :is(.fd-unified-nav,.fd-app-nav,.bottom-nav,.fd-bottom-nav) :is(a[aria-current],a.active){background:var(--fd-color-primario)!important;color:var(--fd-color-cards)!important;border-color:var(--fd-color-secundario)!important}
html body :is(.fd-unified-nav,.fd-app-nav,.bottom-nav,.fd-bottom-nav) a :is(span,strong){color:inherit!important}
html body :is(.admin-sidebar,.admin-topbar,.admin-head,.header){background:linear-gradient(135deg,var(--fd-color-primario),var(--fd-color-primario))!important;color:var(--fd-color-cards)!important;border-color:var(--fd-color-primario)!important}
html body :is(.admin-sidebar,.admin-topbar,.admin-head,.header) :is(h1,h2,h3,p,small,strong,span,a,.topbar-title){color:var(--fd-color-cards)!important}
html body .admin-sidebar .admin-link{background:color-mix(in srgb, var(--fd-color-cards) 5%, transparent)!important;color:var(--fd-color-cards)!important;border-color:color-mix(in srgb, var(--fd-color-cards) 19%, transparent)!important}
html body .admin-sidebar :is(.admin-link.active,.admin-link:hover){background:var(--fd-color-secundario)!important;color:var(--fd-readable-text)!important;border-color:var(--fd-color-secundario)!important}
html body .admin-sidebar :is(.admin-link.active,.admin-link:hover) :is(span,strong){color:var(--fd-readable-text)!important}
html body .admin-sidebar .admin-link.logout{background:var(--fd-color-cards)!important;color:var(--fd-color-error)!important;border-color:var(--fd-color-error)!important}
html body .admin-topbar button{background:var(--fd-color-secundario)!important;color:var(--fd-readable-text)!important;border-color:var(--fd-color-secundario)!important}
html body :is(.admin-table,table){background:var(--fd-color-cards)!important;color:var(--fd-readable-text)!important;border-color:color-mix(in srgb, var(--fd-color-cards) 92%, var(--fd-color-primario))!important}
html body :is(.admin-table,table) thead,html body :is(.admin-table,table) th{background:var(--fd-color-primario)!important;color:var(--fd-color-cards)!important;border-color:var(--fd-color-primario)!important}
html body :is(.admin-table,table) td{color:var(--fd-readable-text)!important;border-color:color-mix(in srgb, var(--fd-color-cards) 92%, var(--fd-color-primario))!important}
html body :is(.admin-table,table) tbody tr{background:var(--fd-color-cards)!important}
html body :is(.admin-table,table) tbody tr:nth-child(even){background:var(--fd-color-cards)!important}
html body :is(.admin-table,table) tbody tr:hover{background:var(--fd-color-secundario)!important}
html body :is(.admin-table,table) td :is(.btn-primary,.btn-danger,.btn-secondary){color:inherit}
html body :is(a,button,input,select,textarea,[tabindex]):focus-visible{outline-color:var(--fd-color-secundario)!important}
/* Las balotas con color propio y los logos conservan su identidad. */
html body .fd-lottery-ball strong{color:inherit!important}
html body .fd-rs-symbol{background:color-mix(in srgb, var(--fd-color-cards) 92%, var(--fd-color-primario))!important;color:var(--fd-color-primario)!important}
html body .fd-rs-symbol-gold{background:var(--fd-color-secundario)!important;color:var(--fd-color-error)!important}
html body .fd-rs-logo>span{background:color-mix(in srgb, var(--fd-color-cards) 92%, var(--fd-color-primario))!important;color:var(--fd-color-primario)!important}
html body .fd-rs-group-title>span{background:var(--fd-color-secundario)!important;color:var(--fd-readable-text)!important}
html body :is(.admin-topbar,.admin-head,.header) .btn-primary{background:var(--fd-color-secundario)!important;color:var(--fd-readable-text)!important}
html body :is(.admin-topbar,.admin-head,.header) .btn-primary :is(span,strong,b,small){color:var(--fd-readable-text)!important}
html body .hero-card .btn-primary :is(span,strong,b,small){color:var(--fd-readable-text)!important}

/* Configuration wins; contrast is calculated on the server for each surface. */
html {font-size:var(--fd-font-size-base)!important}
html body,html body :is(button,input,select,textarea){font-family:var(--fd-font-body)!important}
html body :is(h1,h2,h3,h4,h5,h6,.brand-copy h1,.sample-title,.fd-house-promo strong){font-family:var(--fd-font-heading)!important;font-weight:var(--fd-font-weight-heading)!important}
html body{color:var(--fd-on-bg)!important}
html body :is(.admin-sidebar){background:var(--fd-color-sidebar)!important;color:var(--fd-on-sidebar)!important}
html body :is(.admin-topbar,.admin-head,.header,.topbar,.fd-app-top){background:var(--fd-color-header)!important;color:var(--fd-on-header)!important}
html body :is(.admin-sidebar) :is(h1,h2,h3,p,small,strong,span,a){color:var(--fd-on-sidebar)!important}
html body :is(.admin-topbar,.admin-head,.header,.topbar,.fd-app-top) :is(h1,h2,h3,p,small,strong,span,a,.topbar-title){color:var(--fd-on-header)!important}
html body :is(.hero-card,.fd-portada-hero,.fd-rs-banner){background:var(--fd-color-primario)!important;color:var(--fd-on-primary)!important}
html body :is(.hero-card,.fd-portada-hero,.fd-rs-banner) :is(h1,h2,h3,h4,p,small,strong,b,span,.hero-description,.hero-text,.metric-k,.metric-v){color:var(--fd-on-primary)!important}
html body :is(.btn-primary,.btn-save,.fd-portada-cta,.fd-favorite-save,.welcome-book-download,.auth-btn,.legal-home,.btn-payment-state,.admin-topbar button){background:var(--fd-color-boton)!important;color:var(--fd-on-button)!important}
html body :is(.btn-primary,.btn-save,.fd-portada-cta,.fd-favorite-save,.welcome-book-download,.auth-btn,.legal-home,.btn-payment-state,.admin-topbar button) :is(span,strong,b,small){color:var(--fd-on-button)!important}
html body :is(.btn-primary,.btn-save,.auth-btn):hover{background:var(--fd-color-boton-hover)!important;color:var(--fd-on-hover)!important}
html body :is(.btn-secondary,.btn-ghost,.quick-link){background:var(--fd-color-primario)!important;color:var(--fd-on-primary)!important}
html body :is(.btn-secondary,.btn-ghost,.quick-link) :is(span,strong,b,small){color:var(--fd-on-primary)!important}
html body .admin-sidebar :is(.admin-link.active,.admin-link:hover){background:var(--fd-color-secundario)!important;color:var(--fd-on-secondary)!important}
html body .admin-sidebar :is(.admin-link.active,.admin-link:hover) :is(span,strong){color:var(--fd-on-secondary)!important}
html body :is(.admin-table,table) th{background:var(--fd-color-primario)!important;color:var(--fd-on-primary)!important}
html body :is(.field-help,.config-item .k,.config-card-description,.kpi-card .label){color:var(--fd-readable-soft)!important}
html body :is(.config-item,.config-resumen,.btn-mini){background:var(--fd-color-cards)!important;color:var(--fd-readable-text)!important;border-color:var(--fd-color-bordes)!important}
html body .btn-mini.alt{background:var(--fd-color-secundario)!important;color:var(--fd-on-secondary)!important}
html body :is(input,select,textarea){background:var(--fd-color-cards)!important;color:var(--fd-readable-text)!important;-webkit-text-fill-color:var(--fd-readable-text)!important}
html body :is(input,textarea)::placeholder{color:var(--fd-readable-soft)!important;-webkit-text-fill-color:var(--fd-readable-soft)!important}
html body select option{background:var(--fd-color-cards)!important;color:var(--fd-readable-text)!important}

html body .box{background:var(--fd-color-cards)!important;color:var(--fd-readable-text)!important;border-color:var(--fd-color-bordes)!important}
html body .badge-pill{background:var(--fd-color-cards)!important;color:var(--fd-readable-text)!important}
html body :is(.btn-danger,.btn-delete,.danger-button,.delete-btn,.alert-error){background:var(--fd-color-error)!important;color:var(--fd-on-error)!important}
html body :is(.btn-danger,.btn-delete,.danger-button,.delete-btn,.alert-error) :is(span,strong,b,p,div){color:var(--fd-on-error)!important}
html body :is(.auth-alert.error,.error-box,.status.error,.alert-warning,.alert-success,.legal-notice){background:var(--fd-color-cards)!important;color:var(--fd-readable-text)!important}
html body :is(.field input:focus,.field select:focus,.field textarea:focus){border-color:var(--fd-color-primario)!important}
html body :is(button,a,input,select,textarea):focus-visible{outline:2px solid var(--fd-color-primario);outline-offset:3px}

/* v2: shared settings win over legacy important variables. */
html,html body,
html body :is(.app-shell,.app-screen,.admin-layout,.admin-main,.admin-content,.auth-shell,.login-shell){background:var(--fd-color-fondo)!important;color:var(--fd-on-bg)!important}
html body :is(.fd-house-promo,.cosmic-pill,.metric-box,.fd-today-grid>a,.fd-today-grid>div,.legal-panel){background:var(--fd-color-cards)!important;color:var(--fd-readable-text)!important;border-color:var(--fd-color-bordes)!important}
html body .fd-house-promo :is(strong,p,small){color:var(--fd-readable-text)!important}
html body :is(.fd-portada-saludo,.fd-portada-subtitulo,.fd-portada-aviso,.fd-app-legal,.fd-app-legal a){color:var(--fd-on-bg)!important}
html body :is(.home-logout-button,.fd-app-account,.fd-energy-sections a,.fd-analysis-toggle,.fd-today-more,.fd-rs-open,.fd-house-promo a){background:var(--fd-color-primario)!important;color:var(--fd-on-primary)!important}
html body :is(.home-logout-button,.fd-app-account,.fd-energy-sections a,.fd-analysis-toggle,.fd-today-more,.fd-rs-open,.fd-house-promo a) :is(span,strong,b,small){color:var(--fd-on-primary)!important}
html body :is(.tab.active,.fd-ia-tab.is-active,.mode-tabs button.active,.intention-option input:checked+span){background:var(--fd-color-primario)!important;color:var(--fd-on-primary)!important}
html body :is(.tab.active,.fd-ia-tab.is-active,.mode-tabs button.active) :is(span,strong,b){color:var(--fd-on-primary)!important}
html body :is(.badge-warning,.state-amber,.plan-badge,.plan-badge-free,.welcome-book-badge,.fd-poster-badge,.fd-visit-urgency,.fd-payment-chip,.fd-payment-clock,.fd-rs-category small){background:var(--fd-color-secundario)!important;color:var(--fd-on-secondary)!important}
html body :is(.fd-unified-nav,.fd-app-nav,.bottom-nav,.fd-bottom-nav){background:var(--fd-color-cards)!important;border-color:var(--fd-color-bordes)!important}
html body :is(.fd-unified-nav,.fd-app-nav,.bottom-nav,.fd-bottom-nav) a{background:var(--fd-color-cards)!important;color:var(--fd-readable-text)!important}
html body :is(.fd-unified-nav,.fd-app-nav,.bottom-nav,.fd-bottom-nav) :is(a[aria-current],a.active){background:var(--fd-color-primario)!important;color:var(--fd-on-primary)!important}
html body :is(.fd-unified-nav,.fd-app-nav,.bottom-nav,.fd-bottom-nav) a :is(span,strong){color:inherit!important}

html body{font-size:var(--fd-font-size-base)!important}

/* FORTUDUX_SOLO_REDONDEADO */
html body :is(.fd-app-top, .topbar, .admin-topbar, .header, .legal-header) {
    border-radius: 20px !important;
}

/* FORTUDUX_MARGEN_ENCABEZADOS_V1 */
html body .app-screen :is(.topbar,.fd-app-top) {
    box-sizing:border-box!important;
    display:flex!important;
    align-items:center!important;
    padding:14px 16px!important;
    gap:12px!important;
}
html body .app-screen .topbar .brand,
html body .app-screen .fd-app-top .fd-app-brand {
    display:flex!important;
    align-items:center!important;
    flex:1 1 0!important;
    min-width:0!important;
    gap:10px!important;
}
html body .app-screen .topbar .brand-logo,
html body .app-screen .fd-app-brand > img {
    flex-shrink:0!important;
    margin:0!important;
}
html body .app-screen .topbar .brand-copy {
    min-width:0!important;
}
html body .app-screen .topbar .brand-copy :is(h1,p) {
    overflow-wrap:anywhere;
}
html body .app-screen .topbar .top-icon {
    box-sizing:border-box!important;
    flex:0 0 40px!important;
    width:40px!important;
    height:40px!important;
    min-width:40px!important;
    display:grid!important;
    place-items:center!important;
    align-self:center!important;
    margin:0!important;
}

/* FORTUDUX_LOGOS_ACTIVIDAD_V1 */
html body .fd-activity-page .fd-lottery-logo {
    box-sizing:border-box!important;
    flex:0 0 64px!important;
    width:64px!important;
    height:56px!important;
    max-width:none!important;
    object-fit:contain!important;
    padding:3px!important;
    border-radius:10px!important;
}
html body .fd-activity-page .fd-prediction-main .fd-lottery-logo {
    flex-basis:76px!important;
    width:76px!important;
    height:64px!important;
}
html body .fd-activity-page .fd-lottery-line {
    gap:10px!important;
    align-items:center!important;
}
html body .fd-activity-page .fd-lottery-line > div {
    min-width:0!important;
    overflow-wrap:anywhere;
}

/* FORTUDUX_LOGOS_ACTIVIDAD_V2 */
html body .fd-activity-page .fd-lottery-logo {
    flex:0 0 auto!important;
    width:128px!important;
    height:112px!important;
    max-width:100%!important;
    object-fit:contain!important;
}
html body .fd-activity-page .fd-prediction-main .fd-lottery-logo {
    flex:0 0 auto!important;
    width:152px!important;
    height:128px!important;
}
html body .fd-activity-page .fd-lottery-line {
    flex-direction:column!important;
    align-items:flex-start!important;
    gap:10px!important;
}

/* FORTUDUX_LOGOS_ACTIVIDAD_V3 */
html body .fd-activity-page :is(.fd-favorites,.fd-history-grid,.fd-row) {
    grid-template-columns:minmax(0,1fr)!important;
}
html body .fd-activity-page .fd-lottery-line {
    width:100%!important;
    flex-direction:column!important;
    align-items:center!important;
    gap:12px!important;
}
html body .fd-activity-page .fd-lottery-logo {
    box-sizing:border-box!important;
    flex:0 0 auto!important;
    width:100%!important;
    max-width:512px!important;
    height:clamp(220px,70vw,448px)!important;
    object-fit:contain!important;
    padding:0!important;
}
html body .fd-activity-page .fd-prediction-main .fd-lottery-logo {
    width:100%!important;
    max-width:608px!important;
    height:clamp(260px,80vw,512px)!important;
}
html body .fd-activity-page .fd-lottery-line > div {
    width:100%!important;
    min-width:0!important;
}

/* FORTUDUX_LOGOS_SELECTOR_CORREGIDO */
html body.fd-activity-page img.fd-lottery-logo {
    box-sizing:border-box!important;
    flex:0 0 136px!important;
    width:136px!important;
    min-width:136px!important;
    max-width:100%!important;
    height:112px!important;
    object-fit:contain!important;
    padding:0!important;
}
html body.fd-activity-page .fd-prediction-main img.fd-lottery-logo {
    flex-basis:168px!important;
    width:168px!important;
    min-width:168px!important;
    height:136px!important;
}
html body.fd-activity-page .fd-lottery-line {
    display:flex!important;
    align-items:center!important;
    gap:12px!important;
    min-width:0!important;
}
html body.fd-activity-page .fd-lottery-line > div {
    min-width:0!important;
    overflow-wrap:anywhere;
}
html body.fd-activity-page :is(.fd-favorites,.fd-history-grid,.fd-row) {
    grid-template-columns:minmax(0,1fr)!important;
}

/* FORTUDUX_REDES_COLORES_MARCA_V1 */
html body .fd-app-top a.fd-header-social--facebook {
    background:#1877F2!important;
}
html body .fd-app-top a.fd-header-social--youtube {
    background:#FF0000!important;
}
html body .fd-app-top a.fd-header-social--instagram {
    background:linear-gradient(135deg,#833AB4,#FD1D1D 55%,#FCB045)!important;
}
html body .fd-app-top a.fd-header-social--tiktok {
    background:#000!important;
}
html body .fd-app-top a.fd-header-social--x {
    background:#000!important;
}
html body .fd-app-top a.fd-header-social--whatsapp {
    background:#25D366!important;
}
html body .fd-app-top a.fd-header-social,
html body .fd-app-top a.fd-header-social span {
    color:#FFF!important;
    border-color:transparent!important;
}
