/* ScriptCamp 8.7.19 — unified theme palette layer. All theme renderers consume the same semantic tokens. */
body[class*="theme-"]{
  background:var(--theme-body-bg,#f6f8fc)!important;
  color:var(--theme-body-text,#172033)!important;
  --sc-theme-link:var(--app-primary,#1e3a8a);
  --sc-theme-muted:#64748b;
  --sc-theme-soft:#F1F5F9;
}
body[class*="theme-"] .site-header,
body[class*="theme-"] .site-header.header-style-solid{
  background:linear-gradient(112deg,var(--theme-header-start,var(--app-primary)),var(--theme-header-end,var(--app-secondary)))!important;
  color:var(--theme-header-text,#fff)!important;
  border-bottom:1px solid rgba(255,255,255,.22)!important;
  box-shadow:0 10px 28px rgba(15,23,42,.13)!important;
}
body[class*="theme-"] .site-header a,
body[class*="theme-"] .site-header .desktop-nav a,
body[class*="theme-"] .site-header .user-nav>a,
body[class*="theme-"] .site-header .mobile-nav a{color:var(--theme-header-text,#fff)!important}
body[class*="theme-"] .site-header .desktop-nav a:hover,
body[class*="theme-"] .site-header .user-nav>a:hover{background:rgba(255,255,255,.13)!important;color:var(--theme-header-text,#fff)!important}
body[class*="theme-"] .site-header .mobile-nav{background:linear-gradient(125deg,var(--theme-header-start),var(--theme-header-end))!important;border-top:1px solid rgba(255,255,255,.2)!important}
body[class*="theme-"] .site-header .brand-mark{background:rgba(255,255,255,.96)!important;color:var(--app-primary,#1e3a8a)!important;border:1px solid rgba(255,255,255,.7)!important}
body[class*="theme-"] .site-header .brand-text{color:var(--theme-header-text,#fff)!important;text-shadow:none!important}
body[class*="theme-"] .site-header .brand-gradient .brand-text{background:none!important;-webkit-text-fill-color:var(--theme-header-text,#fff)!important}
body[class*="theme-"] .site-header .hamburger{background:rgba(255,255,255,.13)!important;color:var(--theme-header-text,#fff)!important;border:1px solid rgba(255,255,255,.3)!important}
body[class*="theme-"] .page-title{
  background:linear-gradient(112deg,var(--theme-page-title-bg,var(--app-primary)),var(--theme-header-end,var(--app-secondary)))!important;
  color:var(--theme-page-title-text,#fff)!important;
  border:0!important;border-right:5px solid var(--theme-page-title-accent,var(--app-accent))!important;
  border-radius:var(--app-radius,16px)!important;padding:17px 21px!important;
  box-shadow:0 9px 25px rgba(15,23,42,.10)!important;
}
body[class*="theme-"] .page-title *{color:inherit!important}
body[class*="theme-"] .card,
body[class*="theme-"] .article,
body[class*="theme-"] .side-box,
body[class*="theme-"] .download-box,
body[class*="theme-"] .comments,
body[class*="theme-"] .sc-custom-home-card,
body[class*="theme-"] .sc-atlas-feature,
body[class*="theme-"] .sc-atlas-card,
body[class*="theme-"] .sc-pocket-card,
body[class*="theme-"] .sc-photo-card,
body[class*="theme-"] .sc-timeline-card,
body[class*="theme-"] .sc-press-lead{
  background:var(--app-surface,#fff)!important;
  color:var(--theme-body-text,#172033)!important;
  border-color:var(--theme-card-border,#e3e8f0)!important;
}
body[class*="theme-"] .card a:not(.button),
body[class*="theme-"] .article a:not(.button),
body[class*="theme-"] .side-box a:not(.button){color:inherit}
body[class*="theme-"] .card p,
body[class*="theme-"] .article p,
body[class*="theme-"] .side-box p,
body[class*="theme-"] .sc-tools-intro p,
body[class*="theme-"] .sc-theme-intro p,
body[class*="theme-"] .sc-video-heading p,
body[class*="theme-"] .sc-android-hero p,
body[class*="theme-"] .sc-atlas-hero p,
body[class*="theme-"] .sc-pocket-hero p,
body[class*="theme-"] .sc-aparat-hero p{color:var(--sc-theme-muted)!important}
body[class*="theme-"] .button,
body[class*="theme-"] button.button,
body[class*="theme-"] .sc-tool-open,
body[class*="theme-"] .sc-atlas-read{
  background:linear-gradient(115deg,var(--app-primary),var(--app-secondary))!important;
  color:var(--theme-button-text,#fff)!important;border:1px solid transparent!important;
}
body[class*="theme-"] .button:hover,
body[class*="theme-"] button.button:hover{filter:brightness(1.06)}
body[class*="theme-"] .tag,
body[class*="theme-"] .sc-tool-tag,
body[class*="theme-"] .sc-news-section-title span,
body[class*="theme-"] .sc-video-meta{
  background:var(--sc-theme-soft)!important;color:var(--theme-body-text)!important;border-color:var(--theme-card-border)!important;
}
body[class*="theme-"] .sc-tools-intro,
body[class*="theme-"] .sc-theme-intro,
body[class*="theme-"] .sc-video-heading,
body[class*="theme-"] .sc-personal-hero,
body[class*="theme-"] .sc-android-hero,
body[class*="theme-"] .sc-atlas-hero,
body[class*="theme-"] .sc-aparat-hero,
body[class*="theme-"] .sc-pocket-hero,
body[class*="theme-"] .sc-press-mast,
body[class*="theme-"] .sc-fars-masthead,
body[class*="theme-"] .sc-news-masthead{
  background:linear-gradient(116deg,var(--theme-header-start,var(--app-primary)),var(--theme-header-end,var(--app-secondary)))!important;
  color:var(--theme-header-text,#fff)!important;border-color:rgba(255,255,255,.22)!important;
}
body[class*="theme-"] .sc-tools-intro h2,
body[class*="theme-"] .sc-tools-intro p,
body[class*="theme-"] .sc-tools-intro .sc-eyebrow,
body[class*="theme-"] .sc-tools-intro .sc-tools-symbol,
body[class*="theme-"] .sc-theme-intro h2,
body[class*="theme-"] .sc-theme-intro p,
body[class*="theme-"] .sc-theme-intro .sc-eyebrow,
body[class*="theme-"] .sc-video-heading h2,
body[class*="theme-"] .sc-video-heading p,
body[class*="theme-"] .sc-video-heading span,
body[class*="theme-"] .sc-personal-hero h2,
body[class*="theme-"] .sc-personal-hero p,
body[class*="theme-"] .sc-android-hero h2,
body[class*="theme-"] .sc-android-hero p,
body[class*="theme-"] .sc-atlas-hero h2,
body[class*="theme-"] .sc-atlas-hero p,
body[class*="theme-"] .sc-atlas-kicker,
body[class*="theme-"] .sc-aparat-hero h2,
body[class*="theme-"] .sc-aparat-hero p,
body[class*="theme-"] .sc-pocket-hero h2,
body[class*="theme-"] .sc-pocket-hero p,
body[class*="theme-"] .sc-press-mast h2,
body[class*="theme-"] .sc-press-mast p,
body[class*="theme-"] .sc-fars-masthead h2,
body[class*="theme-"] .sc-fars-masthead p,
body[class*="theme-"] .sc-news-masthead h2,
body[class*="theme-"] .sc-news-masthead p{color:var(--theme-header-text,#fff)!important}
body[class*="theme-"] .sc-tools-intro .sc-tools-symbol{color:var(--theme-header-text,#fff)!important;opacity:.88}
body[class*="theme-"] .sc-android-hero-icon,
body[class*="theme-"] .sc-pocket-hero>b{color:var(--theme-header-text,#fff)!important}
body[class*="theme-"] .sc-tools-intro .sc-eyebrow,
body[class*="theme-"] .sc-theme-intro .sc-eyebrow,
body[class*="theme-"] .sc-video-heading span,
body[class*="theme-"] .sc-android-hero span{color:rgba(255,255,255,.86)!important}
body[class*="theme-"] .sc-tools-intro a,
body[class*="theme-"] .sc-theme-intro a,
body[class*="theme-"] .sc-video-heading a,
body[class*="theme-"] .sc-android-hero a,
body[class*="theme-"] .sc-aparat-hero a,
body[class*="theme-"] .sc-pocket-hero a,
body[class*="theme-"] .sc-press-mast>a{
  background:var(--app-primary)!important;color:var(--theme-button-text,#fff)!important;border:1px solid var(--app-accent)!important;border-radius:10px!important;
}
body[class*="theme-"] .sc-mag-masthead{border-color:var(--app-primary)!important;color:var(--theme-body-text)!important}
body[class*="theme-"] .sc-mag-masthead span,
body[class*="theme-"] .sc-mag-story small,
body[class*="theme-"] .sc-mag-story .card-body>a,
body[class*="theme-"] .sc-fars-heading a,
body[class*="theme-"] .sc-news-section-title h2,
body[class*="theme-"] .sc-aparat-title span,
body[class*="theme-"] .sc-timeline-date,
body[class*="theme-"] .sc-timeline-head span,
body[class*="theme-"] .sc-timeline-card small,
body[class*="theme-"] .sc-timeline-card b,
body[class*="theme-"] .sc-atlas-feature>div small,
body[class*="theme-"] .sc-atlas-card small,
body[class*="theme-"] .sc-press-lead small,
body[class*="theme-"] .sc-press-list small,
body[class*="theme-"] .sc-photo-mast span,
body[class*="theme-"] .sc-photo-lead small,
body[class*="theme-"] .sc-photo-card small,
body[class*="theme-"] .sc-pocket-card small,
body[class*="theme-"] .sc-pocket-open{color:var(--app-primary)!important}
body[class*="theme-"] .sc-news-ticker b,
body[class*="theme-"] .sc-press-breaking b{background:var(--app-primary)!important;color:#fff!important}
body[class*="theme-"] .sc-news-ticker,
body[class*="theme-"] .sc-press-breaking{border-color:var(--app-primary)!important}
body[class*="theme-"] .sc-photo-lead{background:#18181b!important;color:#fff!important}
body[class*="theme-"] .sc-photo-lead p{color:#e4e4e7!important}
body[class*="theme-"] .sc-photo-lead small{color:#fcd34d!important}
body[class*="theme-"] .sc-atlas-feature-image,
body[class*="theme-"] .sc-atlas-card img,
body[class*="theme-"] .sc-atlas-placeholder,
body[class*="theme-"] .sc-pocket-fallback,
body[class*="theme-"] .sc-pocket-card img,
body[class*="theme-"] .sc-photo-card img,
body[class*="theme-"] .sc-photo-card>a>span{background:var(--sc-theme-soft)!important;color:var(--app-primary)!important}
body[class*="theme-"] .sc-timeline-track:before{background:linear-gradient(var(--app-primary),var(--app-secondary),var(--app-accent))!important}
body[class*="theme-"] .sc-timeline-dot{background:var(--app-primary)!important;border-color:var(--sc-theme-soft)!important;box-shadow:0 0 0 2px var(--app-primary)!important}
body[class*="theme-"] .sc-android-app-icon{background:var(--sc-theme-soft)!important;color:var(--app-primary)!important}
body[class*="theme-"] .sc-android-detail{background:var(--sc-theme-soft)!important;color:var(--app-primary)!important}
body[class*="theme-"] .sc-press-number{color:var(--theme-card-border)!important}
body[class*="theme-"] .sc-photo-card,
body[class*="theme-"] .sc-pocket-card,
body[class*="theme-"] .sc-timeline-card,
body[class*="theme-"] .sc-press-lead{box-shadow:0 10px 28px rgba(15,23,42,.07)!important}
body[class*="theme-"] .sc-tools-grid .card,
body[class*="theme-"] .sc-video-card,
body[class*="theme-"] .sc-android-app{border-color:var(--theme-card-border)!important}
body[class*="theme-"] .sc-atlas-feature p,
body[class*="theme-"] .sc-atlas-card p,
body[class*="theme-"] .sc-pocket-card p,
body[class*="theme-"] .sc-photo-card p,
body[class*="theme-"] .sc-timeline-card p,
body[class*="theme-"] .sc-press-lead p,
body[class*="theme-"] .sc-press-list p,
body[class*="theme-"] .sc-personal-entry p,
body[class*="theme-"] .sc-mag-story p{color:var(--sc-theme-muted)!important}
body[class*="theme-"] .sc-personal-entry{border-color:var(--theme-card-border)!important}
body[class*="theme-"] .sc-aparat-card,
body[class*="theme-"] .sc-mag-story{color:var(--theme-body-text)!important}
body.theme-video .sc-video-heading{background:linear-gradient(115deg,var(--theme-header-start),var(--theme-header-end))!important}
body.theme-video .sc-video-card .card-body{background:var(--app-surface)!important;color:var(--theme-body-text)!important}
body.theme-video .sc-video-card h2 a{color:var(--theme-body-text)!important}
body.theme-midnight .card,body.theme-midnight .article,body.theme-midnight .side-box{box-shadow:0 12px 30px rgba(0,0,0,.2)!important}
body.theme-ocean .sc-tools-intro,body.theme-forest .sc-tools-intro,body.theme-royal .sc-tools-intro,body.theme-sunset .sc-tools-intro{background:linear-gradient(115deg,var(--theme-header-start),var(--theme-header-end))!important}
@media(prefers-reduced-motion:reduce){body[class*="theme-"] *,body[class*="theme-"] *:before,body[class*="theme-"] *:after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}
body.header-style-solid[class*="theme-"] .site-header{background:var(--theme-header-start)!important}
body.header-style-glass[class*="theme-"] .site-header{background:rgba(15,23,42,.88)!important;backdrop-filter:blur(18px) saturate(150%)}
body.footer-style-light[class*="theme-"] .site-footer{background:var(--app-surface)!important;color:var(--theme-body-text)!important;border-top:1px solid var(--theme-card-border)!important}
body.footer-style-light[class*="theme-"] .site-footer a{color:var(--app-primary)!important}
body.footer-style-solid[class*="theme-"] .site-footer{background:var(--theme-header-start)!important;color:var(--theme-header-text)!important}
body.footer-style-solid[class*="theme-"] .site-footer a{color:var(--theme-header-text)!important}
body.footer-style-gradient[class*="theme-"] .site-footer{background:linear-gradient(115deg,var(--theme-header-start),var(--theme-header-end))!important;color:var(--theme-header-text)!important}
body.footer-style-gradient[class*="theme-"] .site-footer a{color:var(--theme-header-text)!important}
body.buttons-outline[class*="theme-"] .button{background:transparent!important;color:var(--app-primary)!important;border:1px solid var(--app-primary)!important;box-shadow:none!important}
body.buttons-solid[class*="theme-"] .button{background:var(--app-primary)!important;color:var(--theme-button-text)!important}
body.card-style-flat[class*="theme-"] .card,body.card-style-flat[class*="theme-"] .article,body.card-style-flat[class*="theme-"] .side-box{box-shadow:none!important}
body.card-style-border[class*="theme-"] .card,body.card-style-border[class*="theme-"] .article,body.card-style-border[class*="theme-"] .side-box{box-shadow:none!important;border-width:1px!important}
body.card-style-shadow[class*="theme-"] .card,body.card-style-shadow[class*="theme-"] .article,body.card-style-shadow[class*="theme-"] .side-box{box-shadow:0 12px 30px rgba(15,23,42,.08)!important}
body[class*="theme-"] .sc-mag-story{background:transparent!important;border-bottom-color:var(--theme-card-border)!important}
body[class*="theme-"] .sc-mag-story h2{color:var(--theme-body-text)!important}
body[class*="theme-"] .sc-mag-masthead h2,body[class*="theme-"] .sc-timeline-head h2,body[class*="theme-"] .sc-photo-mast h2{color:var(--theme-body-text)!important}
body[class*="theme-"] .sc-timeline-head p,body[class*="theme-"] .sc-photo-mast p{color:var(--sc-theme-muted)!important}

body.theme-video,body.theme-midnight{--sc-theme-muted:#CBD5E1;--sc-theme-soft:#334155}
