/* JayPlaysGames redesign 2026-11-17 (Johnny). Pure CSS, no frameworks, no external fonts.
   Palette from the jay logo (navy #081c3c, blue #0f78c6) plus an amber accent for codes. */
:root{
  --bg:#0a1020;
  --bg2:#0e1630;
  --surface:#121b36;
  --card:#141f3d;
  --card-hi:#1a2850;
  --line:rgba(148,170,220,.14);
  --line-hi:rgba(90,170,255,.45);
  --ink:#eef2fb;
  --ink2:#c9d3e8;
  --muted:#8e9bba;
  --accent:#4aa8ff;
  --accent-hi:#8cc8ff;
  --amber:#ffc24a;
  --ok:#3ecf8e;
  --on-accent:#04122a;
  --radius:14px;
  --shadow:0 1px 0 rgba(255,255,255,.04) inset,0 10px 30px -12px rgba(0,0,0,.6);
  --font:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  --mono:ui-monospace,SFMono-Regular,Menlo,Consolas,"Liberation Mono",monospace;
}
*,*::before,*::after{box-sizing:border-box}
html{font-size:17px;-webkit-text-size-adjust:100%;scroll-padding-top:5rem;overflow-x:clip}
body{
  margin:0;font-family:var(--font);color:var(--ink2);line-height:1.65;
  background:
    radial-gradient(1100px 500px at 85% -10%,rgba(74,168,255,.13),transparent 60%),
    radial-gradient(900px 420px at -10% 0%,rgba(15,120,198,.12),transparent 60%),
    var(--bg);
  background-repeat:no-repeat;background-color:var(--bg);
  min-height:100vh;display:flex;flex-direction:column;
  -webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;overflow-x:clip
}
a{color:var(--accent);text-decoration:underline;text-decoration-color:rgba(74,168,255,.35);text-underline-offset:3px;text-decoration-thickness:1px;transition:color .15s,text-decoration-color .15s}
a:hover{color:var(--accent-hi);text-decoration-color:currentColor}
strong,b{color:var(--ink);font-weight:650}
code{font-family:var(--mono);font-size:.88em;background:rgba(255,194,74,.1);color:var(--amber);border:1px solid rgba(255,194,74,.25);padding:.08em .4em;border-radius:6px;white-space:nowrap}
.wrap,.max-w-7xl{width:100%;max-width:74rem;margin:0 auto;padding:0 1.25rem}
.min-h-screen{min-height:100vh;display:flex;flex-direction:column}
.flex-1{flex:1}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}

/* ---------- Header ---------- */
.site-header,.top,nav.site-nav{
  position:sticky;top:0;z-index:20;
  background:rgba(10,16,32,.82);backdrop-filter:saturate(160%) blur(12px);-webkit-backdrop-filter:saturate(160%) blur(12px);
  border-bottom:1px solid var(--line)
}
.site-header .wrap{display:flex;align-items:center;gap:1.5rem;min-height:4rem}
.site-header a,.top a,nav.site-nav a{color:var(--ink2);text-decoration:none}
.site-header .brand,.top .brand{
  color:var(--ink)!important;font-weight:800;font-size:1.08rem;letter-spacing:-.01em;flex:0 0 auto;white-space:nowrap
}
.site-header .brand.has-logo{display:inline-flex;align-items:center;gap:.6rem}
.site-header .brand-logo{display:block;width:34px;height:34px;flex:0 0 34px;border-radius:9px;box-shadow:0 0 0 1px rgba(255,255,255,.12),0 6px 18px -6px rgba(74,168,255,.6)}
nav.nav,.top nav,.nav-links{display:flex;align-items:center;gap:.2rem;font-size:.9rem;font-weight:550;margin-left:auto;flex-wrap:wrap;justify-content:flex-end}
nav.nav a{padding:.45rem .7rem;border-radius:9px;line-height:1.2}
nav.nav a:hover{color:var(--ink);background:rgba(255,255,255,.06)}
nav.nav a[aria-current="page"]{color:var(--ink);background:rgba(74,168,255,.14)}

