/* Quiet Logic Games — home hero game deck (2026-11-24). Loaded after qlg-studio-home. */
.sh-deck{position:relative;width:100%;max-width:560px;height:440px;justify-self:center}
.sh-deck__glow{position:absolute;inset:10% 2%;border-radius:50%;background:radial-gradient(closest-side,#6d63ff3d,#ffc24b26 55%,#0000);filter:blur(24px)}
.sh-card{position:absolute;top:13%;display:block;width:36%;aspect-ratio:3/4.3;border-radius:24px;overflow:hidden;text-decoration:none;color:#fff;
  box-shadow:0 24px 46px #13211c40;transition:translate .45s cubic-bezier(.3,1.3,.5,1),rotate .45s cubic-bezier(.3,1.3,.5,1),box-shadow .3s}
.sh-card:focus-visible{outline:3px solid var(--focus);outline-offset:4px}
.site-frame .sh-card,.site-frame .sh-card:hover{color:#fff;text-decoration:none}
.sh-card--al{inset-inline-start:0;rotate:-9deg;z-index:2;background:linear-gradient(160deg,#2a2270,#120f2e)}
.sh-card--tt{inset-inline-start:33.5%;top:6%;rotate:0deg;z-index:3;background:#3d8fe0}
.sh-card--next{inset-inline-start:65%;rotate:9deg;z-index:1;display:grid;place-items:center;align-content:center;gap:12px;padding:16px;
  background:var(--surface);border:2px dashed var(--border);box-shadow:0 14px 30px #13211c1a}
[dir=rtl] .sh-card--al{rotate:9deg}[dir=rtl] .sh-card--next{rotate:-9deg}
.sh-card:hover,.sh-card:focus-visible{z-index:4;box-shadow:0 34px 60px #13211c4d;translate:0 -12px}
.sh-card--next:hover,.sh-card--next:focus-visible{border-color:var(--pine)}

.sh-card__art{position:absolute;inset:0}
.sh-card__art img{width:100%;height:100%;object-fit:cover}
.sh-card--al .sh-card__art img{object-position:50% 46%;opacity:.8}
.sh-card--tt .sh-card__art img{object-position:50% 22%}
.sh-card__art::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,#0000 45%,#0b1220e0 100%)}
.sh-card__icon{position:absolute;inset-inline-start:12px;bottom:14px;width:40px;height:40px;border-radius:13px;border:2px solid #ffffffd9;box-shadow:0 8px 18px #0006}
.sh-card .sh-card__meta{position:absolute;inset-inline:60px 8px;bottom:12px;min-height:44px;align-content:center;display:grid;gap:2px;text-align:start}
.sh-card__meta b{font-size:17px;font-weight:800;line-height:1.2}
[dir=rtl] .sh-card__meta b{text-align:right}
.sh-card__meta small{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:700;line-height:1.3;opacity:.94}
.sh-card__meta small i{width:7px;height:7px;border-radius:50%;background:#5fe0a0;flex:none}
.sh-card--tt .sh-card__meta small i{background:#ffc24b}
.sh-card--next .sh-card__meta{position:static;text-align:center;justify-items:center}
.site-frame .sh-card--next .sh-card__meta b{font-size:18px;color:var(--ink);text-align:center}
.site-frame .sh-card--next .sh-card__meta small{color:var(--muted)}
.sh-card__plus{display:grid;place-items:center;width:58px;height:58px;border-radius:50%;border:2px dashed var(--pine);color:var(--pine);font-size:30px;font-weight:700;line-height:1}

@media (prefers-reduced-motion:no-preference){
  @keyframes sh-deal{from{opacity:0;translate:0 40px;rotate:0deg}}
  .sh-card{animation:sh-deal .6s cubic-bezier(.2,.9,.3,1.15) backwards}
  .sh-card--al{animation-delay:.08s}.sh-card--tt{animation-delay:.16s}.sh-card--next{animation-delay:.26s}
  @keyframes sh-plus{50%{scale:1.08;border-color:#6d63ff}}
  .sh-card__plus{animation:sh-plus 2.8s 1s ease-in-out infinite}
}

@media (width<=760px){
  .sh-deck{height:min(60vw,260px);max-width:420px;margin-top:4px}
  .sh-card{width:33.5%;border-radius:16px;top:12%}
  .sh-card--al{rotate:-7deg}[dir=rtl] .sh-card--al{rotate:7deg}
  .sh-card--next{rotate:7deg}[dir=rtl] .sh-card--next{rotate:-7deg}
  .sh-card--tt{inset-inline-start:33.25%;top:4%}
  .sh-card--next{inset-inline-start:66.5%;padding:8px;gap:6px}
  .sh-card__icon{display:none}
  .sh-card .sh-card__meta{inset-inline:8px;bottom:8px;min-height:0}
  .sh-card__meta b{font-size:14px}
  .sh-card__meta small{font-size:10.5px;gap:4px}
  .sh-card__plus{width:36px;height:36px;font-size:20px}
  .site-frame .sh-card--next .sh-card__meta b{font-size:13px}
}
