:root {
  --ink: #15120f;
  --paper: #fff7e8;
  --cream: #ffe7bc;
  --orange: #ff9d1b;
  --orange-dark: #cf6500;
  --mint: #37f0c2;
  --violet: #7f4dff;
  --blue: #22a6f2;
  --charcoal: #211c1a;
  --muted: #6b5b4d;
  --line: rgba(21, 18, 15, 0.18);
  --shadow: 0 26px 70px rgba(31, 18, 8, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(55, 240, 194, 0.26), transparent 32rem),
    radial-gradient(circle at 82% 16%, rgba(255, 157, 27, 0.35), transparent 30rem),
    linear-gradient(180deg, #fff8ec 0%, #ffe4ae 46%, #f7ba56 100%);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(255, 247, 232, 0.74);
  border: 1px solid rgba(21, 18, 15, 0.1);
  border-radius: 999px;
  box-shadow: 0 18px 50px rgba(31, 18, 8, 0.1);
  display: flex;
  justify-content: space-between;
  left: 50%;
  max-width: 1160px;
  padding: 0.65rem 0.75rem;
  position: fixed;
  top: 1rem;
  transform: translateX(-50%);
  width: calc(100% - 2rem);
  z-index: 10;
}

.brand,
.nav-links,
.hero-actions,
.contract-strip,
.link-list a {
  align-items: center;
  display: flex;
}

.brand {
  gap: 0.65rem;
  font-weight: 900;
}

.brand img {
  border: 2px solid var(--ink);
  border-radius: 50%;
  height: 2.35rem;
  object-fit: cover;
  width: 2.35rem;
}

.nav-links {
  gap: 0.2rem;
}

.nav-links a {
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 800;
  padding: 0.72rem 0.9rem;
}

.nav-links a:hover {
  background: var(--ink);
  color: var(--paper);
}

.nav-links .nav-social {
  align-items: center;
  color: var(--ink);
  display: inline-flex;
  flex: 0 0 2.7rem;
  height: 2.7rem;
  justify-content: center;
  padding: 0;
  width: 2.7rem;
}

.nav-social svg {
  fill: currentColor;
  height: 1rem;
  width: 1rem;
}

.nav-links a.is-active {
  background: var(--orange);
  color: var(--ink);
}

.hero {
  align-items: center;
  display: grid;
  gap: clamp(2rem, 5vw, 4.5rem);
  grid-template-columns: minmax(0, 0.88fr) minmax(18rem, 1.12fr);
  min-height: 100vh;
  padding: 7.2rem clamp(1rem, 5vw, 5rem) 3rem;
}

.hero-copy {
  max-width: 42rem;
}

.eyebrow {
  color: var(--orange-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  margin: 0 0 0.7rem;
  text-transform: uppercase;
}

h1,
h2 {
  font-family: Anton, Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-weight: 400;
  line-height: 0.9;
  margin: 0;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(5.2rem, 18vw, 15rem);
  text-shadow: 0.05em 0.05em 0 var(--orange), 0.09em 0.09em 0 var(--ink);
}

h2 {
  font-size: clamp(2.8rem, 8vw, 6.6rem);
  max-width: 11ch;
}

.tagline {
  color: var(--charcoal);
  font-size: clamp(1.2rem, 2.2vw, 1.8rem);
  font-weight: 900;
  line-height: 1.18;
  margin: 1.2rem 0 0;
  max-width: 22rem;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.button,
.copy-button {
  border: 2px solid var(--ink);
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  min-height: 3.25rem;
  padding: 0.95rem 1.25rem;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.copy-button:hover {
  box-shadow: 0 10px 0 var(--ink);
  transform: translateY(-0.35rem);
}

.primary {
  background: var(--ink);
  color: var(--paper);
}

.secondary,
.copy-button {
  background: var(--mint);
  color: var(--ink);
}

.contract-strip {
  background: rgba(255, 255, 255, 0.7);
  border: 2px solid var(--ink);
  border-radius: 1.1rem;
  box-shadow: 0 10px 0 rgba(21, 18, 15, 0.92);
  gap: 0.75rem;
  margin-top: 1.6rem;
  max-width: 43rem;
  padding: 0.65rem;
}

.contract-strip span {
  background: var(--orange);
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-weight: 900;
  padding: 0.68rem 0.82rem;
}

.contract-strip code {
  flex: 1;
  font-family: "Courier New", monospace;
  font-size: clamp(0.72rem, 1.4vw, 0.94rem);
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.copy-button {
  min-height: 2.9rem;
  padding: 0.65rem 1rem;
}

.hero-media {
  padding-bottom: clamp(3.5rem, 7vw, 6.5rem);
  position: relative;
}

.hero-banner {
  aspect-ratio: 16 / 7;
  border: 3px solid var(--ink);
  border-radius: 1.6rem;
  box-shadow: var(--shadow), 0 12px 0 var(--ink);
  height: auto;
  object-fit: cover;
  width: 100%;
}

.hero-gif {
  aspect-ratio: 1 / 1;
  bottom: 0;
  filter: drop-shadow(0 18px 16px rgba(21, 18, 15, 0.28));
  max-width: min(40vw, 19rem);
  object-fit: contain;
  position: absolute;
  right: 2%;
  rotate: 2deg;
  width: 42%;
}

.ticker {
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  padding: 0.85rem 0;
}

.ticker div {
  animation: scrollTicker 18s linear infinite;
  display: flex;
  gap: 2rem;
  white-space: nowrap;
  width: max-content;
}

.ticker span {
  color: var(--orange);
  font-family: Anton, Impact, sans-serif;
  font-size: clamp(1.6rem, 4vw, 3rem);
}

.about-section,
.links-section,
.meme-section,
.reward-callout {
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 5vw, 5rem);
}

.about-section {
  align-items: center;
  display: grid;
  gap: clamp(2.5rem, 7vw, 7rem);
  grid-template-columns: minmax(0, 0.82fr) minmax(28rem, 1.18fr);
}

.about-copy p:last-child {
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  font-weight: 700;
  line-height: 1.45;
  max-width: 40rem;
}

.stat-grid {
  display: grid;
  gap: 0.8rem;
}

.stat-grid article {
  background: #ffffff;
  border: 2px solid var(--ink);
  border-radius: 0.5rem;
  box-shadow: 0 8px 0 var(--ink);
  min-width: 0;
  padding: 1.1rem 1.2rem;
  position: relative;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.stat-grid article:nth-child(1) {
  background: var(--mint);
}

.stat-grid article:nth-child(2) {
  background: var(--orange);
}

.stat-grid article:nth-child(3) {
  background: var(--violet);
  color: white;
}

.stat-grid article:hover {
  box-shadow: 0 12px 0 var(--ink);
  transform: translateY(-0.25rem);
}

.stat-grid span,
figcaption {
  color: var(--muted);
  display: block;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.stat-grid strong {
  display: block;
  font-family: Anton, Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(2.15rem, 4vw, 3.35rem);
  font-weight: 400;
  line-height: 0.95;
  margin-top: 0.45rem;
  text-transform: uppercase;
}

.stat-grid article:nth-child(1) strong {
  color: var(--ink);
  text-shadow: 3px 3px 0 #ffffff;
}

.stat-grid article:nth-child(2) strong {
  color: var(--ink);
  text-shadow: 3px 3px 0 #ffe3a6;
}

.stat-grid article:nth-child(3) strong {
  color: #ffffff;
  text-shadow: 3px 3px 0 var(--ink);
}

.stat-grid small {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  margin-top: 0.5rem;
}

.stat-grid article:nth-child(3) span,
.stat-grid article:nth-child(3) small {
  color: rgba(255, 255, 255, 0.78);
}

.facts-stage {
  align-items: end;
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr) clamp(8.5rem, 15vw, 12rem);
}

.facts-topline {
  align-items: center;
  border-bottom: 2px solid var(--ink);
  display: flex;
  font-size: 0.72rem;
  font-weight: 900;
  grid-column: 1 / -1;
  justify-content: space-between;
  padding-bottom: 0.7rem;
  text-transform: uppercase;
}

.live-chip {
  align-items: center;
  display: inline-flex;
  gap: 0.45rem;
}

.live-chip i {
  animation: livePulse 2s infinite;
  background: #13a777;
  border-radius: 50%;
  display: block;
  height: 0.55rem;
  width: 0.55rem;
}

.facts-mascot {
  filter: drop-shadow(0 16px 14px rgba(21, 18, 15, 0.2));
  width: 100%;
}

.meme-section {
  background: #fff3d7;
  border-block: 3px solid var(--ink);
}

.section-heading {
  align-items: end;
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.meme-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

figure {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 0.5rem;
  box-shadow: 0 8px 0 var(--ink);
  margin: 0;
  overflow: hidden;
}

figure img {
  aspect-ratio: 1 / 1;
  background: #ffffff;
  height: auto;
  object-fit: cover;
  width: 100%;
}

figcaption {
  color: var(--ink);
  padding: 0.85rem 1rem 1rem;
}

.section-action {
  display: flex;
  justify-content: center;
  margin-top: 2.4rem;
}

.reward-callout {
  align-items: center;
  background: var(--violet);
  color: white;
  display: grid;
  gap: clamp(2rem, 6vw, 6rem);
  grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.85fr);
}

.reward-callout .eyebrow {
  color: var(--mint);
}

.reward-callout h2 {
  max-width: 12ch;
}

.reward-callout-copy p {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 800;
  line-height: 1.5;
  margin: 0 0 1.5rem;
}

.links-section {
  align-items: center;
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 0.75fr) minmax(18rem, 1fr);
}

.link-list {
  display: grid;
  gap: 0.8rem;
}

.link-list a {
  background: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 0.5rem;
  color: var(--paper);
  font-size: clamp(1.15rem, 2.2vw, 1.7rem);
  font-weight: 900;
  gap: 1rem;
  justify-content: space-between;
  padding: 1rem;
}

.link-list a:nth-child(2) {
  background: var(--violet);
}

.link-list a:nth-child(3) {
  background: var(--blue);
}

.link-list span {
  background: var(--paper);
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.8rem;
  padding: 0.5rem 0.65rem;
}

.site-footer {
  align-items: center;
  background: var(--ink);
  color: var(--paper);
  display: flex;
  gap: 1rem;
  justify-content: center;
  padding: 1.4rem 1rem;
  text-align: center;
}

.site-footer img {
  border: 2px solid var(--paper);
  border-radius: 50%;
  height: 3.2rem;
  object-fit: cover;
  width: 3.2rem;
}

.site-footer p {
  font-weight: 800;
  margin: 0;
}

.toast {
  background: var(--ink);
  border: 2px solid var(--paper);
  border-radius: 999px;
  bottom: 1rem;
  color: var(--paper);
  font-weight: 900;
  left: 50%;
  opacity: 0;
  padding: 0.9rem 1.2rem;
  pointer-events: none;
  position: fixed;
  transform: translate(-50%, 1rem);
  transition: opacity 180ms ease, transform 180ms ease;
  z-index: 20;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* Inner pages */

.inner-page {
  background: #fff8ec;
}

.rewards-page,
.gallery-page {
  padding-top: 6.5rem;
}

.page-intro {
  align-items: end;
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1fr) minmax(15rem, 28rem);
  min-height: 35rem;
  overflow: hidden;
  padding: clamp(3rem, 8vw, 7rem) clamp(1rem, 5vw, 5rem) 0;
}

.page-intro h1 {
  font-size: clamp(5rem, 16vw, 13rem);
}

.page-lead {
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  font-weight: 800;
  line-height: 1.48;
  margin: 2rem 0 4rem;
  max-width: 42rem;
}

.page-intro > img {
  align-self: end;
  max-height: 31rem;
  object-fit: contain;
  object-position: bottom;
  width: 100%;
}

.reward-intro {
  background: var(--cream);
  border-bottom: 3px solid var(--ink);
}

.reward-dashboard {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(2rem, 5vw, 4.5rem) clamp(1rem, 5vw, 5rem);
}

.dashboard-topline,
.live-status,
.token-label,
.reward-meta,
.source-note,
.gallery-toolbar,
.filter-group,
.gallery-card > div,
.dialog-info {
  align-items: center;
  display: flex;
}

.dashboard-topline {
  justify-content: space-between;
  margin-bottom: 2rem;
}

.live-status {
  gap: 0.65rem;
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.status-dot {
  background: var(--mint);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(55, 240, 194, 0.7);
  height: 0.7rem;
  width: 0.7rem;
  animation: livePulse 2s infinite;
}

.has-error .status-dot {
  animation: none;
  background: var(--orange);
}

.refresh-button {
  background: transparent;
  border: 1px solid rgba(255, 247, 232, 0.45);
  border-radius: 999px;
  color: var(--paper);
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 900;
  min-height: 2.75rem;
  padding: 0.6rem 1rem;
}

.refresh-button:hover {
  background: var(--paper);
  color: var(--ink);
}

.refresh-button:disabled {
  cursor: wait;
  opacity: 0.55;
}

.reward-totals {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.reward-total {
  border: 2px solid var(--paper);
  border-radius: 0.5rem;
  color: var(--ink);
  min-width: 0;
  padding: clamp(1.2rem, 4vw, 2.4rem);
}

.reward-total-sagasu {
  background: var(--orange);
}

.reward-total-skr {
  background: var(--mint);
}

.token-label {
  gap: 0.7rem;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.token-label img {
  border: 2px solid var(--ink);
  border-radius: 50%;
  height: 2.5rem;
  width: 2.5rem;
}

.token-label img {
  object-fit: cover;
}

.token-label .skr-logo {
  background: #000000;
  object-fit: contain;
  padding: 0.28rem;
}

.reward-total > strong {
  display: block;
  font-family: Anton, Impact, sans-serif;
  font-size: clamp(2.8rem, 6vw, 6rem);
  font-weight: 400;
  line-height: 1;
  margin-top: 2rem;
  overflow-wrap: anywhere;
}

.reward-total > p {
  font-size: 0.85rem;
  font-weight: 800;
  margin: 0.8rem 0 0;
}

.reward-details {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 1rem;
}

.reward-details article {
  background: #302a27;
  min-width: 0;
  padding: 1.35rem;
}

.reward-details span,
.reward-details small {
  color: #cbbfb2;
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
}

.reward-details span {
  text-transform: uppercase;
}

.reward-details strong {
  display: block;
  font-size: clamp(1.4rem, 3vw, 2.5rem);
  margin: 0.55rem 0;
  overflow-wrap: anywhere;
}

.reward-meta {
  border-top: 1px solid rgba(255, 247, 232, 0.2);
  color: #cbbfb2;
  flex-wrap: wrap;
  font-size: 0.75rem;
  gap: 0.6rem 2rem;
  justify-content: space-between;
  margin-top: 1.5rem;
  padding-top: 1rem;
}

.reward-meta p {
  margin: 0;
}

.reward-meta strong {
  color: var(--paper);
}

.reward-error {
  background: var(--orange);
  color: var(--ink);
  font-weight: 800;
  margin-top: 1.2rem;
  padding: 1rem;
}

.reward-explainer {
  display: grid;
  gap: 3rem;
  grid-template-columns: minmax(0, 0.8fr) minmax(22rem, 1.2fr);
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 5vw, 5rem);
}

.reward-steps {
  display: grid;
  gap: 0;
}

.reward-steps article {
  border-top: 2px solid var(--ink);
  display: grid;
  gap: 0.5rem 1.2rem;
  grid-template-columns: 3rem 1fr;
  padding: 1.4rem 0;
}

.reward-steps article:last-child {
  border-bottom: 2px solid var(--ink);
}

.reward-steps span {
  color: var(--orange-dark);
  font-weight: 900;
  grid-row: 1 / span 2;
}

.reward-steps strong {
  font-size: 1.2rem;
}

.reward-steps p {
  color: var(--muted);
  font-weight: 700;
  line-height: 1.5;
  margin: 0;
}

.source-note {
  background: var(--mint);
  border-top: 3px solid var(--ink);
  gap: 2rem;
  justify-content: space-between;
  padding: 2rem clamp(1rem, 5vw, 5rem);
}

.source-note span {
  display: block;
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.source-note p {
  font-weight: 800;
  line-height: 1.5;
  margin: 0.35rem 0 0;
  max-width: 48rem;
}

/* Gallery */

.gallery-intro {
  background: var(--blue);
  border-bottom: 3px solid var(--ink);
}

.gallery-library {
  padding: 2rem clamp(1rem, 4vw, 4rem) clamp(4rem, 8vw, 7rem);
  scroll-margin-top: 6.5rem;
}

.gallery-toolbar {
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.filter-group {
  flex-wrap: wrap;
  gap: 0.45rem;
}

.filter-button {
  background: white;
  border: 2px solid var(--ink);
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 900;
  min-height: 2.7rem;
  padding: 0.55rem 0.85rem;
}

.filter-button span {
  color: var(--muted);
  margin-left: 0.3rem;
}

.filter-button:hover,
.filter-button.is-active {
  background: var(--ink);
  color: white;
}

.filter-button.is-active span {
  color: var(--mint);
}

.gallery-toolbar > p {
  color: var(--muted);
  flex: 0 0 auto;
  font-size: 0.78rem;
  font-weight: 900;
  margin: 0;
}

.gallery-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr));
}

.gallery-card {
  background: white;
  border: 2px solid var(--ink);
  border-radius: 0.5rem;
  box-shadow: 0 6px 0 var(--ink);
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
}

.gallery-preview {
  background: #ebeff3;
  border: 0;
  cursor: zoom-in;
  display: block;
  flex: 0 0 auto;
  overflow: hidden;
  padding: 0;
  width: 100%;
}

.gallery-preview img,
.gallery-preview video {
  aspect-ratio: 1 / 1;
  display: block;
  object-fit: contain;
  transition: transform 180ms ease;
  width: 100%;
}

.gallery-card.is-animation .gallery-preview img {
  object-fit: cover;
}

.gallery-preview:hover img,
.gallery-preview:hover video {
  transform: scale(1.035);
}

.gallery-card.is-scene .gallery-preview {
  background: #111111;
}

.gallery-card.is-scene .gallery-preview video {
  aspect-ratio: 1 / 1;
  display: block;
  object-fit: contain;
  pointer-events: none;
}

.gallery-card > div {
  gap: 0.8rem;
  justify-content: space-between;
  margin-top: auto;
  min-height: 4.2rem;
  padding: 0.8rem;
}

.gallery-card.has-media-error .gallery-preview {
  align-items: center;
  background: var(--cream);
  display: flex;
}

.gallery-card.has-media-error .gallery-preview::after {
  content: "Asset unavailable";
  font-size: 0.75rem;
  font-weight: 900;
  margin: auto;
  text-transform: uppercase;
}

.gallery-card.has-media-error .gallery-preview img,
.gallery-card.has-media-error .gallery-preview video {
  display: none;
}

.gallery-card > div > div {
  min-width: 0;
}

.gallery-card span,
.dialog-info span {
  color: var(--muted);
  display: block;
  font-size: 0.65rem;
  font-weight: 900;
  text-transform: uppercase;
}

.gallery-card strong {
  display: block;
  font-size: 0.88rem;
  margin-top: 0.15rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gallery-card a {
  background: var(--mint);
  border: 1px solid var(--ink);
  border-radius: 999px;
  flex: 0 0 auto;
  font-size: 0.68rem;
  font-weight: 900;
  padding: 0.5rem 0.65rem;
}

.art-dialog {
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 0.5rem;
  box-shadow: 0 16px 0 var(--ink);
  color: var(--ink);
  max-height: calc(100vh - 2rem);
  max-width: min(58rem, calc(100vw - 2rem));
  padding: 0;
  width: 100%;
}

.art-dialog::backdrop {
  background: rgba(21, 18, 15, 0.78);
  backdrop-filter: blur(8px);
}

.dialog-close {
  background: var(--ink);
  border: 2px solid var(--paper);
  border-radius: 50%;
  color: white;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  height: 2.75rem;
  position: absolute;
  right: 0.8rem;
  top: 0.8rem;
  width: 2.75rem;
  z-index: 1;
}

.dialog-media {
  background: #ebeff3;
  height: min(66vh, 40rem);
}

.dialog-media [hidden] {
  display: none !important;
}

.dialog-media img,
.dialog-media video {
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.dialog-media video {
  background: #111111;
}

.dialog-info {
  gap: 1rem;
  justify-content: space-between;
  padding: 1rem;
}

.dialog-info h2 {
  font-family: Inter, sans-serif;
  font-size: 1.2rem;
  line-height: 1.2;
  margin-top: 0.2rem;
  text-transform: none;
}

@keyframes livePulse {
  70% {
    box-shadow: 0 0 0 0.6rem rgba(55, 240, 194, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(55, 240, 194, 0);
  }
}

@keyframes scrollTicker {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 840px) {
  .site-header {
    border-radius: 1.2rem;
  }

  .nav-links a {
    padding-inline: 0.68rem;
  }

  .hero,
  .about-section,
  .links-section,
  .reward-callout,
  .reward-explainer,
  .page-intro {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 6.7rem;
  }

  .hero-media {
    padding-bottom: 5rem;
  }

  .hero-gif {
    max-width: 15rem;
    right: 2%;
    width: 40%;
  }

  .facts-stage {
    grid-template-columns: minmax(0, 1fr) minmax(8rem, 10rem);
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 0.5rem;
  }

  .meme-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-intro {
    min-height: auto;
  }

  .page-lead {
    margin-bottom: 1rem;
  }

  .page-intro > img {
    justify-self: center;
    max-height: 22rem;
    max-width: 26rem;
  }

  .reward-details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .brand span {
    display: none;
  }

  .nav-links {
    flex: 1;
    justify-content: flex-end;
  }

  .nav-links a {
    font-size: 0.75rem;
    padding-inline: 0.48rem;
  }

  .hero {
    padding-inline: 1rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    justify-content: center;
    text-align: center;
  }

  .contract-strip {
    align-items: stretch;
    flex-wrap: wrap;
  }

  .contract-strip code {
    flex-basis: 100%;
    order: 3;
    white-space: normal;
    word-break: break-all;
  }

  .copy-button {
    flex: 1;
  }

  .hero-media {
    padding-bottom: 4.5rem;
  }

  .hero-banner {
    aspect-ratio: 1.15 / 1;
  }

  .hero-gif {
    max-width: 11.5rem;
    right: 0;
    width: 46%;
  }

  .facts-stage {
    align-items: center;
    grid-template-columns: minmax(0, 1fr) 7.5rem;
  }

  .facts-topline {
    grid-column: 1 / -1;
  }

  .facts-mascot {
    grid-column: 2;
  }

  .meme-grid {
    grid-template-columns: 1fr;
  }

  .reward-totals,
  .reward-details {
    grid-template-columns: 1fr;
  }

  .reward-total > strong {
    font-size: clamp(2.6rem, 14vw, 4.2rem);
  }

  .source-note,
  .dialog-info {
    align-items: stretch;
    flex-direction: column;
  }

  .gallery-library {
    padding-inline: 0.75rem;
  }

  .filter-group {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .filter-button {
    min-width: 0;
  }

  .dialog-info .button {
    text-align: center;
  }

  .site-footer {
    align-items: flex-start;
    text-align: left;
  }
}