/* ---------- Main + typography ---------- */
main.wrap{flex:1;padding-top:.5rem;padding-bottom:4rem}
.crumbs,.bc{font-size:.82rem;color:var(--muted);margin:1.4rem 0 .9rem;line-height:1.5}
.crumbs a,.bc a{color:var(--muted);text-decoration:none}
.crumbs a:hover{color:var(--accent-hi)}
.crumbs span[aria-current]{color:var(--ink2)}
h1,h2,h3,h4{color:var(--ink);line-height:1.2;letter-spacing:-.02em}
h1{font-size:clamp(1.85rem,1.2rem + 2.4vw,2.85rem);font-weight:850;margin:.2rem 0 1rem;letter-spacing:-.03em;text-wrap:balance}
h2{font-size:clamp(1.3rem,1.1rem + .8vw,1.6rem);font-weight:780;margin:2.6rem 0 .9rem;padding-top:.2rem;text-wrap:balance}
h2::before{content:"";display:block;width:2.2rem;height:3px;border-radius:3px;background:linear-gradient(90deg,var(--accent),rgba(74,168,255,0));margin:0 0 .75rem}
h3{font-size:1.15rem;font-weight:720;margin:1.8rem 0 .6rem}
h4{font-size:1rem;margin:1.4rem 0 .5rem}
p{margin:.85rem 0}
ul,ol{padding-left:1.35rem;margin:.85rem 0}
li{margin:.35rem 0}
li::marker{color:var(--accent)}
hr{border:0;border-top:1px solid var(--line);margin:2rem 0}
blockquote{margin:1.2rem 0;padding:.9rem 1.1rem;border-left:3px solid var(--accent);background:var(--surface);border-radius:0 10px 10px 0}
.lead{color:var(--ink2);font-size:1.12rem;max-width:46rem}
.meta,.text-muted{font-size:.84rem;color:var(--muted)}
.meta a{color:var(--muted)}
.meta a:hover{color:var(--accent-hi)}

/* Long-form pages: comfortable measure, media can be a bit wider */
.pg-game main.wrap,.pg-child main.wrap,.pg-static main.wrap,.pg-games main.wrap{max-width:52rem}
.pg-game main>p,.pg-child main>p,.pg-static main>p{max-width:46rem}

/* ---------- Images ---------- */
main img{display:block;max-width:100%;height:auto;border-radius:12px;margin:1.25rem auto;background:var(--surface)}
/* in-body screenshots: never taller than the viewport, centred, framed */
main p>img,main figure>img{max-height:min(78vh,640px);width:auto;box-shadow:var(--shadow);border:1px solid var(--line)}
.hero-slot,figure.hero-slot{margin:0 0 1.5rem}
img.hero,.hero-slot img{
  display:block;width:100%;max-width:100%;height:auto;max-height:420px;object-fit:cover;object-position:center 30%;
  border-radius:var(--radius);border:1px solid var(--line);box-shadow:var(--shadow);margin:1.25rem 0
}
main p>img.hero{width:100%;max-height:420px}
/* a paragraph that only stacks several covers/icons (e.g. /games/) becomes a tidy strip */
main p:has(>img + br + img),main p:has(>img + img){
  display:grid;grid-template-columns:repeat(auto-fill,minmax(6.6rem,1fr));gap:.8rem;margin:1.5rem 0
}
main p:has(>img + br + img)>br,main p:has(>img + img)>br{display:none}
main p:has(>img + br + img)>img,main p:has(>img + img)>img,main p:has(>img + br + img)>img.hero{
  width:100%;height:auto;max-height:none;aspect-ratio:3/4;object-fit:cover;object-position:center;margin:0;border-radius:12px
}

