/* GOLD BOOMER wide poster layout. Extends theme.css. */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- HERO ---------- */

.hero {
  position: relative;
  min-height: 760px;
  display: flex;
  flex-direction: column;
  border: 2px solid #5a3d10;
  border-bottom: 0;
  overflow: hidden;
}

.hero-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 18px;
  padding: 10px 16px 8px;
  flex-wrap: wrap;
  border-bottom: 1px solid #3a2a10;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--gold);
}

.brand-icon {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #6f4300;
  background: #000;
}

.brand-name {
  font-family: var(--display);
  font-size: 28px;
  letter-spacing: 0.5px;
  color: var(--gold);
}

.top-nav {
  flex: 1 1 auto;
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.6px;
}

.top-nav a {
  color: var(--gold-muted);
  font-family: Arial, Helvetica, sans-serif;
  text-decoration: none;
}

.top-nav a:hover,
.top-nav a:focus {
  color: var(--cream);
  text-decoration: underline;
}

.top-nav a:focus {
  outline: 1px dotted var(--cream);
  outline-offset: 2px;
}

.nav-pipe { color: #6a5a30; }

.hero-bar-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ca-pill {
  display: inline-block;
  background: #0a0a08;
  border: 1px solid #6f4300;
  color: var(--gold-muted);
  padding: 6px 12px 5px;
  font-size: 12px;
}

.buy-cta {
  display: inline-block;
  background: var(--foil);
  color: #000;
  text-decoration: none;
  font-family: var(--display);
  font-size: 15px;
  letter-spacing: 0.4px;
  padding: 8px 14px 7px;
  border: 2px solid #6f4300;
}

.buy-cta:focus {
  outline: 1px dotted var(--cream);
  outline-offset: 2px;
}

.hero-main {
  display: grid;
  grid-template-columns: 62% 38%;
  flex: 1 1 auto;
  min-height: 0;
  align-items: stretch;
  padding: 8px 8px 0 20px;
}

.hero-copy {
  padding: 4px 12px 12px 4px;
  position: relative;
  z-index: 2;
}

.hero-headline {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(3.2rem, 6.4vw, 6.4rem);
  line-height: 0.88;
  letter-spacing: -0.02em;
  color: var(--cream);
  text-transform: uppercase;
  text-shadow:
    2px 2px 0 #1a1204,
    -1px 0 0 #3a2a10,
    0 1px 0 #000;
  filter: contrast(1.12);
}

.hero-line { display: block; }

.hero-sub {
  margin: 8px 0 10px;
  color: var(--gold-muted);
  font-size: 15px;
}

.chart-hold,
.clock-hold {
  position: relative;
  max-width: 100%;
}

.clock-box {
  margin: 0;
  padding: 6px 8px 10px;
  background: #050505;
  border: 3px ridge #c0a050;
  box-shadow: inset 0 0 0 1px #3a2200;
  position: relative;
  overflow: visible;
}

.clock-chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: #1a1408;
  border: 2px inset #6f4300;
  padding: 2px 6px;
  margin-bottom: 4px;
  color: var(--gold-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
}

.clock-title { color: var(--gold); }

.est-badge {
  display: inline-block;
  background: #000;
  color: #ffd21a;
  border: 1px solid #ffd21a;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 5px 0;
  letter-spacing: 1px;
}

.odo-block { margin: 2px 0 4px; }

.odo-label {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: var(--cream);
  margin: 0 0 3px;
}

.odometer {
  display: flex;
  flex-wrap: nowrap;
  gap: 1px;
  overflow: hidden;
  justify-content: flex-start;
  line-height: 1;
  font-family: "IBM Plex Mono", "Courier New", Courier, monospace;
}

.odo-digit,
.odo-sep {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "IBM Plex Mono", "Courier New", Courier, monospace;
  font-weight: 700;
  font-size: clamp(0.95rem, 1.7vw, 1.55rem);
  color: #ffd21a;
  background: #000;
  border-top: 2px solid #4a4a40;
  border-left: 2px solid #333;
  border-right: 2px solid #111;
  border-bottom: 2px solid #000;
  box-shadow: inset 0 -10px 0 #0c0c0a, inset 0 1px 0 #666;
  min-width: 0.68em;
  height: 1.55em;
  text-shadow: 0 0 0 #ffd21a;
}

.odo-sep {
  min-width: 0.38em;
  color: #c78a00;
  box-shadow: none;
  background: #0a0a08;
  font-size: clamp(0.8rem, 1.4vw, 1.2rem);
}

.odo-digit.is-est {
  color: #ffe36a;
  outline: 1px dotted #8d5b00;
}

.odo-digit.is-gag {
  color: #ef6b20;
  outline: 1px dashed #ef6b20;
}

.odo-source {
  margin: 3px 0 4px;
  color: #9a9070;
  font-size: 10px;
  letter-spacing: 0;
}

.clock-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 6px;
  margin: 0 0 4px;
}

