@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Newsreader:opsz,wght@6..72,200..800&family=Space+Grotesk:wght@500;600;700&display=swap");

:root {
  color-scheme: dark;
  --bg: #050505;
  --panel: rgba(255, 255, 255, 0.02);
  --panel-strong: rgba(255, 255, 255, 0.035);
  --line: rgba(255, 255, 255, 0.1);
  --line-soft: rgba(255, 255, 255, 0.05);
  --text: #ebebeb;
  --muted: #9ca3af;
  --green: #10b981;
  --green-soft: rgba(16, 185, 129, 0.16);
  --green-faint: rgba(16, 185, 129, 0.07);
  --gold: #d9b45f;
  --red: #ff4d6d;
  --shadow: 0 34px 110px rgba(0, 0, 0, 0.64);
  --shadow-soft: 0 18px 55px rgba(0, 0, 0, 0.38);
  --inset-line: inset 0 1px 0 rgba(255, 255, 255, 0.07);
  --curve: cubic-bezier(0.16, 1, 0.3, 1);
  --serif: "Newsreader", Georgia, serif;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  position: relative;
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.034), transparent 17rem),
    radial-gradient(circle at 15% 0%, rgba(16, 185, 129, 0.18), transparent 28rem),
    radial-gradient(circle at 85% 5%, rgba(235, 235, 235, 0.07), transparent 24rem),
    radial-gradient(circle at 52% 54%, rgba(16, 185, 129, 0.055), transparent 38rem),
    var(--bg);
  color: var(--text);
  font-family: var(--sans);
}

body::before,
body::after {
  content: "";
  position: fixed;
  z-index: -1;
  width: 384px;
  height: 384px;
  border-radius: 40% 60% 60% 40% / 70% 30% 70% 30%;
  background: rgba(16, 185, 129, 0.1);
  filter: blur(100px);
  pointer-events: none;
  animation: morphGlow 8s var(--curve) infinite alternate;
}

body::before {
  left: -9rem;
  top: 12rem;
}

body::after {
  right: -11rem;
  bottom: 8rem;
  animation-delay: -3s;
}

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

::selection {
  background: rgba(16, 185, 129, 0.28);
  color: var(--text);
}

button,
textarea {
  font: inherit;
}

.topbar {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  min-height: 92px;
  padding: 0 1.6rem;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(16, 185, 129, 0.09), transparent 23rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent),
    rgba(5, 5, 5, 0.9);
  backdrop-filter: blur(12px);
}

.topbar::after {
  content: "";
  position: absolute;
  inset: auto 1.25rem -1px;
  height: 1px;
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.55), transparent 42%);
  pointer-events: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--text);
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2vw, 2.05rem);
  font-weight: 780;
  letter-spacing: -0.04em;
  line-height: 0;
  white-space: nowrap;
}

.brand-logo {
  width: auto;
  height: clamp(3.9rem, 5.4vw, 4.9rem);
  max-width: min(42vw, 28rem);
  border: 0;
  border-radius: 0;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 16px 38px rgba(0, 0, 0, 0.56));
}

.wallet {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.35rem;
  min-width: 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.wallet-address {
  max-width: min(48vw, 35rem);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.68rem 0.9rem;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
  backdrop-filter: blur(12px);
  transition: border-color 260ms var(--curve), color 260ms var(--curve), background 260ms var(--curve);
}

.wallet-address:hover {
  border-color: rgba(235, 235, 235, 0.24);
  background: rgba(255, 255, 255, 0.045);
}

.layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  width: min(1840px, 100%);
  margin: 0 auto;
  padding: 1.25rem;
}

.feed-column {
  min-width: 0;
}

.workspace-grid {
  display: grid;
  gap: 1.25rem;
}

.workspace-grid {
  grid-template-columns: minmax(0, 1.18fr) minmax(390px, 0.82fr);
  align-items: stretch;
}

.right-stack {
  display: grid;
  gap: 1.25rem;
  grid-template-rows: auto auto minmax(220px, 1fr);
  align-content: start;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  min-height: 330px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(circle at 10% 20%, rgba(16, 185, 129, 0.13), transparent 26rem),
    linear-gradient(110deg, rgba(16, 185, 129, 0.075), transparent 42%),
    var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(115deg, transparent, rgba(255, 255, 255, 0.14), transparent 48%);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.55;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 48%;
  background: repeating-linear-gradient(90deg, rgba(16, 185, 129, 0.11) 0 1px, transparent 1px 68px);
  mask-image: linear-gradient(to top, black, transparent);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: clamp(1.4rem, 3vw, 2.4rem);
  max-width: none;
}

