/* Local edition adjustments. Original visual system lives in source/assets. */
a[href^="https://ai-2040.com"],a[href="/es"],a[href="/fr"],a[href="/it"],
nav .relative.group:has(button[aria-label="Language"]),
nav .relative.group:has(button[aria-label="Jezik"]),
iframe[src*="substack"],iframe[title*="Substack"],
.sr-removed {display:none!important}
.sr-edition-note{border-left:3px solid var(--accent,#9c332d);padding:0.1rem 1.25rem;margin:1.5rem 0 2rem;font-size:1rem;line-height:1.65}
.sr-edition-note p{margin:.5rem 0}
.sr-edition-note a{color:inherit}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}}
/* The edition contains the written scenario, without English media or subscription widgets. */
a[href$=".pdf"], a[href*="youtube.com/watch?v=5KVDDfAkRgc"],
span:has(>svg.speaker-icon), .group.pt-3.transition-opacity,
iframe[src*="ai-futures.org/embed"], iframe[src="about:blank"] { display:none!important; }
nav a[href^="/es/"],nav a[href^="/fr/"],nav a[href^="/it/"],
#get-in-touch,#get-in-touch~p:has(a[href^="mailto:"]) {display:none!important}
/* Keep the excluded contact block hidden before client hydration as well. */
#get-in-touch ~ *:has(~ #our-team) {display:none!important}
#tab-box-bets-and-bounties {display:none!important}
/* Separators belong to the excluded media links. */
div:has(>a[href$="/ai-2027.pdf"])>div.w-\[1px\],
a[href*="tab=bets"] {display:none!important}
/* Long formulas scroll within the article instead of widening the whole page. */
html{overflow-x:clip}
.katex-display{max-width:100%;overflow-x:auto;overflow-y:hidden}

/* Keep the original footer mark visible even when adjacent text is wide. */
footer a:has(>img[alt="AI Futures Project"]){display:block;flex:0 0 100px;min-width:100px}
footer img[alt="AI Futures Project"]{display:block;width:100px;height:100px;min-width:100px;max-width:none;object-fit:contain}

/* Removed profile links keep their React-owned nodes, but look like ordinary text. */
a.sr-author-text{color:inherit;text-decoration:none;cursor:text;pointer-events:none}