.clock-tile {
  background: #0a0a08;
  border: 2px inset #5a3d10;
  padding: 5px 6px 6px;
  min-height: 4.4em;
  overflow: visible;
}

.tile-label {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: var(--gold-muted);
  margin: 0 0 2px;
  line-height: 1.15;
}

.tile-value {
  font-family: "IBM Plex Mono", "Courier New", Courier, monospace;
  font-size: clamp(0.72rem, 1.05vw, 1rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1.2;
  white-space: normal;
  overflow: visible;
  word-break: break-word;
}

.tile-value.is-gag { color: #ef6b20; font-style: italic; }

.tile-meta {
  margin-top: 2px;
  color: #8a8060;
  font-size: 8px;
  line-height: 1.2;
}

.clock-box.is-holding .tile-gold,
.clock-box.is-holding .odo-digit {
  box-shadow: inset 0 -10px 0 #0c0c0a, 0 0 8px #c78a00;
  color: #fff3a0;
}

.clock-box.is-holding.rattle {
  animation: clock-rattle 0.08s steps(2) infinite;
}

.clock-box.shake {
  animation: chart-shake 0.35s steps(4);
}

@keyframes clock-rattle {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-2px, 1px); }
}

@keyframes chart-shake {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-5px, 2px); }
  50% { transform: translate(6px, -2px); }
  75% { transform: translate(-3px, 1px); }
  100% { transform: translate(0, 0); }
}

.he-stamp {
  position: absolute;
  left: 18%;
  top: 28%;
  transform: rotate(-8deg);
  border: 4px solid #ef6b20;
  color: #ef6b20;
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.8vw, 2.2rem);
  letter-spacing: 1px;
  padding: 6px 14px;
  background: rgba(0,0,0,0.15);
  pointer-events: none;
  z-index: 5;
  text-shadow: 2px 2px 0 #000;
}

.he-stamp[hidden] { display: none; }

.hold-btn {
  display: block;
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  width: 100%;
  margin: 10px 0 0;
  padding: 14px 10px 12px;
  font-size: clamp(1.35rem, 3vw, 2.2rem);
  letter-spacing: 1px;
  overflow: hidden;
  z-index: 3;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
  box-shadow: 0 0 0 1px #3a2200;
}

.hold-btn:focus {
  outline: 2px dotted var(--cream);
  outline-offset: 2px;
}

.hold-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0%;
  background: #fff3a0;
  opacity: 0.55;
  z-index: 0;
  pointer-events: none;
}

.hold-label {
  position: relative;
  z-index: 1;
}

.hold-btn.boomered { cursor: default; }
.hold-btn.boomered .hold-fill { width: 100%; }

.hero-bust-col {
  position: relative;
  align-self: end;
  min-height: 420px;
}

.mascot-wrap {
  position: absolute;
  left: 0;
  right: -8px;
  bottom: 0;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.hero-bust {
  display: block;
  width: 100%;
  max-width: 620px;
  height: auto;
  max-height: 620px;
  object-fit: contain;
  object-position: bottom right;
}

.mascot-wrap.holding .hero-bust {
  animation: mascot-wiggle 0.09s steps(2) infinite;
}

@keyframes mascot-wiggle {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-2px, 1px); }
}