.eyebrow {
  margin: 0 0 0.5rem;
  color: var(--green);
  font-family: var(--mono);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 720;
  letter-spacing: -0.06em;
}

h1 {
  max-width: 15ch;
  font-size: clamp(2.8rem, 5vw, 5.55rem);
  line-height: 0.9;
}

.hero h1 {
  max-width: 22ch;
  font-size: clamp(3rem, 5.8vw, 6.4rem);
}

h2 {
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 0.95;
  text-shadow: 0 18px 44px rgba(0, 0, 0, 0.42);
}

.hero-text {
  max-width: 96rem;
  color: var(--muted);
  font-size: clamp(0.96rem, 1.12vw, 1.12rem);
  line-height: 1.6;
}

.panel,
.gallery-section,
.feed-column {
  position: relative;
  overflow: hidden;
  margin-top: 1rem;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(circle at 16% 0%, rgba(16, 185, 129, 0.07), transparent 18rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012) 38%, rgba(16, 185, 129, 0.026)),
    var(--panel);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow), var(--inset-line);
}

.panel::before,
.gallery-section::before,
.feed-column::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(90deg, rgba(16, 185, 129, 0.055), transparent 18rem),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 86px);
  mask-image: linear-gradient(to bottom, black, transparent 64%);
  pointer-events: none;
  opacity: 0.8;
}

.panel::after,
.gallery-section::after,
.feed-column::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 32%, rgba(16, 185, 129, 0.16), transparent 72%);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.58;
}

.workspace-grid > *,
.right-stack > *,
.layout > .hero {
  margin-top: 0;
}

.panel,
.gallery-section {
  padding: clamp(1rem, 1.35vw, 1.35rem);
}

.generator-panel {
  min-height: auto;
  padding: clamp(1.15rem, 1.8vw, 1.75rem);
}

.panel > *,
.gallery-section > *,
.feed-column > *,
.image-card > * {
  position: relative;
  z-index: 1;
}

.section-heading,
.feed-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.section-heading {
  padding-bottom: 0.35rem;
}

.section-heading a,
.feed-header a,
.secondary-link {
  color: var(--green);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.cap-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem;
  margin-left: auto;
}

.cap-tools a {
  display: inline-block;
  min-height: 0;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
}

.section-heading a::after,
.feed-header a::after,
.secondary-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.18rem;
  width: 0;
  height: 1px;
  background: var(--green);
  transition: width 360ms var(--curve);
}

.section-heading a:hover::after,
.feed-header a:hover::after,
.secondary-link:hover::after {
  width: 100%;
}

.cap-readout {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin: 1.35rem 0 0.95rem;
}

.command-cap {
  display: grid;
  align-content: space-between;
  min-height: 235px;
  background:
    radial-gradient(circle at 92% 18%, rgba(16, 185, 129, 0.1), transparent 16rem),
    radial-gradient(circle at 12% 110%, rgba(235, 235, 235, 0.045), transparent 18rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012) 40%),
    var(--panel);
}

#marketCap {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 4.8rem);
  font-weight: 780;
  letter-spacing: -0.06em;
  line-height: 0.95;
  text-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

#capPercent {
  color: var(--green);
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.progress-shell {
  position: relative;
  height: 36px;
  overflow: visible;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.014)),
    rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), inset 0 -10px 26px rgba(0, 0, 0, 0.28);
}

.progress-track {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
}

.progress-fill {
  position: relative;
  width: 0%;
  height: 100%;
  min-width: 42px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(5, 111, 80, 0.96), rgba(16, 185, 129, 0.88), rgba(183, 255, 226, 0.72));
  box-shadow: 0 0 24px rgba(16, 185, 129, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transition: width 800ms var(--curve);
}

.running-bull {
  position: absolute;
  z-index: 2;
  left: var(--bull-position, 1%);
  top: 50%;
  width: 4.62rem;
  height: auto;
  max-width: none;
  transform: translate(-42%, -49%);
  filter: drop-shadow(0 5px 9px rgba(0, 0, 0, 0.68)) drop-shadow(0 0 10px rgba(16, 185, 129, 0.3));
  animation: run 760ms var(--curve) infinite;
  pointer-events: none;
}

