/* Full-bleed utility (works even if the layout wraps content in a container) */
.full-bleed {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.site-topbar {
  position: relative;
  overflow: hidden;
  padding: clamp(1rem, 3vw, 2.25rem) 0;
}

.site-topbar::before {
  content: "";
  position: absolute;
  inset: 0;
  /* Fallback if no image is set */
  background-image: var(--topbar-bg, linear-gradient(135deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.7)));
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
  filter: blur(var(--topbar-blur, 0px));
  z-index: 0;
}

.site-topbar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 0;
}

.site-topbar > .container {
  position: relative;
  z-index: 1;
}

.site-avatar {
  display: inline-block;
  border-radius: 9999px;
  overflow: hidden;
  line-height: 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.site-avatar img {
  display: block;
  width: var(--avatar-size, 96px);
  height: var(--avatar-size, 96px);
  object-fit: cover;
}

.social-buttons {
  justify-content: center;
}

.social-buttons .button .icon img {
  display: block;
  width: var(--social-icon-size, 24px);
  height: var(--social-icon-size, 24px);
  object-fit: contain;
}

/* Placeholder for the next step (endless gallery) */
.gallery-shell {
  min-height: 80vh;
}

.masonry {
  margin: 0 auto;
}

/* Base column width */
#grid {
  --masonry-col: 240px;
  --masonry-gutter: 12px;
  --nsfw-blur: 18px;
}

.grid-sizer, .grid-item {
  width: var(--masonry-col);
}

.grid-item {
  margin-bottom: var(--masonry-gutter);
  display: block;
  position: relative;
}

.grid-item.is-pending {
  visibility: hidden;
}

.grid-item.is-visible {
  visibility: visible;
}

.grid-item img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.38);
  transition: transform 140ms ease, box-shadow 140ms ease;
}

.grid-item:hover img {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.5);
}

/* NSFW blur (thumbnail only) */
#grid {
  --nsfw-blur: 18px;
}

.grid-item.is-nsfw img {
  filter: blur(var(--nsfw-blur));
  transform: translateZ(0); /* avoid some blur artifacts */
}

/* Optional: small badge */
.grid-item.is-nsfw::after {
  content: "NSFW";
  position: absolute;
  left: 10px;
  bottom: 10px;
  font-size: 11px;
  letter-spacing: 0.02em;
  padding: 4px 8px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(0, 0, 0, 0.62);
  color: #fff;
  opacity: 0;
  transition: opacity 120ms ease;
}

.grid-item.is-ready.is-nsfw::after {
  opacity: 1;
}

/* Hide dynamic caption container when it has no content */
.pswp__dynamic-caption.pswp__dynamic-caption--is-empty {
  display: none !important;
}

html {
  font-size: 20px;
}

body {
  font-family: "Ysabeau", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Ysabeau Infant", sans-serif;
}

/*# sourceMappingURL=app.css.map */