/* ---------- Home hero ---------- */
.home-hero{
  display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:1rem 3rem;align-items:center;
  padding:1.6rem 0 .6rem;margin-bottom:.25rem
}
.home-hero h1{grid-column:1;grid-row:1;align-self:end;margin:0;font-size:clamp(2.4rem,1.4rem + 4vw,4.2rem);
  background:linear-gradient(180deg,#fff 20%,#a9c9ff);-webkit-background-clip:text;background-clip:text;color:transparent}
.home-hero .lead{grid-column:1;grid-row:2;align-self:start;margin:0;font-size:1.2rem;color:var(--ink2)}
.home-hero .hero-slot{grid-column:2;grid-row:1 / span 2;margin:0;position:relative}
.home-hero .hero-slot::before{content:"";position:absolute;inset:8% -6% -6% 8%;background:radial-gradient(closest-side,rgba(74,168,255,.35),transparent);filter:blur(30px);z-index:-1}
.home-hero img.hero{max-height:none;aspect-ratio:1;max-width:360px;margin:0 0 0 auto;border-radius:28px;transform:rotate(2deg)}
.pg-home .crumbs{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}

/* ---------- Cards ---------- */
.grid{display:grid;gap:1.1rem;grid-template-columns:repeat(auto-fill,minmax(15.5rem,1fr));margin:1.3rem 0}
.card,.bg-card{
  position:relative;background:linear-gradient(180deg,var(--card-hi),var(--card));
  border:1px solid var(--line);border-radius:var(--radius);padding:1.15rem 1.2rem 1.2rem;
  display:flex;flex-direction:column;gap:.45rem;box-shadow:var(--shadow);
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease
}
.card:hover{transform:translateY(-3px);border-color:var(--line-hi);box-shadow:0 18px 40px -18px rgba(74,168,255,.45)}
.card h3{margin:0;font-size:1.1rem;font-weight:750;line-height:1.3}
.card h3 a{color:var(--ink);text-decoration:none}
.card h3 a::after{content:"";position:absolute;inset:0;border-radius:inherit}
.card h3 a:hover{color:var(--accent-hi)}
.card .meta{margin:0;position:relative;z-index:1}
.card .meta a{display:inline-block;color:var(--accent);background:rgba(74,168,255,.12);border:1px solid rgba(74,168,255,.25);padding:.05rem .55rem;border-radius:999px;font-weight:600;font-size:.78rem;text-decoration:none}
.card p{margin:0;font-size:.93rem;color:var(--ink2);line-height:1.55}
.card img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:10px;margin:-.2rem 0 .5rem;max-height:none;box-shadow:none;border:0}
.card>a:first-child{position:relative;z-index:1}
.pill{display:inline-block;background:rgba(74,168,255,.12);color:var(--accent);border-radius:999px;padding:.15rem .6rem;font-size:.78rem;font-weight:600}

/* ---------- Lists (genre lists, related) ---------- */
.list{list-style:none;padding:0;margin:1rem 0;display:grid;gap:.6rem;grid-template-columns:repeat(auto-fill,minmax(13rem,1fr))}
.list li{margin:0}
.list li a{display:flex;align-items:center;justify-content:space-between;gap:.5rem;padding:.8rem 1rem;border-radius:12px;background:var(--surface);border:1px solid var(--line);color:var(--ink);text-decoration:none;font-weight:600;transition:border-color .15s,background .15s}
.list li a::after{content:"\2192";color:var(--accent);transition:transform .15s}
.list li a:hover{border-color:var(--line-hi);background:var(--card-hi)}
.list li a:hover::after{transform:translateX(3px)}

/* ---------- Tables (code tables, tier lists) ---------- */
.tbl{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;margin:1.2rem 0;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow)}
.tbl table,main table{width:100%;border-collapse:collapse;font-size:.92rem;line-height:1.45}
main table{margin:0}
main th{background:rgba(74,168,255,.08);color:var(--ink);font-weight:700;font-size:.78rem;text-transform:uppercase;letter-spacing:.05em;text-align:left;white-space:nowrap}
main th,main td{padding:.7rem .9rem;border-bottom:1px solid var(--line);vertical-align:top;text-align:left}
main tbody tr:last-child td{border-bottom:0}
main tbody tr:nth-child(even) td{background:rgba(255,255,255,.018)}
main tbody tr:hover td{background:rgba(74,168,255,.05)}
main td:first-child{color:var(--ink);font-weight:600}
.partner-code,.code-table{margin:1.4rem 0}
.partner-code .tbl{border-color:rgba(255,194,74,.35);background:linear-gradient(180deg,rgba(255,194,74,.06),var(--surface))}
.partner-code th{background:rgba(255,194,74,.1)}

