@font-face {
  font-family: Barlow Condensed;
  src: url("barlow-condensed.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
}

@font-face {
  font-family: DM Sans;
  src: url("dm-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ground: #150e1b;
  --surface: #211626;
  --ink: #fff1e9;
  --muted: #c5b4c7;
  --line: #49364c;
  --pink: #ff83ba;
  --peach: #ffb78f;
  --lavender: #d2baff;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "DM Sans", Arial, sans-serif;
  font-family: var(--body);
  color: var(--ink);
  background: var(--ground);
  accent-color: var(--pink);
  scrollbar-color: #82566f var(--ground);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-width: 0; }
::selection { background: var(--pink); color: var(--ground); }
:focus-visible { outline: 2px solid var(--peach); outline-offset: 4px; }
a { color: inherit; text-underline-offset: .23em; }
a:hover { color: var(--pink); }
p { margin: 0; line-height: 1.65; }
h1, h2, h3 { margin: 0; line-height: 1.02; text-wrap: balance; }
h1, h2 { font: 800 clamp(2.7rem, 5vw, 5.3rem)/.97 var(--display); letter-spacing: -.023em; }
h2 { font-size: clamp(2.25rem, 3.5vw, 3.45rem); }
time { font-variant-numeric: tabular-nums; }
.shell { width: min(100% - 6rem, 78rem); margin-inline: auto; }
.skip { position: fixed; z-index: 8; top: .75rem; left: .75rem; padding: .75rem; transform: translateY(-200%); background: var(--ground); }
.skip:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.masthead { background: #140d19; border-bottom: 1px solid #38273b; }
.topbar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.5rem; min-height: 4.55rem; }
.wordmark { width: fit-content; font: 800 2.1rem/.9 var(--display); text-decoration: none; letter-spacing: -.024em; color: var(--ink); }
.wordmark span { color: var(--peach); }
.wordmark b { color: var(--pink); }
.wordmark i { color: var(--ink); font-style: normal; }
.topbar nav { display: flex; align-items: stretch; gap: clamp(.85rem, 2.3vw, 2.2rem); align-self: stretch; }
.topbar nav a, .locale { display: inline-flex; align-items: center; font-size: .875rem; font-weight: 650; text-decoration: none; color: var(--muted); white-space: nowrap; }
.topbar nav a { position: relative; }
.topbar nav a:hover, .topbar nav a[aria-current] { color: var(--ink); }
.topbar nav a[aria-current]::after { content: ""; position: absolute; inset: auto 0 -1px; height: 2px; background: var(--pink); }
.locale { justify-self: end; border: 1px solid var(--line); border-radius: 5px; }
.locale > * { display: grid; place-items: center; min-height: 2.35rem; min-width: 2.55rem; padding-inline: .55rem; text-decoration: none; }
.locale > * + * { border-left: 1px solid var(--line); }
.locale [aria-current] { background: var(--surface); color: var(--peach); }

.hero { position: relative; isolation: isolate; overflow: hidden; background: #241229; }
.hero::before, .hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero::before { background: linear-gradient(90deg, #1a1020 8%, #1a1020 23%, #1a1020e8 37%, #1a10206e 57%, #1a102008 87%); }
.hero::after { background: linear-gradient(0deg, #120b17d9, transparent 27%), linear-gradient(155deg, #73395850, transparent 53%); }
.hero-photo { position: absolute; z-index: -2; inset: 0 0 0 auto; width: 79%; height: 100%; object-fit: cover; object-position: 65% 55%; filter: saturate(1.35) sepia(.08) hue-rotate(316deg); }
.hero-inner { display: flex; align-items: center; position: relative; min-height: clamp(29rem, 36vw, 38rem); padding-block: 3.25rem 4.6rem; }
.hero h1 { font-size: clamp(5rem, 7.65vw, 6rem); text-transform: uppercase; line-height: .79; letter-spacing: -.026em; text-shadow: 0 4px 24px #1a102075; }
.hero h1 em { color: var(--peach); font-style: normal; }
.hero-copy p { max-width: 35ch; margin: 1.7rem 0 1.55rem; font-size: 1.12rem; color: #f2dfe9; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 2.8rem; padding: .63rem 1rem; border: 1px solid transparent; border-radius: 5px; font: 700 .9rem/1.3 var(--body); text-decoration: none; cursor: pointer; transition: background-color .16s ease-out, border-color .16s ease-out, color .16s ease-out; }
.primary { background: var(--peach); color: #201222; }
.primary:hover { background: #ffd0b3; color: #201222; }
.quiet { border-color: #8b6f88; background: #281a2b; color: var(--ink); }
.quiet:hover { background: #412943; border-color: var(--pink); color: var(--ink); }
.photo-caption { position: absolute; right: 0; bottom: .95rem; color: #f2dfe9; font-size: .78rem; }
.status-strip { background: #2b1b30; border-block: 1px solid #523b53; }
.status-inner { display: flex; align-items: baseline; justify-content: space-between; gap: .6rem 2rem; padding-block: .77rem; color: var(--ink); font-size: .875rem; }
.status-inner span { display: inline-flex; align-items: baseline; gap: .7rem; font-weight: 650; }
.status-inner i { width: .48rem; height: .48rem; flex: 0 0 .48rem; border-radius: 50%; background: var(--pink); }
.status-inner time { color: var(--muted); white-space: nowrap; }

.category-index { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-block: 1.75rem 3.6rem; border-block: 1px solid var(--line); background: var(--line); }
.index-entry { --tone: var(--peach); position: relative; min-width: 0; background: var(--surface); }
.index-entry.emuladores { --tone: var(--pink); }
.index-entry.laboratorio { --tone: var(--lavender); }
.index-link { display: flex; align-items: center; padding: 1.18rem 4.3rem 1.18rem 1.3rem; color: var(--ink); text-decoration: none; transition: background-color .19s ease-out; }
.index-link:hover { color: var(--ink); background: #332239; }
.index-link strong { display: block; font: 800 clamp(1.8rem, 2.65vw, 2.6rem)/1 var(--display); }
.index-link small { display: block; margin-top: .35rem; color: var(--muted); font-size: .875rem; }
.category-help summary { position: absolute; inset: .8rem 1rem auto auto; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; cursor: pointer; list-style: none; }
.category-help summary::-webkit-details-marker { display: none; }
.category-help summary > span:first-child { display: grid; place-items: center; width: 1.7rem; height: 1.7rem; border: 1px solid var(--tone); border-radius: 50%; color: var(--tone); font-weight: 700; }
.category-help summary:hover > span:first-child, .category-help[open] summary > span:first-child { background: var(--tone); color: var(--ground); }
.category-help p { margin: 0 1.3rem 1.15rem; padding-top: .72rem; border-top: 1px solid var(--line); color: var(--muted); }

.home-content { padding-bottom: 4rem; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 1.1rem; }
.section-heading p { color: var(--muted); margin-top: .5rem; }
.text-link { color: var(--peach); font-weight: 650; }
.project-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.project-row { position: relative; display: grid; grid-template-columns: minmax(0,1.18fr) minmax(0,1.7fr) minmax(0,.9fr) minmax(8.3rem,.6fr); gap: 1rem 1.5rem; align-items: center; min-height: 6.05rem; padding: .95rem .7rem .95rem .35rem; border-bottom: 1px solid var(--line); transition: background-color .18s ease-out; }
.project-row:hover, .project-row:focus-within { background: #201526; }
.row-title h3 { font: 800 1.65rem/1 var(--display); text-wrap: auto; overflow-wrap: anywhere; }
.row-title h3 a { text-decoration: none; }
.row-title h3 a::after { content: ""; position: absolute; inset: 0; }
.row-title span { display: block; margin-top: .34rem; color: var(--muted); font-size: .875rem; }
.row-title .row-platform-compact { display: none; }
.project-row p, .row-platform { color: var(--muted); font-size: .9rem; line-height: 1.45; overflow-wrap: anywhere; }
.row-status { justify-self: end; }
.status { display: inline-flex; align-items: center; padding: .35rem .62rem; border: 1px solid var(--line); border-radius: 2rem; font-size: .875rem; font-weight: 650; }
.status.peach { color: var(--peach); background: #3d2628; border-color: #684448; }
.status.pink { color: #ffadd1; background: #402438; border-color: #70455d; }
.status.lavender { color: var(--lavender); background: #312341; border-color: #604a73; }
.status.neutral { color: var(--muted); background: var(--surface); }
.evidence-guide { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.4fr); gap: 1.2rem clamp(1.5rem,5.5vw,5.25rem); margin-top: 3.65rem; padding: clamp(1.3rem,4vw,3.15rem); background: #edc9ce; color: #30172c; }
.evidence-intro p { margin: .8rem 0 1rem; max-width: 43ch; }
.evidence-list, .home-sources ul { margin: 0; padding: 0; list-style: none; }
.evidence-list { border-top: 1px solid #a77585; }
.evidence-list li { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: baseline; gap: .28rem .95rem; padding: .8rem 0 .87rem; border-bottom: 1px solid #a77585; }
.evidence-list h3 { font: 800 1.7rem/1 var(--display); text-wrap: auto; }
.evidence-list p { grid-area: 2 / 1 / 3 / -1; max-width: 68ch; }
.evidence-link { color: #641b42; font-weight: 700; }
.evidence-link:hover { color: #36102b; }
.evidence-link:focus-visible { outline-color: #641b42; }
.evidence-list .evidence-link, .evidence-note { font-size: .875rem; font-weight: 650; }
.evidence-note { color: #62394d; }
.home-sources { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.35fr); gap: 1rem 2.5rem; margin-top: 3rem; padding-top: 1.3rem; border-top: 1px solid var(--line); }
.home-sources ul { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .8rem 1.5rem; align-content: start; }
.home-sources p { margin-top: .45rem; color: var(--muted); }
.policy-band { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin-top: 3.5rem; padding: 1.6rem 1.7rem; background: #2b1c30; border-top: 1px solid #624661; }
.policy-band h2 { font-size: 2rem; }
.policy-band p { margin-top: .4rem; color: var(--muted); max-width: 61ch; }
.policy-band .text-link { flex-shrink: 0; }

.page { min-height: 70vh; padding-block: clamp(2.65rem, 5vw, 5.25rem) 4.5rem; }
.page-heading { padding-bottom: 1.8rem; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.page-heading p { margin-top: .85rem; color: var(--muted); max-width: 65ch; font-size: 1.12rem; }
.tabs { display: flex; flex-wrap: wrap; gap: .3rem 1.65rem; border-bottom: 1px solid var(--line); margin-bottom: 1.45rem; }
.tabs a { padding: .75rem .05rem; border-bottom: 2px solid transparent; text-decoration: none; color: var(--muted); font-weight: 650; }
.tabs a:hover, .tabs a[aria-current] { color: var(--ink); }
.tabs a[aria-current] { border-color: var(--pink); }
.filters { display: grid; grid-template-columns: 1.45fr 1fr 1fr auto; gap: .8rem; align-items: end; padding: 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: .55rem; }
.filters label { min-width: 0; font-size: .875rem; font-weight: 650; }
.filters input, .filters select { display: block; width: 100%; min-height: 2.8rem; margin-top: .35rem; padding: .64rem .75rem; border: 1px solid #6d536d; border-radius: 5px; background-color: var(--ground); color: var(--ink); font: 400 1rem/1.25 var(--body); }
.filters input::placeholder { color: var(--muted); }
.filters select { appearance: none; padding-right: 1.9rem; background-image: linear-gradient(45deg, transparent 49%, var(--peach) 50%), linear-gradient(135deg, var(--peach) 49%, transparent 50%); background-position: right 15px center, right 10px center; background-size: 5px 5px; background-repeat: no-repeat; }
.results-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-block: 1rem .65rem; font-size: .875rem; color: var(--muted); }
.results-head p { color: var(--ink); font-weight: 650; }
.empty { border: 1px solid var(--line); padding: 1.3rem; color: var(--ink); }
.empty:not([hidden]) + .project-list { border-top: 0; }
.empty:not([hidden]) + .timeline { border-top: 0; }

.home-radar, .project-history { margin-top: clamp(2.6rem, 5vw, 3.65rem); }
.creator-section { display: grid; grid-template-columns: minmax(9rem, .72fr) minmax(0, 1.8fr); align-items: center; gap: 1rem 2rem; margin-top: clamp(2.6rem, 5vw, 3.65rem); padding: 1.3rem; border-block: 1px solid var(--line); background: var(--surface); }
.creator-section h2 { text-wrap: auto; }
.creator-links { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: .7rem; }
.creator-links a { min-width: 0; padding: .8rem 1rem; border: 1px solid transparent; border-radius: 5px; text-decoration: none; }
.creator-links strong, .creator-links small { display: block; }
.creator-links small { margin-top: .15rem; font-size: .875rem; }
.creator-links .creator-youtube { display: flex; align-items: center; gap: .7rem; background: var(--peach); color: var(--button-ink, #201222); }
.creator-links .creator-youtube:hover { background: #ffd0b3; }
.creator-play { width: 0; height: 0; flex-shrink: 0; border-block: .42rem solid transparent; border-inline-start: .65rem solid currentColor; }
.creator-links .creator-instagram { border-color: var(--line); color: var(--ink); }
.creator-links .creator-instagram:hover { border-color: var(--pink); color: var(--pink); }
.creator-instagram small { color: var(--muted); }
.radar-context { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: .45rem 1.25rem; margin: 1.1rem 0 1.35rem; }
.radar-context p { color: var(--muted); }
.page-heading .feed-link { display: flex; flex-wrap: wrap; gap: .25rem .7rem; font-size: .875rem; }
.timeline { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.timeline > li { display: grid; grid-template-columns: minmax(7rem, .27fr) minmax(0, 1fr); gap: .45rem 1.25rem; scroll-margin-top: 1rem; padding: 1.05rem 1rem 1.15rem; border-bottom: 1px solid var(--line); }
.timeline > li:target { background: var(--surface); outline: 1px solid var(--pink); outline-offset: -1px; }
.timeline > li time { display: flex; align-items: baseline; gap: .6rem; padding-top: .12rem; color: var(--muted); font-size: .875rem; font-weight: 650; }
.timeline > li time::before { content: ""; width: .45rem; height: .45rem; flex: 0 0 .45rem; border-radius: 50%; background: var(--pink); }
.timeline-type { display: block; color: var(--lavender); font-size: .875rem; font-weight: 650; margin-bottom: .32rem; }
.timeline h3 { font: 800 clamp(1.6rem, 3vw, 2.15rem)/1 var(--display); text-wrap: auto; overflow-wrap: anywhere; }
.timeline h3 a { text-decoration: none; }
.timeline h3 a:hover { text-decoration: underline; }
.timeline p { margin-top: .5rem; max-width: 70ch; color: var(--muted); }
.timeline-links { display: flex; flex-wrap: wrap; gap: .38rem 1rem; margin-top: .55rem; font-size: .875rem; font-weight: 650; }
.timeline-links a { color: var(--peach); }
.timeline-links a:hover { color: var(--pink); }
.timeline-compact { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.timeline-compact > li { display: flex; flex-direction: column; align-items: flex-start; padding: 1.05rem 1.1rem 1.1rem; }
.timeline-compact > li + li { border-inline-start: 1px solid var(--line); }
.timeline-compact h3 { font-size: clamp(1.45rem, 2.4vw, 1.95rem); }
.history-empty { color: var(--muted); border-top: 1px solid var(--line); padding-top: .85rem; }

.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; margin-bottom: 1.25rem; color: var(--muted); font-size: .875rem; }
.breadcrumb a { color: var(--peach); }
.detail-heading { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; }
.detail-heading .button { flex-shrink: 0; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1.48fr) minmax(0, 1fr); gap: clamp(1.8rem, 6vw, 6rem); margin-top: 2.05rem; }
.detail-status { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem 1rem; margin-bottom: 1.2rem; }
.detail-status time { color: var(--muted); font-size: .875rem; }
.detail-story > p { max-width: 67ch; margin-top: .8rem; color: var(--muted); }
.compatibility { padding: 1rem 1.1rem; margin-top: 1.5rem; border: 1px solid #78516b; background: #2b1b30; }
.compatibility p { margin-top: .5rem; color: var(--muted); }
.source-note { display: flex; flex-wrap: wrap; gap: .5rem 1rem; }
.facts { padding: 1.2rem 1.35rem; border: 1px solid var(--line); background: var(--surface); align-self: start; }
.facts h2 { font-size: 2rem; }
.facts dl, .glossary { margin: .8rem 0 0; }
.facts dl div { display: grid; grid-template-columns: minmax(6.3rem, .85fr) minmax(0, 1.2fr); gap: .6rem; padding: .57rem 0; border-top: 1px solid var(--line); font-size: .9rem; }
dt { color: var(--muted); }
dd { margin: 0; overflow-wrap: anywhere; }
.related { margin-top: 3.1rem; }
.related h2 { margin-bottom: .9rem; }

.about-grid { display: grid; grid-template-columns: minmax(10rem, .43fr) minmax(0, 1.65fr); gap: clamp(1.3rem, 5vw, 4.5rem); margin-top: 2.1rem; }
.contents { align-self: start; display: grid; }
.contents a { padding: .6rem .1rem; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--peach); font-weight: 650; }
.contents a:hover { text-decoration: underline; }
.reading { max-width: 70ch; min-width: 0; overflow-wrap: anywhere; }
.reading section + section { margin-top: 2.55rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.reading section { scroll-margin-top: 1rem; }
.reading p { margin-top: .7rem; color: var(--muted); }
.reading a { color: var(--peach); }
.glossary div { padding-block: .6rem; }
.glossary dt { color: var(--ink); font-weight: 700; }
.glossary dd { color: var(--muted); margin-top: .2rem; line-height: 1.5; }

.footer { border-top: 1px solid var(--line); background: #100b15; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1.2rem; padding-block: 1.85rem; }
.footer-inner p, .footer-links { color: var(--muted); font-size: .875rem; }
.footer-inner p { margin-top: .4rem; }
.footer-links { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem 1.3rem; }

@media (max-width: 900px) {
  .shell { width: calc(100% - 3.5rem); }
  .topbar { gap: .9rem; }
  .hero-photo { width: 90%; }
  .project-row { grid-template-columns: minmax(0,1.05fr) minmax(0,1.45fr) minmax(7.6rem,.7fr); gap: .55rem .9rem; }
  .row-platform { display: none; }
  .row-title .row-platform-compact { display: block; }
  .filters { grid-template-columns: 1.25fr 1fr 1fr; }
  .filters .clear { justify-self: start; }
}

@media (max-width: 650px) {
  .shell { width: calc(100% - 2rem); }
  .topbar { grid-template-columns: 1fr auto; row-gap: .25rem; padding-top: .8rem; }
  .topbar nav { grid-row: 2; grid-column: 1 / -1; gap: 0 .38rem; justify-content: space-between; flex-wrap: wrap; min-height: 2.7rem; }
  .topbar nav a { padding: 0 .08rem; }
  .hero-inner { min-height: 29rem; align-items: end; padding-block: 6.5rem 2.8rem; }
  .hero-photo { width: 100%; object-position: 65% top; }
  .hero::before { background: linear-gradient(90deg, #1a1020bb, #1a102042 90%); }
  .hero::after { background: linear-gradient(0deg, #150e1b 7%, #150e1bf2 28%, #150e1b82 59%, #150e1b0d 98%); }
  .hero h1 { font-size: clamp(4.35rem, 16vw, 5.6rem); }
  .hero-copy p { font-size: 1rem; margin-block: 1.3rem 1.15rem; }
  .photo-caption { font-size: .75rem; bottom: .51rem; }
  .status-inner { flex-direction: column; align-items: start; padding-block: .65rem; line-height: 1.4; }
  .status-inner time { margin-left: 1.18rem; }
  .category-index { grid-template-columns: 1fr; margin-block: 1.15rem 2.7rem; }
  .index-link { padding: .7rem 3.6rem .7rem .9rem; }
  .index-link span:first-child { display: flex; gap: .7rem; flex-wrap: wrap; align-items: baseline; }
  .index-link small { margin-top: 0; }
  .category-help summary { inset: .16rem .55rem auto auto; }
  .category-help p { margin-inline: .9rem; }
  .section-heading, .policy-band, .detail-heading { align-items: start; flex-direction: column; }
  .project-row { grid-template-columns: minmax(0,1fr) auto; gap: .45rem .6rem; padding-block: .8rem; }
  .project-row p { grid-area: 2 / 1 / 3 / -1; }
  .row-status { grid-area: 1 / 2; }
  .status { font-size: .8125rem; padding: .3rem .52rem; }
  .policy-band { margin-top: 2.4rem; padding: 1.15rem; }
  .evidence-guide, .home-sources { grid-template-columns: 1fr; margin-top: 2.6rem; }
  .evidence-list li { grid-template-columns: minmax(0,1fr); }
  .evidence-list p { grid-area: auto; }
  .filters { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .filters label:first-child { grid-column: 1 / -1; }
  .results-head { align-items: start; }
  .results-head time { text-align: right; }
  .radar-page .results-head span { text-align: right; }
  .creator-section { grid-template-columns: 1fr; padding: 1rem; }
  .timeline-compact { grid-template-columns: 1fr; }
  .timeline > li { grid-template-columns: 1fr; padding-inline: .65rem; }
  .timeline-compact > li + li { border-inline-start: none; }
  .detail-grid, .about-grid { grid-template-columns: 1fr; }
  .tabs { gap: .2rem .9rem; }
  .tabs a { font-size: .875rem; }
}

@media (max-width: 480px) {
  .filters { grid-template-columns: minmax(0,1fr); }
  .creator-links { grid-template-columns: 1fr; }
}

@media (max-width: 430px) {
  .topbar nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 .38rem; }
  .topbar nav a { min-height: 2.25rem; justify-self: start; }
}

@media (max-width: 350px) {
  .topbar nav a { font-size: .79rem; }
  .status-inner time { white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
