@font-face{font-family:Barlow;src:url(barlow-900i.woff2) format("woff2");font-style:italic;font-weight:900;font-display:swap}
:root{color-scheme:dark;--bg:#0d0f10;--panel:#171a1b;--line:#2a2e2d;--text:#f4f5f0;--muted:#a6ada8;--lime:#dcfb50;--accent:#18200c;--radius:18px}
*{box-sizing:border-box}
[hidden]{display:none!important}
html{scroll-behavior:smooth;scroll-padding-top:96px}
body{margin:0;background:var(--bg);color:var(--text);font:15px/1.55 system-ui,-apple-system,"Segoe UI",sans-serif;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
button,input{font:inherit;color:inherit}
button{cursor:pointer}
:focus-visible{outline:2px solid var(--lime);outline-offset:4px}
img{display:block;max-width:100%}
svg{flex:none;vertical-align:middle}
p,h1,h2,h3{margin:0}
.wrap{width:min(1280px,calc(100% - 80px));margin-inline:auto}
.sr-only,.skip:not(:focus){position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.skip:focus{position:fixed;z-index:10;top:12px;left:12px;background:var(--lime);color:#14170a;padding:10px 15px;border-radius:8px}
.top{position:sticky;top:0;z-index:5;background:#0d0f10f5;border-bottom:1px solid #222525;backdrop-filter:blur(16px)}
.top-inner{display:grid;grid-template-columns:1fr auto 1fr;gap:20px;align-items:center;min-height:72px}
.brand{display:inline-flex;gap:10px;align-items:center;justify-self:start;font:italic 900 34px/.9 Barlow,Impact,sans-serif;letter-spacing:.01em;white-space:nowrap}
.brand-mark{display:grid;place-items:center;width:35px;height:35px;border-radius:9px;background:var(--lime);color:#10120b}
.brand-mark svg{width:22px;height:22px}
.brand span span,.brand i{color:var(--lime)}
.nav{display:flex;align-items:center;gap:6px;font-size:13px;font-weight:650;color:var(--muted)}
.nav a{padding:9px 13px;border-radius:8px;white-space:nowrap}
.nav a:hover,.nav a[aria-current]{background:#202421;color:var(--text)}
.nav svg,.search svg{width:16px;height:16px}
.nav svg{margin-right:2px}
.search{justify-self:end;display:flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:10px;background:#151819;padding:0 9px 0 12px;width:min(100%,245px);color:var(--muted)}
.search:focus-within{border-color:#8a9c43}
.search input{background:none;border:0;outline:none;min-width:0;flex:1;padding:8px 0;color:var(--text);font-size:13px}
.search input::placeholder{color:#a0a7a1}
.search button{display:grid;place-items:center;border:0;background:transparent;color:var(--muted);width:28px;height:30px;border-radius:5px}
.search button:hover{color:var(--lime);background:#252923}
.main{padding:26px 0 64px}
.hero{position:relative;isolation:isolate;display:flex;align-items:center;min-height:448px;overflow:hidden;border:1px solid #35382c;border-radius:24px;background:#151a13}
.hero-art,.hero-grid,.hero::after{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.hero-art{z-index:-3;object-fit:cover;object-position:center 51%}
.hero::after{content:"";z-index:-2;background:linear-gradient(90deg,#11140efc 0%,#11140ef3 21%,#12150fd8 37%,#10120c5e 58%,transparent 79%),linear-gradient(0deg,#11140edb,transparent 39%)}
.hero-grid{z-index:-1;opacity:.17;background:repeating-linear-gradient(133deg,transparent 0 34px,#eef6bd25 35px,transparent 37px 70px);mask-image:linear-gradient(90deg,#000,transparent 55%)}
.hero-content{padding:45px 0 48px 48px;width:min(610px,68%)}
.eyebrow,.overline{font-size:11px;font-weight:800;letter-spacing:.16em;line-height:1.4}
.eyebrow{display:flex;align-items:center;gap:9px;color:var(--lime)}
.live-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--lime);box-shadow:0 0 0 4px #dcfb502a;margin-left:4px}
.hero h1{font:italic 900 clamp(64px,7.65vw,116px)/.81 Barlow,Impact,"Arial Narrow",sans-serif;letter-spacing:-.018em;margin:18px 0 21px;padding:0 .1em .06em 0}
.hero h1 em{color:var(--lime);font-style:inherit}
.hero-content>p:not(.eyebrow){max-width:365px;color:#d0d5ca;line-height:1.62}
.hero-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:22px}
.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;border-radius:10px;padding:0 15px;border:1px solid transparent;font-size:13px;font-weight:800;white-space:nowrap;transition:background .16s,border-color .16s}
.button svg{width:17px;height:17px}
.primary{background:var(--lime);color:#161b0b}
.primary:hover{background:#efffa0}
.subtle{background:#1b201bdf;border-color:#3b4137;color:var(--text)}
.subtle:hover{background:#31392a;border-color:#778450}
.hero-location{position:absolute;right:23px;bottom:19px;display:flex;align-items:center;gap:9px;font:700 10px/1.4 ui-monospace,monospace;letter-spacing:.13em;color:#f1f1df;background:#11140dd9;border:1px solid #e6ff8c38;border-radius:7px;padding:8px 10px}
.hero-location span,.hero-location svg{color:var(--lime)}
.hero-location svg{width:15px;height:15px}
.library{margin-top:34px}
.section-head{display:flex;justify-content:space-between;align-items:end;gap:14px;margin-bottom:17px}
.slash{display:inline-block;width:13px;height:9px;background:repeating-linear-gradient(115deg,var(--lime) 0 3px,transparent 3px 6px)}
h2{font-size:clamp(28px,3vw,38px);line-height:1.12;letter-spacing:-.045em;margin-top:6px}
.filters{display:flex;padding:3px;gap:3px;border:1px solid var(--line);border-radius:10px;background:#141617}
.filters button{display:flex;align-items:center;gap:6px;min-height:35px;padding:0 11px;border:0;border-radius:7px;background:transparent;color:var(--muted);font-size:12px;font-weight:750}
.filters button:hover,.filters button[aria-pressed=true]{background:#252b21;color:var(--text)}
.filters button span{font:800 11px/1.5 ui-monospace,monospace;color:var(--lime)}
.filters svg{width:14px;height:14px}
.library-grid{display:grid;grid-template-columns:minmax(0,2.2fr) minmax(240px,1fr);gap:16px;align-items:start}
.cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.game-card{position:relative;background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);min-width:0;transition:border-color .18s}
.game-card:hover,.game-card:focus-within{border-color:#707a4e}
.card-art{position:relative;display:block;overflow:hidden;border-radius:17px 17px 0 0;aspect-ratio:2.1;background:#262822}
.card-art::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#12141077,transparent 60%);pointer-events:none}
.card-art img{width:100%;height:100%;object-fit:cover;transition:transform .28s ease}
.game-card:hover img{transform:scale(1.04)}
.card-year{position:absolute;z-index:1;top:13px;left:13px;border:1px solid #ffffff40;background:#151814e8;border-radius:6px;padding:4px 7px;font:700 11px/1.4 ui-monospace,monospace}
.card-num{position:absolute;z-index:1;left:12px;bottom:5px;font:italic 900 49px/.9 Barlow,Impact,sans-serif;color:#fff5}
.favorite{display:grid;place-items:center;width:42px;height:42px;border-radius:10px;border:1px solid #ffffff35;background:#161a17ef;color:var(--text);transition:color .16s,border-color .16s}
.game-card>.favorite{position:absolute;z-index:2;right:11px;top:11px}
.favorite svg{width:20px;height:20px}
.favorite:hover,.favorite[aria-pressed=true]{color:var(--lime);border-color:#97ad43}
.favorite[aria-pressed=true] svg{fill:currentColor}
.card-info{padding:15px 16px 12px}
.overline{color:#a8b29d}
.card-info h3{font-size:25px;line-height:1.15;letter-spacing:-.045em;margin:4px 0 6px}
.card-info h3 a:hover{color:var(--lime)}
.card-description{color:var(--muted);font-size:13px}
.card-bottom{display:flex;justify-content:space-between;align-items:center;gap:6px;margin-top:11px;color:#d5dbc9;font-size:12px}
.card-go{display:grid;place-items:center;width:42px;height:39px;border-radius:9px;background:#232821;color:var(--lime)}
.card-go:hover{background:var(--lime);color:#14180b}
.card-go svg{width:18px;height:18px}
.guide{position:relative;overflow:hidden;border:1px solid #3b432e;border-radius:var(--radius);background:radial-gradient(ellipse at top right,#2c351e,transparent 68%),#191e16;padding:20px}
.guide-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:10px;background:#303b20;color:var(--lime);margin-bottom:15px}
.guide-icon svg{width:22px;height:22px}
.guide .overline{color:#c9e67c}
.guide h3,.game-about h3{font-size:22px;letter-spacing:-.035em;line-height:1.2;margin:4px 0 8px}
.guide p:not(.overline),.game-about p{color:#b9c0b3;font-size:14px}
.guide-bottom{display:flex;align-items:center;gap:8px;margin-top:17px;padding-top:13px;border-top:1px solid #3d472f;font-size:12px;color:#d8e1cc;font-weight:650}
.guide-bottom svg{width:17px;height:17px;color:var(--lime)}
.empty{padding:30px;border:1px dashed #41473b;border-radius:var(--radius);min-height:190px}
.empty strong{font-size:22px}
.empty p{color:var(--muted);margin:6px 0 14px}
.footer{border-top:1px solid #262928;color:var(--muted)}
.footer-inner{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:21px 0}
.footer .brand{color:var(--text);font-size:26px}
.footer .brand-mark{width:28px;height:28px;border-radius:7px}
.footer .brand-mark svg{width:17px;height:17px}
.footer p,.footer-inner>a:last-child{font-size:12px}
.footer-inner>a:last-child{white-space:nowrap}
.footer-inner>a:last-child:hover{color:var(--lime)}
.footer-inner>a:last-child svg{width:14px;height:14px}
.crumb{display:flex;flex-wrap:wrap;align-items:center;gap:9px;margin-bottom:17px;color:var(--muted);font-size:13px}
.crumb a{display:inline-flex;align-items:center;gap:7px;color:var(--text);min-height:30px}
.crumb a:hover{color:var(--lime)}
.crumb svg{width:15px;height:15px}
.detail-hero{min-height:370px}
.detail-hero h1{font-size:clamp(65px,8.2vw,124px);color:var(--lime)}
.detail-hero.underground .hero-art{object-position:center 47%}
.detail-grid{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(250px,1fr);gap:24px;margin-top:30px;align-items:start}
.versions h2{margin-bottom:15px}
.version{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:19px;border:1px solid var(--line);border-radius:var(--radius);background:var(--panel);margin-bottom:11px}
.version h3{font-size:22px;line-height:1.2;letter-spacing:-.03em;margin:5px 0 6px}
.version p:not(.overline){color:var(--muted);font-size:14px}
.version:first-of-type .overline{color:var(--lime)}
.game-about{padding:18px 1px 0}
.mode-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:11px}
.mode-tags span{padding:4px 8px;border:1px solid var(--line);border-radius:7px;color:#c4ccb9;font-size:12px}
.guide .compat{border-top:1px solid #3d472f;margin-top:12px;padding-top:10px;font-weight:650;color:#e5f3bd}
.guide .compat[data-state=warning]{color:#ffdb9a}
@media(max-width:1050px){.wrap{width:calc(100% - 48px)}.hero{min-height:414px}.hero-content{padding-left:34px}.library-grid{grid-template-columns:minmax(0,2.5fr) minmax(205px,1fr)}.guide{padding:16px}}
@media(max-width:760px){.wrap{width:calc(100% - 32px)}.top-inner{grid-template-columns:auto minmax(0,1fr);gap:0 12px;padding:9px 0 6px}.nav{grid-row:2;grid-column:1/-1;margin-top:5px}.nav a{padding:7px 10px}.search{grid-column:2;grid-row:1}.brand{font-size:30px}.main{padding-top:16px}.hero{min-height:385px}.hero-content{width:83%;padding:40px 0 47px 25px}.hero-art{object-position:59% center}.hero::after{background:linear-gradient(90deg,#11140ef5 0%,#11140ed9 25%,#11140e70 61%,#11140e17),linear-gradient(0deg,#11140edb,transparent 42%)}.hero h1{font-size:clamp(59px,11vw,83px)}.hero-location{right:12px;bottom:11px;padding:5px 8px}.library{margin-top:26px}.library-grid,.detail-grid{grid-template-columns:1fr}.detail-grid{gap:12px}.footer-inner{flex-wrap:wrap}.footer-inner p{order:3;width:100%}}
@media(max-width:470px){.hero-content{width:100%;padding:39px 15px 54px 19px}.hero-art{object-position:66% center}.hero::after{background:linear-gradient(90deg,#11140ee8,#11140e47 95%),linear-gradient(0deg,#11140efc,transparent 69%)}.hero-content>p:not(.eyebrow){font-size:14px;max-width:275px}.hero h1{font-size:clamp(51px,13.1vw,66px)}.section-head{align-items:start;flex-direction:column;gap:12px}.cards{grid-template-columns:1fr}.card-art{aspect-ratio:2.15}.version{align-items:start;flex-direction:column;gap:12px}.detail-hero{min-height:309px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}
.detail-hero .hero-content{width:min(820px,87%)}
.detail-hero h1{font-size:clamp(60px,7.8vw,112px)}
@media(max-width:760px){.detail-hero .hero-content{width:100%}.detail-hero h1{font-size:clamp(42px,9.7vw,73px)}}
@media(max-width:470px){.detail-hero.underground h1{font-size:clamp(35px,11.1vw,51px)}.detail-hero .hero-actions{gap:7px}.detail-hero .hero-actions .button{padding-inline:10px}}
@media(max-width:355px){.search>svg{display:none}.search{gap:2px}}
/* Minecraft card: green accent so it reads as its own title, and the
   generated cover art is crop-safe at the card's 2.15:1 ratio. */
.game-card.minecraft:hover,.game-card.minecraft:focus-within{border-color:#5ecf74}
.game-card.minecraft .card-year{background:#5ecf74;color:#07310f}
.game-card.minecraft .card-art img{object-position:center 62%}
.detail-hero.minecraft .hero-art{object-position:center 58%}

.game-card.arcade:hover,.game-card.arcade:focus-within{border-color:#4ec3ff}
.game-card.arcade .card-year{background:#4ec3ff;color:#04202e}
.game-card.arcade .card-art img{object-position:center 55%}
.detail-hero.arcade .hero-art{object-position:center 55%}

@media(max-width:470px){.detail-hero.minecraft h1{font-size:clamp(40px,12.4vw,60px)}}

/* Retro: a cool blue accent, in the same shape as the other card accents. */
.game-card.retro:hover,.game-card.retro:focus-within{border-color:#58c8ff}
.game-card.retro .card-year{background:#58c8ff;color:#04202e}
.game-card.retro .card-art img{object-position:center 40%}
.detail-hero.retro .hero-art{object-position:center 40%}

/* PlayStation 2: a deeper indigo, distinct from retro but adjacent to it. */
.game-card.ps2:hover,.game-card.ps2:focus-within{border-color:#7d8cff}
.game-card.ps2 .card-year{background:#7d8cff;color:#0a0d2a}
.game-card.ps2 .card-art img{object-position:center 50%}
.detail-hero.ps2 .hero-art{object-position:center 50%}

/* Homebrew: green reads as "these ones actually start". */
.game-card.homebrew:hover,.game-card.homebrew:focus-within{border-color:#7ee787}
.game-card.homebrew .card-year{background:#7ee787;color:#04210f}
.game-card.homebrew .card-art img{object-position:center 45%}
.detail-hero.homebrew .hero-art{object-position:center 45%}