/* ---------- Facts, CTA ---------- */
.facts{display:grid;gap:.6rem 1.5rem;grid-template-columns:repeat(auto-fit,minmax(10rem,1fr));margin:1rem 0;padding:1rem 1.2rem;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius)}
.facts dt{font-size:.74rem;color:var(--muted);text-transform:uppercase;letter-spacing:.06em}
.facts dd{margin:0;font-weight:650;color:var(--ink)}
.cta{display:block;margin:1rem 0 0}
a.btn,a.btn-primary,.cta>a{display:inline-flex;align-items:center;min-height:44px;background:var(--accent);color:var(--on-accent)!important;text-decoration:none;font-weight:750;padding:.7rem 1.2rem;border-radius:11px;border:0}
a.btn:hover,a.btn-primary:hover,.cta>a:hover{background:var(--accent-hi)}
.prose p{margin:.85rem 0}

/* ---------- Footer ---------- */
.site-footer,.foot{margin-top:auto;padding:2.2rem 0 2.6rem;background:rgba(6,10,22,.7);border-top:1px solid var(--line);color:var(--muted);font-size:.88rem}
.site-footer .wrap{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.75rem 2rem}
.site-footer p{margin:0}
.site-footer p:first-child{color:var(--ink);font-weight:800;letter-spacing:-.01em;font-size:1rem}
.site-footer a,.foot a{color:var(--ink2);text-decoration:none}
.site-footer a:hover{color:var(--accent-hi)}
.fnav{display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(12rem,1fr))}
.fnav ul{list-style:none;padding:0;margin:.4rem 0 0}

/* ---------- Mobile ---------- */
@media (max-width:860px){
  .home-hero{grid-template-columns:1fr;padding-top:1.4rem;gap:1rem}
  .home-hero .hero-slot{grid-column:1;grid-row:1}
  .home-hero .hero-slot::before{display:none}
  .home-hero h1{grid-row:2}
  .home-hero .lead{grid-row:3}
  .home-hero img.hero{max-width:100%;aspect-ratio:16/9;object-position:center 18%;transform:none;border-radius:18px;margin:0}
}
@media (max-width:640px){
  html{font-size:16.5px;scroll-padding-top:0}
  .site-header,.top,nav.site-nav{position:static;backdrop-filter:none;-webkit-backdrop-filter:none;background:var(--bg)}
  .site-header .wrap{flex-direction:column;align-items:stretch;gap:.1rem;padding:.55rem 0 .35rem;min-height:0}
  .site-header .brand{padding:0 1.1rem}
  .site-header .brand-logo{width:30px;height:30px;flex-basis:30px}
  nav.nav{margin:0;flex-wrap:nowrap;justify-content:flex-start;overflow-x:auto;white-space:nowrap;padding:.35rem 1.1rem .2rem;gap:.35rem;scrollbar-width:none;-webkit-overflow-scrolling:touch;
    -webkit-mask-image:linear-gradient(90deg,#000 85%,transparent);mask-image:linear-gradient(90deg,#000 85%,transparent)}
  nav.nav::-webkit-scrollbar{display:none}
  nav.nav a{flex:0 0 auto;padding:.42rem .75rem;background:var(--surface);border:1px solid var(--line);border-radius:999px;font-size:.84rem}
  .wrap{padding:0 1.1rem}
  h2{margin-top:2.1rem}
  main p>img,main figure>img{max-height:70vh}
  img.hero,.hero-slot img,main p>img.hero{max-height:260px}
  .grid{grid-template-columns:1fr}
  main th,main td{padding:.6rem .7rem}
  main table{font-size:.88rem}
  .site-footer .wrap{flex-direction:column;align-items:flex-start}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important}.card:hover{transform:none}}

/* ================= v2 image-rich layer (17.11 11:48) ================= */
/* Card covers */
.card{padding:0;overflow:hidden;gap:0}
.card>*:not(.card-cover):not(a:first-child){margin-left:1.15rem;margin-right:1.15rem}
.card h3{margin-top:1rem}
.card .meta{margin-top:.5rem}
.card p:last-child{margin-bottom:1.2rem}
.card p{margin-top:.55rem}
img.card-cover,.card>a:first-child>img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;margin:0;border-radius:0;border:0;box-shadow:none;background:var(--surface);transition:transform .35s ease}
.card>a:first-child{display:block;overflow:hidden}
.card:hover img.card-cover,.card:hover>a:first-child>img{transform:scale(1.05)}
.card{isolation:isolate}
.card img.card-cover{position:relative;z-index:-1}