.contract-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 12px;
  margin: 0;
  padding: 12px 16px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #000;
  background: var(--foil);
  border: 2px solid #6f4300;
  border-left: 0;
  border-right: 0;
  position: relative;
  z-index: 4;
}

.ca-label { color: #1a1204; }

.ca-value {
  display: inline-block;
  background: #c8c8c8;
  border: 2px inset #808080;
  color: #111;
  padding: 4px 10px 3px;
  font-size: 15px;
  min-width: 3.5em;
  word-break: break-all;
}

.win98-btn {
  background: #c0c0c0;
  color: #000;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  border-right: 2px solid #404040;
  border-bottom: 2px solid #404040;
  border-radius: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px 3px;
  cursor: pointer;
}

.win98-btn:active {
  border-top: 2px solid #404040;
  border-left: 2px solid #404040;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
}

.win98-btn:focus {
  outline: 1px dotted #000;
  outline-offset: 1px;
}

/* ---------- COMPACT RETRO FACTS ---------- */

.facts-panel {
  margin: 10px 0 0;
  border: 2px solid #5a3d10;
  background: #0c0b08;
  max-height: none;
  min-height: 0;
}

.marquee-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  overflow: hidden;
  background: var(--foil);
  border-bottom: 2px solid #6f4300;
}

