
/* Snapshift shared layout (clean pass)
   Shared across index, daily-archive, category.
   Purpose: one source of truth for shell width, header spacing, topbar controls,
   footer spacing, and first-section alignment.
*/

:root{
  --ss-text:#e8eef7;
  --ss-line:rgba(42,57,82,.7);
  --ss-topbar-bg:rgba(0,0,0,.18);
}

html,
body{
  height:100%;
  max-width:100%;
  overflow-x:hidden;
}

body{
  margin:0;
  color:var(--ss-text);
  background:#000000;
  overflow:auto;
  -webkit-overflow-scrolling:touch;
  position:relative;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  min-height:100dvh;
  scrollbar-gutter:stable both-edges;
}

.screen{
  position:relative !important;
  z-index:1 !important;
  min-height:100vh !important;
  padding:0 !important;
}

.shell{
  width:min(1200px, 100%) !important;
  margin:0 auto !important;
  padding:18px !important;
  box-sizing:border-box !important;
}

header.topbar,
.topbar{
  display:flex !important;
  align-items:flex-end !important;
  justify-content:space-between !important;
  gap:12px !important;
  padding:10px 6px 14px !important;
  flex-wrap:wrap !important;
  margin:0 !important;
  position:static !important;
  box-shadow:none !important;
  background:transparent !important;
  border:none !important;
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
}

.brand{
  display:flex !important;
  align-items:center !important;
  gap:12px !important;
  min-width:240px !important;
}

.logoImg{
  height:75px !important;
  width:auto !important;
  max-width:750px !important;
  object-fit:contain !important;
  image-rendering:auto !important;
  display:block !important;
  filter:drop-shadow(0 10px 26px rgba(0,0,0,.25)) !important;
}

.right{
  display:flex !important;
  align-items:center !important;
  gap:10px !important;
  flex-wrap:wrap !important;
  justify-content:flex-end !important;
}

.topbar .pill,
header.topbar .pill,
.topbar .btnSoft,
header.topbar .btnSoft{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:8px !important;
  box-sizing:border-box !important;
  min-height:32px !important;
  padding:7px 10px !important;
  border-radius:999px !important;
  border:1px solid var(--ss-line) !important;
  background:var(--ss-topbar-bg) !important;
  color:var(--ss-text) !important;
  font-weight:800 !important;
  font-size:12px !important;
  letter-spacing:.2px !important;
  line-height:1 !important;
  text-decoration:none !important;
  white-space:nowrap !important;
  box-shadow:none !important;
  transform:none !important;
}

.topbar .pill:hover,
.topbar .btnSoft:hover,
header.topbar .pill:hover,
header.topbar .btnSoft:hover{
  filter:brightness(1.08) !important;
  transform:none !important;
}

.topbar #authPill{ min-width:148px !important; }
.topbar #pointsPill{ min-width:88px !important; }
.topbar #playBtn{
  min-width:0 !important;
  width:auto !important;
  padding-left:10px !important;
  padding-right:10px !important;
}
.topbar #continueBtn{
  min-width:176px !important;
  justify-content:flex-start !important;
  white-space:normal !important;
  text-align:left !important;
  line-height:1.05 !important;
}
.topbar .continueLabelWrap{
  display:flex !important;
  flex-direction:column !important;
  align-items:flex-start !important;
  gap:2px !important;
  min-width:0 !important;
  max-width:190px !important;
}
.topbar .continueMain{
  font-size:12px !important;
  font-weight:900 !important;
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  max-width:100% !important;
}
.topbar .continueSub{
  font-size:10px !important;
  font-weight:700 !important;
  opacity:.84 !important;
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  max-width:100% !important;
  display:none !important;
}
.topbar #continueBtn.hasMeta .continueSub{ display:block !important; }
.topbar #syncDot{
  margin-left:0 !important;
  opacity:.8 !important;
}

#continueBtn[hidden]{ display:none !important; }

header.topbar + .dailyCard,
header.topbar + .heroSimple,
header.topbar + .hero,
header.topbar + .railCard{
  margin-top:0 !important;
}

footer.siteFooter,
.siteFooter{
  margin-top:18px !important;
  display:flex !important;
  justify-content:space-between !important;
  align-items:center !important;
  gap:10px !important;
  padding:8px 6px 2px !important;
  flex-wrap:wrap !important;
  opacity:.95 !important;
}

.siteFooter .footerMeta,
footer.siteFooter .footerMeta{
  opacity:.86 !important;
  font-size:12px !important;
  font-weight:800 !important;
}

.siteFooter .footerLinks,
footer.siteFooter .footerLinks{
  display:flex !important;
  align-items:center !important;
  gap:10px !important;
  flex-wrap:wrap !important;
}

.siteFooter .footerLink,
footer.siteFooter .footerLink{
  display:inline-flex !important;
  align-items:center !important;
  gap:8px !important;
  min-height:32px !important;
  padding:7px 10px !important;
  border-radius:999px !important;
  border:1px solid var(--ss-line) !important;
  background:rgba(0,0,0,.18) !important;
  color:var(--ss-text) !important;
  font-weight:800 !important;
  font-size:12px !important;
  letter-spacing:.2px !important;
  text-decoration:none !important;
  box-sizing:border-box !important;
}

@media (max-width: 700px){
  .topbar .logoImg,
  header.topbar .logoImg{
    height:60px !important;
  }
  .right{
    width:100% !important;
    justify-content:flex-start !important;
  }
}

@media (max-width: 640px){
  .siteFooter,
  footer.siteFooter{
    justify-content:center !important;
    text-align:center !important;
  }
  .siteFooter .footerLinks,
  footer.siteFooter .footerLinks{
    justify-content:center !important;
    width:100% !important;
  }
}
