/* LeoGame v7: generated pages (news, articles, developer games) */
.h-page-hero .h-lead{margin:0}

/* News */
.h-news-section{padding-top:clamp(48px,6vw,80px)}
.h-news-feature{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);overflow:hidden;margin-bottom:24px}
.h-news-feature .h-news-media{margin:12px;aspect-ratio:auto;min-height:420px}
.h-news-feature h2{margin:0;font-weight:700;font-size:clamp(26px,2.8vw,40px);line-height:1.1;letter-spacing:-.04em}
.h-news-feature .h-news-body{padding:clamp(24px,3vw,44px) clamp(24px,3vw,44px) clamp(24px,3vw,44px) 16px;justify-content:center}
.h-news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.h-news-card{display:flex;flex-direction:column;overflow:hidden}
.h-news-media{position:relative;margin:10px 10px 0;border-radius:20px;overflow:hidden;aspect-ratio:16/10;background:#1d1928}
.h-news-media img{width:100%;height:100%;object-fit:cover;object-position:center 35%;transition:transform .8s var(--ease)}
.h-news-card:hover .h-news-media img,.h-news-feature:hover .h-news-media img{transform:scale(1.05)}
.h-news-media .h-chip{position:absolute;left:12px;top:12px;background:rgba(7,6,11,.75)}
.h-news-media .h-chip.is-lime{background:var(--lime)}
.h-news-body{display:flex;flex-direction:column;gap:12px;flex:1;padding:20px 22px 24px}
.h-news-body time{font-size:13px;color:var(--muted)}
.h-news-body h3{margin:0;font-weight:600;font-size:19px;line-height:1.25;letter-spacing:-.02em}
.h-news-body p{margin:0;color:var(--muted);font-size:15px}
.h-news-body .h-link{margin-top:auto}
.h-news-card:before,.h-news-feature:before{content:"";position:absolute;left:24px;right:24px;top:0;height:2px;z-index:2;background:linear-gradient(90deg,transparent,var(--c),transparent)}
.h-updates-section{padding-top:0}
.h-updates{display:grid;border-top:1px solid var(--line)}
.h-update{display:grid;grid-template-columns:120px 130px minmax(0,1fr) 24px;gap:18px;align-items:center;padding:20px 8px;border-bottom:1px solid var(--line);transition:background .2s}
.h-update:hover{background:rgba(124,107,255,.07)}
.h-update time{color:var(--muted);font-size:14px;font-variant-numeric:tabular-nums}
.h-update .h-chip{justify-self:start}
.h-update b{font-weight:600}
.h-update svg{width:18px;height:18px;fill:none;stroke:var(--lime);stroke-width:2}

/* Article */
.h-article{padding-bottom:clamp(60px,8vw,110px)}
.h-article-head{padding-top:clamp(130px,16vh,170px)}
.h-article-head h1,.h-article-head .h-article-lead{max-width:980px}
.h-back{display:inline-flex;align-items:center;gap:8px;margin-bottom:28px;color:var(--muted);font-weight:600;font-size:15px}
.h-back svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;transform:rotate(180deg)}
.h-back:hover{color:var(--lime)}
.h-article-meta{display:flex;align-items:center;gap:14px;margin-bottom:22px;color:var(--muted);font-size:14px}
.h-article h1{margin:0 0 22px;font-weight:800;font-size:clamp(32px,4.6vw,64px);line-height:1.06;letter-spacing:-.045em}
.h-article-lead{margin:0;font-size:clamp(18px,1.6vw,22px);color:var(--ink2);max-width:820px}
.h-article-photo{margin:clamp(36px,5vw,60px) auto 0;position:relative}
.h-article-photo img{width:100%;max-height:640px;object-fit:cover;border-radius:30px;box-shadow:0 0 0 1px var(--line2),0 0 80px color-mix(in srgb,var(--c) 30%,transparent)}
.h-article-photo.is-tall img{max-height:720px;object-position:center 30%}
.h-article-photo figcaption{margin-top:12px;font-size:13px;color:var(--muted)}
.h-article-photo figcaption a{color:var(--ink2);text-decoration:underline;text-decoration-color:rgba(255,255,255,.3);text-underline-offset:3px}
.h-article-grid{display:grid;grid-template-columns:minmax(0,720px) minmax(0,1fr);gap:clamp(40px,6vw,90px);margin-top:clamp(40px,5vw,64px);align-items:start}
.h-article-body{font-size:18px;line-height:1.75;color:var(--ink2)}
.h-article-body p{margin:0 0 22px}
.h-article-body h2{margin:44px 0 16px;font-weight:700;font-size:clamp(22px,2vw,28px);line-height:1.2;letter-spacing:-.03em;color:var(--ink)}
.h-article-body ul{margin:0 0 24px;padding:0;list-style:none;display:grid;gap:10px}
.h-article-body li{position:relative;padding:14px 16px 14px 44px;border-radius:16px;background:rgba(255,255,255,.035);box-shadow:inset 0 0 0 1px var(--line)}
.h-article-body li:before{content:"";position:absolute;left:18px;top:24px;width:8px;height:8px;border-radius:50%;background:var(--c);box-shadow:0 0 12px var(--c)}
.h-article-side{position:sticky;top:96px}
.h-sources{padding:24px;border-radius:24px;background:var(--card);box-shadow:inset 0 0 0 1px var(--line)}
.h-sources strong{display:block;margin-bottom:12px;font:700 16px/1.2 var(--display)}
.h-sources ul{list-style:none;margin:0;padding:0;display:grid;gap:4px}
.h-sources a{display:flex;justify-content:space-between;gap:10px;padding:10px 0;border-bottom:1px solid var(--line);font-size:15px;color:var(--ink2)}
.h-sources a:hover{color:var(--lime)}
.h-sources svg{flex:none;width:15px;height:15px;margin-top:4px;fill:none;stroke:currentColor;stroke-width:2}
.h-article-more{margin-top:clamp(60px,8vw,100px)}
.h-article-more .h-h2{margin-bottom:24px}
.h-more-list{display:grid;border-top:1px solid var(--line)}
.h-more-item{display:grid;grid-template-columns:170px minmax(0,1fr) 24px;gap:18px;align-items:center;padding:20px 8px;border-bottom:1px solid var(--line);transition:background .2s}
.h-more-item:hover{background:color-mix(in srgb,var(--c) 10%,transparent)}
.h-more-item time{color:var(--muted);font-size:14px}
.h-more-item span{font-weight:600;font-size:17px}
.h-more-item svg{width:18px;height:18px;fill:none;stroke:var(--c);stroke-width:2}