.target {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text);
  font-weight: 950;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.75);
}

@keyframes run {
  50% {
    transform: translate(-42%, -53%) rotate(-1.5deg);
  }
}

.status-text {
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.55;
}

.post-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

.chip,
.primary-button,
.secondary-button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 0.9rem;
  color: var(--text);
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: transform 260ms var(--curve), border-color 260ms var(--curve), background 260ms var(--curve), color 260ms var(--curve), box-shadow 260ms var(--curve);
}

.chip:hover,
.primary-button:hover,
.secondary-button:hover {
  transform: translateY(-1px);
  border-color: rgba(235, 235, 235, 0.28);
}

.chip {
  background: rgba(255, 255, 255, 0.02);
  font-family: var(--mono);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.chip.active {
  border-color: rgba(16, 185, 129, 0.72);
  background: rgba(16, 185, 129, 0.12);
  color: #f6fffb;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 12px 30px rgba(16, 185, 129, 0.08);
}

.composer {
  display: grid;
  gap: 1.05rem;
  margin-top: 1.2rem;
}

textarea {
  width: 100%;
  min-height: 125px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.15rem;
  background:
    radial-gradient(circle at 8% 0%, rgba(16, 185, 129, 0.12), transparent 14rem),
    linear-gradient(140deg, rgba(16, 185, 129, 0.055), transparent 46%),
    rgba(0, 0, 0, 0.22);
  color: var(--text);
  font-size: clamp(1rem, 1.02vw, 1.08rem);
  line-height: 1.5;
  backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045), inset 0 -20px 60px rgba(0, 0, 0, 0.16);
}

.generator-progress {
  display: none;
  align-items: center;
  gap: 0.8rem;
  margin-top: -0.35rem;
  padding: 0 0.15rem;
}

.generator-progress.active {
  display: flex;
}

.generator-progress-track {
  position: relative;
  flex: 1;
  height: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
}

.generator-progress-track::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(235, 235, 235, 0.18), transparent);
  transform: translateX(-100%);
  animation: progress-sheen 1.25s linear infinite;
}

#generatorProgressFill {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0f8f65, #7bf7c8);
  box-shadow: 0 0 22px rgba(16, 185, 129, 0.24);
  transition: width 280ms var(--curve);
}

#generatorProgressText {
  min-width: 3.2rem;
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--green);
  text-align: right;
}

@keyframes progress-sheen {
  to {
    transform: translateX(100%);
  }
}

.composer-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0;
}

.primary-button {
  border-color: rgba(235, 235, 235, 0.82);
  background: linear-gradient(180deg, #ffffff, #dcdcdc);
  color: #050505;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.secondary-button {
  background: rgba(255, 255, 255, 0.02);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.secondary-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 0.9rem;
  background: rgba(255, 255, 255, 0.02);
}

.primary-button:hover,
.secondary-button:hover,
.secondary-link:hover {
  background: rgba(255, 255, 255, 0.055);
}

.primary-button:hover {
  color: #050505;
  background: #ffffff;
}

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

.image-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)),
    var(--panel-strong);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: transform 360ms var(--curve), border-color 360ms var(--curve), box-shadow 360ms var(--curve);
}

.image-card:hover {
  transform: translateY(-4px);
  border-color: rgba(16, 185, 129, 0.24);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.image-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 520ms var(--curve), filter 520ms var(--curve);
}

.image-card:hover img {
  transform: scale(1.035);
  filter: saturate(1.04) contrast(1.04);
}

.placeholder-card {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  background:
    radial-gradient(circle at 50% 35%, rgba(16, 185, 129, 0.08), transparent 36%),
    #030303;
}

.placeholder-card:hover {
  transform: none;
  border-color: var(--line);
}

.placeholder-card span {
  color: rgba(235, 235, 235, 0.42);
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.image-card a {
  display: block;
  color: inherit;
}

.image-card a:focus-visible {
  outline: 2px solid rgba(16, 185, 129, 0.72);
  outline-offset: 3px;
}

.feed-column {
  overflow: hidden;
}

.feed-header {
  min-height: 52px;
  padding: 0 1.1rem;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.045), transparent),
    rgba(255, 255, 255, 0.018);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.feed-loading {
  display: grid;
  gap: 0.7rem;
  padding: 1rem;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.feed-loading::before {
  content: "";
  display: block;
  height: 120px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.02), rgba(16, 185, 129, 0.09), rgba(255, 255, 255, 0.02));
  background-size: 220% 100%;
  animation: shimmer 1.8s var(--curve) infinite;
}

