/* SayaLab Visual Edition 2026.10.27 — additive design layer.
   Pure presentation; no API/auth/release logic touched. */
:root { --sl27-sky:#b9e7ff; --sl27-violet:#b6a4ff; --sl27-mint:#91e6d1; }
body.sl-modern { background:#080c15; }
body.sl-modern .sl-header.sl-header {
  background:rgba(6,10,19,.86); border-bottom:1px solid rgba(185,211,255,.11);
  backdrop-filter:blur(24px) saturate(135%);-webkit-backdrop-filter:blur(24px) saturate(135%);
}
body.sl-modern .sl-header-inner { height:76px; }
body.sl-modern .sl-brand { font-size:23px;letter-spacing:-1.15px; }
body.sl-modern .sl-mark {
  border-radius:11px;clip-path:none;width:39px;height:39px;
  background:linear-gradient(145deg,#dcf4ff 2%,#98bfff 52%,#9d8fff);
  box-shadow:0 6px 28px rgba(119,153,255,.22);
}
body.sl-modern .sl-brand b { color:#b6a4ff; }
@media (min-width:821px) {
  body.sl-modern .sl-header .sl-nav {
    border:1px solid rgba(189,211,249,.13);
    padding:5px 6px 5px 15px;gap:4px;border-radius:100px;
    background:rgba(26,37,58,.48);
  }
  body.sl-modern .sl-header .sl-nav a:not(.sl-account) {
    display:inline-flex;align-items:center;
    border:0;padding:9px 13px;border-radius:100px;color:#b6c4d9;
    font-size:12px;transition:background .2s,color .2s;
  }
  body.sl-modern .sl-header .sl-nav a:not(.sl-account):hover,
  body.sl-modern .sl-header .sl-nav a:not(.sl-account)[aria-current=page] {background:rgba(178,205,255,.12);color:#fff}
  body.sl-modern .sl-header .sl-nav a[aria-current=page]:after {display:none}
  body.sl-modern .sl-header .sl-nav .sl-account {
    background:linear-gradient(120deg,#d2ebff,#b8bbff);color:#091425;
    border:0;font-weight:800;margin-left:4px;box-shadow:0 3px 17px rgba(139,167,255,.12);
  }
  body.sl-modern .sl-header .sl-nav .sl-account:hover {background:linear-gradient(120deg,#edfbff,#d8d5ff);color:#091425}
  body.sl-modern .sl-search-button {padding-inline:13px!important;border-radius:40px!important;background:rgba(160,186,233,.06)!important}
}
body.sl-home .sl-hero { min-height:700px;overflow:hidden;background:#070e1d; }
body.sl-home .sl-hero-inner {min-height:700px;padding-top:106px;padding-bottom:128px;}
body.sl-home .sl-hero .sl-hero-image {
  object-position:57% 49%;filter:saturate(1.12) contrast(1.08);
  transform:scale(1.012);
}
body.sl-home .sl-hero:before {
  background:linear-gradient(90deg,#050b17 1%,rgba(5,11,23,.96) 20%,rgba(5,11,23,.73) 42%,rgba(5,11,23,.18) 74%),
    linear-gradient(0deg,#080c15 0%,rgba(8,12,21,.02) 37%,rgba(8,12,21,.22) 100%);
}
body.sl-home .sl-hero:after {
  background:radial-gradient(ellipse 46% 57% at 72% 34%,rgba(146,135,255,.19),transparent 83%),
             linear-gradient(180deg,transparent 75%,rgba(8,12,21,.21));
}
body.sl-home .sl-eyebrow {
  margin-bottom:26px;letter-spacing:.14em;font-size:10px;padding:9px 14px;
  border:1px solid rgba(190,215,255,.29);background:rgba(11,22,43,.76);
  box-shadow:0 8px 22px rgba(1,5,16,.16);
}
body.sl-home .slh-status-dot {background:var(--sl27-mint);box-shadow:0 0 0 4px rgba(145,230,209,.13),0 0 18px rgba(145,230,209,.35)}
body.sl-home .sl-hero h1 {
  max-width:940px;font-size:clamp(59px,6.3vw,100px);line-height:.99;
  font-weight:800;letter-spacing:-.077em;text-wrap:balance;
  text-shadow:0 10px 40px rgba(0,0,0,.22);
}
body.sl-home .sl-hero h1 span {
  background:linear-gradient(100deg,#f0f8ff 0%,#b5ccff 51%,#afa0ff 100%);
  background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;
}
body.sl-home .sl-hero-lead {font-size:16px;line-height:1.65;max-width:520px;color:#cfdaee;letter-spacing:-.008em}
body.sl-home .sl-actions .sl-button {
  min-height:54px;padding:15px 22px;border-radius:15px;gap:22px;
  transition:transform .2s,box-shadow .2s,background .2s,border-color .2s;
}
body.sl-home .sl-actions .sl-button:hover {transform:translateY(-3px)}
body.sl-home .sl-actions .sl-button-primary {
  background:linear-gradient(115deg,#d5ecff,#b8c4ff 75%,#c4b8ff);border-color:transparent;color:#071327;
  box-shadow:0 12px 39px rgba(139,169,255,.23);
}
body.sl-home .sl-actions .sl-button-primary:hover {box-shadow:0 15px 46px rgba(139,169,255,.35)}
body.sl-home .sl-actions .sl-button:not(.sl-button-primary) {
  background:rgba(11,22,41,.69);border-color:rgba(193,211,247,.3);
}
body.sl-home .slh-hero-tertiary {color:#c8d9f7;border-color:#809abe80}
body.sl-home .sl-hero-facts {gap:0;padding:5px;border:1px solid rgba(171,195,233,.18);
  border-radius:17px;background:rgba(8,18,33,.72);backdrop-filter:blur(22px);
  box-shadow:0 12px 32px rgba(0,0,0,.14)}
body.sl-home .sl-hero-facts div {min-width:122px;border:0;border-radius:11px;background:none;box-shadow:none;padding:10px 15px}
body.sl-home .sl-hero-facts div+div {border-left:1px solid rgba(170,196,235,.18);border-radius:0}
body.sl-home .sl-hero-facts strong {font-size:22px;font-variant-numeric:tabular-nums}
body.sl-home .sl-hero-facts small {font-size:10px}
body.sl-home .sl-art-caption {color:#bfcee5;opacity:.9}
/* A compact, real in-game discovery card in place of another generic stat. */
.sl27-spotlight {
  position:absolute;z-index:3;right:0;bottom:112px;width:288px;display:flex;gap:12px;
  align-items:center;padding:9px;border:1px solid rgba(183,212,255,.29);border-radius:17px;
  background:linear-gradient(125deg,rgba(22,35,60,.9),rgba(14,24,43,.87));
  box-shadow:0 16px 42px rgba(0,0,0,.3);backdrop-filter:blur(24px);
  color:#eff6ff;text-decoration:none;transition:transform .2s,border-color .2s;
}
.sl27-spotlight:hover {transform:translateY(-4px);border-color:rgba(192,220,255,.7)}
.sl27-spotlight img {width:89px;height:70px;object-fit:cover;border-radius:11px;flex-shrink:0}
.sl27-spotlight-content {display:grid;gap:5px;min-width:0}
.sl27-spotlight-content small {font-size:9px;font-weight:850;letter-spacing:.13em;color:#a7e6e8}
.sl27-spotlight-content strong {font-size:16px;letter-spacing:-.03em}
.sl27-spotlight-content span {font-size:11px;color:#bbd1ee}
body.sl-home .slh-platform-section {
  margin-top:0;margin-bottom:40px;padding:32px 35px;border-radius:24px;
  border-color:rgba(158,183,240,.26);
  background:radial-gradient(ellipse 50% 145% at 0% 0%,rgba(116,134,233,.25),transparent 83%),
             linear-gradient(125deg,#1a2645,#101a2c 63%,#111b2d);
  box-shadow:0 25px 70px rgba(0,0,0,.23),inset 0 1px rgba(233,245,255,.05);
}
body.sl-home .slh-platform-logo {border-radius:17px;background:linear-gradient(135deg,#d3efff,#a9bbff 75%,#9a91ff)}
body.sl-home .slh-platform-heading h2 {font-weight:800}
body.sl-home .slh-platform-heading h2 span {color:#b7b9ff}
body.sl-home .slh-platform-card {
  min-height:90px;border-radius:17px;border-color:rgba(184,203,242,.19);
  background:rgba(5,14,30,.53);transition:background .2s,transform .2s,border-color .2s;
}
body.sl-home .slh-platform-card:hover {background:rgba(58,72,122,.45);border-color:rgba(187,205,255,.57)}
body.sl-home .slh-platform-symbol {border-radius:13px;color:#d1e7ff;background:rgba(118,147,255,.13)}
body.sl-home .slh-platform-arrow {color:#b8bcff}
/* The games become a deliberate asymmetric gallery rather than seven identical tiles. */
body.sl-home .worlds-section {
  position:relative;background:radial-gradient(ellipse 80% 90% at 95% 5%,rgba(64,60,134,.17),transparent 60%),#0a111e;
  border-top:1px solid rgba(168,186,229,.15);padding-top:82px;padding-bottom:77px;
}
body.sl-home .worlds-top h2 {font-size:clamp(35px,4.3vw,59px);line-height:1.06;font-weight:790}
body.sl-home .worlds-top h2 .soft {color:#b1bffc}
body.sl-home .worlds-top>p {max-width:390px}
body.sl-home .slh-game-filter {border-radius:12px;background:#172134;color:#c1ccde;border-color:#65789440;padding-inline:18px}
body.sl-home .slh-game-filter.is-active {background:linear-gradient(115deg,#c7e7ff,#c4baff);color:#0b1422;border-color:transparent}
body.sl-home .worlds-grid {
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-flow:row dense;
  gap:14px;
}
body.sl-home .worlds-card,body.sl-home .worlds-card-feature {
  grid-column:span 1;grid-row:span 1;aspect-ratio:auto;min-height:224px;
  border-radius:20px;border:1px solid rgba(178,204,245,.2);
  background:#17253a;box-shadow:0 14px 35px rgba(0,0,0,.18);
  transition:transform .25s,border-color .25s,box-shadow .25s;
}
body.sl-home .worlds-card-feature {
  grid-column:span 2;grid-row:span 2;min-height:466px;
}
body.sl-home .worlds-card:nth-last-child(-n+2):not(.worlds-card-feature) {grid-column:span 2;min-height:224px}
body.sl-home .worlds-card img {width:100%;height:100%;object-fit:cover;filter:saturate(1) brightness(.92)}
body.sl-home .worlds-card-shade {background:linear-gradient(180deg,rgba(3,8,19,.08) 13%,rgba(3,8,19,.18) 42%,rgba(3,8,19,.89) 100%)}
body.sl-home .worlds-card-content {left:0;right:0;bottom:0;padding:22px;gap:6px}
body.sl-home .worlds-card strong {font-weight:800;font-size:clamp(19px,1.9vw,28px)}
body.sl-home .worlds-card-feature strong {font-size:clamp(37px,3.4vw,50px)}
body.sl-home .worlds-card-type {
  display:inline-flex;align-items:center;width:max-content;max-width:100%;
  border:1px solid rgba(211,231,255,.26);border-radius:7px;background:rgba(13,23,39,.52);
  padding:5px 8px;color:#e0eeff;letter-spacing:.06em;font-size:9px;
}
body.sl-home .worlds-card .gdev-home-meta {color:#d5d6fe!important;font-size:11px!important}
body.sl-home .worlds-card-sub {color:#e2edff;font-weight:700;font-size:11px}
body.sl-home .worlds-card:hover {transform:translateY(-4px);border-color:rgba(198,211,255,.59);box-shadow:0 20px 52px rgba(0,0,0,.3)}
body.sl-home .worlds-card-arrow {top:17px;right:18px;background:rgba(13,24,42,.72);border-color:rgba(215,234,255,.22)}
/* Secondary areas share rhythm and softer surfaces. */
body.sl-home .sl-release-section {padding-top:72px;padding-bottom:58px}
body.sl-home .sl-release-card {border-radius:18px;box-shadow:0 12px 40px rgba(0,0,0,.13)}
body.sl-home .projects-section {padding-top:70px;padding-bottom:60px}
body.sl-home .project-card {border-radius:21px;border-color:rgba(177,199,232,.17);overflow:hidden}
body.sl-home .project-card .project-art {height:245px}
body.sl-home .story-section {padding-block:85px}
body.sl-home .story-visual {border-radius:28px;background:radial-gradient(ellipse at 50% 50%,rgba(102,94,204,.22),transparent 71%),#0b1423}
body.sl-home .tech-tile {border:1px solid rgba(162,183,226,.17);border-radius:19px;background:linear-gradient(145deg,#121d31,#0c1422)}
body.sl-home .roadmap-section {background:linear-gradient(145deg,#0a1121,#0d1120)}
body.sl-home .roadmap-step {border-radius:20px;border-color:rgba(166,191,233,.19)}
body.sl-home .last-panel {border-radius:29px;background:radial-gradient(ellipse at 62% 105%,rgba(116,103,230,.32),transparent 67%),linear-gradient(130deg,#17243c,#0e1729)}
body.sl-home .last-panel .button-light {border-radius:13px}
/* Readable low-chrome appearance for catalog, Saya app and releases pages. */
body.sl-modern:not(.sl-home) .hero h1,
body.sl-modern:not(.sl-home) .gd-heading h1 {letter-spacing:-.065em}
body.sl-modern:not(.sl-home) :is(.portal-game,.portal-more-card,.release-card,.s4-card,.gd-panel,.panel) {border-radius:19px}
/* Layout at tablet and phone sizes */
@media(max-width:1100px) {
  body.sl-home .sl-hero,body.sl-home .sl-hero-inner {min-height:670px}
  body.sl-home .worlds-grid {grid-template-columns:repeat(3,minmax(0,1fr))}
  body.sl-home .worlds-card-feature {grid-column:span 2;grid-row:span 2}
  body.sl-home .worlds-card:nth-last-child(-n+2):not(.worlds-card-feature) {grid-column:span 1}
}
@media(max-width:820px) {
  body.sl-modern .sl-header-inner {height:72px}
  body.sl-modern .sl-mark {width:35px;height:35px;border-radius:10px}
  body.sl-home .sl-hero,body.sl-home .sl-hero-inner {min-height:650px}
  body.sl-home .sl-hero-inner {padding-top:88px;padding-bottom:128px}
  body.sl-home .sl-hero h1 {font-size:clamp(53px,8vw,78px)}
  .sl27-spotlight {display:none}
  body.sl-home .worlds-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
  body.sl-home .worlds-card-feature {grid-column:span 2;grid-row:auto;min-height:300px}
  body.sl-home .worlds-card:nth-last-child(-n+2):not(.worlds-card-feature) {grid-column:span 1}
  body.sl-home .worlds-card {min-height:225px}
  body.sl-home .slh-platform-section {padding:24px}
}
@media(max-width:570px) {
  body.sl-modern .sl-header-inner {height:68px}
  body.sl-home .sl-hero,body.sl-home .sl-hero-inner {min-height:646px}
  body.sl-home .sl-hero-inner {padding-top:56px;padding-bottom:125px}
  body.sl-home .sl-hero h1 {font-size:clamp(42px,11vw,57px);line-height:1.02;letter-spacing:-.072em}
  body.sl-home .sl-hero-lead {font-size:14px;line-height:1.65;max-width:360px}
  body.sl-home .sl-hero:before {background:linear-gradient(90deg,rgba(5,10,23,.96),rgba(5,10,23,.73) 62%,rgba(5,10,23,.54)),linear-gradient(0deg,#080c15,transparent 40%)}
  body.sl-home .sl-hero .sl-hero-image {object-position:62% center;opacity:.8}
  body.sl-home .sl-actions .sl-button {padding:12px 10px;gap:8px;font-size:12px;min-height:52px;border-radius:12px}
  body.sl-home .sl-hero-foot {left:16px;right:16px;bottom:15px}
  body.sl-home .sl-hero-facts {width:100%;padding:4px}
  body.sl-home .sl-hero-facts div {min-width:0;padding:8px 9px}
  body.sl-home .sl-hero-facts strong {font-size:18px}
  body.sl-home .sl-hero-facts small {font-size:9px}
  body.sl-home .slh-platform-section {padding:20px 16px;margin-bottom:24px;border-radius:20px;width:calc(100% - 26px)}
  body.sl-home .slh-platform-card {min-height:94px;padding:13px 10px}
  body.sl-home .worlds-section {padding-block:51px}
  body.sl-home .worlds-top h2 {font-size:clamp(33px,9vw,43px)}
  body.sl-home .worlds-grid {gap:10px}
  body.sl-home .worlds-card {min-height:172px;border-radius:14px}
  body.sl-home .worlds-card-feature {min-height:235px;border-radius:17px}
  body.sl-home .worlds-card-content {padding:13px;gap:4px}
  body.sl-home .worlds-card strong {font-size:clamp(15px,4.35vw,19px)}
  body.sl-home .worlds-card-feature strong {font-size:29px}
  body.sl-home .worlds-card-type {padding:4px 6px;font-size:8px}
  body.sl-home .worlds-card .gdev-home-meta {font-size:9px!important;line-height:1.4!important}
  body.sl-home .worlds-card-sub {font-size:9px}
  body.sl-home .sl-release-section {padding-top:52px;padding-bottom:28px}
  body.sl-home .projects-section {padding-top:45px}
  body.sl-home .story-section {padding-block:50px}
}
@media (max-width:360px) {
  body.sl-home .sl-hero h1 {font-size:41px}
  body.sl-home .worlds-card .gdev-home-meta {font-size:8px!important}
}
@media(prefers-reduced-motion:reduce) {
  .sl27-spotlight,body.sl-home .worlds-card,body.sl-home .sl-actions .sl-button {transition:none}
}