/* Developer games page */
.h-dg-section{padding-top:clamp(48px,6vw,80px)}
.h-cta-section{padding-top:0}
.h-cta-card{display:flex;justify-content:space-between;align-items:center;gap:30px;padding:clamp(28px,4vw,56px);border-radius:36px;background:radial-gradient(80% 120% at 100% 0%,rgba(198,255,61,.18),transparent 60%),var(--card);box-shadow:inset 0 0 0 1px rgba(198,255,61,.35),0 0 60px rgba(198,255,61,.12)}
.h-cta-card h2{margin:0 0 10px;font-weight:700;font-size:clamp(24px,2.6vw,38px);letter-spacing:-.04em}
.h-cta-card p{margin:0;color:var(--muted);max-width:560px}

@media (max-width:1000px){
  .h-news-feature{grid-template-columns:1fr}
  .h-news-feature .h-news-media{min-height:0;aspect-ratio:16/10}
  .h-news-feature .h-news-body{padding:8px 24px 28px}
  .h-news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .h-article-grid{grid-template-columns:1fr}
  .h-article-side{position:static}
}
@media (max-width:620px){
  .h-news-grid{grid-template-columns:1fr}
  .h-update{grid-template-columns:1fr auto;gap:8px 12px}
  .h-update b{grid-column:1/-1}
  .h-update svg{display:none}
  .h-article-photo img{border-radius:22px}
  .h-article-body{font-size:17px}
  .h-more-item{grid-template-columns:1fr}
  .h-more-item svg{display:none}
  .h-cta-card{flex-direction:column;align-items:flex-start}
}