.feed-loading a {
  color: var(--green);
}

.ansem-card {
  display: grid;
  padding: 0;
}

.command-links .ansem-card {
  min-height: 100%;
}

.ansem-card h2 {
  color: var(--text);
  font-size: clamp(1.55rem, 2.25vw, 2.25rem);
}

.ansem-card p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  max-width: 46rem;
  font-size: 0.84rem;
  line-height: 1.45;
}

.ansem-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-height: 100%;
}

.ansem-links a {
  position: relative;
  display: flex;
  min-width: 0;
  overflow: hidden;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
  padding: 1rem;
  color: var(--text);
  background:
    linear-gradient(rgba(5, 5, 5, 0.8), rgba(5, 5, 5, 0.84)),
    url("assets/ansem-link-profile.jpg") center / cover no-repeat,
    #030303;
  font-family: var(--mono);
  text-align: center;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: filter 360ms var(--curve), transform 360ms var(--curve), box-shadow 360ms var(--curve);
}

.ansem-links a:nth-child(2) {
  background:
    linear-gradient(rgba(5, 5, 5, 0.8), rgba(5, 5, 5, 0.84)),
    url("assets/ansem-link-replies.jpg") center / cover no-repeat,
    #030303;
}

.ansem-links a:nth-child(3) {
  border-right: 0;
  background:
    linear-gradient(rgba(5, 5, 5, 0.8), rgba(5, 5, 5, 0.84)),
    url("assets/ansem-link-live.jpg") center / cover no-repeat,
    #030303;
}

.ansem-link-tile {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}

.ansem-links a:hover {
  filter: brightness(1.15) saturate(1.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), inset 0 -42px 80px rgba(16, 185, 129, 0.08);
}

.ansem-link-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 42%, rgba(16, 185, 129, 0.18), transparent 36%),
    linear-gradient(90deg, rgba(3, 3, 3, 0.22), transparent, rgba(3, 3, 3, 0.22));
  opacity: 0.7;
  transition: opacity 360ms var(--curve);
}

.ansem-link-tile:hover::before {
  opacity: 0.38;
}

.ansem-link-tile > * {
  position: relative;
  z-index: 1;
}

.ansem-link-tile strong {
  max-width: 100%;
  overflow-wrap: anywhere;
  color: #f7f7f7;
  font-size: clamp(0.86rem, 1.08vw, 1.18rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.05;
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.62);
}

.ansem-link-tile small {
  color: rgba(235, 235, 235, 0.58);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.22em;
}

.x-icon {
  display: inline-block;
  flex: 0 0 auto;
  width: 2.2rem;
  height: 2.2rem;
  border: 0;
  border-radius: 0;
  background:
    url("assets/x-social-media-logo-icon.webp") center / 92% auto no-repeat;
  color: transparent;
  font-size: 0;
}

.image-vault {
  min-height: 100%;
}

.vault-note {
  margin: 0.7rem 0 0;
  color: var(--muted);
  max-width: 54rem;
  font-size: 0.84rem;
  line-height: 1.45;
}

.image-vault .image-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.image-vault .image-card img {
  aspect-ratio: 1;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.15rem;
}

.page-button {
  width: 2.2rem;
  height: 2.2rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.28);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
  transition: border-color 260ms var(--curve), color 260ms var(--curve), background 260ms var(--curve), transform 260ms var(--curve);
}

.page-button.active {
  border-color: rgba(16, 185, 129, 0.66);
  color: var(--green);
  background: rgba(16, 185, 129, 0.09);
}

.page-button:hover {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.045);
  transform: translateY(-1px);
}

