*{box-sizing:border-box}
:root{color-scheme:light;font:16px/1.6 "Segoe UI",system-ui,sans-serif}
body{--paper:#faf7ef;--ink:#24241e;--soft:#625e52;--panel:#fffdf9;--line:#ded8c9;--accent:#315840;--on:#fff;--tint:#e8efd9;--round:22px;margin:0;background:var(--paper);color:var(--ink)}
body.winner{color-scheme:dark;--paper:#101820;--ink:#f9f6ed;--soft:#b7c2cd;--panel:#192632;--line:#344553;--accent:#ffd277;--on:#171f26;--tint:#233444;--round:8px}
body.gaming{color-scheme:dark;--paper:#1a1429;--ink:#fff6ff;--soft:#cbc1da;--panel:#271e3a;--line:#4d3b64;--accent:#efbfff;--on:#2b113e;--tint:#39254c;--round:14px}
body.gamer{--paper:#f3f7fa;--ink:#18283b;--soft:#4b6076;--panel:#fff;--line:#cedae3;--accent:#244f9f;--on:#fff;--tint:#e1ecf9;--round:6px}
body.funny{--paper:#fff7ed;--ink:#402325;--soft:#775257;--panel:#fffcf7;--line:#edcfc3;--accent:#a03050;--on:#fff;--tint:#ffdfd1;--round:32px}
a{color:inherit;text-underline-offset:.2em}
button{font:inherit;cursor:pointer}
:focus-visible{outline:3px solid var(--accent);outline-offset:4px}
img{display:block;max-width:100%;height:auto}
h1,h2,h3,p,figure{margin:0}
h1,h2,h3{line-height:1.12;overflow-wrap:anywhere}
h1{font-size:clamp(2.5rem,6vw,5.8rem);letter-spacing:-.065em}
h2{font-size:clamp(1.65rem,3.4vw,2.65rem);letter-spacing:-.045em}
h3{font-size:1.1rem}
.happy h1,.happy h2,.gamer h1,.funny h1,.funny h2{font-family:Georgia,serif}
.winner h1,.gaming h1{text-transform:uppercase;font-weight:900}
p{color:var(--soft)}
.wrap{width:min(1232px,calc(100% - 60px));margin-inline:auto}
.skip{position:fixed;top:.7rem;left:.7rem;transform:translateY(-200%);z-index:9;background:var(--panel);padding:.6rem}
.skip:focus{transform:none}
.top{background:var(--panel);border-bottom:1px solid var(--line)}
.top .wrap{display:flex;align-items:center;justify-content:space-between;gap:1.3rem;min-height:74px}
.top nav{display:flex;flex-wrap:wrap;gap:clamp(.45rem,1.4vw,1.25rem)}
.top nav a,dialog nav a{text-decoration:none;font-weight:650;font-size:.92rem}
.top nav a:hover,.top nav [aria-current]{color:var(--accent);text-decoration:underline}
.brand{flex:none}
.brand img{width:155px;height:42px}
.mobile-menu{display:none}
dialog{width:min(420px,calc(100% - 32px));max-height:90dvh;overflow:auto;border:1px solid var(--line);border-radius:var(--round);color:var(--ink);background:var(--panel);padding:1.4rem}
dialog::backdrop{background:#080a13b5}
dialog nav{display:grid;grid-template-columns:1fr 1fr;gap:.55rem;margin-top:1rem}
dialog nav a{padding:.75rem;background:var(--tint);border-radius:8px}
.dialog-head,.section-head,.controls{display:flex;justify-content:space-between;align-items:center;gap:.8rem}
button,.button{border-radius:var(--round);padding:.55rem .95rem;border:1px solid var(--line);color:var(--ink);background:var(--panel)}
.button{display:inline-flex;align-items:center;min-height:46px;text-decoration:none;font-weight:750;line-height:1.25}
.primary{background:var(--accent);color:var(--on);border-color:transparent}
main{min-height:55vh;padding-block:clamp(1.5rem,4vw,3.5rem) 4rem}
main>section+section,.home-pair,.catalog{margin-top:clamp(2.5rem,6vw,5.25rem)}
.kicker{font-size:.77rem;letter-spacing:.14em;text-transform:uppercase;color:var(--accent);font-weight:800}
.intro{display:grid;gap:1rem}
.intro p:not(.kicker){font-size:1.1rem;max-width:56ch}
.section-head{align-items:end;margin-bottom:1.15rem}
.section-head p{margin-top:.4rem}
.grid,.feature-grid{--gap:clamp(.7rem,2vw,1.25rem);--visible-cols:var(--cols,5);display:flex;flex-wrap:wrap;gap:var(--gap)}
.grid>.card,.feature-grid>.feature{flex:1 0 calc((100% - (var(--visible-cols) - 1)*var(--gap))/var(--visible-cols));container-type:inline-size;min-width:0}
.card{display:grid;align-content:start;min-width:0;overflow:hidden;text-decoration:none;background:var(--panel);border:1px solid var(--line);border-radius:var(--round);transition:transform .18s,border-color .18s}
.card:hover{transform:translateY(-3px);border-color:var(--accent)}
.card img,.feature img{width:100%;aspect-ratio:4/3;object-fit:contain;background:var(--tint)}
.card img{max-height:220px}
.hero .feature img{max-height:390px}
.card-text{padding:.7rem .85rem;display:grid;gap:.26rem}
.card-text small,.row-text small{color:var(--soft);font-size:.76rem}
.card-text strong,.row-text strong{line-height:1.28;overflow-wrap:anywhere}
.rows{display:grid;gap:.52rem}
.row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.8rem;padding:.48rem .75rem;text-decoration:none;background:var(--panel);border:1px solid var(--line);border-radius:var(--round)}
.row:hover{border-color:var(--accent)}
.row img{width:63px;aspect-ratio:1;object-fit:cover;border-radius:calc(var(--round) / 2)}
.row-text{display:grid;gap:.18rem;min-width:0}
.ranked .row{grid-template-columns:2ch auto minmax(0,1fr) auto}
.rank{font-weight:800;color:var(--accent)}
.feature{display:block;text-decoration:none;border:1px solid var(--line);background:var(--panel);border-radius:var(--round);overflow:hidden;min-width:0}

.feature-caption{display:grid;gap:.3rem;padding:1rem}
.feature-caption strong{font-size:1.3rem;line-height:1.15}
.feature-caption span{color:var(--soft);font-size:.88rem}
.feature:hover strong{text-decoration:underline}
.hero{display:grid;gap:clamp(1rem,3vw,2.25rem);min-width:0}
.happy .hero{grid-template-columns:1.05fr 1fr;align-items:center;background:var(--tint);padding:clamp(1rem,4vw,3.2rem);border-radius:var(--round)}
.winner .hero{grid-template-columns:1.18fr .82fr;background:var(--tint);padding:clamp(1rem,3vw,2rem);border-block:4px solid var(--accent)}
.winner .hero .intro{align-self:center}
.gaming .hero{display:block}
.gaming .hero .intro{margin-bottom:1.3rem}
.gamer .hero{grid-template-columns:.95fr 1.05fr;border-bottom:1px solid var(--line);padding-bottom:2rem;align-items:center}
.funny .hero{display:block;background:var(--tint);border:2px solid var(--line);border-radius:var(--round);padding:clamp(1rem,4vw,3rem)}
.funny .hero .intro{text-align:center;justify-items:center;margin-bottom:2rem}
.fun-stage{display:grid;grid-template-columns:1.5fr 1fr;align-items:center;gap:clamp(1rem,3vw,2.5rem)}
.fun-side h2{font-size:1.4rem;margin-bottom:.8rem}
.funny .hero .feature{box-shadow:0 7px 0 #a0305033}
.mosaic{display:grid;grid-template-columns:1.55fr 1fr 1fr;gap:1rem}
.mosaic .feature:first-child{grid-row:span 2}
.mosaic .feature:first-child img{aspect-ratio:1;object-position:center}
.mosaic .feature:not(:first-child) img{aspect-ratio:16/10;max-height:176px}
.home-pair{display:grid;grid-template-columns:1fr 1fr;gap:clamp(1.1rem,4vw,3rem)}
.winner .home-pair{grid-template-columns:.88fr 1.12fr}
.gamer .home-pair{grid-template-columns:1.16fr .84fr}
.funny .home-pair{grid-template-columns:.85fr 1.15fr}
.collection{padding:clamp(.9rem,2vw,1.5rem);background:var(--tint);border-radius:var(--round)}
.feature-grid .feature img{aspect-ratio:4/3;max-height:200px}
.carousel{min-width:0}
.slide[hidden]{display:none}
.slide.changing{animation:appear .35s ease both}
.slide img{aspect-ratio:16/10}
.slide .feature-caption{min-height:69px}
.controls{justify-content:flex-end;padding-top:.7rem}
.controls button{font-size:.85rem}
@keyframes appear{from{opacity:.45}to{opacity:1}}
.catalog{border-top:1px solid var(--line);padding-top:2rem}
[data-search-results]{margin-bottom:.8rem}
.search{display:grid;gap:.35rem;margin-bottom:1rem;max-width:450px}
.search input{width:100%;min-height:45px;font:inherit;border:1px solid var(--line);border-radius:var(--round);background:var(--panel);color:var(--ink);padding:.45rem .85rem}
.crumb{font-size:.9rem;color:var(--soft);margin-bottom:1rem}
.detail-head{display:grid;grid-template-columns:minmax(135px,232px) minmax(0,1fr);gap:clamp(1rem,4vw,3.25rem);align-items:center;background:var(--panel);border:1px solid var(--line);border-radius:var(--round);padding:clamp(1rem,4vw,2.5rem)}
.detail-head img{width:100%;max-width:232px;aspect-ratio:1;object-fit:cover;border-radius:var(--round)}
.detail-head h1,.player h1,.legal h1{font-size:clamp(2rem,5vw,4.25rem)}
.detail-head .intro{justify-items:start}
.winner .detail-head{border-top:5px solid var(--accent)}
.gaming .detail-head,.funny .detail-head{grid-template-columns:minmax(0,1fr) minmax(140px,215px);background:var(--tint)}
.gaming .detail-head img,.funny .detail-head img{grid-area:1/2}
.gamer .detail-head{background:transparent;border-width:0 0 1px;padding-inline:0}
.detail-notes{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem;margin-top:1.6rem}
.detail-notes section{padding:1.15rem;background:var(--tint);border-radius:var(--round)}
.detail-notes h2{font-size:1.25rem;margin-bottom:.5rem}
.game-guide{padding:clamp(1rem,3vw,2rem);border:1px solid var(--line);border-radius:var(--round);background:var(--panel)}
.game-guide h2{margin-bottom:1rem;font-size:clamp(1.5rem,3vw,2.15rem)}
.game-guide dl{margin:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.1rem}
.game-guide dl>div{border-top:2px solid var(--line);padding-top:.7rem}
.game-guide dt{font-weight:750;margin-bottom:.38rem}
.game-guide dd{margin:0;color:var(--soft);overflow-wrap:anywhere}
.game-guide-selection{margin-top:1rem;font-size:.9rem}
@media(max-width:700px){.game-guide dl{grid-template-columns:1fr;gap:.85rem}}
.player-stage{display:grid;gap:.8rem;margin-top:1.3rem;background:var(--panel);border:1px solid var(--line);padding:clamp(.85rem,2vw,1.6rem);border-radius:var(--round)}
.player-stage .button{justify-self:start}
.player-stage iframe{width:100%;height:min(72dvh,780px);min-height:320px;border:0;border-radius:var(--round);background:var(--tint)}
.legal{width:min(790px,100%);margin-inline:auto;overflow-wrap:anywhere}
.legal h1{margin-bottom:1.2rem}
.legal section{border-top:1px solid var(--line);margin-top:1.5rem;padding-top:1.2rem}
.legal h2{font-size:1.45rem;margin-bottom:.55rem}
.legal p+p{margin-top:.65rem}
.legal dt{font-weight:700}
.legal dd{margin:0 0 .55rem;color:var(--soft)}
.foot{padding:1.8rem 0;background:var(--panel);border-top:1px solid var(--line);font-size:.9rem}
.foot .wrap{display:grid;gap:.5rem}
.foot nav{display:flex;gap:.5rem 1.15rem;flex-wrap:wrap}
.foot p{overflow-wrap:anywhere}
.ad-placement{--slot-width:min(100vw,336px);display:grid;justify-items:center;width:var(--slot-width);min-height:280px;margin-block:50px;margin-inline:calc((100% - var(--slot-width))/2);text-align:center}
.ad-placement>div{width:100%}
.ad-placement>div>div{margin-inline:auto}
main:has(>.ad-placement:first-child){display:flow-root;padding-block-start:0}
main>.ad-placement+*{margin-block-start:0}
[hidden]{display:none!important}
@media(max-width:960px){.grid{grid-template-columns:repeat(min(var(--cols,5),4),minmax(0,1fr))}.home-pair .grid{grid-template-columns:repeat(2,minmax(0,1fr))}.top .desktop-nav{display:none}.mobile-menu{display:inline-block}}
@media(max-width:700px){.wrap{width:calc(100% - 32px)}.hero,.happy .hero,.winner .hero,.gamer .hero,.funny .hero,.home-pair,.winner .home-pair,.gamer .home-pair,.funny .home-pair{grid-template-columns:minmax(0,1fr)}.funny .hero .feature{transform:none}.mosaic{grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem}.mosaic .feature:first-child{grid-row:auto;grid-column:1/-1}.mosaic .feature:first-child img{aspect-ratio:2.1}.feature-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem}.grid{grid-template-columns:repeat(min(var(--cols,5),3),minmax(0,1fr))}.detail-head,.gaming .detail-head,.funny .detail-head{grid-template-columns:minmax(0,1fr)}.detail-head img,.gaming .detail-head img,.funny .detail-head img{grid-area:auto;width:clamp(114px,31vw,170px)}.detail-notes{gap:.75rem}}
@media(max-width:460px){.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.detail-notes{grid-template-columns:1fr}.feature-caption,.card-text{padding:.55rem}.feature-caption strong{font-size:1.05rem}.controls{justify-content:center}.top .wrap{min-height:62px}.brand img{width:132px}.section-head{align-items:start}}
@media(max-width:700px){.fun-stage{grid-template-columns:minmax(0,1fr)}}
@media(max-width:960px){.grid,.feature-grid{--visible-cols:min(var(--cols,5),4)}.home-pair .grid{--visible-cols:min(var(--cols,5),2)}}
@media(max-width:700px){.grid{--visible-cols:min(var(--cols,5),3)}.feature-grid{--visible-cols:min(var(--cols,3),2)}}
@media(max-width:460px){.grid{--visible-cols:min(var(--cols,5),2)}}
@container(min-width:365px){
  .card img{aspect-ratio:16/9}
}
@media(max-width:700px){.curated-grid>.card:nth-child(n+13){display:none}}
@media(max-width:460px){
  .curated-grid>.card:nth-child(n+9),.feature-grid>.feature:nth-child(n+7),.showcase-index>li:nth-child(n+7){display:none}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}

/* Category showcases */
.category-showcases{margin-block:clamp(3.5rem,8vw,7rem) 2rem;min-width:0}
.category-showcases>h2{margin:0 0 1.5rem;font-size:clamp(1.7rem,4vw,2.8rem)}
.showcase-sections,.showcase-section,.showcase-game,.showcase-list,.showcase-index li{min-width:0}
.showcase-heading{display:flex;justify-content:space-between;align-items:baseline;gap:.4rem 1rem;margin-bottom:.85rem;flex-wrap:wrap}
.showcase-heading h3{margin:0;font-size:clamp(1.06rem,2vw,1.45rem);line-height:1.2}
.showcase-more{font-size:.88rem;font-weight:650;text-decoration:underline;text-underline-offset:.2em}
.showcase-game{color:inherit;text-decoration:none}
.showcase-game:focus-visible,.showcase-more:focus-visible{outline:2px solid currentColor;outline-offset:3px}
.showcase-game:hover strong{text-decoration:underline;text-underline-offset:.2em}
.showcase-game strong{display:block;overflow-wrap:anywhere;line-height:1.25}
.showcase-game img{display:block;object-fit:cover;margin:0}

.category-showcases{padding:clamp(.9rem,3vw,2.3rem);border-radius:var(--round);background:var(--tint)}
.showcase-sections{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(.85rem,2.2vw,1.55rem);align-items:start}
.showcase-section{container-type:inline-size;background:var(--panel);border:1px solid var(--line);border-radius:var(--round);padding:clamp(.7rem,2vw,1.25rem)}
.showcase-index{margin:0;padding:0;list-style:none;display:grid;gap:.5rem}
.showcase-index li{margin:0}
.showcase-index .showcase-game{display:grid;grid-template-columns:44px minmax(0,1fr);align-items:center;gap:.55rem;min-height:50px;height:100%;padding:.25rem .4rem;border:1px solid var(--line);border-radius:9px;font-size:.9rem}
.showcase-index img{width:44px;height:40px;border-radius:6px}
.showcase-more{color:var(--accent)}
.showcases-garden .showcase-index img{border-radius:50%}
.showcases-garden .showcase-index .showcase-game{border-radius:22px}
.showcases-screen .showcase-section{border-top:3px solid var(--accent)}
.showcases-screen .showcase-index img{border-radius:2px}
.showcases-guide .showcase-section{border-radius:0}
.showcases-guide .showcase-index .showcase-game{border-width:0 0 1px;border-radius:0}
.showcases-competition .showcase-heading h3{font-variant:small-caps;letter-spacing:.04em}
.showcases-competition .showcase-index{gap:.6rem}
.showcases-break .showcase-section:nth-child(odd){border-top:4px solid var(--accent)}
.showcases-break .showcase-index img{border-radius:12px}
@container(min-width:320px){.showcase-index{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.showcase-sections{grid-template-columns:minmax(0,1fr)}}

/* Editorial game picks */
.editorial-picks {
  margin-block: 2rem;
  padding: clamp(.9rem, 3vw, 1.65rem);
  border: 1px solid var(--edge, var(--line));
  background: var(--surface, var(--panel));
  border-radius: var(--radius, var(--round, 0));
  min-width: 0;
  container-type: inline-size;
}
.detail-follow > .editorial-picks { margin-top: 0; }
.editorial-picks h2 { margin: 0 0 .5rem; font-size: clamp(1.25rem, 3vw, 1.85rem); }
.editorial-picks p { margin: 0; color: var(--muted, var(--soft)); overflow-wrap: anywhere; }
.editorial-picks ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: .7rem;
}
.editorial-picks li {
  display: grid;
  grid-template-columns: minmax(56px, 86px) minmax(0, 1fr);
  gap: .75rem;
  align-items: start;
  padding: .65rem;
  border: 1px solid var(--edge, var(--line));
  border-radius: .5rem;
  min-width: 0;
}
.editorial-picks img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: .35rem;
}
.editorial-picks a {
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: .18em;
  overflow-wrap: anywhere;
}
.editorial-picks li p { margin-top: .18rem; font-size: .93rem; }
.game-lead ~ .editorial-picks { border-width: 1px 0; border-radius: 0; background: transparent; }
.game-lead ~ .editorial-picks li { border-width: 0 0 1px; border-radius: 0; }
.detail-notes ~ .editorial-picks { background: var(--tint); }
@container (min-width: 510px) {
  .editorial-picks ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Game overview */
.game-overview {
  margin: 0 0 1.5rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--edge, var(--line));
}
.game-overview dl {
  display: grid;
  gap: .65rem;
  margin: .85rem 0 0;
}
.game-overview-item {
  min-width: 0;
  padding: .65rem .8rem;
  border-inline-start: 2px solid var(--accent, var(--line));
  background: var(--raised, var(--panel, transparent));
}
.game-overview dt {
  margin: 0 0 .12rem;
  font-size: .91rem;
  font-weight: 700;
}
.game-overview dd {
  margin: 0;
  color: var(--muted, var(--soft, inherit));
  line-height: 1.45;
  overflow-wrap: anywhere;
}
@container (min-width: 510px) {
  .game-overview dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .game-overview-item:last-child { grid-column: 1 / -1; }
}
