@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,700;0,800;1,800&family=Inter:wght@400;500;600;700;800&display=swap');

:root{color-scheme:dark;--bg:#100e15;--panel:#191621;--line:#302937;--text:#faf5fb;--muted:#bcb1c4;--pink:#ff88c5;--heading:"Barlow Condensed","Arial Narrow",Impact,sans-serif}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--text);font:400 1rem/1.55 Inter,system-ui,sans-serif}
a{color:inherit}
button,input{font:inherit}
button{cursor:pointer}
:focus-visible{outline:2px solid var(--pink);outline-offset:4px}
.shell{width:min(1180px,calc(100% - 64px));margin-inline:auto}
.site-header{border-bottom:1px solid #292331;background:#141119}
.header-inner{display:flex;justify-content:space-between;align-items:center;gap:20px;min-height:68px}
.brand{display:inline-flex;align-items:center;text-decoration:none;font-size:1.05rem;font-weight:800;letter-spacing:-.05em;white-space:nowrap}
.brand span{color:var(--pink)}
.brand .mark{display:grid;place-items:center;margin-right:10px;width:32px;height:32px;border-radius:9px;background:#f786bd;color:#211223;font-size:1.2rem}
nav{display:flex;gap:27px;font-size:.88rem;color:var(--muted)}
nav a{text-decoration:none}
nav a:hover,.sources a:hover{color:white}
.breadcrumb{margin:20px 0 14px;font-size:.85rem;color:var(--muted)}
.breadcrumb span{margin-inline:7px;color:var(--pink)}
.hero{position:relative;isolation:isolate;display:flex;align-items:center;overflow:hidden;min-height:418px;border:1px solid #4e3048;border-radius:22px;background:#2b1a35 url('vice-city.jpg') center 57%/cover no-repeat}
.hero::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#170e21 2%,#1a1023ee 24%,#1a10236b 55%,#140b1b17 100%),linear-gradient(0deg,#170e24a8,transparent 40%)}
.hero-content{padding:36px 46px;max-width:540px}
.eyebrow{margin:0;color:#ffd0e8;font-size:.78rem;font-weight:800;letter-spacing:.15em}
.eyebrow span{display:inline-block;width:7px;height:7px;margin-right:7px;border-radius:50%;background:var(--pink)}
h1,h2,h3{margin:0;line-height:1}
h1{font:800 clamp(4rem,8.2vw,7.5rem)/.81 var(--heading);text-transform:uppercase;margin-block:16px 24px;letter-spacing:-.025em}
h1 em{color:#ff9dce;font-style:italic}
.hero-content>p:not(.eyebrow){color:#e5d8e6;max-width:370px;margin:0 0 22px}
.cta{display:inline-block;padding:10px 16px;border-radius:8px;background:#ff9dce;color:#241326;font-weight:800;text-decoration:none}
.cta:hover{background:#ffc2e2}
.hero-location{position:absolute;right:25px;bottom:20px;color:#fff1fa;font-size:.75rem;letter-spacing:.16em;font-weight:800;text-shadow:0 2px 6px #100e15}
.guide-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:28px;margin-block:38px 54px;align-items:start}
.section-title{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:17px}
h2{font:800 2.25rem/1 var(--heading);text-transform:uppercase;letter-spacing:.015em}
time,.count{color:var(--muted);font-size:.86rem}
.platforms,.categories{display:flex;gap:7px;flex-wrap:wrap}
.platforms{margin-bottom:13px}
.platforms button,.categories button,.copy{border:1px solid var(--line);border-radius:8px;padding:8px 13px;background:var(--panel);color:var(--text);font-size:.875rem;font-weight:700}
.platforms button[aria-pressed=true]{color:#231424;background:var(--pink);border-color:var(--pink)}
.categories button[aria-pressed=true]{border-color:#a75d8a;background:#372135;color:#ffd5eb}
button:hover{border-color:var(--pink)}
.search{display:flex;align-items:center;gap:10px;padding:0 12px;margin-bottom:13px;background:var(--panel);border:1px solid var(--line);border-radius:9px;color:var(--pink)}
.search span{font-size:1.65rem;line-height:1}
.search input{width:100%;min-width:0;min-height:44px;background:none;border:0;color:var(--text)}
.search input::placeholder{color:var(--muted)}
.count{margin:13px 0 8px}
.card,.panel{background:var(--panel);border:1px solid var(--line);border-radius:13px}
.card{padding:16px 18px;margin-bottom:10px}
.card-top{display:flex;align-items:start;justify-content:space-between;gap:10px}
.card h3{font-size:1.13rem;line-height:1.25}
.card p{margin:5px 0 0;color:var(--muted);font-size:.9rem}
.card p strong{color:var(--text)}
.card .category{font-size:.8rem;color:var(--pink);margin:0 0 4px}
.code{display:flex;flex-wrap:wrap;gap:5px;margin:12px 0 0}
kbd{display:inline-grid;place-items:center;min-width:25px;padding:0 4px;border:1px solid #513448;border-radius:5px;background:#2a1e30;color:#ffe5f4;font:600 .9rem/1.55 Inter,system-ui,sans-serif}
.code kbd{min-width:29px;height:29px;font-size:1rem}
.copy{white-space:nowrap;color:#ffd5eb}
.panel{padding:19px;margin-bottom:14px}
.panel h2{font-size:1.8rem}
.panel ol{padding:0;margin:16px 0;list-style:none;counter-reset:steps}
.panel ol>li{position:relative;padding-left:35px;margin:12px 0;counter-increment:steps}
.panel ol>li::before{content:counter(steps);display:grid;place-items:center;position:absolute;left:0;top:0;width:25px;height:25px;background:#392439;color:#ffd2ea;border-radius:7px;font-size:.83rem;font-weight:800}
.panel p{color:var(--muted);font-size:.9rem;margin:4px 0 0}
.panel .notice{background:#302236;border-left:2px solid var(--pink);padding:9px 10px;color:#f0daee}
.sources p{margin:10px 0}
.sources a{display:block;width:fit-content;color:var(--pink);font-size:.9rem;margin-top:5px}
footer{border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:12px;padding:18px 0 24px;color:var(--muted);font-size:.85rem}
.sr-only{position:absolute;clip-path:inset(50%);overflow:hidden;width:1px;height:1px;white-space:nowrap}
@media(max-width:830px){.guide-layout{grid-template-columns:minmax(0,1fr) 260px;gap:16px}.shell{width:calc(100% - 36px)}}
@media(max-width:690px){.guide-layout{grid-template-columns:minmax(0,1fr);margin-top:24px}.hero{min-height:350px;background-position:59% center}.hero-content{padding:25px 20px 47px}.hero::before{background:linear-gradient(90deg,#170e21ee,#170e216a),linear-gradient(0deg,#170e24b0,transparent)}.hero-location{right:13px;bottom:11px}.header-inner{min-height:58px}nav{gap:12px;font-size:.8rem}}
@media(max-width:370px){.shell{width:calc(100% - 24px)}.brand .mark{display:none}.hero-content{padding-left:14px}.code{gap:3px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

.card h3 a{text-decoration-color:var(--pink);text-underline-offset:.2em}
.card h3 a:hover,.detail a:hover{color:var(--pink)}
.detail{max-width:850px;padding-bottom:24px}
.detail h1{font-size:clamp(3rem,8vw,5.5rem);line-height:.92}
.detail .panel p{margin-top:9px}
.detail .copy{margin-top:14px}
.detail-article{margin-block:32px}
.detail-article h2{margin-top:24px}
.related-list{padding-left:20px}
.related-list li{margin-top:10px}
.related-list a{color:var(--pink);font-weight:700}

.catalog-list{padding:0;list-style:none}
.catalog-list .card h2{font-size:1.5rem;line-height:1.2}
.catalog-games{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:10px}
.catalog-games .card{margin:0}
.catalog-games span{display:block;color:var(--muted);font-size:.85rem}
.detail code{overflow-wrap:anywhere}

.hero-secondary{display:inline-block;margin:10px 0 0 12px;color:#ffd5eb;font-size:.9rem;font-weight:700;text-underline-offset:4px}
.catalog-hero .hero-content{max-width:850px}
.catalog-hero h1{font-size:clamp(3rem,8vw,6.5rem);color:#ff9dce;overflow-wrap:anywhere}
.catalog-hero-compact{min-height:240px}
.catalog-hero-compact h1{font-size:clamp(2.5rem,5vw,4.4rem)}
.catalog-content{margin:28px 0 48px}
.catalog-detail{margin-block:0}
.catalog-page .code kbd{height:auto;min-height:29px;padding:3px 9px;overflow-wrap:anywhere}
.catalog-page .category{margin-top:12px}
.catalog-page .search{max-width:650px}
.catalog-games .card{padding:0}
.catalog-games .card a{display:block;padding:16px 18px;color:#ffd5eb;font-weight:800;text-underline-offset:4px}
.catalog-games .card span{padding:0 18px 12px}
.catalog-games .card:focus-within,.catalog-games .card:hover{border-color:#a75d8a}
@media(max-width:690px){.catalog-hero-compact{min-height:205px}.site-header .header-inner{gap:10px}.site-header nav{flex-wrap:wrap;justify-content:flex-end}.catalog-page .hero-content{padding-bottom:28px}}

[data-banner-search]{width:min(100%,520px);margin-bottom:16px}
.banner-search .search{margin:0;background:#191621;border-color:#754663}
.banner-search input{min-height:50px}
.banner-search .search:focus-within{border-color:var(--pink)}
.banner-matches{margin-top:6px;border:1px solid #754663;border-radius:9px;background:#191621}
.banner-matches p{margin:0;padding:8px 12px;color:var(--muted);font-size:.84rem}
.banner-matches ul{max-height:230px;overflow:auto;list-style:none;padding:0;margin:0}
.banner-matches a{display:block;padding:8px 12px;border-top:1px solid var(--line);text-decoration:none}
.banner-matches a:hover,.banner-matches a:focus-visible{background:#372135}
.banner-matches small{display:block;color:var(--muted)}

[hidden]{display:none!important}
.catalog-page .catalog-filter{max-width:none}
.catalog-page .catalog-variant .category{margin:0 0 4px}
.card .record-title{font:inherit;font-size:1.13rem;font-weight:700;line-height:1.25;text-transform:none;letter-spacing:normal}
.detail .card-top .copy{margin-top:0}
@media(max-width:480px){.card-top>div{min-width:0;overflow-wrap:anywhere}}

.catalog-page:has(.catalog-detail-title){max-width:850px;padding-bottom:24px}
.catalog-detail-title{font-size:clamp(3rem,8vw,5.5rem);line-height:.92;overflow-wrap:anywhere}
.catalog-page .catalog-detail{margin-bottom:14px}
