:root {
  --bg: #0a120e;
  --card: rgba(10, 26, 16, 0.92);
  --border: rgba(74, 222, 128, 0.24);
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  /* Pepe / swamp palette */
  --pepe: #4ade80;
  --pepe-bright: #bef264;
  --pepe-deep: #16a34a;
  --swamp: #34d399;
  --gold: #fbbf24;
  --frog-shadow: rgba(34, 197, 94, 0.35);
  /* Legacy aliases (used across stylesheet) */
  --cyan: var(--swamp);
  --purple: var(--pepe);
  --pink: var(--pepe-bright);
  --text: #ecfdf5;
  --muted: rgba(236, 253, 245, 0.58);
  --radius: 16px;
  --font: "Outfit", system-ui, sans-serif;
  --display: "Syne", system-ui, sans-serif;
  --scrollbar-track: rgba(255, 255, 255, 0.05);
  --scrollbar-thumb: rgba(74, 222, 128, 0.45);
  --scrollbar-thumb-hover: rgba(52, 211, 153, 0.7);
}

* {
  box-sizing: border-box;
}

/* Themed scrollbars (Firefox + Chromium) */
html {
  scrollbar-width: thin;
  scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--scrollbar-track);
  border-radius: 999px;
}

::-webkit-scrollbar-thumb {
  border-radius: 999px;
  border: 2px solid transparent;
  background: linear-gradient(
    180deg,
    rgba(52, 211, 153, 0.5) 0%,
    rgba(74, 222, 128, 0.55) 50%,
    rgba(190, 242, 100, 0.45) 100%
  );
  background-clip: padding-box;
  box-shadow: inset 0 0 0 1px rgba(74, 222, 128, 0.22);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(
    180deg,
    rgba(52, 211, 153, 0.8) 0%,
    rgba(74, 222, 128, 0.85) 50%,
    rgba(190, 242, 100, 0.7) 100%
  );
  background-clip: padding-box;
}

::-webkit-scrollbar-corner {
  background: transparent;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100svh;
  min-height: 100dvh;
  overflow-x: hidden;
  overflow-y: auto;
  font-family: var(--font);
  color: var(--text);
  background: #2d3a24;
  line-height: 1.45;
}

body.modal-open {
  overflow: hidden;
}

.bg-glow {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-color: #1a2e1c;
  background-image:
    radial-gradient(ellipse 70% 50% at 15% 0%, rgba(52, 211, 153, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 45% at 85% 10%, rgba(74, 222, 128, 0.1), transparent 50%),
    linear-gradient(rgba(8, 18, 12, 0.68), rgba(6, 14, 10, 0.84)),
    url("images/pepe-bg.png");
  background-repeat: no-repeat, no-repeat, no-repeat, repeat;
  background-size:
    auto,
    auto,
    auto,
    380px auto;
  background-position: center top;
}

.shell {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding:
    max(12px, var(--safe-top))
    max(16px, var(--safe-right))
    max(20px, var(--safe-bottom))
    max(16px, var(--safe-left));
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 100svh;
  min-height: 100dvh;
  justify-content: flex-start;
}

.card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  backdrop-filter: blur(16px);
  padding: 14px 18px;
}

.header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 18px;
}

.brand {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  max-width: 520px;
}

.logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  color: var(--bg);
  background: linear-gradient(135deg, var(--pepe-deep), var(--pepe));
  box-shadow: 0 8px 28px var(--frog-shadow);
  flex-shrink: 0;
}

.eyebrow {
  margin: 0 0 2px;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--swamp);
}

