/* Full-bleed gallery page — one mockup owns the viewport */
.gallery-page {
  overflow: auto;
  height: auto;
  min-height: 100%;
}

.gal-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  padding: 0.85rem clamp(1.25rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 10;
}

.gal-brand {
  font-family: Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--ink);
}

.gal-brand .logo-stylus {
  color: var(--google-blue);
}

.gal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  flex: 1;
}

.gal-nav a {
  appearance: none;
  text-decoration: none;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  font-size: 0.78rem;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
}

.gal-nav a.is-on {
  background: var(--google-blue);
  border-color: var(--google-blue);
  color: #fff;
}

.gal-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}

.gal-checks {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--google-blue);
  text-decoration: none;
  padding: 0.4rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.gal-checks:hover {
  border-color: var(--google-blue);
  background: #f8fbff;
}

.gal-seed {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.gal-seed input[type="color"] {
  width: 36px;
  height: 36px;
  padding: 0;
  border: 2px solid var(--ink);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}

.gal-seed input[type="text"] {
  width: 6.5rem;
  font: inherit;
  font-weight: 600;
  padding: 0.45rem 0.55rem;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.gal-stage {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.25rem 1.25rem 2.5rem;
}

.gal-hero {
  min-height: min(78vh, 720px);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: var(--line);
}

.gal-hero .demo {
  min-height: min(78vh, 720px);
  height: min(78vh, 720px);
}

.gal-hero .demo-site .site,
.gal-hero .vcard,
.gal-hero .tee,
.gal-hero .book,
.gal-hero .social {
  min-height: 100%;
  height: 100%;
}

.gal-hero .site-main {
  grid-template-columns: 1fr auto;
  gap: 1rem;
  padding: 1rem 1.1rem;
  align-items: start;
}

.gal-hero .site-hero {
  gap: 0.7rem;
}

.gal-hero .site-hero h3 {
  font-size: clamp(1.6rem, 3.2vw, 2.35rem);
  max-width: 14ch;
}

.gal-hero .site-hero p {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  max-width: 38ch;
}

.gal-hero .site-btn {
  padding: 0.7rem 1.25rem;
  font-size: 1rem;
}

.gal-hero .site-input {
  padding: 0.7rem 0.85rem;
  font-size: 1rem;
}

.gal-hero .site-progress {
  height: 10px;
}

.gal-hero .site-toasts {
  max-width: 240px;
}

.gal-hero .toast-item {
  padding: 0.55rem 0.7rem;
}

.gal-hero .toast-item b {
  font-size: 0.7rem;
}

.gal-hero .toast-item span {
  font-size: 0.85rem;
}

.gal-hero .site-token {
  padding: 0.55rem 0.6rem;
}

.gal-hero .site-token .hex {
  font-size: 0.9rem;
}

.gal-hero .site-logo {
  font-size: 1.15rem;
}

.gal-hero .site-nav {
  font-size: 0.9rem;
  gap: 0.9rem;
}

.gal-hero .site-top {
  padding: 0.65rem 1rem;
}

.gal-hero .vcard-mono {
  font-size: clamp(4rem, 12vw, 8rem);
}

.gal-hero .vcard-qr {
  width: 72px;
  height: 72px;
}

.gal-hero .avatar {
  width: min(42%, 180px);
}

.gal-note {
  margin: 1rem 0 0;
  font-size: 0.85rem;
  color: var(--muted-ui);
  font-weight: 600;
}

.gal-note a {
  color: var(--ink);
  font-weight: 700;
}

@media (max-width: 700px) {
  .gal-hero .site-main {
    grid-template-columns: 1fr;
  }
  .gal-hero,
  .gal-hero .demo {
    min-height: 70vh;
    height: auto;
  }
}