.sparkle {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.marquee-viewport {
  overflow: hidden;
  white-space: nowrap;
  flex: 1 1 auto;
}

.marquee-track {
  display: inline-flex;
  gap: 4.5em;
  animation: crawl 38s linear infinite;
}

.marquee-item {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  color: #000;
  padding: 0 12px;
}

.facts-grid {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 12px 18px;
  padding: 16px 18px 18px;
  align-items: start;
  justify-content: stretch;
  min-height: 0;
}

.facts-left {
  text-align: center;
  font-family: var(--serif);
}

.facts-mascot {
  display: block;
  width: 92%;
  max-width: 220px;
  height: auto;
  margin: 0 auto;
}

.facts-name {
  margin: 2px 0 0;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
}

.est-line {
  margin: 0;
  color: var(--cream);
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 2px;
}

.flag-row { margin: 6px 0 0; }

.pixel-flag {
  width: 118px;
  height: auto;
  max-width: 130px;
  vertical-align: middle;
}

.bless {
  margin: 3px 0 4px;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 700;
}

.coins-wrap { margin: 0; }

.coins-img {
  width: 70%;
  max-width: 160px;
  height: auto;
}

.facts-right {
  min-height: 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.joke-chart {
  display: block;
  width: 100%;
  height: auto;
  border: 2px solid #5a3d10;
  background: #050505;
}

.why-box {
  position: relative;
  width: 100%;
  max-width: none;
  min-width: 0;
  padding: 0;
  background: #11100b;
  border: 12px solid #c78a00;
  border-image: url("assets/gold-foil-tile.svg") 12 repeat;
  box-shadow:
    0 0 0 2px #5a3d10,
    inset 0 0 0 2px #ffe87a,
    inset 0 0 0 5px #8d5b00;
  overflow: hidden;
  box-sizing: border-box;
}

.why-inner {
  position: relative;
  z-index: 1;
  padding: 28px 36px 22px;
}

.why-coin {
  position: absolute;
  top: 6px;
  width: 86px;
  height: auto;
  z-index: 2;
  pointer-events: none;
}

.why-coin-l { left: 10px; }
.why-coin-r { right: 10px; transform: scaleX(-1); }

.why-title {
  margin: 0 0 14px;
  text-align: center;
  color: var(--gold);
  font-family: var(--serif);
  font-size: clamp(28px, 3.2vw, 42px);
  letter-spacing: 1px;
}

.why-cols {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 6px 32px;
  align-items: start;
  width: 100%;
}

.why-foot {
  margin: 16px 0 0;
  text-align: center;
  color: var(--gold);
  font-family: var(--serif);
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 700;
  letter-spacing: 0.5px;
}

.why-list {
  margin: 0;
  padding: 0;
  max-width: none;
  list-style: none;
  color: var(--cream);
  font-family: var(--serif);
  font-size: clamp(17px, 1.6vw, 22px);
  font-weight: 700;
  line-height: 1.7;
  text-align: left;
}

.why-list li {
  margin: 2px 0;
  padding-left: 1.1em;
  position: relative;
}

.why-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 1.05em;
}


/* ---------- GALLERY ---------- */

.gallery-section {
  padding: 18px 8px 12px;
}

.gallery-heading-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.gallery-heading {
  margin: 0;
  color: var(--cream);
  font-family: var(--display);
  font-size: clamp(2.4rem, 6.5vw, 5.2rem);
  line-height: 0.9;
  letter-spacing: -0.02em;
  text-shadow: 2px 2px 0 #1a1204;
}

.gallery-sub {
  margin: 6px 0 0;
  color: var(--gold-muted);
  font-size: 13px;
}

.gallery-header-boomer {
  width: 88px;
  height: auto;
  flex: 0 0 auto;
}

.gallery-header-boomer[hidden] { display: none; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.gallery-slot {
  margin: 0;
  background: #000;
  border: 2px solid #6f4300;
  box-shadow: inset 0 0 0 1px #3a2208;
  padding: 0;
  position: relative;
}

.gallery-link {
  display: block;
  color: inherit;
  text-decoration: none;
  position: relative;
}

.gallery-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
}

.gallery-empty {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 148px;
  padding: 10px 6px;
  color: #8a8a8a;
  font-size: 10px;
  text-align: center;
  word-break: break-all;
}

.gallery-slot.is-empty .gallery-img { display: none; }
.gallery-slot.is-empty .gallery-empty { display: flex; }
.gallery-slot.is-empty .gallery-save { display: none; }

.gallery-save {
  display: inline-block;
  position: absolute;
  right: 6px;
  bottom: 6px;
  background: #0a0a08;
  border: 1px solid #6f4300;
  color: var(--gold-muted);
  padding: 2px 7px;
  font-family: var(--mono);
  font-size: 10px;
  text-decoration: none;
}

/* ---------- TICKER + CTA ---------- */

.ticker-strip {
  background: #000;
  border-top: 2px solid var(--gold-muted);
  border-bottom: 2px solid var(--gold-muted);
  overflow: hidden;
  padding: 5px 0;
  margin: 8px 0 0;
}

.ticker-viewport {
  overflow: hidden;
  white-space: nowrap;
}

.ticker-track {
  display: inline-flex;
  gap: 3em;
  animation: crawl 28s linear infinite;
}

.ticker-item {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  padding: 0 12px;
}

@keyframes crawl {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.buy-block {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 28px 10px 18px;
  text-align: center;
}

.decor-chart {
  width: 18%;
  max-width: 200px;
  height: auto;
}

.decor-chart[hidden] { display: none; }

.buy-center { flex: 1 1 auto; }

.get-btn {
  display: inline-block;
  width: 88%;
  max-width: 640px;
  padding: 20px 12px 18px;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  text-align: center;
  text-decoration: none;
  color: #000;
  letter-spacing: 1px;
}

.get-btn:focus {
  outline: 2px dotted var(--cream);
  outline-offset: 3px;
}

.entertain {
  margin: 10px 0 0;
  color: var(--gold-muted);
  font-size: 13px;
}

/* ---------- FOOTER ---------- */

.site-footer {
  padding: 16px 14px 18px;
  border-top: 2px solid #5a3d10;
  text-align: center;
}

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

.footer-mail,
.footer-counter,
.footer-ie {
  margin: 0;
  font-size: 12px;
  flex: 1 1 0;
}

.footer-mail { text-align: left; }

.footer-mail a {
  color: var(--cream);
  font-family: Arial, Helvetica, sans-serif;
}

.footer-ie {
  text-align: right;
  color: var(--cream);
  font-family: Arial, Helvetica, sans-serif;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.ie-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.mail-icon {
  vertical-align: middle;
  margin-right: 4px;
}

.copyright {
  margin: 8px 0 4px;
  color: var(--gold-muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
}

.disclaimer {
  margin: 0;
  color: #9a9070;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
}

.burst-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 40;
  overflow: hidden;
}

.pixel-coin {
  position: absolute;
  width: 10px;
  height: 10px;
  background: #ffd21a;
  border: 1px solid #8d5b00;
  image-rendering: pixelated;
}

/* ---------- MOBILE ---------- */

@media (max-width: 1100px) {
  .hero-main { position: relative; }
  .hero-bust-col {
    position: absolute;
    right: 0;
    bottom: 48px;
    width: 42%;
    pointer-events: none;
    z-index: 1;
  }
  .hero-bust {
    opacity: 0.38;
    mix-blend-mode: luminosity;
  }
  .hero-copy { z-index: 2; }
  .clock-grid { grid-template-columns: 1fr 1fr 1fr; }
}

@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-headline { font-size: clamp(3rem, 12vw, 5.2rem); }
  .clock-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  .hero { min-height: 0; }
  .hero-main {
    grid-template-columns: 1fr;
    padding: 8px 10px 0;
  }
  .hero-copy { padding: 4px 0 56px; }
  .hero-headline { font-size: clamp(3rem, 15vw, 6rem); }
  .hero-bust-col {
    position: relative;
    min-height: 280px;
    height: 320px;
    width: 100%;
    order: 2;
    bottom: auto;
    pointer-events: auto;
  }
  .mascot-wrap {
    position: relative;
    height: 100%;
    justify-content: center;
  }
  .hero-bust {
    max-height: 320px;
    object-position: bottom center;
    opacity: 1;
    mix-blend-mode: normal;
  }
  .clock-grid { grid-template-columns: 1fr 1fr; }
  .odo-digit, .odo-sep { font-size: 0.95rem; }
  .hold-btn,
  .get-btn {
    width: auto;
    max-width: none;
    font-size: 22px;
  }
  .hold-btn { width: 100%; margin-top: 10px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .decor-chart { display: none !important; }
  .buy-block { display: block; width: 100%; }
  .footer-row { flex-direction: column; }
  .footer-mail,
  .footer-counter,
  .footer-ie {
    width: 100%;
    text-align: center;
    justify-content: center;
    margin: 8px 0;
  }
  .facts-grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .why-box {
    border-width: 10px;
  }
  .why-inner {
    padding: 22px 16px 16px;
  }
  .why-coin { width: 64px; }
  .why-cols {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .why-list {
    font-size: 18px;
  }
  .why-foot {
    font-size: 16px;
  }
  .gallery-heading-row { flex-wrap: wrap; }
  .gallery-header-boomer { margin-left: auto; }
  .contract-strip { justify-content: flex-start; }
  .ca-value { max-width: 100%; }
  .top-nav { order: 3; flex-basis: 100%; }
  .hero-bar-right { margin-left: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track,
  .ticker-track,
  .mascot-wrap.holding .hero-bust,
  .chart-box.shake,
  .clock-box.shake,
  .clock-box.is-holding.rattle {
    animation: none;
  }
}

@media (min-width: 1200px) and (max-height: 920px) {
  .hero { min-height: 0; }
  .hero-headline { font-size: clamp(2.8rem, 5.2vw, 5.2rem); }
  .hero-bust { max-height: 520px; }
}


.gallery-save {
  cursor: pointer;
}

.meme-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.meme-modal[hidden] { display: none; }
.meme-modal-backdrop {
  position: absolute;
  inset: 0;
  background: #000;
  opacity: .78;
}
.meme-modal-box {
  position: relative;
  z-index: 1;
  max-width: min(960px, 100%);
  background: #050505;
  border: 4px ridge #c0c0c0;
  padding: 18px 18px 14px;
  text-align: center;
}
.meme-modal-img {
  display: block;
  max-width: 100%;
  max-height: min(72vh, 720px);
  width: auto;
  height: auto;
  margin: 0 auto 12px;
  border: 2px solid #6f4300;
}
.meme-modal-x {
  position: absolute;
  top: 8px;
  right: 8px;
  min-width: 28px;
}
.meme-modal-copy {
  min-width: 140px;
  padding: 8px 18px;
  font-size: 1.15rem;
}
body.modal-open { overflow: hidden; }