/* Home hero with mosaic */
.home-hero{position:relative;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);padding:2rem 0 1.5rem;gap:1rem 3rem}
.home-hero .mosaic{grid-column:2;grid-row:1 / span 2;display:grid;grid-template-columns:repeat(6,1fr);grid-auto-rows:5.2rem;gap:.7rem;position:relative}
.mosaic .mz{overflow:hidden;border-radius:16px;border:1px solid var(--line);box-shadow:var(--shadow);background:var(--surface)}
.mosaic .mz img{width:100%;height:100%;object-fit:cover;margin:0;border:0;border-radius:0;box-shadow:none;max-height:none}
.mz1{grid-column:1 / span 4;grid-row:1 / span 3}
.mz2{grid-column:5 / span 2;grid-row:1 / span 2}
.mz3{grid-column:5 / span 2;grid-row:3 / span 2}
.mz4{grid-column:1 / span 2;grid-row:4 / span 2}
.mz5{grid-column:3 / span 2;grid-row:4 / span 2}
.mz6{grid-column:5 / span 2;grid-row:5 / span 1}
.home-hero .hero-slot{grid-column:2;grid-row:1 / span 2;align-self:end;justify-self:start;z-index:2;margin:0 0 -.8rem -1.4rem;position:relative}
.home-hero .hero-slot::before{display:none}
.home-hero img.hero{width:118px;height:118px;max-width:none;aspect-ratio:1;border-radius:26px;transform:rotate(-6deg);border:3px solid rgba(255,255,255,.9);box-shadow:0 18px 40px -10px rgba(0,0,0,.8);margin:0}
.home-hero h1{font-size:clamp(2.3rem,1rem + 3.6vw,3.9rem);overflow-wrap:anywhere}

/* Genre tiles (home) */
.list:has(.tile){grid-template-columns:repeat(auto-fill,minmax(10.5rem,1fr));gap:.9rem}
.list li.tile a{position:relative;display:block;padding:0;aspect-ratio:4/3;overflow:hidden;border-radius:14px;border:1px solid var(--line);background:var(--surface)}
.list li.tile a::after{content:none}
.list li.tile img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;margin:0;border:0;border-radius:0;box-shadow:none;max-height:none;transition:transform .35s ease}
.list li.tile a::before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,rgba(6,10,22,0) 35%,rgba(6,10,22,.9))}
.list li.tile .tile-name{position:absolute;left:.9rem;bottom:.75rem;z-index:2;color:#fff;font-weight:800;font-size:1.02rem;letter-spacing:-.01em}
.list li.tile a:hover img{transform:scale(1.07)}
.list li.tile a:hover{border-color:var(--line-hi)}

/* /games/ list -> cover cards */
.pg-games main.wrap{max-width:64rem}
.pg-games main ul:has(.game-li){list-style:none;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(17rem,1fr));gap:1.1rem;margin:1.3rem 0}
.pg-games li.game-li{margin:0;background:linear-gradient(180deg,var(--card-hi),var(--card));border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;padding:0 1.1rem 1.1rem;font-size:.93rem;line-height:1.55;box-shadow:var(--shadow);transition:transform .18s,border-color .18s}
.pg-games li.game-li:hover{transform:translateY(-3px);border-color:var(--line-hi)}
.pg-games li.game-li::marker{content:none}
.pg-games li.game-li img.li-cover{display:block;width:calc(100% + 2.2rem);max-width:none;margin:0 -1.1rem .9rem;aspect-ratio:16/9;height:auto;object-fit:cover;border-radius:0;border:0;box-shadow:none;max-height:none}
.pg-games li.game-li strong{font-size:1.06rem}
.pg-games li.game-li strong a{color:var(--ink);text-decoration:none}

