/* Abyss Gaming Hub v234Z R79 — public Game Zone carousel + account-save integration.
   Presentation only. Canonical game visuals remain owned by the existing game CSS modules. */

body.game-zone-page { min-height: 100vh; }
body.game-zone-page[aria-busy="true"] { cursor: progress; }

.game-zone-menu { padding: 82px 0 84px; }
.game-zone-hero {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(390px, .78fr);
  gap: 64px;
  align-items: center;
}
.game-zone-hero-copy h1 {
  margin: 12px 0 0;
  max-width: 760px;
  font-size: clamp(50px, 6.1vw, 82px);
  line-height: .94;
  letter-spacing: -.062em;
}
.game-zone-hero-copy h1 span {
  background: linear-gradient(105deg,#fff 10%,#8feeff 47%,#7a83ff 96%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.game-zone-hero-copy > p {
  max-width: 700px;
  margin: 24px 0 0;
  color: #a2bcc7;
  font-size: 17px;
  line-height: 1.7;
}
.game-zone-session-card {
  display: inline-grid;
  grid-template-columns: 9px minmax(0,1fr);
  gap: 11px;
  align-items: center;
  margin-top: 26px;
  max-width: 570px;
  padding: 12px 15px;
  border: 1px solid rgba(142,239,255,.13);
  border-radius: 16px;
  background: rgba(7,24,38,.62);
}
.game-zone-session-dot { width: 8px; height: 8px; border-radius: 50%; background: #e8c16d; box-shadow: 0 0 13px rgba(232,193,109,.48); }
.game-zone-session-card.is-persistent .game-zone-session-dot { background: var(--green); box-shadow: 0 0 13px rgba(120,239,191,.6); }
.game-zone-session-card b { display: block; font-size: 11px; letter-spacing: .01em; }
.game-zone-session-card span:not(.game-zone-session-dot) { display: block; margin-top: 3px; color: #7898a5; font-size: 10px; line-height: 1.45; }

.game-zone-art-stack { position: relative; min-height: 430px; }
.game-zone-art-stack:before {
  content:"";
  position:absolute;
  inset: 8% 8% 5%;
  border: 1px solid rgba(133,237,255,.12);
  border-radius: 42px;
  background: linear-gradient(150deg,rgba(16,48,69,.64),rgba(5,14,25,.8));
  box-shadow: 0 42px 100px rgba(0,0,0,.42), inset 0 1px rgba(255,255,255,.045);
  transform: rotate(-2deg);
}
.game-zone-art-stack:after {
  content:"";
  position:absolute;
  inset: 18% 14%;
  background: radial-gradient(circle,rgba(82,223,248,.22),transparent 66%);
  filter: blur(18px);
}
.game-art {
  position: absolute;
  z-index: 2;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 22px 30px rgba(0,0,0,.42));
  transition: transform .3s ease;
}
.game-art-defenders { width: 205px; left: 50%; top: 12%; transform: translateX(-50%) rotate(-2deg); }
.game-art-td { width: 136px; left: 4%; top: 48%; transform: rotate(-8deg); }
.game-art-farms { width: 135px; right: 3%; top: 47%; transform: rotate(8deg); }
.game-art-rpg { width: 118px; left: 50%; bottom: 1%; transform: translateX(-50%) rotate(2deg); }
.game-zone-art-stack:hover .game-art-defenders { transform: translateX(-50%) translateY(-4px) rotate(-1deg) scale(1.02); }
.game-zone-art-stack:hover .game-art-td { transform: translate(-3px,-2px) rotate(-5deg); }
.game-zone-art-stack:hover .game-art-farms { transform: translate(3px,-2px) rotate(5deg); }

.game-zone-picker {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 14px;
  margin-top: 52px;
}
.game-zone-card {
  position: relative;
  display: grid;
  grid-template-columns: 112px minmax(0,1fr) auto;
  gap: 18px;
  align-items: center;
  min-height: 154px;
  padding: 18px 20px 18px 16px;
  overflow: hidden;
  border: 1px solid rgba(135,235,255,.11);
  border-radius: 25px;
  background: linear-gradient(145deg,rgba(12,35,52,.78),rgba(5,16,28,.86));
  box-shadow: 0 22px 55px rgba(0,0,0,.22), inset 0 1px rgba(255,255,255,.035);
  transition: transform .18s ease,border-color .18s ease,background .18s ease,box-shadow .18s ease;
}
.game-zone-card:before {
  content:"";
  position:absolute;
  width: 230px;
  height: 230px;
  left:-80px;
  top:-80px;
  border-radius:50%;
  background: radial-gradient(circle,rgba(78,218,243,.12),transparent 68%);
  pointer-events:none;
}
.game-zone-card:hover,.game-zone-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(139,240,255,.27);
  background: linear-gradient(145deg,rgba(15,44,64,.9),rgba(6,20,34,.93));
  box-shadow: 0 28px 65px rgba(0,0,0,.3),0 0 34px rgba(58,187,221,.07);
}
.game-zone-card-art {
  position:relative;
  z-index:1;
  display:grid;
  place-items:center;
  width: 108px;
  height: 108px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 22px;
  background: radial-gradient(circle at 50% 34%,rgba(94,229,251,.12),rgba(255,255,255,.02) 65%);
}
.game-zone-card-art img { max-width: 86px; max-height: 86px; object-fit: contain; filter: drop-shadow(0 12px 18px rgba(0,0,0,.35)); }
.game-zone-card-copy { position:relative; z-index:1; min-width:0; }
.game-zone-card-copy small { display:block; color:#7bddec; font-size:8px; font-weight:950; letter-spacing:.15em; text-transform:uppercase; }
.game-zone-card-copy b { display:block; margin-top:6px; color:#f4fdff; font-size:18px; letter-spacing:-.025em; }
.game-zone-card-copy span { display:block; margin-top:7px; color:#88a7b3; font-size:10px; line-height:1.55; }
.game-zone-card em { position:relative; z-index:1; align-self:end; color:#9ceeff; font-size:10px; font-style:normal; font-weight:900; white-space:nowrap; }

.game-zone-note {
  display:grid;
  grid-template-columns: auto minmax(0,1fr);
  gap: 18px;
  align-items:start;
  margin-top: 16px;
  padding: 16px 18px;
  border: 1px solid rgba(255,225,150,.1);
  border-radius: 18px;
  background: rgba(255,207,96,.035);
}
.game-zone-note > span { color:#f0d58e; font-size:10px; font-weight:950; }
.game-zone-note p { margin:0; color:#718e99; font-size:10px; line-height:1.55; }

.game-zone-mobile-session-action { display:none; }


.game-zone-runtime { min-height:100vh; }
.game-zone-runtime[hidden] { display:none!important; }
body.view-game-zone .game-zone-runtime { display:none!important; }
body:not(.view-game-zone) .game-zone-menu { display:none!important; }
body:not(.view-game-zone) .game-zone-site-nav { display:none!important; }
body:not(.view-game-zone) { background:#03101a; }
body:not(.view-game-zone) .game-zone-runtime { display:block!important; }
body:not(.view-game-zone) .game-zone-runtime > .app { max-width:1520px; }

/* The private shell normally toggles these view classes through the collection controller.
   R77's Game Zone controller applies the same classes so canonical game CSS is reused. */
body.view-game-zone #abyss-rpg,
body.view-game-zone #abyss-tower-defense,
body.view-game-zone #abyss-shooters,
body.view-game-zone #abyssal-clicker-farms { display:none!important; }

.game-zone-guest-ribbon {
  position: fixed;
  z-index: 1400;
  right: 14px;
  top: 14px;
  display:flex;
  align-items:center;
  gap:9px;
  max-width:min(560px,calc(100vw - 28px));
  padding:9px 11px;
  border:1px solid rgba(255,220,130,.18);
  border-radius:999px;
  background:rgba(3,13,22,.88);
  box-shadow:0 12px 36px rgba(0,0,0,.32);
  backdrop-filter:blur(16px);
}
.game-zone-guest-ribbon[hidden] { display:none!important; }
.game-zone-guest-ribbon b { color:#ffe196; font-size:9px; text-transform:uppercase; letter-spacing:.1em; }
.game-zone-guest-ribbon span { color:#9ab0b9; font-size:9px; }
.game-zone-guest-ribbon a { color:#9cefff; font-size:9px; font-weight:950; }

/* Avoid exposing the private Hub footer/build chrome inside the public shell. */
.game-zone-page #hubBuildVersion { display:none!important; }

@media(max-width:900px){
  .game-zone-menu{padding:58px 0 72px}
  .game-zone-hero{grid-template-columns:1fr;gap:28px}
  .game-zone-hero-copy{max-width:720px}
  .game-zone-art-stack{min-height:330px;max-width:520px;width:100%;margin:0 auto}
  .game-art-defenders{width:166px}.game-art-td,.game-art-farms{width:112px}.game-art-rpg{width:98px}
  .game-zone-picker{grid-template-columns:1fr;margin-top:38px}
  .game-zone-card{min-height:142px}
}

@media(max-width:780px){
  body.game-zone-page{min-width:0;padding-bottom:env(safe-area-inset-bottom,0px)}
  .game-zone-site-nav{padding-top:env(safe-area-inset-top,0px)}
  .game-zone-site-nav .nav-inner{min-height:62px;gap:12px}
  .game-zone-site-nav .brand img{width:32px;height:32px}
  .game-zone-site-nav .brand-name{font-size:13px}
  .game-zone-site-nav .brand-sub{font-size:7px}
  .game-zone-site-nav .nav-menu{width:44px;height:44px;min-width:44px;font-size:19px}
  .game-zone-site-nav.open .nav-links{
    top:calc(62px + env(safe-area-inset-top,0px));
    padding:9px;
    gap:2px;
    max-height:calc(100dvh - 82px - env(safe-area-inset-top,0px));
    overflow-y:auto;
    overscroll-behavior:contain;
  }
  .game-zone-site-nav.open .nav-links a{min-height:44px;display:flex;align-items:center;padding:12px 13px;font-size:13px}
  .game-zone-site-nav.open .nav-links .game-zone-mobile-session-action{
    display:flex;
    margin-top:5px;
    justify-content:center;
    border:1px solid rgba(148,239,255,.22);
    background:linear-gradient(135deg,rgba(81,211,235,.14),rgba(100,113,255,.12));
    color:#dffaff;
    font-weight:900;
  }
  .game-zone-menu{padding-top:44px}
  .game-zone-hero-copy .section-kicker{font-size:9px}
  .game-zone-session-card{width:100%;max-width:620px}
  /* In mobile game runtime, keep save-state messaging in document flow instead of
     covering title-screen controls or touch controls with a fixed chip. */
  .game-zone-guest-ribbon{
    position:relative;
    inset:auto;
    width:calc(100% - 20px);
    max-width:none;
    margin:10px auto 0;
    min-height:42px;
    justify-content:center;
    padding:9px 12px;
    border-radius:14px;
    backdrop-filter:blur(12px);
  }
  body:not(.view-game-zone) .game-zone-runtime{padding-top:1px}
}

@media(max-width:620px){
  .site-shell{width:min(100% - 24px,1180px)}
  .game-zone-menu{padding:34px 0 max(54px,calc(42px + env(safe-area-inset-bottom,0px)))}
  .game-zone-hero{gap:20px}
  .game-zone-hero-copy h1{
    max-width:520px;
    margin-top:10px;
    font-size:clamp(40px,12.8vw,54px);
    line-height:.96;
    letter-spacing:-.052em;
    text-wrap:balance;
  }
  .game-zone-hero-copy>p{margin-top:18px;font-size:14px;line-height:1.62}
  .game-zone-session-card{margin-top:20px;padding:12px 13px;border-radius:14px;gap:10px}
  .game-zone-session-card b{font-size:11px}
  .game-zone-session-card span:not(.game-zone-session-dot){font-size:10px;line-height:1.42}
  .game-zone-art-stack{min-height:238px;max-width:390px}
  .game-zone-art-stack:before{inset:7% 3% 4%;border-radius:30px;transform:rotate(-1.2deg)}
  .game-zone-art-stack:after{inset:15% 10%;filter:blur(14px)}
  .game-art-defenders{width:126px;top:10%}
  .game-art-td{width:82px;left:4%;top:47%}
  .game-art-farms{width:82px;right:4%;top:47%}
  .game-art-rpg{width:72px;bottom:2%}
  .game-zone-picker{gap:10px;margin-top:28px}
  .game-zone-card{
    grid-template-columns:72px minmax(0,1fr) 30px;
    gap:12px;
    min-height:112px;
    padding:12px 12px 12px 10px;
    border-radius:20px;
    touch-action:manipulation;
  }
  .game-zone-card:active{transform:scale(.988)}
  .game-zone-card-art{width:70px;height:70px;border-radius:17px}
  .game-zone-card-art img{max-width:57px;max-height:57px}
  .game-zone-card-copy small{font-size:8px}
  .game-zone-card-copy b{margin-top:4px;font-size:16px;line-height:1.15}
  .game-zone-card-copy span{margin-top:5px;font-size:11px;line-height:1.42}
  .game-zone-card em{
    display:grid;
    place-items:center;
    align-self:center;
    width:30px;
    height:30px;
    overflow:hidden;
    font-size:0;
    border:1px solid rgba(134,236,255,.14);
    border-radius:10px;
    background:rgba(119,225,247,.055);
  }
  .game-zone-card em::after{content:'›';font-size:22px;line-height:1;color:#a6f2ff;transform:translateY(-1px)}
  .game-zone-note{grid-template-columns:1fr;gap:6px;margin-top:12px;padding:13px 14px;border-radius:15px}
  .game-zone-note>span,.game-zone-note p{font-size:10px}
  .game-zone-guest-ribbon span{display:none}
  .game-zone-guest-ribbon b,.game-zone-guest-ribbon a{font-size:9px}
}

@media(max-width:390px){
  .site-shell{width:min(100% - 18px,1180px)}
  .game-zone-site-nav .nav-inner{min-height:58px}
  .game-zone-site-nav .brand{gap:8px}
  .game-zone-site-nav .brand img{width:30px;height:30px}
  .game-zone-site-nav .brand-sub{letter-spacing:.13em}
  .game-zone-site-nav.open .nav-links{left:9px;right:9px;top:calc(58px + env(safe-area-inset-top,0px))}
  .game-zone-menu{padding-top:28px}
  .game-zone-hero-copy h1{font-size:clamp(37px,12.2vw,47px)}
  .game-zone-hero-copy>p{font-size:13px}
  .game-zone-art-stack{min-height:218px}
  .game-art-defenders{width:116px}
  .game-art-td,.game-art-farms{width:76px}
  .game-art-rpg{width:66px}
  .game-zone-card{grid-template-columns:64px minmax(0,1fr) 28px;gap:10px;min-height:106px;padding:10px 10px 10px 9px;border-radius:18px}
  .game-zone-card-art{width:62px;height:62px;border-radius:15px}
  .game-zone-card-art img{max-width:51px;max-height:51px}
  .game-zone-card-copy b{font-size:15px}
  .game-zone-card-copy span{font-size:10.5px}
  .game-zone-card em{width:28px;height:28px}
}

@media(max-height:520px) and (orientation:landscape) and (max-width:950px){
  .game-zone-menu{padding:30px 0 44px}
  .game-zone-hero{grid-template-columns:minmax(0,1fr) minmax(250px,.68fr);gap:24px;align-items:center}
  .game-zone-hero-copy h1{font-size:clamp(38px,6.6vw,58px)}
  .game-zone-hero-copy>p{margin-top:14px;font-size:13px;line-height:1.5}
  .game-zone-session-card{margin-top:14px}
  .game-zone-art-stack{min-height:240px}
  .game-art-defenders{width:122px}.game-art-td,.game-art-farms{width:82px}.game-art-rpg{width:68px}
}

@media(hover:none){
  .game-zone-art-stack:hover .game-art-defenders{transform:translateX(-50%) rotate(-2deg)}
  .game-zone-art-stack:hover .game-art-td{transform:rotate(-8deg)}
  .game-zone-art-stack:hover .game-art-farms{transform:rotate(8deg)}
  .game-zone-card:hover{transform:none}
}

@media(prefers-reduced-motion:reduce){.game-art,.game-zone-card{transition:none}}


/* v234Z R80 — collection-style public Game Zone carousel.
   The public selector intentionally uses the same centered carousel classes and geometry
   as collection Games/Consoles. The private collection runtime is not loaded here; the
   public controller owns only the equivalent selector motion/activation behavior. */
.game-zone-carousel-wrap{
  margin-top:52px;
}
.game-zone-carousel-head{
  display:flex;
  align-items:end;
  justify-content:center;
  gap:20px;
  margin-bottom:0;
  text-align:center;
}
.game-zone-carousel-head>div:first-child{display:grid;gap:4px}
.game-zone-carousel-head small{
  color:#69d9e9;
  font-size:8px;
  font-weight:950;
  letter-spacing:.15em;
  text-transform:uppercase;
}
.game-zone-carousel-head b{
  color:#dff9ff;
  font-size:15px;
  letter-spacing:-.018em;
}
.game-zone-collection-carousel{
  width:min(100%,1080px);
  margin:0 auto;
  min-height:382px;
  padding-top:0;
}
.game-zone-collection-carousel .private-console-carousel-stage{
  height:264px;
}
.game-zone-collection-carousel .game-zone-carousel-item{
  width:clamp(150px,18vw,205px);
  height:224px;
}
.game-zone-collection-carousel .game-zone-carousel-item img{
  border-radius:14px;
  background:rgba(3,9,18,.18);
}
.game-zone-collection-carousel .game-zone-carousel-caption{
  min-height:112px;
  margin-top:8px;
}
.game-zone-collection-carousel .game-zone-carousel-caption small{
  max-width:650px;
  line-height:1.5;
}
.game-zone-collection-carousel .game-zone-carousel-caption span{
  color:rgba(191,219,231,.62);
}
.game-zone-collection-carousel[data-carousel-ready="1"] .game-zone-carousel-item[aria-hidden="true"]{
  visibility:hidden;
}

@media(max-width:900px){
  .game-zone-carousel-wrap{margin-top:38px}
  .game-zone-collection-carousel{min-height:342px}
}
@media(max-width:720px){
  .game-zone-carousel-wrap{margin-top:30px}
  .game-zone-carousel-head{margin-bottom:2px}
  .game-zone-carousel-head b{font-size:13px}
  .game-zone-collection-carousel{
    min-height:310px;
    padding-inline:28px;
  }
  .game-zone-collection-carousel .private-console-carousel-stage{height:212px}
  .game-zone-collection-carousel .game-zone-carousel-item{width:128px;height:184px}
  .game-zone-collection-carousel .game-zone-carousel-caption{min-height:88px;margin-top:4px}
  .game-zone-collection-carousel .game-zone-carousel-caption strong{font-size:23px}
  .game-zone-collection-carousel .game-zone-carousel-caption small{font-size:11px;max-width:520px}
}
@media(max-width:430px){
  .game-zone-carousel-head b{font-size:12px}
  .game-zone-collection-carousel{min-height:294px;padding-inline:24px}
  .game-zone-collection-carousel .private-console-carousel-stage{height:196px}
  .game-zone-collection-carousel .game-zone-carousel-item{width:116px;height:168px}
  .game-zone-collection-carousel .game-zone-carousel-caption{min-height:88px;margin-top:2px}
  .game-zone-collection-carousel .game-zone-carousel-caption strong{font-size:21px}
  .game-zone-collection-carousel .game-zone-carousel-caption span{max-width:250px;line-height:1.35}
}
@media(hover:none){
  .game-zone-collection-carousel .game-zone-carousel-item[data-carousel-offset="0"]:hover img{transform:none}
}
@media(prefers-reduced-motion:reduce){
  .game-zone-collection-carousel .game-zone-carousel-item,
  .game-zone-collection-carousel .game-zone-carousel-item img,
  .game-zone-collection-carousel .private-console-carousel-glow{transition:none!important}
}
