/* SanEpid FX — modern scientific presentation layer */
html.fx-on {
  --fx-ink: #0b1b33;
  --fx-muted: #51607a;
  --fx-bg: #f3f6fb;
  --fx-card: rgba(255, 255, 255, .86);
  --fx-line: rgba(15, 30, 60, .09);
  --fx-a: #0d9488;  --fx-b: #06b6d4;  --fx-soft: #ccfbf1;
  --fx-ease: cubic-bezier(.2, .8, .2, 1);
  --fx-spring: cubic-bezier(.34, 1.56, .64, 1);
  --fx-r: 20px;
}
/* per-section palettes */
html.fx-on[data-fx="home"]      { --fx-a:#0d9488; --fx-b:#06b6d4; --fx-soft:#ccfbf1; }
html.fx-on[data-fx="about"]     { --fx-a:#4f46e5; --fx-b:#818cf8; --fx-soft:#e0e7ff; }
html.fx-on[data-fx="editorial"] { --fx-a:#7c3aed; --fx-b:#c084fc; --fx-soft:#ede9fe; }
html.fx-on[data-fx="submit"]    { --fx-a:#059669; --fx-b:#34d399; --fx-soft:#d1fae5; }
html.fx-on[data-fx="news"]      { --fx-a:#d97706; --fx-b:#fbbf24; --fx-soft:#fef3c7; }
html.fx-on[data-fx="issue"]     { --fx-a:#2563eb; --fx-b:#38bdf8; --fx-soft:#dbeafe; }
html.fx-on[data-fx="article"]   { --fx-a:#0e7490; --fx-b:#22d3ee; --fx-soft:#cffafe; }
html.fx-on[data-fx="search"]    { --fx-a:#475569; --fx-b:#94a3b8; --fx-soft:#e2e8f0; }
html.fx-on[data-fx="contact"]   { --fx-a:#0284c7; --fx-b:#38bdf8; --fx-soft:#e0f2fe; }
html.fx-on[data-fx="account"]   { --fx-a:#334155; --fx-b:#6366f1; --fx-soft:#e0e7ff; }
html.fx-on[data-fx-topic="epi"] { --fx-a:#e11d48; --fx-b:#fb7185; --fx-soft:#ffe4e6; }
html.fx-on[data-fx-topic="hyg"] { --fx-a:#0891b2; --fx-b:#22d3ee; --fx-soft:#cffafe; }
html.fx-on[data-fx-topic="bac"] { --fx-a:#7c3aed; --fx-b:#22c55e; --fx-soft:#ede9fe; }

/* topic / sequence tints for cards */
html.fx-on .fx-t-epi  { --t-a:#e11d48; --t-b:#fb7185; --t-soft:#fff1f2; }
html.fx-on .fx-t-hyg  { --t-a:#0891b2; --t-b:#22d3ee; --t-soft:#ecfeff; }
html.fx-on .fx-t-bac  { --t-a:#7c3aed; --t-b:#22c55e; --t-soft:#f5f3ff; }
html.fx-on .fx-t-seq0 { --t-a:#0d9488; --t-b:#2dd4bf; --t-soft:#f0fdfa; }
html.fx-on .fx-t-seq1 { --t-a:#2563eb; --t-b:#60a5fa; --t-soft:#eff6ff; }
html.fx-on .fx-t-seq2 { --t-a:#c026d3; --t-b:#e879f9; --t-soft:#fdf4ff; }
html.fx-on .fx-t-seq3 { --t-a:#ea580c; --t-b:#fb923c; --t-soft:#fff7ed; }

/* ---------- canvas ---------- */
html.fx-on body { background: var(--fx-bg); color: var(--fx-ink); }
html.fx-on body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(900px 520px at 8% -8%, color-mix(in srgb, var(--fx-b) 22%, transparent), transparent 60%),
    radial-gradient(800px 600px at 100% 10%, color-mix(in srgb, var(--fx-a) 14%, transparent), transparent 60%),
    radial-gradient(700px 500px at 50% 110%, rgba(167, 139, 250, .12), transparent 60%),
    var(--fx-bg);
}
html.fx-on body::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(15, 40, 80, .09) 1px, transparent 1.2px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(180deg, #000 0, transparent 70%); mask-image: linear-gradient(180deg, #000 0, transparent 70%);
}
html.fx-on .pkp_structure_page, html.fx-on .pkp_structure_content { background: transparent; }
html.fx-on ::selection { background: color-mix(in srgb, var(--fx-b) 35%, white); }

/* ---------- header ---------- */
html.fx-on .pkp_structure_head {
  background: rgba(255, 255, 255, .72);
  -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--fx-line);
  position: relative;
}
html.fx-on .pkp_structure_head::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px;
  background: linear-gradient(90deg, #e11d48, #f59e0b, #10b981, #06b6d4, #6366f1, #a855f7, #e11d48);
  background-size: 300% 100%;
  animation: fx-flow 14s linear infinite;
  opacity: .9;
}
html.fx-on .pkp_site_name .is_img img { transition: transform .6s var(--fx-spring), filter .6s; }
html.fx-on .pkp_site_name .is_img:hover img { transform: scale(1.06); filter: drop-shadow(0 8px 18px color-mix(in srgb, var(--fx-a) 40%, transparent)); }

@media (min-width: 992px) {
  html.fx-on .pkp_navigation_primary_row {
    background: linear-gradient(120deg, #0b1b33 0%, #13294b 45%, color-mix(in srgb, var(--fx-a) 55%, #13294b) 100%) !important;
    border-radius: 16px;
    box-shadow: 0 14px 40px -18px rgba(11, 27, 51, .55), inset 0 1px 0 rgba(255, 255, 255, .08);
    position: relative; overflow: visible;
  }
  html.fx-on .pkp_navigation_primary_row::before {
    content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
    background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .10) 50%, transparent 70%);
    background-size: 250% 100%; animation: fx-sheen 7s ease-in-out infinite;
  }
  html.fx-on .pkp_navigation_primary > li > a {
    position: relative; border-radius: 10px; transition: background .3s, color .3s;
  }
  html.fx-on .pkp_navigation_primary > li > a::after {
    content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px; border-radius: 2px;
    background: linear-gradient(90deg, var(--fx-b), #fff);
    transform: scaleX(0); transform-origin: left; transition: transform .45s var(--fx-ease);
  }
  html.fx-on .pkp_navigation_primary > li > a:hover::after,
  html.fx-on .pkp_navigation_primary > li > a:focus::after { transform: scaleX(1); }
  html.fx-on .pkp_navigation_primary > li > a:hover { background: rgba(255, 255, 255, .08); }

  /* dropdown: unfolds like a lab slide — clip + lift + unblur, items cascade */
  html.fx-on .pkp_navigation_primary > li > ul {
    display: block !important; left: 0 !important; top: calc(100% + 10px) !important;
    min-width: 260px; padding: 10px !important; border: 1px solid var(--fx-line) !important;
    border-radius: 16px !important; background: rgba(255, 255, 255, .96) !important;
    -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    box-shadow: 0 30px 60px -20px rgba(11, 27, 51, .35), 0 0 0 1px rgba(255, 255, 255, .6) inset !important;
    opacity: 0; visibility: hidden; pointer-events: none;
    transform: translateY(-8px) scale(.97); filter: blur(6px);
    clip-path: inset(0 0 100% 0 round 16px);
    transition: opacity .35s var(--fx-ease), transform .5s var(--fx-spring), filter .4s, clip-path .55s var(--fx-ease), visibility 0s .55s;
    z-index: 1000;
  }
  html.fx-on .pkp_navigation_primary > li > ul::before {
    content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px;
  }
  html.fx-on .pkp_navigation_primary > li:hover > ul,
  html.fx-on .pkp_navigation_primary > li:focus-within > ul {
    opacity: 1; visibility: visible; pointer-events: auto; transform: none; filter: none;
    clip-path: inset(0 0 0 0 round 16px);
    transition: opacity .35s var(--fx-ease), transform .5s var(--fx-spring), filter .4s, clip-path .55s var(--fx-ease), visibility 0s;
  }
  html.fx-on .pkp_navigation_primary > li > ul > li { opacity: 0; transform: translateX(-10px); transition: opacity .4s, transform .5s var(--fx-ease); }
  html.fx-on .pkp_navigation_primary > li:hover > ul > li,
  html.fx-on .pkp_navigation_primary > li:focus-within > ul > li { opacity: 1; transform: none; }
  html.fx-on .pkp_navigation_primary > li > ul > li:nth-child(1) { transition-delay: .06s; }
  html.fx-on .pkp_navigation_primary > li > ul > li:nth-child(2) { transition-delay: .11s; }
  html.fx-on .pkp_navigation_primary > li > ul > li:nth-child(3) { transition-delay: .16s; }
  html.fx-on .pkp_navigation_primary > li > ul > li:nth-child(4) { transition-delay: .21s; }
  html.fx-on .pkp_navigation_primary > li > ul > li:nth-child(5) { transition-delay: .26s; }
  html.fx-on .pkp_navigation_primary > li > ul > li:nth-child(6) { transition-delay: .31s; }
  html.fx-on .pkp_navigation_primary > li > ul > li:nth-child(7) { transition-delay: .36s; }
  html.fx-on .pkp_navigation_primary > li > ul a {
    display: flex !important; align-items: center; gap: 10px;
    color: var(--fx-ink) !important; border-radius: 10px; padding: 10px 12px !important;
    border-left: 3px solid transparent; transition: background .25s, border-color .25s, padding .3s var(--fx-ease);
  }
  html.fx-on .pkp_navigation_primary > li > ul > li:nth-child(6n+1) a { --c: #0d9488; }
  html.fx-on .pkp_navigation_primary > li > ul > li:nth-child(6n+2) a { --c: #059669; }
  html.fx-on .pkp_navigation_primary > li > ul > li:nth-child(6n+3) a { --c: #7c3aed; }
  html.fx-on .pkp_navigation_primary > li > ul > li:nth-child(6n+4) a { --c: #e11d48; }
  html.fx-on .pkp_navigation_primary > li > ul > li:nth-child(6n+5) a { --c: #0284c7; }
  html.fx-on .pkp_navigation_primary > li > ul > li:nth-child(6n+6) a { --c: #d97706; }
  html.fx-on .pkp_navigation_primary > li > ul a::before {
    content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c); flex: none;
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 18%, transparent);
  }
  html.fx-on .pkp_navigation_primary > li > ul a:hover,
  html.fx-on .pkp_navigation_primary > li > ul a:focus {
    background: color-mix(in srgb, var(--c) 9%, white) !important; border-left-color: var(--c); padding-left: 16px !important;
  }
}

/* mobile menu */
@media (max-width: 991px) {
  html.fx-on .pkp_site_nav_menu {
    border-radius: 0 0 20px 20px; box-shadow: 0 30px 50px -25px rgba(11, 27, 51, .45);
    animation: fx-drop .55s var(--fx-ease) both;
  }
  html.fx-on .pkp_site_nav_menu li { animation: fx-slide-in .5s var(--fx-ease) both; }
  html.fx-on .pkp_site_nav_menu li:nth-child(2) { animation-delay: .04s; }
  html.fx-on .pkp_site_nav_menu li:nth-child(3) { animation-delay: .08s; }
  html.fx-on .pkp_site_nav_menu li:nth-child(4) { animation-delay: .12s; }
  html.fx-on .pkp_site_nav_menu li:nth-child(5) { animation-delay: .16s; }
  html.fx-on .pkp_site_nav_menu li:nth-child(6) { animation-delay: .2s; }
}

/* ---------- hero ---------- */
html.fx-on .fx-hero {
  position: relative; max-width: 1160px; margin: 26px auto 8px; padding: 46px 48px 40px;
  border-radius: 32px; overflow: hidden; isolation: isolate;
  background: linear-gradient(150deg, #ffffff 0%, #f1fbff 45%, #f6f3ff 100%);
  border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: 0 40px 80px -40px rgba(11, 27, 51, .35), 0 0 0 1px var(--fx-line);
}
html.fx-on .fx-hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
html.fx-on .fx-blob { position: absolute; border-radius: 50%; filter: blur(50px); opacity: .55; animation: fx-blob 18s ease-in-out infinite alternate; }
html.fx-on .fx-blob.b1 { width: 380px; height: 380px; left: -120px; top: -140px; background: #67e8f9; }
html.fx-on .fx-blob.b2 { width: 340px; height: 340px; right: -100px; top: 40px; background: #c4b5fd; animation-delay: -6s; }
html.fx-on .fx-blob.b3 { width: 300px; height: 300px; left: 35%; bottom: -200px; background: #fda4af; animation-delay: -11s; opacity: .35; }
html.fx-on .fx-grid {
  position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(37, 99, 235, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(37, 99, 235, .07) 1px, transparent 1px);
  background-size: 34px 34px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%); mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%);
}
html.fx-on .fx-hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: center; }
html.fx-on .fx-chip {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .8); border: 1px solid rgba(13, 148, 136, .25);
  color: #0f766e; font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  box-shadow: 0 6px 20px -10px rgba(13, 148, 136, .5);
  opacity: 0; transform: translateY(10px); transition: opacity .8s var(--fx-ease), transform .8s var(--fx-ease);
}
html.fx-on .fx-live .fx-chip { opacity: 1; transform: none; }
html.fx-on .fx-pulse { width: 8px; height: 8px; border-radius: 50%; background: #10b981; box-shadow: 0 0 0 0 rgba(16, 185, 129, .6); animation: fx-ping 2.2s infinite; }
html.fx-on .fx-hero-title {
  margin: 18px 0 14px !important; font-size: clamp(30px, 3.6vw, 50px) !important; line-height: 1.08 !important;
  font-weight: 800 !important; letter-spacing: -.02em; color: var(--fx-ink) !important;
}
html.fx-on .fx-hero-title .fx-w:nth-of-type(2) .fx-wi,
html.fx-on .fx-hero-title .fx-w:nth-last-of-type(-n+2) .fx-wi {
  background: linear-gradient(100deg, #0e7490, #06b6d4 40%, #7c3aed 80%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
html.fx-on .fx-hero-lead {
  max-width: 560px; font-size: 17px; line-height: 1.65; color: var(--fx-muted);
  opacity: 0; transform: translateY(14px); filter: blur(6px);
  transition: opacity 1s var(--fx-ease) .55s, transform 1s var(--fx-ease) .55s, filter 1s .55s;
}
html.fx-on .fx-live .fx-hero-lead { opacity: 1; transform: none; filter: none; }
html.fx-on .fx-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
html.fx-on .fx-hero-cta > * { opacity: 0; transform: translateY(14px); transition: opacity .8s var(--fx-ease), transform .8s var(--fx-spring); }
html.fx-on .fx-live .fx-hero-cta > * { opacity: 1; transform: none; }
html.fx-on .fx-live .fx-hero-cta > :nth-child(1) { transition-delay: .75s; }
html.fx-on .fx-live .fx-hero-cta > :nth-child(2) { transition-delay: .85s; }
html.fx-on .fx-live .fx-hero-cta > :nth-child(3) { transition-delay: .95s; }
html.fx-on .fx-btn {
  position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 14px;
  font-weight: 700; font-size: 15px; text-decoration: none !important; overflow: hidden; isolation: isolate;
  transition: transform .35s var(--fx-spring), box-shadow .35s, background .3s, color .3s;
}
html.fx-on .fx-btn svg { width: 18px; height: 18px; transition: transform .4s var(--fx-spring); }
html.fx-on .fx-btn:hover svg { transform: translateX(4px); }
html.fx-on .fx-btn-primary {
  color: #fff !important; background: linear-gradient(120deg, #0f766e, #0891b2 55%, #6366f1);
  box-shadow: 0 14px 30px -12px rgba(8, 145, 178, .7);
}
html.fx-on .fx-btn-primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, .45) 50%, transparent 80%);
  transform: translateX(-120%); transition: transform .9s var(--fx-ease);
}
html.fx-on .fx-btn-primary:hover::after { transform: translateX(120%); }
html.fx-on .fx-btn:hover { transform: translateY(-3px); }
html.fx-on .fx-btn-ghost { color: var(--fx-ink) !important; background: rgba(255, 255, 255, .8); border: 1px solid var(--fx-line); }
html.fx-on .fx-btn-ghost:hover { background: #fff; box-shadow: 0 12px 26px -16px rgba(11, 27, 51, .4); }

/* illustration */
html.fx-on .fx-hero-art { position: relative; transform: translate(var(--px, 0), var(--py, 0)); transition: transform .6s var(--fx-ease); }
html.fx-on .fx-art { width: 100%; height: auto; display: block; overflow: visible; }
html.fx-on .fx-art .fx-dish { transform-origin: 300px 235px; opacity: 0; transform: scale(.86); transition: opacity 1.2s var(--fx-ease) .2s, transform 1.4s var(--fx-spring) .2s; }
html.fx-on .fx-live .fx-art .fx-dish { opacity: 1; transform: none; }
html.fx-on .fx-art .fx-colonies circle { transform-box: fill-box; transform-origin: center; animation: fx-colony 4.8s ease-in-out infinite; }
html.fx-on .fx-art .fx-colonies circle:nth-child(3n) { animation-delay: -1.6s; }
html.fx-on .fx-art .fx-colonies circle:nth-child(3n+1) { animation-delay: -3.1s; }
html.fx-on .fx-art .fx-orbit { transform-origin: 300px 235px; animation: fx-orbit 40s linear infinite; }
html.fx-on .fx-art .fx-orbit2 { animation-duration: 60s; animation-direction: reverse; }
html.fx-on .fx-art .fx-dna-a, html.fx-on .fx-art .fx-dna-b { stroke-dasharray: 900; stroke-dashoffset: 900; transition: stroke-dashoffset 2.4s var(--fx-ease) .4s; }
html.fx-on .fx-live .fx-art .fx-dna-a, html.fx-on .fx-live .fx-art .fx-dna-b { stroke-dashoffset: 0; }
html.fx-on .fx-art .fx-dna { animation: fx-bob 7s ease-in-out infinite; }
html.fx-on .fx-art .fx-float { animation: fx-drift 9s ease-in-out infinite; }
html.fx-on .fx-art .fx-f2 { animation-duration: 11s; animation-delay: -3s; }
html.fx-on .fx-art .fx-f3 { animation-duration: 8s; animation-delay: -5s; }
html.fx-on .fx-art .fx-f4 { animation-duration: 12s; animation-delay: -2s; }
html.fx-on .fx-art .fx-f5 { animation-duration: 10s; animation-delay: -7s; }
html.fx-on .fx-art .fx-f6 { animation-duration: 9.5s; animation-delay: -4s; }
html.fx-on .fx-art .fx-spin { transform-box: fill-box; transform-origin: center; animation: fx-breathe 5s ease-in-out infinite; }
html.fx-on .fx-art .fx-flag { animation: fx-flag 1.6s ease-in-out infinite alternate; }
html.fx-on .fx-art .fx-sparks circle { animation: fx-twinkle 3s ease-in-out infinite; }
html.fx-on .fx-art .fx-sparks circle:nth-child(2) { animation-delay: -1s; }
html.fx-on .fx-art .fx-sparks circle:nth-child(3) { animation-delay: -2s; }

/* ---------- research directions (expandable) ---------- */
html.fx-on .fx-dirs-wrap { margin-top: 40px; }
html.fx-on .fx-dirs-title { font-size: 15px !important; text-transform: uppercase; letter-spacing: .12em; color: var(--fx-muted) !important; margin: 0 0 14px !important; font-weight: 800 !important; }
html.fx-on .fx-dirs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: start; }
html.fx-on .fx-dir {
  position: relative; border-radius: 22px; background: rgba(255, 255, 255, .9);
  border: 1px solid color-mix(in srgb, var(--t-a) 16%, transparent);
  box-shadow: 0 20px 40px -28px color-mix(in srgb, var(--t-a) 60%, transparent);
  transition: transform .5s var(--fx-spring), box-shadow .5s, border-color .4s; overflow: hidden;
}
html.fx-on .fx-dir::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .6s;
  background: radial-gradient(500px 220px at 0% 0%, color-mix(in srgb, var(--t-b) 22%, transparent), transparent 70%);
}
html.fx-on .fx-dir:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -26px color-mix(in srgb, var(--t-a) 70%, transparent); }
html.fx-on .fx-dir:hover::before, html.fx-on .fx-dir.fx-open::before { opacity: 1; }
html.fx-on .fx-dir.fx-open { border-color: color-mix(in srgb, var(--t-a) 45%, transparent); }
html.fx-on .fx-dir-head {
  all: unset; box-sizing: border-box; cursor: pointer; width: 100%; display: grid; grid-template-columns: 64px 1fr 34px; gap: 14px; align-items: center;
  padding: 18px 18px; position: relative; overflow: hidden;
}
html.fx-on .fx-dir-head:focus-visible { outline: 3px solid color-mix(in srgb, var(--t-a) 50%, transparent); outline-offset: -3px; border-radius: 22px; }
html.fx-on .fx-dir-icon {
  width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; color: var(--t-a);
  background: linear-gradient(145deg, var(--t-soft), #fff); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--t-a) 18%, transparent);
  transition: transform .6s var(--fx-spring);
}
html.fx-on .fx-dir:hover .fx-dir-icon, html.fx-on .fx-dir.fx-open .fx-dir-icon { transform: scale(1.08); }
html.fx-on .fx-ico { width: 52px; height: 52px; }
html.fx-on .fx-ico .fx-node { transform-box: fill-box; transform-origin: center; animation: fx-colony 3s ease-in-out infinite; }
html.fx-on .fx-ico .fx-node:nth-child(2) { animation-delay: -.8s; }
html.fx-on .fx-ico .fx-node:nth-child(3) { animation-delay: -1.6s; }
html.fx-on .fx-ico .fx-node:nth-child(4) { animation-delay: -2.4s; }
html.fx-on .fx-ico .fx-net line { stroke-dasharray: 4 5; animation: fx-dash 2.4s linear infinite; }
html.fx-on .fx-ico .fx-wave { animation: fx-wave 3s ease-in-out infinite; }
html.fx-on .fx-ico .fx-shine path { transform-box: fill-box; transform-origin: center; animation: fx-twinkle 2.6s ease-in-out infinite; }
html.fx-on .fx-ico .fx-bugs { transform-origin: 60px 62px; animation: fx-bob 4s ease-in-out infinite; }
html.fx-on .fx-ico .fx-spin { transform-box: fill-box; transform-origin: center; animation: fx-breathe 4s ease-in-out infinite; }
html.fx-on .fx-dir-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
html.fx-on .fx-dir-name { font-size: 19px; font-weight: 800; color: var(--fx-ink); letter-spacing: -.01em; }
html.fx-on .fx-dir-sub { font-size: 13.5px; color: var(--fx-muted); line-height: 1.35; }
html.fx-on .fx-dir-toggle {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: var(--t-a);
  background: var(--t-soft); transition: transform .6s var(--fx-spring), background .3s, color .3s;
}
html.fx-on .fx-dir-toggle svg { width: 18px; height: 18px; }
html.fx-on .fx-dir.fx-open .fx-dir-toggle { transform: rotate(180deg); background: var(--t-a); color: #fff; }
html.fx-on .fx-dir-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .7s var(--fx-ease); }
html.fx-on .fx-dir.fx-open .fx-dir-body { grid-template-rows: 1fr; }
html.fx-on .fx-dir-inner { overflow: hidden; padding: 0 20px; }
html.fx-on .fx-dir-inner > * { opacity: 0; transform: translateY(12px); filter: blur(4px); transition: opacity .5s, transform .6s var(--fx-ease), filter .5s; }
html.fx-on .fx-dir.fx-open .fx-dir-inner > * { opacity: 1; transform: none; filter: none; }
html.fx-on .fx-dir.fx-open .fx-dir-inner > p { transition-delay: .18s; }
html.fx-on .fx-dir.fx-open .fx-dir-inner > ul { transition-delay: .26s; }
html.fx-on .fx-dir.fx-open .fx-dir-inner > a { transition-delay: .5s; }
html.fx-on .fx-dir-inner > p { margin: 0 0 12px; color: var(--fx-muted); line-height: 1.6; font-size: 14.5px; border-top: 1px dashed color-mix(in srgb, var(--t-a) 25%, transparent); padding-top: 14px; }
html.fx-on .fx-dir-inner ul { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
html.fx-on .fx-dir-inner li {
  padding: 6px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 700; color: var(--t-a);
  background: var(--t-soft); border: 1px solid color-mix(in srgb, var(--t-a) 20%, transparent);
  opacity: 0; transform: scale(.8); transition: opacity .4s, transform .5s var(--fx-spring);
}
html.fx-on .fx-dir.fx-open .fx-dir-inner li { opacity: 1; transform: none; transition-delay: calc(.3s + var(--j) * .07s); }
html.fx-on .fx-dir-link { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 20px; font-weight: 800; font-size: 14px; color: var(--t-a) !important; text-decoration: none !important; }
html.fx-on .fx-dir-link svg { width: 16px; height: 16px; transition: transform .4s var(--fx-spring); }
html.fx-on .fx-dir-link:hover svg { transform: translateX(5px); }

/* click burst */
html.fx-on .fx-burst {
  position: absolute; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; pointer-events: none; z-index: 2;
  background: radial-gradient(circle, color-mix(in srgb, var(--t-b, var(--fx-b)) 55%, transparent) 0, transparent 70%);
  animation: fx-burst .85s var(--fx-ease) forwards;
}

/* ---------- word reveal (rise + unblur; no rotation) ---------- */
html.fx-on .fx-split .fx-w { display: inline-block; padding-bottom: .08em; }
html.fx-on .fx-split .fx-wi {
  display: inline-block; opacity: 0; transform: translateY(.45em); filter: blur(10px);
  transition: opacity .9s var(--fx-ease), transform 1s var(--fx-ease), filter .9s var(--fx-ease);
  transition-delay: calc(var(--i, 0) * 75ms + 80ms);
}
html.fx-on .fx-split.fx-in .fx-wi { opacity: 1; transform: none; filter: none; }

/* ---------- scroll reveal ---------- */
html.fx-on .fx-reveal:not(.fx-split) { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--fx-ease), transform 1s var(--fx-ease); transition-delay: var(--d, 0ms); }
html.fx-on .fx-reveal.fx-in:not(.fx-split) { opacity: 1; transform: none; }

/* ---------- home panels ---------- */
html.fx-on .page_index_journal > section.fx-panel {
  position: relative; border-radius: var(--fx-r); padding: 30px 32px !important; margin-bottom: 26px !important;
  background: var(--fx-card) !important; border: 1px solid var(--fx-line) !important;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 24px 50px -36px rgba(11, 27, 51, .45) !important; overflow: hidden;
}
html.fx-on .page_index_journal > section.fx-panel::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: linear-gradient(180deg, var(--p-a), var(--p-b));
}
html.fx-on .page_index_journal > section.fx-panel::after {
  content: ""; position: absolute; right: -40px; top: -40px; width: 200px; height: 200px; pointer-events: none; opacity: .12;
  background: var(--p-a);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cg fill='black'%3E%3Ccircle cx='50' cy='50' r='16'/%3E%3Ccircle cx='50' cy='18' r='5'/%3E%3Ccircle cx='50' cy='82' r='5'/%3E%3Ccircle cx='18' cy='50' r='5'/%3E%3Ccircle cx='82' cy='50' r='5'/%3E%3Ccircle cx='27' cy='27' r='5'/%3E%3Ccircle cx='73' cy='73' r='5'/%3E%3Ccircle cx='73' cy='27' r='5'/%3E%3Ccircle cx='27' cy='73' r='5'/%3E%3C/g%3E%3Cg stroke='black' stroke-width='3'%3E%3Cline x1='50' y1='34' x2='50' y2='23'/%3E%3Cline x1='50' y1='66' x2='50' y2='77'/%3E%3Cline x1='34' y1='50' x2='23' y2='50'/%3E%3Cline x1='66' y1='50' x2='77' y2='50'/%3E%3Cline x1='39' y1='39' x2='31' y2='31'/%3E%3Cline x1='61' y1='61' x2='69' y2='69'/%3E%3Cline x1='61' y1='39' x2='69' y2='31'/%3E%3Cline x1='39' y1='61' x2='31' y2='69'/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cg fill='black'%3E%3Ccircle cx='50' cy='50' r='16'/%3E%3Ccircle cx='50' cy='18' r='5'/%3E%3Ccircle cx='50' cy='82' r='5'/%3E%3Ccircle cx='18' cy='50' r='5'/%3E%3Ccircle cx='82' cy='50' r='5'/%3E%3Ccircle cx='27' cy='27' r='5'/%3E%3Ccircle cx='73' cy='73' r='5'/%3E%3Ccircle cx='73' cy='27' r='5'/%3E%3Ccircle cx='27' cy='73' r='5'/%3E%3C/g%3E%3Cg stroke='black' stroke-width='3'%3E%3Cline x1='50' y1='34' x2='50' y2='23'/%3E%3Cline x1='50' y1='66' x2='50' y2='77'/%3E%3Cline x1='34' y1='50' x2='23' y2='50'/%3E%3Cline x1='66' y1='50' x2='77' y2='50'/%3E%3Cline x1='39' y1='39' x2='31' y2='31'/%3E%3Cline x1='61' y1='61' x2='69' y2='69'/%3E%3Cline x1='61' y1='39' x2='69' y2='31'/%3E%3Cline x1='39' y1='61' x2='31' y2='69'/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat;
  animation: fx-orbit 60s linear infinite;
}
html.fx-on .page_index_journal > section.homepage_about { --p-a:#0d9488; --p-b:#06b6d4; }
html.fx-on .page_index_journal > section.cmp_announcements { --p-a:#d97706; --p-b:#fbbf24; }
html.fx-on .page_index_journal > section.current_issue { --p-a:#2563eb; --p-b:#a855f7; }
html.fx-on .page_index_journal > section.additional_content { --p-a:#e11d48; --p-b:#fb7185; }
html.fx-on .page_index_journal > section > h2 {
  position: relative; display: inline-block; font-weight: 800 !important; letter-spacing: -.01em; color: var(--fx-ink) !important;
  padding-bottom: 8px; margin-bottom: 18px !important;
}
html.fx-on .page_index_journal > section > h2::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 4px; width: 100%; border-radius: 4px;
  background: linear-gradient(90deg, var(--p-a), var(--p-b)); transform: scaleX(0); transform-origin: left;
  transition: transform 1.1s var(--fx-ease) .3s;
}
html.fx-on .page_index_journal > section > h2.fx-in::after { transform: scaleX(1); }

/* announcements */
html.fx-on .obj_announcement_summary {
  --t-a: #d97706; --t-b: #fbbf24; --t-soft: #fffbeb;
  position: relative; border-radius: 18px; padding: 20px 22px !important; margin: 0 0 14px !important;
  background: linear-gradient(135deg, #fffdf7, #fff) !important; border: 1px solid rgba(217, 119, 6, .16) !important;
  transition: transform .45s var(--fx-spring), box-shadow .45s, border-color .3s; overflow: hidden;
}
html.fx-on .obj_announcement_summary:hover { transform: translateY(-3px); box-shadow: 0 22px 40px -28px rgba(217, 119, 6, .6); }
html.fx-on .obj_announcement_summary.fx-open { border-color: rgba(217, 119, 6, .45) !important; box-shadow: 0 26px 50px -30px rgba(217, 119, 6, .7); }
html.fx-on .obj_announcement_summary .date {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px;
  background: #fef3c7; color: #92400e; font-size: 12.5px; font-weight: 700;
}
html.fx-on .obj_announcement_summary a.read_more {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 8px 14px; border-radius: 10px;
  background: #fff7ed; color: #b45309 !important; font-weight: 800; text-decoration: none !important;
  border: 1px solid rgba(217, 119, 6, .25); transition: background .3s, transform .35s var(--fx-spring);
}
html.fx-on .obj_announcement_summary a.read_more:hover { background: #ffedd5; transform: translateY(-2px); }
html.fx-on .fx-ann-more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .75s var(--fx-ease); }
html.fx-on .fx-open > .summary > .fx-ann-more, html.fx-on .fx-open .fx-ann-more { grid-template-rows: 1fr; }
html.fx-on .fx-ann-inner { overflow: hidden; }
html.fx-on .fx-ann-inner > * {
  opacity: 0; transform: translateY(12px); filter: blur(4px);
  transition: opacity .55s, transform .65s var(--fx-ease), filter .55s; transition-delay: calc(.12s + var(--j, 0) * 40ms);
}
html.fx-on .fx-open .fx-ann-inner > * { opacity: 1; transform: none; filter: none; }
html.fx-on .fx-ann-inner > :first-child { margin-top: 14px; padding-top: 14px; border-top: 1px dashed rgba(217, 119, 6, .3); }
html.fx-on .fx-loading { color: #b45309; animation: fx-twinkle 1.2s ease-in-out infinite; }

/* ---------- issue TOC & article cards ---------- */
html.fx-on .obj_issue_toc .cover img { border-radius: 14px; box-shadow: 0 24px 40px -24px rgba(11, 27, 51, .55); transition: transform .6s var(--fx-spring); }
html.fx-on .obj_issue_toc .cover:hover img { transform: translateY(-4px) scale(1.02); }
html.fx-on .obj_galley_link {
  border-radius: 12px !important; border-color: color-mix(in srgb, var(--fx-a) 40%, transparent) !important; color: var(--fx-a) !important;
  transition: background .3s, color .3s, transform .35s var(--fx-spring) !important;
}
html.fx-on .obj_galley_link:hover { background: var(--fx-a) !important; color: #fff !important; transform: translateY(-2px); }
html.fx-on .fx-acc { margin-top: 18px; }
html.fx-on .fx-acc > h2, html.fx-on .fx-acc > h3 { margin: 0 0 6px !important; padding: 0 !important; border: 0 !important; }
html.fx-on .fx-acc-btn {
  all: unset; box-sizing: border-box; cursor: pointer; width: 100%; display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; border-radius: 14px; position: relative; overflow: hidden;
  background: linear-gradient(90deg, var(--t-soft), #fff); border: 1px solid color-mix(in srgb, var(--t-a) 22%, transparent);
  font-weight: 800; font-size: 16px; color: var(--fx-ink); transition: box-shadow .4s, border-color .3s;
}
html.fx-on .fx-acc-btn:hover { box-shadow: 0 14px 30px -20px color-mix(in srgb, var(--t-a) 80%, transparent); }
html.fx-on .fx-acc-btn:focus-visible { outline: 3px solid color-mix(in srgb, var(--t-a) 45%, transparent); outline-offset: 2px; }
html.fx-on .fx-acc-dot { width: 12px; height: 12px; border-radius: 50%; background: linear-gradient(135deg, var(--t-a), var(--t-b)); box-shadow: 0 0 0 5px color-mix(in srgb, var(--t-a) 15%, transparent); flex: none; }
html.fx-on .fx-acc-label { flex: 1; }
html.fx-on .fx-acc-count { font-size: 12px; font-weight: 800; color: var(--t-a); background: #fff; border: 1px solid color-mix(in srgb, var(--t-a) 25%, transparent); border-radius: 999px; padding: 3px 9px; }
html.fx-on .fx-acc-chev { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; color: var(--t-a); transition: transform .6s var(--fx-spring), background .3s, color .3s; }
html.fx-on .fx-acc-chev svg { width: 18px; height: 18px; }
html.fx-on .fx-acc.fx-open .fx-acc-chev { transform: rotate(180deg); background: var(--t-a); color: #fff; }
html.fx-on .fx-acc-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .75s var(--fx-ease); }
html.fx-on .fx-acc.fx-open .fx-acc-body { grid-template-rows: 1fr; }
html.fx-on .fx-acc-inner { overflow: hidden; }
html.fx-on .fx-acc-inner > ul { transition: opacity .5s, transform .6s var(--fx-ease); }
html.fx-on .fx-acc:not(.fx-open) .fx-acc-inner > ul { opacity: 0; transform: translateY(-10px); }
html.fx-on .obj_article_summary {
  --t-a: var(--fx-a); --t-b: var(--fx-b);
  position: relative; overflow: hidden;
  transition: transform .45s var(--fx-spring), box-shadow .45s, border-color .3s;
}
html.fx-on .obj_article_summary .fx-none-bar {
  content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 4px; border-radius: 4px;
  background: linear-gradient(180deg, var(--t-a), var(--t-b)); transition: top .45s var(--fx-ease), bottom .45s var(--fx-ease);
}
html.fx-on .obj_article_summary:hover { transform: translateX(4px); border-color: color-mix(in srgb, var(--t-a) 30%, transparent); box-shadow: 0 18px 34px -26px color-mix(in srgb, var(--t-a) 70%, transparent); }
html.fx-on .obj_article_summary:hover .fx-none-bar { top: 0; bottom: 0; }
html.fx-on .obj_article_summary .title a { color: var(--fx-ink) !important; transition: color .25s; }
html.fx-on .obj_article_summary .title a:hover { color: var(--t-a) !important; }

/* ---------- inner pages ---------- */
html.fx-on .fx-page-title {
  position: relative; font-weight: 800 !important; letter-spacing: -.015em; color: var(--fx-ink) !important;
  padding: 26px 28px 26px 30px !important; margin: 0 0 26px !important; border-radius: 22px; overflow: hidden; isolation: isolate;
  background: linear-gradient(120deg, var(--fx-soft), #fff 70%);
  border: 1px solid color-mix(in srgb, var(--fx-a) 18%, transparent);
  box-shadow: 0 24px 50px -36px color-mix(in srgb, var(--fx-a) 70%, transparent);
}
html.fx-on .fx-page-title::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: linear-gradient(180deg, var(--fx-a), var(--fx-b)); }
html.fx-on .fx-page-title::after {
  content: ""; position: absolute; right: 18px; top: 50%; width: 120px; height: 120px; margin-top: -60px; z-index: -1; opacity: .22;
  background: linear-gradient(135deg, var(--fx-a), var(--fx-b));
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='black' stroke-width='4'%3E%3Cpath d='M20 10c40 20 40 40 0 60s-40 40 0 60'/%3E%3Cpath d='M60 10c-40 20-40 40 0 60s40 40 0 60'/%3E%3C/g%3E%3Cg stroke='black' stroke-width='3'%3E%3Cline x1='24' y1='25' x2='56' y2='25'/%3E%3Cline x1='26' y1='55' x2='54' y2='55'/%3E%3Cline x1='24' y1='85' x2='56' y2='85'/%3E%3C/g%3E%3Ccircle cx='92' cy='40' r='14' fill='black'/%3E%3Ccircle cx='100' cy='88' r='9' fill='black'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='black' stroke-width='4'%3E%3Cpath d='M20 10c40 20 40 40 0 60s-40 40 0 60'/%3E%3Cpath d='M60 10c-40 20-40 40 0 60s40 40 0 60'/%3E%3C/g%3E%3Cg stroke='black' stroke-width='3'%3E%3Cline x1='24' y1='25' x2='56' y2='25'/%3E%3Cline x1='26' y1='55' x2='54' y2='55'/%3E%3Cline x1='24' y1='85' x2='56' y2='85'/%3E%3C/g%3E%3Ccircle cx='92' cy='40' r='14' fill='black'/%3E%3Ccircle cx='100' cy='88' r='9' fill='black'/%3E%3C/svg%3E") center/contain no-repeat;
  animation: fx-bob 6s ease-in-out infinite;
}
html.fx-on .pkp_structure_main .page > h2 { color: var(--fx-a) !important; font-weight: 800 !important; }
html.fx-on .pkp_structure_main a:not(.fx-btn):not(.obj_galley_link):not(.read_more):not(.fx-dir-link) { text-decoration-color: color-mix(in srgb, var(--fx-a) 40%, transparent); text-underline-offset: 3px; }
html.fx-on .page_article .main_entry, html.fx-on .page_article .entry_details {
  border-radius: 20px; background: var(--fx-card); border: 1px solid var(--fx-line); padding: 24px !important;
}
html.fx-on .page_article .entry_details .item { border-color: var(--fx-line) !important; }
html.fx-on .page_article .item.abstract { border-left: 4px solid var(--fx-a); padding-left: 18px !important; }

/* sidebar CTA */
html.fx-on .block_make_submission_link {
  position: relative; overflow: hidden; isolation: isolate; border-radius: 14px !important;
  background: linear-gradient(120deg, #059669, #0891b2) !important; color: #fff !important; border: 0 !important;
  box-shadow: 0 16px 30px -16px rgba(5, 150, 105, .75); transition: transform .4s var(--fx-spring), box-shadow .4s;
}
html.fx-on .block_make_submission_link::after {
  content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, .4) 50%, transparent 80%);
  transform: translateX(-120%); animation: fx-cta 4.5s ease-in-out infinite;
}
html.fx-on .block_make_submission_link:hover { transform: translateY(-3px) scale(1.02); }
html.fx-on .pkp_structure_sidebar .pkp_block { border-radius: 18px; }

/* footer */
html.fx-on .pkp_structure_footer_wrapper {
  position: relative; margin-top: 50px; background: linear-gradient(160deg, #0b1b33, #10284a 55%, #1e1b4b) !important; color: #cbd5e1;
}
html.fx-on .pkp_structure_footer_wrapper::before {
  content: ""; position: absolute; left: 0; right: 0; top: -38px; height: 40px; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 40' preserveAspectRatio='none'%3E%3Cpath d='M0 40 C200 0 400 0 600 20 S1000 40 1200 8 V40Z' fill='%230b1b33'/%3E%3C/svg%3E") bottom/100% 100% no-repeat;
}
html.fx-on .pkp_structure_footer_wrapper::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(148, 163, 184, .18) 1px, transparent 1.3px); background-size: 22px 22px;
}
html.fx-on .pkp_structure_footer_wrapper .pkp_structure_footer { position: relative; z-index: 1; }
html.fx-on .pkp_structure_footer_wrapper :is(p, li, span, div, h2, h3, strong) { color: #cbd5e1 !important; }
html.fx-on .pkp_structure_footer_wrapper a { color: #e2e8f0 !important; }
html.fx-on .pkp_structure_footer_wrapper a:hover { color: #67e8f9 !important; }
html.fx-on .pkp_brand_footer img { filter: brightness(0) invert(1); opacity: .7; }

/* ---------- keyframes ---------- */
@keyframes fx-flow { to { background-position: 300% 0; } }
@keyframes fx-sheen { 0%, 60% { background-position: 150% 0; } 100% { background-position: -100% 0; } }
@keyframes fx-blob { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(40px, 30px) scale(1.15); } }
@keyframes fx-ping { 0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, .55); } 80%, 100% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); } }
@keyframes fx-colony { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.18); } }
@keyframes fx-orbit { to { transform: rotate(360deg); } }
@keyframes fx-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes fx-drift { 0%, 100% { translate: 0 0; } 33% { translate: 10px -14px; } 66% { translate: -8px 8px; } }
@keyframes fx-breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }
@keyframes fx-flag { to { d: path("M-38 0 q-14 10 -26 0 t-26 0"); } }
@keyframes fx-twinkle { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
@keyframes fx-dash { to { stroke-dashoffset: -18; } }
@keyframes fx-wave { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(-4px); } }
@keyframes fx-burst { 0% { transform: scale(0); opacity: .9; } 100% { transform: scale(26); opacity: 0; } }
@keyframes fx-cta { 0%, 55% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
@keyframes fx-drop { from { clip-path: inset(0 0 100% 0); opacity: .4; } to { clip-path: inset(0 0 0 0); opacity: 1; } }
@keyframes fx-slide-in { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }

/* ---------- responsive ---------- */
@media (max-width: 1199px) { html.fx-on .fx-hero { margin: 18px 16px 6px; } }
@media (max-width: 900px) {
  html.fx-on .fx-hero { padding: 30px 22px 26px; border-radius: 24px; }
  html.fx-on .fx-hero-inner { grid-template-columns: 1fr; }
  html.fx-on .fx-hero-art { max-width: 420px; margin: 0 auto; order: -1; }
  html.fx-on .fx-dirs { grid-template-columns: 1fr; }
  html.fx-on .page_index_journal > section.fx-panel { padding: 22px 20px !important; }
  html.fx-on .fx-page-title { padding: 20px 20px 20px 22px !important; }
  html.fx-on .fx-page-title::after { width: 80px; height: 80px; margin-top: -40px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html.fx-on *, html.fx-on *::before, html.fx-on *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  html.fx-on .fx-reveal, html.fx-on .fx-split .fx-wi, html.fx-on .fx-hero-lead, html.fx-on .fx-chip, html.fx-on .fx-hero-cta > *, html.fx-on .fx-art .fx-dish { opacity: 1 !important; transform: none !important; filter: none !important; }
  html.fx-on .fx-art .fx-dna-a, html.fx-on .fx-art .fx-dna-b { stroke-dashoffset: 0 !important; }
}

/* ---------- fixes after live check ---------- */
html.fx-on .pkp_structure_head { position: relative; z-index: 100; }
html.fx-on .fx-hero { z-index: 1; }
html.fx-on .page_index_journal > section > h2 { position: relative !important; }
html.fx-on .page_index_journal > section.fx-panel::before { height: auto !important; right: auto !important; z-index: 1; }
html.fx-on .obj_announcement_summary a.read_more,
html.fx-on .obj_announcement_summary a.read_more:hover { background: #fff7ed !important; color: #b45309 !important; }
html.fx-on .obj_announcement_summary a.read_more:hover { background: #ffedd5 !important; }
html.fx-on .obj_announcement_summary a.read_more * { color: inherit !important; }
html.fx-on .obj_galley_link { background: #fff !important; }
html.fx-on .obj_galley_link:hover { background: var(--fx-a) !important; color: #fff !important; }
html.fx-on .obj_galley_link::before { color: inherit !important; }
html.fx-on .fx-ann-inner p { margin: 0 0 10px; }

/* fixes 2 */
html.fx-on .fx-acc > h2, html.fx-on .fx-acc > h3 { display: block !important; width: 100% !important; }
html.fx-on .obj_article_summary .fx-none-bar { display: block !important; height: auto !important; }
html.fx-on .obj_article_summary.fx-t-epi { --t-a:#e11d48; --t-b:#fb7185; }
html.fx-on .obj_article_summary.fx-t-hyg { --t-a:#0891b2; --t-b:#22d3ee; }
html.fx-on .obj_article_summary.fx-t-bac { --t-a:#7c3aed; --t-b:#22c55e; }
html.fx-on .obj_article_summary.fx-t-seq0 { --t-a:#0d9488; --t-b:#2dd4bf; }
html.fx-on .obj_article_summary.fx-t-seq1 { --t-a:#2563eb; --t-b:#60a5fa; }
html.fx-on .obj_article_summary.fx-t-seq2 { --t-a:#c026d3; --t-b:#e879f9; }
html.fx-on .obj_article_summary.fx-t-seq3 { --t-a:#ea580c; --t-b:#fb923c; }

/* fixes 3: keep site numbering, accent via inset bar */
html.fx-on .obj_article_summary { box-shadow: inset 4px 0 0 var(--t-a); }
html.fx-on .obj_article_summary:hover { box-shadow: inset 6px 0 0 var(--t-a), 0 18px 34px -26px color-mix(in srgb, var(--t-a) 70%, transparent); }


/* ===== SanEpid FX 2 ===== */
/* letters forming from scientific symbols */
html.fx-on .fx-ch { display: inline; }
html.fx-on .fx-ch.fx-glyph { position: relative; color: transparent !important; -webkit-text-fill-color: transparent !important; }
html.fx-on .fx-ch.fx-glyph::after {
  content: attr(data-g); position: absolute; left: 50%; bottom: .08em; transform: translateX(-50%);
  color: var(--fx-a); -webkit-text-fill-color: var(--fx-a); font: 600 .72em/1 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  text-shadow: 0 0 10px color-mix(in srgb, var(--fx-b) 75%, transparent); pointer-events: none;
}
html.fx-on .fx-ch.fx-set { animation: fx-settle .5s cubic-bezier(.2,.8,.2,1) both; }
@keyframes fx-settle { from { text-shadow: 0 0 14px color-mix(in srgb, var(--fx-b) 80%, transparent); } to { text-shadow: none; } }

/* living lab canvas */
html.fx-on .fx-lab { position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .9; }

/* pipette progress */
html.fx-on .fx-progress { position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 10000; pointer-events: none; background: transparent; }
html.fx-on .fx-progress span {
  display: block; height: 100%; transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, var(--fx-a), var(--fx-b), #a855f7);
  box-shadow: 0 0 10px color-mix(in srgb, var(--fx-b) 70%, transparent);
}

/* microscope-lens spotlight */
html.fx-on .fx-spot {
  position: absolute; inset: 0; pointer-events: none; border-radius: inherit; z-index: 0; opacity: 0;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--t-b, var(--fx-b)) 16%, transparent), transparent 65%);
  transition: opacity .35s;
}
html.fx-on :hover > .fx-spot { opacity: 1; }

/* heartbeat line inside page titles */
html.fx-on .fx-ecg { position: absolute; left: 30px; right: 150px; bottom: 6px; height: 22px; color: var(--fx-a); opacity: .35; pointer-events: none; z-index: -1; }
html.fx-on .fx-ecg svg { width: 100%; height: 100%; display: block; }
html.fx-on .fx-ecg path { stroke-dasharray: 700; stroke-dashoffset: 700; animation: fx-ecg 4.5s linear infinite; }
@keyframes fx-ecg { 0% { stroke-dashoffset: 700; } 70% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -700; } }

/* inner-page headings get an animated science chip */
html.fx-on .fx-sci-head { display: flex !important; align-items: center; gap: 12px; }
html.fx-on .fx-chipico {
  flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center;
  color: var(--fx-a); background: linear-gradient(145deg, var(--fx-soft), #fff);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fx-a) 22%, transparent), 0 8px 18px -12px color-mix(in srgb, var(--fx-a) 70%, transparent);
  position: relative; overflow: hidden;
}
html.fx-on .fx-chipico svg { width: 22px; height: 22px; animation: fx-chip 5s ease-in-out infinite; }
html.fx-on .fx-chipico::after {
  content: ""; position: absolute; inset: -40%; background: conic-gradient(from 0deg, transparent 0 80%, color-mix(in srgb, var(--fx-b) 45%, transparent) 90%, transparent 100%);
  animation: fx-orbit 6s linear infinite; mix-blend-mode: multiply;
}
@keyframes fx-chip { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-2px) scale(1.06); } }

/* content blocks as soft lab cards */
html.fx-on .pkp_structure_main .fx-card {
  position: relative; border-radius: 18px; padding: 20px 22px !important; margin: 0 0 18px !important;
  background: linear-gradient(160deg, rgba(255,255,255,.95), color-mix(in srgb, var(--fx-soft) 35%, white)) !important;
  border: 1px solid color-mix(in srgb, var(--fx-a) 14%, transparent) !important;
  box-shadow: 0 18px 40px -32px color-mix(in srgb, var(--fx-a) 70%, transparent);
  transition: transform .45s cubic-bezier(.34,1.56,.64,1), box-shadow .45s;
}
html.fx-on .pkp_structure_main .fx-card:hover { transform: translateY(-3px); box-shadow: 0 26px 50px -30px color-mix(in srgb, var(--fx-a) 75%, transparent); }

/* list bullets become tiny cells */
html.fx-on .fx-li { list-style: none; position: relative; padding-left: 22px; }
html.fx-on .fx-li::before {
  content: ""; position: absolute; left: 2px; top: .62em; width: 9px; height: 9px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff 0 18%, var(--fx-b) 20%, var(--fx-a) 100%);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--fx-a) 14%, transparent);
  animation: fx-cell 3.5s ease-in-out infinite;
}
html.fx-on .fx-li:nth-child(2n)::before { animation-delay: -1.2s; }
html.fx-on .fx-li:nth-child(3n)::before { animation-delay: -2.3s; }
@keyframes fx-cell { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.25); } }

/* DNA divider between homepage panels */
html.fx-on .fx-divider { height: 30px; margin: -8px 0 18px; opacity: .55; }
html.fx-on .fx-divider svg { width: 100%; height: 100%; overflow: visible; }
html.fx-on .fx-divider path { fill: none; stroke-width: 2; stroke-dasharray: 6 8; animation: fx-dash2 3s linear infinite; }
html.fx-on .fx-divider path.a { stroke: var(--fx-a); }
html.fx-on .fx-divider path.b { stroke: #a855f7; animation-direction: reverse; }
@keyframes fx-dash2 { to { stroke-dashoffset: -56; } }

/* tables in content */
html.fx-on .pkp_structure_main .page table { border-collapse: separate; border-spacing: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--fx-line); }
html.fx-on .pkp_structure_main .page th { background: linear-gradient(90deg, var(--fx-a), var(--fx-b)); color: #fff; }
html.fx-on .pkp_structure_main .page tr:nth-child(even) td { background: color-mix(in srgb, var(--fx-soft) 40%, white); }

@media (prefers-reduced-motion: reduce) {
  html.fx-on .fx-lab, html.fx-on .fx-spot { display: none !important; }
}
@media (max-width: 700px) { html.fx-on .fx-ecg { right: 20px; } html.fx-on .fx-chipico { width: 32px; height: 32px; } }

html.fx-on .fx-wi.fx-decoding { background: none !important; color: var(--fx-ink) !important; -webkit-text-fill-color: var(--fx-ink) !important; }
html.fx-on .fx-wi.fx-decoding .fx-ch.fx-glyph { -webkit-text-fill-color: transparent !important; }

/* ===== SanEpid FX 3: designer scientific backgrounds ===== */
html.fx-on .fx-bgart { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
/* aurora light in section colours */
html.fx-on .fx-aurora { position: absolute; inset: -20%; filter: blur(70px); opacity: .55; }
html.fx-on .fx-aurora i { position: absolute; border-radius: 50%; display: block; animation: fx-aur 26s ease-in-out infinite alternate; }
html.fx-on .fx-aurora .a1 { width: 46vw; height: 46vw; left: 2%; top: 4%; background: radial-gradient(circle, color-mix(in srgb, var(--fx-b) 55%, transparent), transparent 65%); }
html.fx-on .fx-aurora .a2 { width: 40vw; height: 40vw; right: 0; top: 30%; background: radial-gradient(circle, color-mix(in srgb, var(--fx-a) 40%, transparent), transparent 65%); animation-delay: -9s; }
html.fx-on .fx-aurora .a3 { width: 36vw; height: 36vw; left: 30%; bottom: -6%; background: radial-gradient(circle, rgba(168, 85, 247, .30), transparent 65%); animation-delay: -17s; }
@keyframes fx-aur { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(6vw, -4vh) scale(1.12); } 100% { transform: translate(-4vw, 5vh) scale(.95); } }

/* blueprint grid with measurement ticks */
html.fx-on .fx-bg-grid {
  position: absolute; inset: 0; opacity: .55;
  background-image:
    linear-gradient(color-mix(in srgb, var(--fx-a) 9%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--fx-a) 9%, transparent) 1px, transparent 1px),
    linear-gradient(color-mix(in srgb, var(--fx-a) 5%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--fx-a) 5%, transparent) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 0%, transparent 80%); mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 0%, transparent 80%);
}

/* floating layers (parallax via --py) */
html.fx-on .fx-layer { position: absolute; transform: translate3d(0, var(--py, 0), 0); color: var(--fx-a); }
html.fx-on .fx-layer svg { display: block; width: 100%; height: 100%; overflow: visible; }
html.fx-on .fx-l-hex { right: -60px; top: 90px; width: 460px; height: 400px; opacity: .14; transform: translate3d(0, var(--py, 0), 0) rotate(-8deg); }
html.fx-on .fx-l-helix { left: max(8px, calc(50% - 760px)); top: 120px; width: 90px; height: 1400px; opacity: .2; }
html.fx-on .fx-l-sig { right: max(10px, calc(50% - 790px)); bottom: 6vh; width: 360px; height: 360px; opacity: .2; }
html.fx-on .fx-l-scope { left: max(-80px, calc(50% - 900px)); bottom: -120px; width: 420px; height: 420px; opacity: .12; }

/* hex lattice */
html.fx-on .fx-bg-hex polygon { fill: none; stroke: currentColor; stroke-width: 1.6; }
html.fx-on .fx-bg-hex .ring { fill: none; stroke: currentColor; stroke-width: 1.2; stroke-dasharray: 3 4; }
html.fx-on .fx-bg-hex .atom { fill: currentColor; animation: fx-atom 4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes fx-atom { 0%, 100% { transform: scale(1); opacity: .7; } 50% { transform: scale(1.5); opacity: 1; } }

/* helix */
html.fx-on .fx-bg-helix path { fill: none; stroke-width: 3; stroke-linecap: round; }
html.fx-on .fx-bg-helix .s1 { stroke: var(--fx-a); stroke-dasharray: 14 10; animation: fx-flowdash 6s linear infinite; }
html.fx-on .fx-bg-helix .s2 { stroke: #a855f7; stroke-dasharray: 14 10; animation: fx-flowdash 6s linear infinite reverse; }
html.fx-on .fx-bg-helix .rg line { stroke: var(--fx-b); stroke-width: 2; opacity: .7; }
@keyframes fx-flowdash { to { stroke-dashoffset: -240; } }

/* microscope field */
html.fx-on .fx-bg-scope .rim { fill: none; stroke: currentColor; stroke-width: 6; opacity: .6; }
html.fx-on .fx-bg-scope .lens { fill: color-mix(in srgb, var(--fx-soft) 60%, transparent); stroke: currentColor; stroke-width: 1; }
html.fx-on .fx-bg-scope .cell ellipse { fill: color-mix(in srgb, var(--fx-b) 30%, transparent); stroke: currentColor; stroke-width: 1.4; }
html.fx-on .fx-bg-scope .cell .nuc { fill: currentColor; opacity: .55; }
html.fx-on .fx-bg-scope .cell { animation: fx-cellmove 9s ease-in-out infinite; animation-delay: var(--cd, 0s); }
@keyframes fx-cellmove { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(6px, -5px); } }
html.fx-on .fx-bg-scope .ret line, html.fx-on .fx-bg-scope .ret circle { fill: none; stroke: currentColor; stroke-width: 1; stroke-dasharray: 4 6; opacity: .7; }
html.fx-on .fx-bg-scope .ticks line { stroke: currentColor; stroke-width: 1.5; }

/* signatures */
html.fx-on .fx-bg-sig { color: var(--fx-a); }
html.fx-on .fx-sig-net line { stroke: currentColor; stroke-width: 1.6; stroke-dasharray: 5 6; animation: fx-flowdash 8s linear infinite; }
html.fx-on .fx-sig-net circle { fill: currentColor; animation: fx-atom 3.2s ease-in-out infinite; animation-delay: var(--nd, 0s); transform-box: fill-box; transform-origin: center; }
html.fx-on .fx-sig-ripple circle { fill: none; stroke: currentColor; stroke-width: 1.6; transform-box: fill-box; transform-origin: center; animation: fx-ripple 6s ease-out infinite; }
html.fx-on .fx-sig-ripple circle:nth-child(2) { animation-delay: -1.5s; }
html.fx-on .fx-sig-ripple circle:nth-child(3) { animation-delay: -3s; }
html.fx-on .fx-sig-ripple circle:nth-child(4) { animation-delay: -4.5s; }
html.fx-on .fx-sig-ripple .drop { fill: color-mix(in srgb, var(--fx-b) 40%, transparent); stroke: currentColor; stroke-width: 2; }
@keyframes fx-ripple { 0% { transform: scale(.6); opacity: 0; } 30% { opacity: 1; } 100% { transform: scale(1.15); opacity: 0; } }
html.fx-on .fx-sig-radar circle { fill: none; stroke: currentColor; stroke-width: 1.4; stroke-dasharray: 4 6; }
html.fx-on .fx-sig-radar .sweep { fill: color-mix(in srgb, var(--fx-b) 35%, transparent); transform-origin: 180px 180px; animation: fx-orbit 8s linear infinite; }
html.fx-on .fx-sig-flask path { fill: none; stroke: currentColor; stroke-width: 3; stroke-linejoin: round; }
html.fx-on .fx-sig-flask .liq { fill: color-mix(in srgb, var(--fx-b) 35%, transparent); stroke: none; }
html.fx-on .fx-sig-flask .bub { fill: none; stroke: currentColor; stroke-width: 2; animation: fx-bubble 4s ease-in infinite; }
html.fx-on .fx-sig-flask .b2 { animation-delay: -1.3s; }
html.fx-on .fx-sig-flask .b3 { animation-delay: -2.6s; }
@keyframes fx-bubble { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: 1; } 100% { transform: translateY(-200px); opacity: 0; } }

/* drifting lab notation */
html.fx-on .fx-formula span {
  position: absolute; font: 600 13px/1 ui-monospace, Menlo, Consolas, monospace; color: var(--fx-a); opacity: 0;
  animation: fx-formula 18s ease-in-out infinite; animation-delay: calc(var(--fi) * -1.6s);
}
@keyframes fx-formula { 0%, 100% { opacity: 0; transform: translateY(16px); } 20%, 70% { opacity: .22; transform: translateY(0); } }

/* keep the reading column calm on top of the art */
html.fx-on .pkp_structure_main > .page:not(.page_index_journal),
html.fx-on .pkp_structure_main > div[class^="page_"]:not(.page_index_journal) {
  position: relative; border-radius: 26px; padding: 26px 28px !important;
  background: rgba(255, 255, 255, .78) !important;
  -webkit-backdrop-filter: blur(10px) saturate(140%); backdrop-filter: blur(10px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, .9); box-shadow: 0 30px 70px -45px rgba(11, 27, 51, .45);
}

@media (max-width: 991px) {
  html.fx-on .fx-l-helix, html.fx-on .fx-l-scope, html.fx-on .fx-formula { display: none; }
  html.fx-on .fx-l-hex { width: 300px; height: 260px; right: -80px; }
  html.fx-on .fx-l-sig { width: 220px; height: 220px; right: -40px; bottom: 4vh; }
  html.fx-on .pkp_structure_main > .page:not(.page_index_journal), html.fx-on .pkp_structure_main > div[class^="page_"]:not(.page_index_journal) { padding: 18px 16px !important; border-radius: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html.fx-on .fx-bgart * { animation: none !important; }
}

html.fx-on { background: #f3f6fb; }
html.fx-on body { background: transparent !important; }

/* ===== SanEpid FX 4: elegant letter formation ===== */
html.fx-on .fx-ch.fx-l { display: inline-block; }
html.fx-on .fx-forming-h .fx-ch.fx-l {
  opacity: 0; transform: translateY(.6em) scale(.55) rotate(-10deg); filter: blur(10px);
  transform-origin: 50% 80%; will-change: transform, opacity, filter;
}
html.fx-on .fx-forming-h.fx-form-go .fx-ch.fx-l { animation: fx-form 1s cubic-bezier(.2, .9, .25, 1) both; animation-delay: var(--cd, 0ms); }
html.fx-on .fx-formed .fx-ch.fx-l { opacity: 1; transform: none; filter: none; animation: none; will-change: auto; }
@keyframes fx-form {
  0% { opacity: 0; transform: translateY(.6em) scale(.55) rotate(-10deg); filter: blur(10px); color: var(--fx-b); }
  45% { opacity: 1; filter: blur(1px); color: var(--fx-a); text-shadow: 0 0 18px color-mix(in srgb, var(--fx-b) 75%, transparent), 0 0 4px color-mix(in srgb, var(--fx-b) 60%, transparent); }
  75% { transform: translateY(-.06em) scale(1.04) rotate(0); filter: none; }
  100% { opacity: 1; transform: none; filter: none; text-shadow: none; }
}
/* during formation show a solid accent ink (gradients can't clip moving letters) */
html.fx-on .fx-wi.fx-forming { background: none !important; color: var(--fx-ink) !important; -webkit-text-fill-color: currentColor !important; }
/* gradient words fade back in, then a soft light sweep passes over the heading */
html.fx-on .fx-formed .fx-wi { animation: fx-ink-in .6s ease both; }
@keyframes fx-ink-in { from { opacity: .75; } to { opacity: 1; } }
html.fx-on .fx-sweep {
  position: absolute; inset: -4px -8px; pointer-events: none; overflow: hidden; border-radius: 8px; z-index: 2;
}
html.fx-on .fx-sweep::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: -40%; width: 35%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: skewX(-18deg); animation: fx-sweep 1.4s cubic-bezier(.4, 0, .2, 1) forwards;
}
@keyframes fx-sweep { to { left: 120%; } }
@media (prefers-reduced-motion: reduce) {
  html.fx-on .fx-forming-h .fx-ch.fx-l { opacity: 1 !important; transform: none !important; filter: none !important; animation: none !important; }
}

/* ===== SanEpid FX 5: article tools, journal stats, night mode ===== */
.fx-toast { position: fixed; left: 50%; bottom: 28px; z-index: 9999; transform: translate(-50%, 30px); opacity: 0; pointer-events: none;
  padding: 12px 20px; border-radius: 14px; background: #0b1b33; color: #fff; font-weight: 600; font-size: 14px;
  box-shadow: 0 20px 40px -16px rgba(11, 27, 51, .6); transition: transform .45s cubic-bezier(.2, .9, .25, 1.2), opacity .3s; }
.fx-toast::before { content: "✓"; display: inline-grid; place-items: center; width: 20px; height: 20px; margin-right: 10px; border-radius: 50%; background: linear-gradient(120deg, #0d9488, #06b6d4); font-size: 12px; }
.fx-toast.fx-show { transform: translate(-50%, 0); opacity: 1; }
html.fx-on .fx-artbar { margin: 4px 0 26px; padding: 16px 18px; border-radius: 20px; border: 1px solid var(--fx-line, #e3e9f2);
  background: linear-gradient(135deg, rgba(255, 255, 255, .95), color-mix(in srgb, var(--fx-soft, #ecfeff) 70%, #fff));
  box-shadow: 0 18px 40px -30px rgba(11, 27, 51, .45); display: grid; gap: 14px; animation: fx5-in .7s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes fx5-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
html.fx-on .fx-artmeta, html.fx-on .fx-artact, html.fx-on .fx-artnav { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
html.fx-on .fx-pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--fx-line, #e3e9f2); color: #334155; font-size: 13px; font-weight: 600; }
html.fx-on .fx-pill svg, html.fx-on .fx-act svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
html.fx-on .fx-pill-type { background: linear-gradient(120deg, var(--fx-a, #0d9488), var(--fx-b, #06b6d4)); color: #fff; border: 0; }
html.fx-on .fx-act { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 12px; border: 1px solid var(--fx-line, #dbe4ee);
  background: #fff; color: #0f2a44 !important; font-family: inherit; font-weight: 600; font-size: 14px; line-height: 1.2; cursor: pointer; text-decoration: none !important;
  transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s, border-color .25s; }
html.fx-on .fx-act:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--fx-a, #0d9488) 45%, #fff); box-shadow: 0 12px 22px -14px color-mix(in srgb, var(--fx-a, #0d9488) 80%, transparent); }
html.fx-on .fx-act-primary { background: linear-gradient(120deg, var(--fx-a, #0d9488), var(--fx-b, #06b6d4)); color: #fff !important; border: 0; box-shadow: 0 12px 24px -14px var(--fx-a, #0d9488); }
html.fx-on .fx-artnav { padding-top: 12px; border-top: 1px dashed var(--fx-line, #e3e9f2); }
html.fx-on .fx-artnav a { position: relative; padding: 6px 12px; border-radius: 10px; color: #475569 !important; font-size: 13px; font-weight: 600; text-decoration: none !important; transition: background .2s, color .2s; }
html.fx-on .fx-artnav a:hover { background: color-mix(in srgb, var(--fx-a, #0d9488) 10%, #fff); color: var(--fx-a, #0d9488) !important; }
html.fx-on .fx-flash { animation: fx5-flash 1.6s ease-out; border-radius: 14px; }
@keyframes fx5-flash { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--fx-b, #06b6d4) 60%, transparent); background-color: color-mix(in srgb, var(--fx-b, #06b6d4) 10%, transparent); } 100% { box-shadow: 0 0 0 18px transparent; background-color: transparent; } }
html.fx-on .obj_article_details .item.keywords .value { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
html.fx-on .fx-tag { display: inline-block; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; text-decoration: none !important;
  color: var(--fx-a, #0d9488) !important; background: color-mix(in srgb, var(--fx-a, #0d9488) 8%, #fff); border: 1px solid color-mix(in srgb, var(--fx-a, #0d9488) 25%, #fff);
  animation: fx5-tag .5s cubic-bezier(.2, .9, .25, 1.3) both; animation-delay: calc(var(--j, 0) * 60ms); transition: transform .2s, background .2s; }
html.fx-on a.fx-tag:hover { transform: translateY(-2px); background: color-mix(in srgb, var(--fx-a, #0d9488) 16%, #fff); }
@keyframes fx5-tag { from { opacity: 0; transform: scale(.7); } to { opacity: 1; transform: none; } }
html.fx-on .obj_article_details .item.authors ul.authors { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; padding: 0; }
html.fx-on .obj_article_details .item.authors li { position: relative; list-style: none; margin: 0; padding: 12px 14px 12px 62px; min-height: 52px; border-radius: 16px; background: #fff; border: 1px solid var(--fx-line, #e3e9f2); transition: transform .25s, box-shadow .25s; }
html.fx-on .obj_article_details .item.authors li:hover { transform: translateY(-2px); box-shadow: 0 14px 26px -20px rgba(11, 27, 51, .5); }
html.fx-on .fx-av { position: absolute; left: 12px; top: 12px; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center;
  font-weight: 800; font-size: 14px; color: #fff; background: linear-gradient(135deg, var(--fx-a, #0d9488), #6366f1); box-shadow: 0 8px 16px -8px var(--fx-a, #0d9488); }
html.fx-on .obj_article_details .item.abstract { position: relative; padding: 20px 22px; border-radius: 18px; background: linear-gradient(180deg, #fff, color-mix(in srgb, var(--fx-soft, #ecfeff) 45%, #fff)); border: 1px solid var(--fx-line, #e3e9f2); }
html.fx-on .obj_article_details .item.abstract > p:first-of-type::first-letter { float: left; font-size: 3.1em; line-height: .9; font-weight: 800; margin: 4px 10px 0 0;
  background: linear-gradient(135deg, var(--fx-a, #0d9488), #6366f1); -webkit-background-clip: text; background-clip: text; color: transparent; }
html.fx-on .fx-stats { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 1200px; margin: 26px auto 8px; padding: 0 16px; }
html.fx-on .fx-stat { position: relative; overflow: hidden; padding: 22px 22px 20px; border-radius: 22px; background: rgba(255, 255, 255, .85); border: 1px solid rgba(226, 232, 240, .9);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 22px 46px -34px rgba(11, 27, 51, .5);
  opacity: 0; transform: translateY(24px) scale(.97); transition: opacity .8s cubic-bezier(.2, .8, .2, 1), transform .9s cubic-bezier(.2, .8, .2, 1), box-shadow .3s; transition-delay: var(--d, 0ms); }
html.fx-on .fx-stats.fx-in .fx-stat { opacity: 1; transform: none; }
html.fx-on .fx-stat:hover { box-shadow: 0 28px 50px -30px rgba(11, 27, 51, .55); }
html.fx-on .fx-stat-ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; color: #fff; margin-bottom: 14px; }
html.fx-on .fx-stat-ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
html.fx-on .fx-stat-0 .fx-stat-ico { background: linear-gradient(135deg, #e11d48, #fb7185); }
html.fx-on .fx-stat-1 .fx-stat-ico { background: linear-gradient(135deg, #0d9488, #06b6d4); }
html.fx-on .fx-stat-2 .fx-stat-ico { background: linear-gradient(135deg, #7c3aed, #a78bfa); }
html.fx-on .fx-stat-3 .fx-stat-ico { background: linear-gradient(135deg, #f59e0b, #fbbf24); }
html.fx-on .fx-stat-num { display: block; font-size: 40px; line-height: 1; font-weight: 800; letter-spacing: -.03em; color: #0b1b33; font-variant-numeric: tabular-nums; }
html.fx-on .fx-stat-lbl { display: block; margin-top: 8px; color: #64748b; font-size: 14px; font-weight: 600; }
html.fx-on .fx-stat-glow { position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; opacity: .22; filter: blur(20px); pointer-events: none; }
html.fx-on .fx-stat-0 .fx-stat-glow { background: #fb7185; } html.fx-on .fx-stat-1 .fx-stat-glow { background: #22d3ee; }
html.fx-on .fx-stat-2 .fx-stat-glow { background: #a78bfa; } html.fx-on .fx-stat-3 .fx-stat-glow { background: #fbbf24; }
html.fx-on .fx-stat::after { content: ""; position: absolute; left: 22px; right: 22px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; transform: scaleX(0); transform-origin: left; transition: transform 1.2s cubic-bezier(.2, .8, .2, 1) .3s; }
html.fx-on .fx-stats.fx-in .fx-stat::after { transform: scaleX(1); }
html.fx-on .fx-stat-0::after { background: linear-gradient(90deg, #e11d48, #fb7185); } html.fx-on .fx-stat-1::after { background: linear-gradient(90deg, #0d9488, #06b6d4); }
html.fx-on .fx-stat-2::after { background: linear-gradient(90deg, #7c3aed, #a78bfa); } html.fx-on .fx-stat-3::after { background: linear-gradient(90deg, #f59e0b, #fbbf24); }
@media (max-width: 900px) { html.fx-on .fx-stats { grid-template-columns: repeat(2, 1fr); gap: 12px; } html.fx-on .fx-stat-num { font-size: 32px; } }
.fx-dkbtn { position: fixed; left: 20px; bottom: 20px; z-index: 9990; width: 50px; height: 50px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, .5); cursor: pointer;
  display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #0b1b33, #312e81); box-shadow: 0 16px 30px -14px rgba(11, 27, 51, .7);
  transition: transform .3s cubic-bezier(.2, .9, .25, 1.3), box-shadow .3s; }
.fx-dkbtn:hover { transform: translateY(-3px) rotate(-8deg); }
.fx-dkbtn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; animation: fx5-spin .6s cubic-bezier(.2, .9, .25, 1.2); }
@keyframes fx5-spin { from { transform: rotate(-120deg) scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
html.fx-dark .fx-dkbtn { background: linear-gradient(135deg, #f59e0b, #fde68a); color: #3b2300; border-color: rgba(255, 255, 255, .3); }
.fx-dkwave { position: fixed; left: 45px; bottom: 45px; width: 10px; height: 10px; border-radius: 50%; z-index: 9989; pointer-events: none;
  background: radial-gradient(circle, rgba(99, 102, 241, .35), rgba(6, 182, 212, .15) 50%, transparent 70%); animation: fx5-wave .9s ease-out forwards; }
@keyframes fx5-wave { to { transform: scale(400); opacity: 0; } }
html.fx-theming, html.fx-theming * { transition: background-color .5s ease, color .5s ease, border-color .5s ease !important; }
html.fx-dark { color-scheme: dark; background: #060f1d !important; }
html.fx-dark body { background: transparent !important; color: #cbd5e1; }
html.fx-dark body .fx-dk-s.fx-dk-s.fx-dk-s { background-color: rgba(15, 27, 46, .92) !important; background-image: none !important; }
html.fx-dark body .fx-dk-t.fx-dk-t.fx-dk-t { color: #dbe5f2 !important; }
html.fx-dark body .fx-dk-b.fx-dk-b.fx-dk-b { border-color: rgba(148, 163, 184, .18) !important; }
html.fx-dark body :is(h1, h2, h3, h4, strong, b).fx-dk-t.fx-dk-t.fx-dk-t { color: #f1f5f9 !important; }
html.fx-dark body a.fx-dk-t.fx-dk-t.fx-dk-t, html.fx-dark body a.fx-dk-t.fx-dk-t * { color: #5eead4 !important; }
html.fx-dark .pkp_structure_head { background: rgba(8, 17, 32, .78) !important; }
html.fx-dark .fx-aurora { opacity: .35; }
html.fx-dark .fx-bg-grid { opacity: .35; }
html.fx-dark .fx-layer { opacity: .14 !important; }
html.fx-dark .fx-lab { opacity: .55; }
html.fx-dark input, html.fx-dark textarea, html.fx-dark select { background: #0b1626 !important; color: #e2e8f0 !important; border-color: rgba(148, 163, 184, .25) !important; }
html.fx-dark img:not([src*=".svg"]) { filter: brightness(.92); }
html.fx-dark .fx-stat-num { color: #f8fafc !important; }
html.fx-dark .fx-toast { background: #e2e8f0; color: #0b1b33; }
@media (max-width: 700px) { .fx-dkbtn { width: 44px; height: 44px; left: 14px; bottom: 14px; border-radius: 14px; } }
@media (prefers-reduced-motion: reduce) { .fx-stat, .fx-tag, .fx-artbar { animation: none !important; transition: none !important; opacity: 1 !important; transform: none !important; } }

/* fx5 dark fixes */
html.fx-dark body::before { background: radial-gradient(900px 520px at 8% -8%, rgba(6, 182, 212, .14), transparent 60%), radial-gradient(800px 500px at 100% 100%, rgba(99, 102, 241, .14), transparent 60%), #060f1d !important; }
html.fx-dark body::after { background-image: radial-gradient(rgba(148, 163, 184, .14) 1px, transparent 1.2px) !important; }
html.fx-dark .pkp_structure_main::before, html.fx-dark .pkp_structure_main::after { background: rgba(148, 163, 184, .12) !important; }
html.fx-dark .fx-formula span { color: #5eead4; }

html.fx-dark .fx-stat { background: rgba(15, 27, 46, .88) !important; border-color: rgba(148, 163, 184, .18) !important; }
html.fx-dark .fx-stat-lbl { color: #94a3b8 !important; }

/* ===== SanEpid FX 6: password helper ===== */
.fx-pw { margin: 10px 0 18px; padding: 14px 16px; border-radius: 16px; border: 1px dashed color-mix(in srgb, var(--fx-a, #0d9488) 40%, #fff);
  background: color-mix(in srgb, var(--fx-a, #0d9488) 6%, #fff); display: grid; gap: 10px; }
.fx-pw-ex { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.fx-pw-lbl { font-weight: 600; color: #334155; font-size: 14px; }
.fx-pw-code { font: 700 16px/1.2 ui-monospace, Menlo, Consolas, monospace; letter-spacing: .04em; padding: 8px 12px; border-radius: 10px;
  background: #0b1b33; color: #5eead4; user-select: all; }
.fx-pw-pop { animation: fx-pw-pop .45s cubic-bezier(.2, .9, .25, 1.3); }
@keyframes fx-pw-pop { from { transform: scale(.85); opacity: .3; } to { transform: none; opacity: 1; } }
.fx-pw-other { width: 36px; height: 36px; border-radius: 10px; border: 1px solid #d6e0eb; background: #fff; cursor: pointer; font-size: 18px; line-height: 1; color: #0f766e; transition: transform .3s; }
.fx-pw-other:hover { transform: rotate(180deg); }
.fx-pw-use { justify-self: start; padding: 10px 16px; border-radius: 12px; border: 0; cursor: pointer; color: #fff; font-weight: 700; font-size: 14px; font-family: inherit;
  background: linear-gradient(120deg, var(--fx-a, #0d9488), var(--fx-b, #06b6d4)); box-shadow: 0 10px 20px -12px var(--fx-a, #0d9488); transition: transform .2s; }
.fx-pw-use:hover { transform: translateY(-2px); }
.fx-pw-rule { margin: 0; font-size: 13px; color: #64748b; }
.fx-pw-meter { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: #64748b; }
.fx-pw-meter i { position: relative; flex: 0 0 160px; height: 6px; border-radius: 6px; background: #e2e8f0; overflow: hidden; }
.fx-pw-meter i::after { content: ""; position: absolute; inset: 0; width: 0; border-radius: 6px; transition: width .4s, background .4s; }
.fx-pw-meter.fx-s0 i::after { width: 20%; background: #e11d48; } .fx-pw-meter.fx-s1 i::after { width: 40%; background: #f97316; }
.fx-pw-meter.fx-s2 i::after { width: 60%; background: #f59e0b; } .fx-pw-meter.fx-s3 i::after { width: 80%; background: #22c55e; }
.fx-pw-meter.fx-s4 i::after { width: 100%; background: #0d9488; }
.fx-pw-msg { margin: 0; font-size: 13px; color: #0f766e; font-weight: 600; min-height: 0; }
.fx-pw-wrap { position: relative; display: block; }
.fx-pw-wrap input { padding-right: 92px !important; width: 100%; }
.fx-pw-eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); padding: 6px 10px; border-radius: 8px; border: 1px solid #d6e0eb; background: #fff;
  font-weight: 600; font-size: 12px; line-height: 1; font-family: inherit; color: #0f766e; cursor: pointer; }
html.fx-dark .fx-pw { background: rgba(15, 27, 46, .9); border-color: rgba(94, 234, 212, .35); }
html.fx-dark .fx-pw-lbl, html.fx-dark .fx-pw-rule { color: #cbd5e1; }
html.fx-dark .fx-pw-other, html.fx-dark .fx-pw-eye { background: #0b1626; border-color: rgba(148, 163, 184, .3); color: #5eead4; }

html.fx-on .fx-pw p, html.fx-on .fx-pw .fx-pw-rule, html.fx-on .fx-pw .fx-pw-msg { margin: 0 !important; padding: 0 !important; line-height: 1.45; }
html.fx-on .fx-pw .fx-pw-msg:empty, html.fx-on .fx-pw .fx-pw-meter:not([class*="fx-s"]) { display: none; }
html.fx-on .fx-pw { gap: 12px; }