h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(100deg, var(--text) 0%, var(--pepe) 40%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tagline {
  margin: 4px 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.wallet-panel {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.wallet-line {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.wallet-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.addr {
  font-size: 0.78rem;
  color: var(--purple);
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wallet-actions {
  display: flex;
  gap: 8px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 10px 18px;
}

.stat-k {
  display: block;
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.stat-v {
  display: block;
  margin-top: 2px;
  font-weight: 600;
  font-size: 0.88rem;
}

.stat-v.accent {
  color: var(--pepe);
}

.mint-panel {
  max-width: 420px;
  margin: 0 auto;
  width: 100%;
  text-align: center;
  padding: 14px 18px 16px;
}

.preview-slideshow {
  margin: 0 auto 10px;
  width: min(100%, 320px);
}

.slideshow-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 16px;
  border: 1px solid rgba(74, 222, 128, 0.35);
  background: radial-gradient(circle at 50% 30%, rgba(74, 222, 128, 0.14), rgba(0, 0, 0, 0.45));
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.slideshow-track {
  position: absolute;
  inset: 0;
}

.slideshow-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  opacity: 0;
  transition: opacity 0.65s ease;
  pointer-events: none;
}

.slideshow-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.slideshow-slide .preview {
  width: 100%;
  height: 100%;
  max-height: none;
  border: none;
  background: transparent;
}

.slideshow-slide .preview img,
.slideshow-slide .preview video {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

.slideshow-slide .preview-text pre {
  font-size: 1.35rem;
  text-align: center;
  color: var(--text);
  margin: 0;
}

.slideshow-slide .preview-html iframe,
.slideshow-slide .preview-text-remote iframe {
  width: 100%;
  height: 100%;
  min-height: 0;
  border: none;
  border-radius: 8px;
}

.slideshow-placeholder {
  display: grid;
  place-items: center;
  height: 100%;
  color: var(--muted);
  font-size: 0.9rem;
}

.slideshow-caption {
  margin: 6px 0 0;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.mint-panel .fee-lines {
  text-align: left;
  max-width: 300px;
  margin: 0 auto 10px;
  padding: 0;
}

.mint-panel .hint {
  max-width: 360px;
  margin: 0 auto 8px;
}

.catalog-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.catalog-head h2,
.checkout h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 700;
}

.hint {
  margin: 0 0 8px;
  font-size: 0.84rem;
  color: var(--muted);
}

.nft-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: 12px;
  max-height: min(58vh, 520px);
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 6px;
  padding-bottom: 4px;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: rgba(74, 222, 128, 0.5) rgba(0, 0, 0, 0.2);
}

.nft-grid::-webkit-scrollbar {
  width: 8px;
}

.nft-grid::-webkit-scrollbar-track {
  margin: 8px 0;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 999px;
  border: 1px solid rgba(74, 222, 128, 0.12);
}

.nft-grid::-webkit-scrollbar-thumb {
  min-height: 40px;
  border-radius: 999px;
  border: 2px solid rgba(10, 12, 18, 0.9);
  background: linear-gradient(
    180deg,
    var(--cyan) 0%,
    var(--purple) 55%,
    var(--pink) 100%
  );
  box-shadow: 0 0 12px rgba(74, 222, 128, 0.35);
}

.nft-grid::-webkit-scrollbar-thumb:hover {
  box-shadow: 0 0 16px rgba(94, 234, 212, 0.45);
  filter: brightness(1.12);
}

.nft-card {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 0;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
  text-align: left;
  color: inherit;
  font: inherit;
}

.preview {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  background: rgba(0, 0, 0, 0.45);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.preview img,
.preview video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.preview iframe {
  width: 100%;
  height: 100%;
  border: none;
  background: rgba(10, 12, 18, 0.9);
}

.preview-text pre {
  margin: 0;
  padding: 12px;
  font-size: 0.78rem;
  line-height: 1.35;
  white-space: pre-wrap;
  word-break: break-word;
  color: var(--text);
  max-height: 100%;
  overflow: hidden;
}

.preview-audio {
  display: grid;
  place-items: center;
  padding: 10px;
}

.preview-audio audio {
  width: 100%;
  max-height: 48px;
}

.preview-unknown {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  text-align: center;
}

.preview-unknown .type-tag {
  font-size: 0.7rem;
  color: var(--muted);
  word-break: break-all;
}

.preview-unknown a {
  font-size: 0.72rem;
  color: var(--cyan);
}

.preview-sniff img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  max-height: 180px;
}

.preview-sniff-fallback.hidden {
  display: none;
}

.preview-lg .preview-text pre {
  font-size: 1.25rem;
  line-height: 1.4;
  text-align: center;
  white-space: pre-wrap;
  word-break: break-word;
}

.preview-lg {
  aspect-ratio: 1;
  max-height: 200px;
  border-radius: 12px;
  border: 1px solid rgba(74, 222, 128, 0.25);
  flex-shrink: 0;
}

.preview-full {
  width: 100%;
  aspect-ratio: 1;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 40%, rgba(74, 222, 128, 0.12), rgba(0, 0, 0, 0.5));
  border: 1px solid rgba(74, 222, 128, 0.3);
}

.preview-full img,
.preview-full video {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  border-radius: 10px;
}

.preview-full .preview-html iframe,
.preview-full .preview-text-remote iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 10px;
}

.preview-full .preview-audio {
  width: 100%;
  padding: 16px;
}

.checkout-preview-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checkout-meta .type-line {
  margin-top: 6px;
  font-size: 0.72rem;
  color: var(--muted);
}

.nft-card-body {
  padding: 10px 12px 12px;
}

.nft-card:hover:not(:disabled) {
  border-color: rgba(74, 222, 128, 0.5);
  transform: translateY(-2px);
}

.nft-card.selected {
  border-color: var(--cyan);
  box-shadow: 0 0 0 1px rgba(94, 234, 212, 0.35), 0 10px 30px rgba(0, 0, 0, 0.35);
}

.nft-card:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.nft-card .num {
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--purple);
}

.nft-card .meta {
  margin-top: 6px;
  font-size: 0.72rem;
  color: var(--muted);
}

.nft-card .badge {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.65rem;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(94, 234, 212, 0.12);
  color: var(--cyan);
  border: 1px solid rgba(94, 234, 212, 0.25);
}

.nft-card .badge.pending {
  background: rgba(248, 113, 113, 0.1);
  color: #fca5a5;
  border-color: rgba(248, 113, 113, 0.3);
}

.checkout {
  position: sticky;
  top: 16px;
}

.selected-preview {
  min-height: 120px;
  border-radius: 12px;
  border: 1px dashed rgba(74, 222, 128, 0.35);
  padding: 14px;
  margin-bottom: 16px;
  background: rgba(124, 58, 237, 0.08);
}

.selected-preview.empty {
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 0.88rem;
}

.selected-preview .title {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--pink);
}

.selected-preview .sub {
  margin-top: 6px;
  font-size: 0.78rem;
  color: var(--muted);
  word-break: break-all;
}

.fee-lines {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}

.fee-lines li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 5px 0;
  font-size: 0.85rem;
  color: var(--muted);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.fee-lines li strong {
  color: var(--text);
  font-weight: 600;
}

.fee-lines li.total {
  border-bottom: none;
  padding-top: 6px;
  font-size: 0.92rem;
}

.fee-lines li.total strong {
  color: var(--gold);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 12px;
  padding: 12px 18px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: filter 0.15s, opacity 0.15s;
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.btn.primary {
  color: #052010;
  background: linear-gradient(135deg, var(--swamp), #2dd4bf);
}

.btn.mint-btn {
  width: 100%;
  color: #052010;
  background: linear-gradient(135deg, var(--pepe-deep), var(--pepe) 55%, var(--pepe-bright));
  box-shadow: 0 8px 28px var(--frog-shadow);
  font-size: 1rem;
  padding: 12px 18px;
}

.btn.sm {
  padding: 8px 12px;
  font-size: 0.8rem;
}

.btn.ghost {
  background: transparent;
  color: var(--muted);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn:not(:disabled):hover {
  filter: brightness(1.08);
}

.status {
  margin: 8px 0 0;
  font-size: 0.82rem;
  color: var(--muted);
  min-height: 1.2em;
}

.explorer {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--cyan);
  text-decoration: none;
}

.explorer:hover {
  text-decoration: underline;
}

.hidden {
  display: none !important;
}

.empty-pool {
  grid-column: 1 / -1;
  text-align: center;
  padding: 32px 16px;
  color: var(--muted);
}

/* Success modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding:
    max(12px, var(--safe-top))
    max(12px, var(--safe-right))
    max(12px, var(--safe-bottom))
    max(12px, var(--safe-left));
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: rgba(4, 14, 8, 0.88);
  backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.modal-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  position: relative;
  width: min(100%, 440px);
  max-height: none;
  margin: auto;
  overflow: visible;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  padding: 16px 18px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(74, 222, 128, 0.18);
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: none;
  background: none;
  color: var(--muted);
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
}

.modal-close:hover {
  color: var(--text);
}

.modal-badge.success-badge {
  width: 44px;
  height: 44px;
  margin: 0 auto 8px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  font-weight: 700;
  color: #052010;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pepe), var(--gold));
  box-shadow: 0 8px 28px var(--frog-shadow);
}

.modal-title {
  text-align: center;
  margin: 0 0 4px;
  flex-shrink: 0;
  font-family: var(--display);
  font-size: 1.28rem;
  font-weight: 800;
  line-height: 1.2;
}

.modal-sub {
  text-align: center;
  color: var(--muted);
  font-size: 0.8rem;
  margin: 0 0 8px;
  line-height: 1.35;
  flex-shrink: 0;
}

.modal-preview {
  margin: 0 auto 8px;
  flex: 0 1 auto;
  min-height: 0;
  width: min(100%, 260px);
  border-radius: 12px;
  overflow: hidden;
}

.modal-preview .preview-lg,
.modal-preview .preview-full {
  width: 100%;
  aspect-ratio: 1;
  min-height: 0;
  max-height: min(34svh, 220px);
  margin: 0;
  border: none;
}

.modal-preview .preview-full img,
.modal-preview .preview-full video {
  max-height: min(34svh, 210px);
}

.modal-preview .preview-full .preview-html iframe,
.modal-preview .preview-full .preview-text-remote iframe {
  max-height: min(34svh, 210px);
}

.modal-preview:not(.hidden) + .modal-title {
  margin-top: 0;
}

.modal-details {
  margin: 0;
  padding: 8px 10px;
  flex-shrink: 0;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.modal-detail-row {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 4px 10px;
  padding: 5px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.modal-detail-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.modal-detail-row:first-child {
  padding-top: 0;
}

.modal-details dt {
  margin: 0;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.modal-details dd {
  margin: 0;
  font-size: 0.76rem;
  line-height: 1.3;
  word-break: break-all;
}

.modal-details dd.mono {
  font-family: ui-monospace, monospace;
  font-size: 0.78rem;
  color: var(--purple);
}

.modal-txid {
  display: block;
  font-size: 0.72rem;
  color: var(--cyan);
  word-break: break-all;
}

.modal-status-pending {
  color: var(--gold);
}

.modal-status-confirmed {
  color: var(--cyan);
}

.modal-footer-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
  flex-shrink: 0;
  padding-bottom: 2px;
}

.modal-footer-btns .btn {
  flex: 1;
  padding: 10px 12px;
  font-size: 0.82rem;
}

.modal-footer-btns .btn.primary {
  color: #052010;
  background: linear-gradient(135deg, var(--swamp), var(--pepe));
  text-decoration: none;
}

/* Phones — compact header, scrollable page, smaller preview */
@media (max-width: 640px) {
  .shell {
    gap: 8px;
    padding-top: max(10px, var(--safe-top));
    padding-bottom: max(24px, var(--safe-bottom));
  }

  .header {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 12px 14px;
  }

  .brand {
    max-width: 100%;
    gap: 10px;
  }

  .logo {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }

  h1 {
    font-size: 1.35rem;
  }

  .tagline {
    font-size: 0.76rem;
    line-height: 1.35;
  }

  .wallet-panel {
    align-items: stretch;
    width: 100%;
  }

  .wallet-line {
    align-items: flex-start;
  }

  .addr {
    max-width: 100%;
    font-size: 0.72rem;
    word-break: break-all;
    white-space: normal;
    text-overflow: unset;
    overflow: visible;
  }

  .wallet-actions {
    flex-wrap: wrap;
  }

  .wallet-actions .btn {
    flex: 1;
    min-width: 0;
  }

  .stats {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 10px 14px;
  }

  .stat {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
  }

  .stat-k,
  .stat-v {
    display: inline;
    margin: 0;
  }

  .mint-panel {
    padding: 12px 14px 16px;
  }

  .preview-slideshow {
    width: min(100%, min(72vw, 280px));
    margin-bottom: 8px;
  }

  .slideshow-stage {
    max-height: min(42svh, 280px);
    aspect-ratio: 1;
  }

  .modal-overlay {
    align-items: flex-start;
  }

  .modal-card {
    margin-top: 0;
    margin-bottom: 8px;
    padding: 14px 14px 12px;
  }

  .modal-preview .preview-full,
  .modal-preview .preview-full img,
  .modal-preview .preview-full video {
    max-height: min(32svh, 200px);
  }

  .modal-footer-btns {
    flex-direction: column;
  }

  .modal-footer-btns .btn {
    width: 100%;
  }
}

@media (max-height: 760px) {
  .shell {
    gap: 8px;
  }

  .header,
  .stats,
  .mint-panel {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .preview-slideshow {
    width: min(100%, 280px);
    margin-bottom: 8px;
  }

  .slideshow-stage {
    max-height: min(38svh, 260px);
  }

  .modal-preview .preview-full,
  .modal-preview .preview-full img,
  .modal-preview .preview-full video {
    max-height: min(28svh, 180px);
  }

  .modal-card {
    padding: 12px 14px 10px;
  }

  .tagline {
    font-size: 0.78rem;
  }
}
