/* RETRO FLASH ACTU — THÈME GLOBAL 2026.
 * Géométrie identique en jour et nuit : seuls les fonds et couleurs varient.
 * Logo original et pictogramme conservés, sans pavé blanc en mode nuit.
 * Le thème couvre rubriques, articles, audiences, jeux vidéo et comptes.
 * CSS chargée en dernier ; body.night est appliqué avant affichage.
 */
:root{--rfa-daynight-bg:#0d1426;--rfa-daynight-panel:#19263e;--rfa-daynight-raised:#22324d;--rfa-daynight-border:#364765;--rfa-daynight-text:#eef3ff;--rfa-daynight-muted:#b3c0d9;--rfa-daynight-accent:#ff63b4}
/* Interrupteur jour/nuit à deux vraies icônes, sans pictogramme monochrome. */
#theme-toggle.rfa-theme-switch{
  appearance:none!important;display:flex!important;flex-direction:row!important;
  align-items:center!important;justify-content:space-between!important;
  gap:4px!important;flex:0 0 96px!important;
  width:96px!important;min-width:96px!important;
  height:49px!important;min-height:49px!important;max-height:49px!important;
  padding:5px!important;margin:0!important;
  border:2px solid #d5dbf1!important;border-radius:999px!important;
  background:linear-gradient(125deg,#fff5d6,#eeeaff 84%)!important;
  box-shadow:0 4px 14px rgba(68,70,124,.13),inset 0 1px 2px rgba(255,255,255,.9)!important;
  color:#283762!important;cursor:pointer!important;line-height:1!important;
  overflow:visible!important;transition:background .2s ease,box-shadow .2s ease,transform .2s ease!important;
  -webkit-tap-highlight-color:transparent;
}
#theme-toggle.rfa-theme-switch:focus-visible{
  outline:3px solid #ff5eae!important;outline-offset:4px!important;
}
#theme-toggle.rfa-theme-switch:hover{box-shadow:0 4px 17px rgba(110,79,200,.25)!important;transform:translateY(-1px)!important}
#theme-toggle.rfa-theme-switch .rfa-theme-sun,
#theme-toggle.rfa-theme-switch .rfa-theme-moon{
  display:grid!important;place-items:center!important;
  position:relative!important;flex:0 0 37px!important;
  width:37px!important;height:37px!important;min-width:37px!important;
  max-width:37px!important;min-height:37px!important;max-height:37px!important;
  padding:0!important;margin:0!important;border-radius:50%!important;
  font-family:Arial,system-ui,sans-serif!important;
  font-style:normal!important;font-weight:900!important;
  font-size:27px!important;line-height:1!important;
  transition:background-color .18s,color .18s,transform .18s,filter .18s!important;
  border:0!important;pointer-events:none!important;
}
#theme-toggle[data-mode="day"] .rfa-theme-sun{
  background:radial-gradient(circle at 32% 22%,#fff6ba,#ffd852 72%,#ffaf24)!important;
  box-shadow:0 2px 8px rgba(231,161,43,.3),inset 0 1px 2px rgba(255,255,255,.85)!important;
  color:#bc6616!important;text-shadow:0 1px #fff4bc!important;
}
#theme-toggle[data-mode="day"] .rfa-theme-moon{
  color:#8c88b7!important;opacity:.72!important;
  background:transparent!important;box-shadow:none!important;
}
#theme-toggle[data-mode="night"]{
  background:linear-gradient(115deg,#1f2856,#32256e 82%)!important;
  border-color:#7550da!important;color:#f3ecff!important;
  box-shadow:0 4px 18px rgba(45,22,106,.42),inset 0 1px 3px rgba(255,255,255,.08)!important;
}
#theme-toggle[data-mode="night"] .rfa-theme-moon{
  background:radial-gradient(circle at 32% 24%,#a6a0ff,#7755dc 75%,#5632b9)!important;
  box-shadow:0 0 12px rgba(156,112,255,.52),inset 0 2px 3px rgba(255,255,255,.26)!important;
  color:#fff!important;text-shadow:0 0 6px #fff!important;
}
#theme-toggle[data-mode="night"] .rfa-theme-sun{
  color:#b5a9df!important;opacity:.52!important;
  background:transparent!important;box-shadow:none!important;
}
#community-header .rfa-header-account{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  gap:9px!important;min-height:44px!important;max-width:100%!important;
  text-decoration:none!important;white-space:nowrap!important;
}
body #community-header .rfa-header-account-icon{
  display:grid!important;place-items:center!important;
  flex:0 0 39px!important;width:39px!important;min-width:39px!important;
  height:39px!important;min-height:39px!important;
  overflow:hidden!important;border:2px solid #284ba9!important;
  border-radius:50%!important;
  background:linear-gradient(145deg,#2153b5,#081e59)!important;
  box-shadow:0 3px 12px rgba(24,50,126,.22)!important;
}
#community-header .rfa-header-account-icon::before,
#community-header .rfa-header-account-icon::after{content:none!important;display:none!important}
#community-header .rfa-header-account-icon img{
  display:block!important;object-fit:contain!important;opacity:1!important;
  width:28px!important;height:28px!important;max-width:28px!important;
  max-height:28px!important;filter:none!important;transform:none!important;
}
#community-header .rfa-header-account-label{font-weight:800!important;line-height:1.15!important}
#community-header .rfa-header-account:hover .rfa-header-account-icon{
  border-color:#f43a9b!important;box-shadow:0 4px 16px rgba(239,54,152,.2)!important;
}
@media(max-width:1100px){
 #theme-toggle.rfa-theme-switch{
  width:87px!important;min-width:87px!important;flex-basis:87px!important;
  height:44px!important;min-height:44px!important;max-height:44px!important;padding:4px!important;
 }
 #theme-toggle.rfa-theme-switch .rfa-theme-sun,
 #theme-toggle.rfa-theme-switch .rfa-theme-moon{
  width:32px!important;height:32px!important;min-width:32px!important;
  max-width:32px!important;min-height:32px!important;max-height:32px!important;
  flex-basis:32px!important;font-size:23px!important;
 }
 body #community-header .rfa-header-account-icon{
  display:grid!important;flex-basis:31px!important;width:31px!important;
  min-width:31px!important;height:31px!important;min-height:31px!important;
 }
 #community-header .rfa-header-account-icon img{
  width:22px!important;height:22px!important;max-width:22px!important;max-height:22px!important;
 }
}
@media(max-width:540px){
 #theme-toggle.rfa-theme-switch{
  width:77px!important;min-width:77px!important;flex-basis:77px!important;
  height:42px!important;min-height:42px!important;max-height:42px!important;
  padding:4px!important;gap:1px!important;
 }
 #theme-toggle.rfa-theme-switch .rfa-theme-sun,
 #theme-toggle.rfa-theme-switch .rfa-theme-moon{
  width:30px!important;height:30px!important;
  min-width:30px!important;min-height:30px!important;max-width:30px!important;
  max-height:30px!important;flex-basis:30px!important;font-size:21px!important;
 }
 #community-header .rfa-header-account-label{font-size:11px!important}
 #community-header .rfa-header-account{gap:5px!important}
}
@media(max-width:395px){
 #community-header .rfa-header-account-label{display:none!important}
 #community-header .rfa-header-account{width:35px!important;min-width:35px!important;justify-content:center!important}
}
/* Generic dark design tokens, applied across SPA routes and after all prior styles. */
html[data-rfa-theme="night"]{color-scheme:dark!important;background:#0d1426!important}
body.night{
 --ink:#eef3ff!important;--muted:#b3c0d9!important;--line:#354765!important;
 --pink:#ff63b4!important;--blue:#88aaff!important;--purple:#be9bff!important;
 --pale:#271d42!important;--shade:#202e47!important;--white:#19263e!important;
 --surface:#19263e!important;
 background:#0d1426!important;color:#eef3ff!important;
}
body.night #app,body.night .main-content{color:#eef3ff!important}
body.night .topline,body.night .main-header,body.night .navigation,body.night .footer{
 background:#131f34!important;color:#e9efff!important;border-color:#354765!important;
}
body.night .topline{background:#111b30!important}
body.night .topline-inner,body.night #today-date{color:#b6c4e0!important}
body.night .navigation{box-shadow:0 4px 14px rgba(0,0,0,.12)!important}
body.night .navigation .nav-link:not(.active){color:#e5edff!important}
body.night .navigation .nav-link:hover{color:#ff83c4!important}
body.night .navigation .nav-link .rfa-nav-pictogram{filter:brightness(0) invert(1)!important;opacity:.89!important}
body.night .navigation .nav-link.active .rfa-nav-pictogram{filter:brightness(0) invert(1)!important;opacity:1!important}
body.night .search,body.night .header-content .search,
body.night .rfa-searchbar input,body.night .rfa-searchbar select{
 background:#202e47!important;border-color:#3c4a68!important;color:#f3f6ff!important;
 box-shadow:none!important;
}
body.night .search input,body.night .search button{background:transparent!important;color:#f1f4ff!important}
body.night input::placeholder,body.night textarea::placeholder{color:#97a9c8!important;opacity:1!important}
body.night .search svg{stroke:#b1c6eb!important}
body.night .rfa-header-account,body.night .rfa-header-account-label{color:#eef2ff!important}
body.night .rfa-header-bell{border-color:#e4eeff!important}
body.night .rfa-header-bell::before,body.night .rfa-header-bell::after{background:#e4eeff!important}
body.night .rfa-header-latest{color:#e3edff!important}
body.night .rfa-header-latest:hover{background:#243453!important}
body.night .footer{background:#111c30!important}
body.night .footer-logo,body.night .footer-links a,body.night .footer-links button,
body.night .footer-bottom,body.night .footer-top{color:#dce7fe!important;border-color:#344761!important}
body.night .footer-bottom small,body.night .footer-copy,body.night .footer p{color:#b1bfd6!important}
/* Le même logo et la même géométrie dans les deux modes, sans carte blanche.
 * Les libellés foncés s'adaptent seulement au contraste du thème sombre. */
.main-header .brand,
body.night .main-header .brand{
  padding:0!important;
  margin:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
body.night .main-header .brand-name b{color:#eef3ff!important}
body.night .main-header .brand-name em{color:#f62182!important}
body.night .main-header .brand-name strong{color:#6f99ff!important}
body.night .main-header .brand-name small{color:#c2cde2!important}
/* La structure des pages hors accueil, même quand les modules sont rendus en JS. */
body.night .side-card,body.night .side-pink,
body.night .retro-panel,body.night .retro-tile,
body.night .all-categories a,body.night .mini-categories a,
body.night .empty,body.night .rfa-card,body.night .rfa-account-extras .rfa-card,
body.night .rfa-pass-page,body.night .rfa-pass-checks,
body.night .rfa-mfa-card,body.night .rfa-mfa-secret,
body.night .rfa-related-card,body.night .rfa-newsletter-side,
body.night .rfa-video-container,body.night .games-news-card,
body.night .games-widget,body.night .games-controls,
body.night .games-section,body.night .games-articles-empty,
body.night .audience-home,body.night .audience-page-card,
body.night .audience-commentary,body.night .audience-commentary-inline,
body.night .audience-history-panel,body.night .rfa-consent,
body.night .rfa-consent-v7,body.night .rfa-pass-page,
body.night #rfa-comment-form,body.night .rfa-form-card,
body.night .rfa-account-comment,body.night .rfa-related,
body.night .rfa-account-extras{
 background:#19263e!important;color:#eef3ff!important;border-color:#354765!important;
}
body.night .article-row,body.night .rfa-account-comment,
body.night .rfa-comment,body.night .rfa-comment-item,
body.night .footer-bottom,body.night .rfa-insights-list>div{
 border-color:#354765!important;
}
body.night .article-page,body.night .rfa-account-grid,body.night .rfa-page-head,
body.night .rfa-nl-page,body.night .games-page,body.night .audience-page{
 color:#eef3ff!important;
}
body.night .article-page h1,body.night .article-prose,
body.night .article-prose p,body.night .article-prose h2,
body.night .article-prose h3,body.night .article-page strong,
body.night .article-page a:not(.rfa-primary):not(.rfa-pass-link),
body.night .rfa-page-head h1,body.night .section-heading h2,
body.night .archive-heading h1,body.night .row-copy h3,
body.night .row-copy h3 a,body.night .side-card h2,
body.night .rfa-card h2,body.night .retro-head h2,
body.night .games-section h2,body.night .games-widget h2,
body.night .games-widget h3,body.night .games-news-card h3,
body.night .games-news-card h3 a,body.night .audience-home h2,
body.night .audience-page-card h2,body.night .audience-line-top strong,
body.night .audience-count b,body.night .rfa-pass-page h1{
 color:#edf3ff!important;
}
body.night .article-lead,body.night .article-prose .caption,
body.night .article-prose figcaption,body.night .rfa-article-photo-note,
body.night .byline,body.night .byline time,body.night .article-row p,
body.night .row-copy p,body.night .heading-caption,body.night .rfa-page-head p,
body.night .rfa-card p,body.night .rfa-nl-page>p,
body.night .rfa-resultcount,body.night .games-section p,
body.night .games-news-meta,body.night .rfa-related-card time,
body.night .rfa-consent p,body.night .rfa-consent-v7 p,
body.night .rfa-member-actions small,body.night .rfa-insights-list small{
 color:#b3c0d9!important;
}
body.night input,body.night select,body.night textarea,
body.night .rfa-card input,body.night .rfa-newsletter-side input,
body.night .rfa-nl-page input,body.night .rfa-consent-actions button,
body.night .rfa-consent-v7 button:not(.rfa-primary),
body.night #rfa-comment-form textarea,
body.night .rfa-account-extras textarea,
body.night .rfa-account-extras input,
body.night .rfa-recovery-form input,
body.night .rfa-mfa-card input{
 background:#22334e!important;color:#f1f4ff!important;border:1px solid #435572!important;
}
body.night select option{background:#22334e!important;color:#f1f4ff!important}
body.night input:focus-visible,body.night textarea:focus-visible,
body.night select:focus-visible{
 outline:3px solid #a78aff!important;outline-offset:1px!important;
}
body.night .rfa-primary,body.night .rfa-consent-v7 .rfa-primary,
body.night .rfa-consent-actions .rfa-primary,
body.night .rfa-searchbar button{background:linear-gradient(95deg,#fa2f96,#dd1b85)!important;color:#fff!important;border-color:transparent!important}
body.night .rfa-favorite,body.night .rfa-text-button,
body.night .audience-toggle,body.night .games-all,
body.night .games-articles-head a,body.night .bottom-more a,
body.night .rfa-search-pagination a{color:#ff8ac7!important}
body.night .rfa-favorite,body.night .bottom-more a,
body.night .rfa-search-pagination a{
 background:#28213d!important;border-color:#8d527b!important;
}
body.night .rfa-related-card .rfa-related-image,
body.night .games-news-image,body.night .row-image,
body.night .article-main-image,body.night .hero-img,
body.night .image-placeholder{background:#273653!important}
body.night .image-placeholder{color:#c0cced!important}
body.night .rfa-consent-v7,body.night .rfa-consent{
 box-shadow:0 18px 60px rgba(0,0,0,.55)!important;
}
body.night .rfa-privacy-custom summary{color:#ff84c0!important}
body.night .audience-bar-track,body.night .games-track,
body.night .audience-peek-lines i{background:#33445e!important}
body.night .audience-peek-overlay{
 background:linear-gradient(to bottom,transparent,rgba(25,38,62,.85),#19263e)!important;
}
body.night .audience-tab:not(.active),body.night .games-controls select{
 background:#243551!important;color:#edf3ff!important;border-color:#425471!important;
}
body.night .audience-tab.active{background:#dc2487!important;color:#fff!important}
body.night .audience-preview-label{background:#493725!important;color:#ffe2b2!important}
body.night .seo-audience-table,
body.night .seo-audience-table td,body.night .seo-audience-table th{
 color:#e6edfc!important;border-color:#354765!important;
}
body.night .seo-audience-table th{background:#25223f!important}
body.night .seo-audience-table tr:nth-child(even){background:#1e2b43!important}
body.night .rfa-article-photo-note{color:#b0bdd9!important}
/* Le tableau de bord éditorial de l'accueil : aucune grande zone blanche. */
body.night:has(.rfa26-home){
 background:#0d1426!important;color:#e9f1ff!important;
}
body.night .rfa26-home{color:#eef3ff!important}
body.night:has(.rfa26-home) .main-header,
body.night:has(.rfa26-home) .topline,
body.night:has(.rfa26-home) .navigation{
 background:#131f34!important;color:#eef3ff!important;border-color:#354765!important;
}
body.night:has(.rfa26-home) .navigation .nav-inner{background:transparent!important}
body.night:has(.rfa26-home) .navigation .nav-link:not(.active){color:#e4ecff!important}
body.night:has(.rfa26-home) .header-content .search{
 background:#22304a!important;border-color:#4a5772!important;box-shadow:none!important;
}
body.night:has(.rfa26-home) .header-content .search input{background:transparent!important;color:#eef3ff!important}
body.night .rfa26-story,body.night .rfa26-stream-item{
 background:#19263e!important;border-color:#354765!important;
 box-shadow:0 5px 18px rgba(0,0,0,.15)!important;
}
body.night .rfa26-story-copy,body.night .rfa26-stream-item>div{background:transparent!important}
body.night .rfa26-story h3,body.night .rfa26-story h3 a,
body.night .rfa26-stream-item h3,body.night .rfa26-stream-item h3 a,
body.night .rfa26-now-title,body.night .rfa26-now h2,
body.night .rfa26-section-heading h2{
 color:#eff4ff!important;
}
body.night .rfa26-story time,body.night .rfa26-story-meta time,
body.night .rfa26-comments-count,body.night .rfa26-stream-meta,
body.night .rfa26-retro p{color:#bcc9e1!important}
body.night .rfa26-meta-calendar{border-color:#c1cdec!important;background:linear-gradient(to bottom,transparent 0 34%,#c1cdec 34% 48%,transparent 48%)!important}
body.night .rfa26-meta-calendar::before{background:#c1cdec!important;box-shadow:6px 0 #c1cdec!important}
body.night .rfa26-meta-comment,body.night .rfa26-meta-comment::after{border-color:#c1cdec!important}
body.night .rfa26-meta-comment::after{background:#19263e!important}
body.night .rfa26-now,body.night .rfa26-retro,
body.night .rfa26-simple-newsletter,
body.night .rfa26-aside .rfa-newsletter-side,
body.night .rfa26-aside .rfa-pop-newsletter{
 background:#1b2842!important;color:#edf3ff!important;
 border-color:#3b4b6a!important;box-shadow:none!important;
}
body.night .rfa26-retro h2,body.night .rfa26-simple-newsletter h2,
body.night .rfa26-aside .rfa-pop-newsletter h2,
body.night .rfa26-aside .rfa-newsletter-side h2{color:#edf3ff!important}
body.night .rfa26-now-item{border-color:#394762!important}
body.night .rfa26-now-more{
 background:#29243f!important;border-color:#f15aae!important;
 color:#ff93d0!important;box-shadow:none!important;
}
body.night .rfa26-story-image,body.night .rfa26-now-image,
body.night .rfa26-stream-image{background:#28364d!important}
body.night .rfa26-audiences{
 background:linear-gradient(130deg,#45217d,#2a286c 68%,#3a286f)!important;
 border-color:#694eac!important;
 box-shadow:0 10px 22px rgba(0,0,0,.22)!important;
}
body.night .rfa26-aud-heading h2,body.night .rfa26-aud-bottom,
body.night .rfa26-aud-date{color:#f5ecff!important}
body.night .rfa26-aud-list{background:#1c2b45!important;border-color:#384561!important}
body.night .rfa26-aud-row{border-color:#35455d!important}
body.night .rfa26-aud-row:nth-child(2){background:#22304c!important}
body.night .rfa26-aud-desc strong,body.night .rfa26-aud-value{
 color:#f2f5ff!important;
}
body.night .rfa26-aud-desc>span:not(.rfa26-aud-track),
body.night .rfa26-aud-value small{color:#b6c3de!important}
body.night .rfa26-aud-track{background:#374664!important}
body.night .rfa26-aud-heading>a{
 background:#f4edff!important;color:#572294!important;
}
body.night .rfa26-now-image img,body.night .rfa26-story-image img,
body.night .rfa26-stream-image img{opacity:1!important;filter:none!important}
body.night .rfa26-stream-item:has(> .rfa26-stream-image .image-placeholder){
 background:#19263e!important;border-left-color:#9c55d5!important;
}
/* Ancienne home pop / composants potentiellement visibles dans d'autres routes. */
body.night .rfa-pop-home,
body.night .rfa-pop-card,body.night .rfa-pop-column-news,
body.night .rfa-pop-section,body.night .rfa-pop-newsletter,
body.night .rfa-pop-side-card{
 background:#19263e!important;color:#edf3ff!important;border-color:#354765!important;
}
body.night .rfa-pop-newsletter input,
body.night .rfa26-aside input[type=email]{background:#24334d!important;color:#eef4ff!important;border-color:#465676!important}
/* Ensembles de boutons, onglets et tableaux internes : garder les actions visibles. */
body.night .rfa-section-head,body.night .rfa-section-head h2,
body.night .games-articles-head,body.night .games-articles-head h2,
body.night .retro-head,body.night .retro-head h2{color:#f0f4ff!important}
body.night .rfa-pass-checks li,body.night .rfa-pass-checks strong{color:#edf3ff!important}
body.night .rfa-search-pagination a:hover,body.night .rfa-favorite:hover{
 background:#39244c!important;color:#ffc4e2!important;
}
body.night .ad-placement[hidden]{display:none!important}
body.night .ad-placement:not([hidden]){
 background:#19263e!important;border-color:#354765!important;color:#b7c2db!important;
}
/* Stabilise la largeur effective de la fenêtre lors du changement de thème. */
html{scrollbar-gutter:stable}
@media(prefers-reduced-motion:reduce){
 #theme-toggle.rfa-theme-switch,
 #theme-toggle.rfa-theme-switch .rfa-theme-sun,
 #theme-toggle.rfa-theme-switch .rfa-theme-moon{transition:none!important;transform:none!important}
}


/* RFA 04/11 — sélecteur jour/nuit épuré, sans emoji ni image */
/* Conserver l'accessibilité et la logique d'état ; seuls les pictogrammes sont redessinés en CSS. */
body #theme-toggle.rfa-theme-switch{
  position:relative!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 74px!important;
  width:74px!important;
  min-width:74px!important;
  max-width:74px!important;
  height:40px!important;
  min-height:40px!important;
  max-height:40px!important;
  padding:3px!important;
  gap:2px!important;
  overflow:hidden!important;
  border:1px solid #dbe0ec!important;
  border-radius:999px!important;
  background:#eef2f8!important;
  box-shadow:0 2px 7px rgba(18,32,68,.10)!important;
  transform:none!important;
  transition:background-color .2s ease,border-color .2s ease,box-shadow .2s ease!important;
}
body #theme-toggle.rfa-theme-switch:hover{
  transform:none!important;
  box-shadow:0 3px 11px rgba(29,44,85,.15)!important;
}
body #theme-toggle.rfa-theme-switch .rfa-theme-sun,
body #theme-toggle.rfa-theme-switch .rfa-theme-moon{
  position:relative!important;
  display:grid!important;
  place-items:center!important;
  flex:0 0 32px!important;
  width:32px!important;
  min-width:32px!important;
  max-width:32px!important;
  height:32px!important;
  min-height:32px!important;
  max-height:32px!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  border-radius:50%!important;
  font-size:0!important;
  color:transparent!important;
  text-shadow:none!important;
  opacity:1!important;
  background:transparent!important;
  box-shadow:none!important;
  filter:none!important;
  transform:none!important;
  transition:background-color .2s ease,box-shadow .2s ease!important;
}
body #theme-toggle.rfa-theme-switch .rfa-theme-sun::before{
  content:"";
  position:absolute;
  top:50%;left:50%;
  transform:translate(-50%,-50%);
  width:11px;height:11px;
  border-radius:50%;
  background:#bf954d;
  box-shadow:
    0 -10px 0 -4px currentColor,
    0 10px 0 -4px currentColor,
    -10px 0 0 -4px currentColor,
    10px 0 0 -4px currentColor,
    -7px -7px 0 -4px currentColor,
    7px -7px 0 -4px currentColor,
    -7px 7px 0 -4px currentColor,
    7px 7px 0 -4px currentColor;
  color:#bf954d;
}
body #theme-toggle.rfa-theme-switch .rfa-theme-moon::before{
  content:"";
  position:absolute;
  left:50%;top:50%;
  transform:translate(-50%,-50%);
  width:16px;height:16px;
  border-radius:50%;
  background:#8491ad;
}
body #theme-toggle.rfa-theme-switch .rfa-theme-moon::after{
  content:"";
  position:absolute;
  left:calc(50% + 3px);
  top:calc(50% - 11px);
  width:15px;height:15px;
  border-radius:50%;
  background:#eef2f8;
}
body #theme-toggle.rfa-theme-switch[data-mode="day"] .rfa-theme-sun{
  background:#fff!important;
  box-shadow:0 1px 5px rgba(48,60,90,.14)!important;
}
body #theme-toggle.rfa-theme-switch[data-mode="day"] .rfa-theme-sun::before{
  background:#d6a042;
  color:#d6a042;
}
body #theme-toggle.rfa-theme-switch[data-mode="night"]{
  background:#252f4c!important;
  border-color:#42516c!important;
  box-shadow:0 2px 8px rgba(0,0,0,.18)!important;
}
body #theme-toggle.rfa-theme-switch[data-mode="night"] .rfa-theme-moon{
  background:#4c5d87!important;
  box-shadow:0 1px 5px rgba(0,0,0,.20)!important;
}
body #theme-toggle.rfa-theme-switch[data-mode="night"] .rfa-theme-moon::before{
  background:#f0f3ff;
}
body #theme-toggle.rfa-theme-switch[data-mode="night"] .rfa-theme-moon::after{
  background:#4c5d87;
}
body #theme-toggle.rfa-theme-switch[data-mode="night"] .rfa-theme-sun::before{
  background:#929eb7;
  color:#929eb7;
}
@media(max-width:1100px){
  body #theme-toggle.rfa-theme-switch{
    flex-basis:70px!important;
    width:70px!important;min-width:70px!important;max-width:70px!important;
    height:38px!important;min-height:38px!important;max-height:38px!important;
  }
  body #theme-toggle.rfa-theme-switch .rfa-theme-sun,
  body #theme-toggle.rfa-theme-switch .rfa-theme-moon{
    flex-basis:30px!important;
    width:30px!important;min-width:30px!important;max-width:30px!important;
    height:30px!important;min-height:30px!important;max-height:30px!important;
  }
}
@media(max-width:540px){
  body #theme-toggle.rfa-theme-switch{
    flex-basis:64px!important;
    width:64px!important;min-width:64px!important;max-width:64px!important;
    height:35px!important;min-height:35px!important;max-height:35px!important;
    padding:3px!important;gap:2px!important;
  }
  body #theme-toggle.rfa-theme-switch .rfa-theme-sun,
  body #theme-toggle.rfa-theme-switch .rfa-theme-moon{
    flex-basis:27px!important;
    width:27px!important;min-width:27px!important;max-width:27px!important;
    height:27px!important;min-height:27px!important;max-height:27px!important;
  }
}