.site-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.5rem;
  border: 1px solid var(--line-soft);
  border-radius: 22px;
  padding: 1rem;
  background:
    linear-gradient(90deg, rgba(16, 185, 129, 0.055), transparent 38rem),
    rgba(255, 255, 255, 0.012);
  box-shadow: var(--inset-line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.creator-credit {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.4rem;
}

.site-footer a {
  color: var(--green);
}

button:focus-visible,
a:focus-visible,
textarea:focus-visible {
  outline: 1px solid rgba(16, 185, 129, 0.9);
  outline-offset: 3px;
}

@keyframes shimmer {
  from {
    background-position: 120% 0;
  }

  to {
    background-position: -120% 0;
  }
}

@keyframes morphGlow {
  from {
    border-radius: 40% 60% 60% 40% / 70% 30% 70% 30%;
    transform: translate3d(0, 0, 0) scale(1);
  }

  to {
    border-radius: 60% 40% 40% 60% / 30% 70% 30% 70%;
    transform: translate3d(2rem, -1rem, 0) scale(1.12);
  }
}

@keyframes emeraldPulse {
  0%,
  100% {
    box-shadow: 0 0 0 rgba(16, 185, 129, 0);
  }

  50% {
    box-shadow: 0 0 32px rgba(16, 185, 129, 0.28);
  }
}

@media (max-width: 1100px) {
  .workspace-grid {
    grid-template-columns: 1fr;
  }

  .right-stack {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .command-links .ansem-card {
    align-content: start;
  }
}

@media (max-width: 1500px) {
  .image-vault .image-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 1320px) {
  .ansem-links {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .ansem-links a {
    min-height: 132px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .ansem-links a:nth-child(3) {
    border-bottom: 0;
  }
}

@media (max-width: 720px) {
  body::before,
  body::after {
    width: 260px;
    height: 260px;
    filter: blur(82px);
  }

  .topbar {
    min-height: 76px;
    padding: 0 1rem;
  }

  .brand-logo {
    width: auto;
    height: 3.45rem;
    max-width: calc(100vw - 2rem);
  }

  .wallet {
    width: 100%;
    align-items: flex-start;
    flex-direction: column;
    gap: 0.4rem;
  }

  .wallet-address {
    max-width: 100%;
    width: 100%;
  }

  .layout {
    gap: 0.75rem;
    padding: 0.65rem;
  }

  .workspace-grid,
  .right-stack {
    gap: 0.75rem;
    grid-template-columns: 1fr;
  }

  .panel,
  .gallery-section,
  .feed-column,
  .hero {
    border-radius: 18px;
  }

  .panel,
  .gallery-section {
    padding: 0.95rem;
  }

  .generator-panel {
    min-height: auto;
  }

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

  .cap-tools {
    width: 100%;
    justify-content: flex-end;
    margin-left: 0;
  }

  h2 {
    font-size: 1.55rem;
    line-height: 1;
  }

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

  .chip {
    width: 100%;
    padding: 0 0.7rem;
    font-size: 0.58rem;
  }

  textarea {
    min-height: 130px;
    border-radius: 18px;
    font-size: 1rem;
  }

  .composer-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
  }

  .primary-button {
    grid-column: 1 / -1;
  }

  .secondary-link,
  .secondary-button,
  .primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 44px;
  }

  #marketCap {
    font-size: 3.35rem;
    word-break: break-word;
  }

  #capPercent {
    font-size: 0.64rem;
  }

  .command-cap {
    min-height: auto;
  }

  .progress-shell {
    height: 32px;
  }

  .running-bull {
    width: 3.85rem;
  }

  .status-text {
    font-size: 0.78rem;
  }

  .ansem-links {
    grid-template-columns: 1fr;
  }

  .ansem-links a {
    justify-content: center;
    min-height: 120px;
  }

  .image-vault .image-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
  }

  .image-card {
    border-radius: 16px;
  }

  .hero {
    min-height: 250px;
  }

  .hero-copy {
    padding: 1rem;
    max-width: 100%;
  }

  .hero h1 {
    max-width: 10ch;
    font-size: 3.2rem;
    line-height: 0.92;
  }

  .hero-text {
    font-size: 0.95rem;
    line-height: 1.55;
  }

  .cap-readout {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.55rem;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.8rem;
  }

}

@media (max-width: 430px) {
  .brand-logo {
    height: 3rem;
  }

  .topbar {
    min-height: 66px;
  }

  .layout {
    padding: 0.5rem;
  }

  .panel,
  .gallery-section {
    padding: 0.82rem;
  }

  .post-controls,
  .composer-actions {
    align-items: stretch;
  }

  .hero h1 {
    font-size: 2.65rem;
  }

  #marketCap {
    font-size: 2.85rem;
  }

  .wallet {
    letter-spacing: 0.14em;
  }

  .wallet-address {
    font-size: 0.72rem;
    padding-inline: 0.75rem;
  }
}
