.retro-hero { background:var(--ink); color:#fff; }
.retro-hero .section-kicker { color:var(--lime); }
.retro-hero h1 { max-width:24ch; }
.retro-hero .shell > p { color:#c1c5ce; }
.retro-hero-links { display:flex; align-items:center; flex-wrap:wrap; gap:16px 24px; margin-top:30px; }
.retro-hero-links > a:last-child:not(.button) { color:#e4e8ed; text-decoration:underline; text-underline-offset:4px; }
.retro-profile { display:grid; grid-template-columns:minmax(0,1.5fr) minmax(0,1fr); gap:32px; padding:clamp(22px,3vw,40px); background:var(--ink-soft); color:#fff; margin-bottom:30px; }
.retro-profile h2 { margin:0 0 16px; font-size:clamp(24px,3vw,34px); line-height:1.25; }
.retro-profile p { color:#c1c5ce; line-height:1.75; margin:0; }
.retro-profile .section-kicker { color:var(--lime); }
.retro-profile dl,.retro-system-card dl { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; margin:0; }
.retro-profile dl { align-content:center; }
.retro-profile dt,.retro-system-card dt { font-size:13px; line-height:1.5; }
.retro-profile dd { color:var(--lime); margin:8px 0 0; font-size:clamp(28px,4vw,46px); font-weight:800; }
.retro-filters { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px; align-items:end; margin:28px 0; padding:24px; background:var(--paper-deep); border:1px solid var(--line); }
.retro-search { grid-column:1/-1; }
.retro-filters--hub { grid-template-columns:minmax(0,1.4fr) repeat(2,minmax(0,1fr)) auto; }
.retro-filters label { display:grid; gap:8px; min-width:0; font-weight:700; font-size:14px; }
.retro-filters :is(input,select),.retro-copy-state select { width:100%; max-width:100%; min-width:0; min-height:46px; padding:10px 12px; border:1px solid #888c87; background:#fff; color:#151820; font:inherit; border-radius:3px; }
.retro-filters .button { min-width:0; height:auto; min-height:46px; cursor:pointer; border:0; }
.retro-reset { align-self:center; text-decoration:underline; text-underline-offset:4px; font-size:14px; }
.retro-system-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
.retro-system-card { display:flex; flex-direction:column; padding:28px; border:1px solid var(--line); background:#f9f8f3; min-width:0; }
.retro-system-card .section-kicker { color:#535860; font-size:12px; line-height:1.6; margin-bottom:18px; }
.retro-system-card h3 { font-size:clamp(23px,2.5vw,30px); line-height:1.2; letter-spacing:-.035em; margin:0 0 28px; }
.retro-system-card dl { margin-top:auto; padding-top:20px; border-top:1px solid var(--line); }
.retro-system-card dd { margin:8px 0 0; font-size:26px; font-weight:800; }
.retro-open-link { display:inline-block; margin-top:24px; min-height:30px; font-weight:700; text-decoration:underline; text-underline-offset:5px; }
.retro-results { font-size:16px; line-height:1.7; }
.retro-pagination { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:14px 24px; margin:24px 0; }
.retro-pagination a { min-height:44px; display:inline-flex; align-items:center; border:1px solid #888c87; padding:8px 16px; border-radius:3px; font-weight:700; }
.retro-pagination a:hover { background:var(--paper-deep); }
.retro-game-list { display:grid; grid-template-columns:minmax(0,1fr); gap:12px; }
.retro-game-list > article { min-width:0; }
.retro-game { border:1px solid var(--line); background:#f9f8f3; }
.retro-game summary { display:flex; align-items:center; justify-content:space-between; gap:24px; padding:22px 24px; list-style:none; cursor:pointer; }
.retro-game summary::-webkit-details-marker { display:none; }
.retro-game summary::after { content:'+'; font-size:28px; flex:0 0 auto; }
.retro-game[open] summary::after { content:'−'; }
.retro-game summary:hover { background:var(--paper-deep); }
.retro-game summary h3 { margin:0; font-size:21px; line-height:1.4; letter-spacing:-.025em; }
.retro-game summary small { display:block; margin-top:5px; color:#535860; font-size:13px; font-weight:400; letter-spacing:normal; }
.retro-version-table { overflow-x:auto; overscroll-behavior-inline:contain; padding:0 24px 24px; }
.retro-version-table table { width:100%; min-width:760px; border-collapse:collapse; text-align:left; font-size:14px; }
.retro-version-table :is(th,td) { padding:18px; vertical-align:top; line-height:1.65; border:1px solid #cacbc5; overflow-wrap:anywhere; }
.retro-version-table thead th { background:var(--ink-soft); color:#fff; font-size:13px; }
.retro-version-table tbody th { width:32%; font-weight:400; }
.retro-version-table td { width:22.666%; }
.retro-version-table :is(small,td > span) { display:block; margin-top:8px; }
.retro-version-table small { color:#535860; font-size:12px; line-height:1.65; }
.retro-version-table a { display:inline-block; margin-top:12px; color:#334309; text-decoration:underline; text-underline-offset:4px; }
.retro-kind { display:block; color:#535860; font-size:12px; line-height:1.6; margin-top:8px; }
.retro-copy-state { display:grid; gap:8px; margin-top:18px; font-size:13px; font-weight:700; }
.retro-notebook { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:18px 28px; padding:24px; border:1px solid #b5bca3; background:#e8eddb; margin:24px 0; }
.retro-notebook h2 { font-size:22px; margin:0 0 10px; }
.retro-notebook p { margin:0; line-height:1.7; }
.retro-notebook button { align-self:center; border:0; cursor:pointer; }
.retro-notebook [role=status] { grid-column:1/-1; font-size:14px; }
.retro-guide { background:var(--paper-deep); }
.retro-guide-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:28px; }
.retro-guide-grid article { min-width:0; padding:28px; border:1px solid #59633a; background:#f9f8f3; }
.retro-guide-grid h3 { margin:0 0 16px; font-size:24px; line-height:1.3; }
.retro-guide-grid p { margin:0; font-size:16px; line-height:1.8; }
.retro-source { margin-top:44px; padding-top:30px; border-top:1px solid #b7b8b0; }
.retro-source h2 { font-size:28px; line-height:1.3; }
.retro-source p { max-width:95ch; line-height:1.8; }
.retro-source a { color:#334309; text-decoration:underline; text-underline-offset:4px; }
.retro-source-links { display:flex; flex-wrap:wrap; gap:16px 28px; margin-top:20px; }
.retro-page [hidden] { display:none; }
@media(max-width:1050px) { .retro-system-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .retro-filters,.retro-filters--hub { grid-template-columns:repeat(2,minmax(0,1fr)); } .retro-profile { grid-template-columns:minmax(0,1fr); } }
@media(max-width:600px) { .retro-system-grid,.retro-guide-grid,.retro-filters,.retro-filters--hub,.retro-notebook { grid-template-columns:minmax(0,1fr); } .retro-filters,.retro-system-card,.retro-guide-grid article,.retro-notebook { padding:20px; } .retro-game summary { padding:18px; gap:14px; } .retro-version-table { padding:0 16px 20px; } .retro-hero-links .button { width:100%; min-height:54px; height:auto; padding-block:14px; text-align:center; } .retro-pagination { justify-content:flex-start; } }

.retro-related { display:flex; flex-wrap:wrap; align-items:center; gap:14px 24px; padding:8px 0 16px; font-size:14px; }
.retro-related a,.retro-support-note a { text-decoration:underline; text-underline-offset:4px; }
.retro-support-note { margin-top:28px; padding:28px; background:#f9f8f3; border:1px solid #59633a; }
.retro-support-note h3 { font-size:24px; line-height:1.4; margin:0 0 16px; }
.retro-support-note p { max-width:95ch; line-height:1.8; }
.retro-pagination [aria-current=page] { background:var(--ink-soft); color:#fff; }
.retro-pagination .retro-page-number { min-width:40px; padding:8px; justify-content:center; }
.retro-global-search { margin:0 0 44px; padding:28px; background:var(--ink-soft); color:#fff; }
.retro-global-search h2 { margin:0 0 14px; font-size:clamp(25px,3vw,36px); }
.retro-global-search p { max-width:85ch; color:#c1c5ce; line-height:1.75; }
.retro-global-search label { display:block; margin-bottom:10px; font-weight:700; }
.retro-global-search form > div { display:flex; gap:16px; }
.retro-global-search input { min-width:0; flex:1; padding:12px; min-height:48px; border:1px solid #888c87; font:inherit; background:#fff; color:var(--ink); }
.retro-global-search button { border:0; cursor:pointer; }
.retro-system-scope { background:#e8eddb; }
.retro-system-scope h2 { font-size:clamp(25px,3vw,34px); }
.retro-system-scope p { max-width:100ch; line-height:1.8; }
@media(max-width:600px) { .retro-global-search { padding:20px; } .retro-global-search form > div { flex-direction:column; } }