/* Game + guide page banner (behind breadcrumb + H1) */
.page-head{position:relative;width:100vw;margin-left:calc(50% - 50vw);min-height:clamp(15rem,30vw,24rem);display:flex;align-items:flex-end;margin-bottom:1.6rem;overflow:hidden;isolation:isolate}
.page-head img.banner-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;margin:0;border:0;border-radius:0;box-shadow:none;max-height:none;z-index:-2}
.page-head::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(10,16,32,.15) 0%,rgba(10,16,32,.55) 55%,var(--bg) 100%),linear-gradient(90deg,rgba(10,16,32,.75),rgba(10,16,32,0) 70%)}
.page-head-in{width:100%;max-width:52rem;margin:0 auto;padding:0 1.25rem .4rem}
.page-head .crumbs{margin:0 0 .5rem}
.page-head .crumbs,.page-head .crumbs a{color:rgba(238,242,251,.8)}
.page-head h1{margin:0;text-shadow:0 2px 24px rgba(0,0,0,.6);color:#fff}

/* In-body screenshots: portrait ones float beside text on desktop */
@media (min-width:900px){
  .pg-game main p>img:not(.hero)[height],.pg-child main p>img:not(.hero)[height]{max-height:560px}
}
.pg-game main p:has(>img.hero),.pg-child main p:has(>img.hero){margin:1.4rem 0}
.pg-game main p>img.hero,.pg-child main p>img.hero{max-height:360px;aspect-ratio:21/9;object-fit:cover;width:100%}

/* Gallery (label from CSS, no DOM text) */
.gallery{margin:3rem 0 0;display:grid;grid-template-columns:repeat(auto-fill,minmax(11rem,1fr));gap:.8rem}
.gallery::before{content:"Screenshots";grid-column:1 / -1;color:var(--ink);font-weight:780;font-size:clamp(1.3rem,1.1rem + .8vw,1.6rem);letter-spacing:-.02em;border-top:3px solid transparent;border-image:linear-gradient(90deg,var(--accent) 2.2rem,transparent 2.2rem) 1;padding-top:.75rem}
.gallery .g-item{margin:0;overflow:hidden;border-radius:12px;border:1px solid var(--line);background:var(--surface);aspect-ratio:16/10}
.gallery img.g-img{width:100%;height:100%;object-fit:cover;margin:0;border:0;border-radius:0;box-shadow:none;max-height:none;transition:transform .35s}
.gallery .g-item:hover img{transform:scale(1.06)}

@media (max-width:860px){
  .home-hero{grid-template-columns:1fr}
  .home-hero .mosaic{grid-column:1;grid-row:1;grid-auto-rows:3.2rem;gap:.45rem}
  .home-hero .hero-slot{grid-column:1;grid-row:1;align-self:end;margin:0 0 -.6rem .4rem}
  .home-hero img.hero{width:84px;height:84px;border-radius:20px;aspect-ratio:1;transform:rotate(-6deg);object-position:center}
  .home-hero h1{grid-row:2;margin-top:.8rem}
  .home-hero .lead{grid-row:3}
}
@media (max-width:640px){
  .page-head{min-height:13rem}
  .page-head-in{padding:0 1.1rem .2rem}
  .pg-game main p>img.hero,.pg-child main p>img.hero{max-height:220px;aspect-ratio:16/9}
  .gallery{grid-template-columns:repeat(2,1fr);gap:.5rem}
  .list:has(.tile){grid-template-columns:repeat(2,1fr);gap:.6rem}
}
