@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;600;700&family=IBM+Plex+Mono:wght@400;600&display=swap');

:root {
  --bg: #0f1117;
  --ink: #eef1f6;
  --muted: #a4adbd;
  --accent: #ff8f6b;
  --accent-2: #8ea2ff;
  --panel: #171a23;
  --panel-2: #1f2432;
  --border: #2a3040;
  --shadow: rgba(6, 8, 14, 0.55);
  --red-1: #ff8c7a;
  --red-2: #d64550;
  --blue: #57a0d3;
  --control-width: 260px;
  --sim-size: 560px;
  --plot-size: 560px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at top, #1c2030 0%, #0f1117 55%, #0a0c12 100%);
}

.app {
  max-width: 1800px;
  margin: 0 auto;
  padding: 24px 24px 40px;
}

.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
  background: linear-gradient(120deg, #2c3246, #1b1f2c);
  color: #fffaf0;
  padding: 18px 20px;
  border-radius: 16px;
  border: 1px solid #2a3040;
}

h1 {
  font-size: 2.2rem;
  margin: 0 0 6px;
}

.app-header p {
  margin: 0;
  color: rgba(238, 241, 246, 0.75);
  font-size: 0.95rem;
}

.app-header .header-term {
  color: inherit;
}

.copyright,
.created-by {
  font-size: 0.85rem;
  color: rgba(238, 241, 246, 0.55);
}

.status {
  padding: 10px 16px;
  border-radius: 999px;
  background: #f3f4f8;
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-weight: 600;
  color: #1c1c1c;
}

.grid {
  display: grid;
  grid-template-columns: calc(var(--control-width) + var(--sim-size) + 20px) var(--plot-size);
  gap: 20px;
}

.window {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 16px 32px var(--shadow);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}

.window-title {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-2);
  font-size: 0.78rem;
}

.window-subtitle {
  margin-top: -8px;
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.03em;
}

.controls-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 600;
}

label.checkbox {
  flex-direction: row;
  align-items: center;
  gap: 8px;
}

label.checkbox input {
  width: auto;
}

input {
  width: 140px;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.95rem;
  background: var(--panel-2);
  color: var(--ink);
}

input[type="range"] {
  width: 180px;
}

input[type="number"] {
  width: 120px;
}

select {
  width: 220px;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.9rem;
  background: var(--panel-2);
  color: var(--ink);
}

button {
  padding: 9px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #f0643a;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(224, 122, 95, 0.2);
}

button#stopBtn {
  background: #9e2a2b;
}

button#restartBtn {
  background: #3d405b;
}

.note {
  font-size: 0.9rem;
  color: var(--muted);
}

.note .eq {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
}

.note .params {
  font-family: 'IBM Plex Mono', monospace;
}

.note .r2 {
  font-weight: 700;
  border-bottom: 1px dotted var(--muted);
  cursor: help;
}

.important-text {
  color: #7fd7a3;
  font-weight: 700;
}

.term-text {
  color: #ff8f86;
}

.cards-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
  margin-top: 24px;
  align-items: start;
}

.cards-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.card {
  background: linear-gradient(180deg, rgba(28, 35, 52, 0.96), rgba(20, 25, 38, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 22px 22px 20px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  line-height: 1.7;
  color: #e9eefb;
  align-self: start;
}


.card h3 {
  margin: 0 0 14px;
  font-size: 1.28rem;
  line-height: 1.25;
  color: #ffffff;
  letter-spacing: 0.01em;
}

.card h4 {
  margin: 20px 0 10px;
  font-size: 1rem;
  line-height: 1.35;
  color: #b9d4ff;
  font-weight: 700;
}

.card p {
  margin: 0 0 14px;
  color: #d7deee;
}

.card ul {
  margin: 10px 0 14px 1.15rem;
  padding: 0;
}

.card li {
  margin: 0 0 8px;
  color: #dbe3f5;
}

.info-callout {
  margin: 18px 0;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(90, 140, 255, 0.10);
  border: 1px solid rgba(140, 180, 255, 0.24);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.screenshot-block {
  margin: 22px 0 18px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
  padding: 10px;
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(62, 81, 120, 0.22), rgba(24, 32, 48, 0.52));
  border: 1px dashed rgba(190, 210, 255, 0.28);
  overflow: hidden;
}

.image-placeholder img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: contain;
}

.caption {
  margin-top: 10px;
  font-size: 0.92rem;
  color: #b8c3da;
}

.definition-grid {
  margin: 18px 0 22px;
}

.definition-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.95rem;
  table-layout: fixed;
}

.definition-table thead th {
  padding: 12px 14px;
  text-align: left;
  background: rgba(115, 153, 255, 0.16);
  color: #ffffff;
  font-weight: 700;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.definition-table tbody td {
  padding: 12px 14px;
  vertical-align: top;
  color: #dde5f7;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  word-break: break-word;
}

.definition-table tbody td:nth-child(1) {
  color: #9fbaff;
  font-weight: 700;
}

.definition-table tbody td:nth-child(1) .MathJax,
.definition-table tbody td:nth-child(1) mjx-container {
  font-size: 1.2rem !important;
}

.definition-table tbody td:nth-child(2) {
  color: #a6e6c7;
  font-weight: 600;
}

.definition-table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.025);
}

.definition-table tbody tr:last-child td {
  border-bottom: none;
}

.math-block {
  margin: 18px 0 16px;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);
  overflow-x: auto;
}

.math-block .MathJax,
.math-block mjx-container {
  font-size: 1.05rem !important;
}

.rules-card {
  margin-bottom: 24px;
}

.rules-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.rules-intro {
  margin: 0;
  color: #d8e1f2;
  font-size: 0.98rem;
  line-height: 1.65;
}

.rules-section-heading {
  margin: 0 0 4px;
  color: #cfe0ff;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.rules-card-title {
  display: none;
}

.citation-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 6px 0 8px;
  justify-content: center;
}

.citation-link {
  flex: 0 1 180px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 9px 11px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
  color: #eef3ff;
  text-decoration: none;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
  font-size: 0.86rem;
  line-height: 1.35;
}

.citation-link:hover {
  border-color: rgba(142, 162, 255, 0.35);
  background: linear-gradient(180deg, rgba(142, 162, 255, 0.11), rgba(255, 255, 255, 0.03));
  transform: translateY(-1px);
}

.citation-meta {
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9fbaff;
}

.rules-image-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin: 8px 0 14px;
}

.rules-image {
  display: block;
  width: auto;
  height: clamp(160px, 18vw, 220px);
  max-width: calc(50% - 8px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
  object-fit: contain;
}

.quickstart-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 4px 0 8px;
}

.quickstart-step {
  padding: 14px 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.quickstart-step-number {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(142, 162, 255, 0.16);
  border: 1px solid rgba(142, 162, 255, 0.32);
  color: #f0f5ff;
  font-size: 0.84rem;
  font-weight: 700;
}

.quickstart-step-title {
  color: #f4f7ff;
  font-size: 0.95rem;
  font-weight: 700;
}

.quickstart-step-text {
  color: #d9e2f4;
  font-size: 0.9rem;
  line-height: 1.55;
}

.jump-button {
  margin: 4px 0 4px;
  display: flex;
  justify-content: center;
}

.rules-compact-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.rules-compact-block p,
.rules-compact-block ul {
  margin: 0;
}

.rules-compact-block ul {
  padding-left: 20px;
}

.btn-jump {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  color: #eef3ff;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.btn-jump:hover {
  border-color: rgba(142, 162, 255, 0.35);
  background: linear-gradient(180deg, rgba(142, 162, 255, 0.12), rgba(255, 255, 255, 0.03));
}

@media (max-width: 700px) {
  .quickstart-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.plot-guide-intro {
  margin: 0 0 18px;
  color: #d9e2f3;
  line-height: 1.68;
}

.plot-subsection {
  margin: 0 0 18px;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.018));
}

.plot-subsection h4 {
  font-size: 1.3rem;
  line-height: 1.3;
  margin-bottom: 12px;
  color: #e7efff;
}

.plot-subsection:last-child {
  margin-bottom: 0;
}

.plot-subsection .math-block {
  margin: 14px 0;
}

.plot-what-to-look-for {
  margin: 14px 0 16px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(120, 170, 255, 0.09);
  border: 1px solid rgba(150, 190, 255, 0.17);
  color: #dce7fb;
  line-height: 1.6;
}

.plot-example {
  margin-top: 10px;
  padding: 14px;
  border-radius: 14px;
  background: rgba(12, 18, 30, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.plot-example-title {
  margin-bottom: 10px;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #9fbaff;
}

.plot-example-caption {
  margin-top: 10px;
  color: #bac7de;
  font-size: 0.9rem;
  line-height: 1.55;
}

.plot-mini-stage {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(15, 20, 32, 0.95), rgba(10, 14, 24, 0.95));
}

.plot-mini-stage canvas {
  display: block;
  width: 100%;
  height: auto;
  border: 0;
  background: transparent;
}

@media (max-width: 900px) {
  .cards-layout {
    grid-template-columns: 1fr;
  }

  .card {
    padding: 18px 16px;
  }

  .definition-table {
    display: block;
    overflow-x: auto;
    white-space: normal;
  }

  .image-placeholder {
    min-height: 180px;
  }
}

@media (max-width: 560px) {
  .card h3 {
    font-size: 1.16rem;
  }

  .card h4 {
    font-size: 0.98rem;
  }

  .card,
  .definition-table,
  .info-callout,
  .screenshot-block,
  .math-block {
    border-radius: 12px;
  }

  .definition-table thead th,
  .definition-table tbody td {
    padding: 10px 11px;
  }

  .quickstart-strip {
    grid-template-columns: 1fr;
  }

  .rules-image {
    width: calc(50% - 8px);
    max-width: none;
    height: clamp(120px, 24vw, 170px);
  }
}
.table-wrap {
  overflow: auto;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #121522;
  min-height: 260px;
  max-height: 60vh;
  resize: vertical;
}

#distributionTable {
  width: 100%;
  border-collapse: collapse;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.82rem;
}

#distributionTable th,
#distributionTable td {
  padding: 6px 8px;
  border-bottom: 1px solid var(--border);
  text-align: center;
}

#distributionTable th:first-child,
#distributionTable td:first-child {
  text-align: left;
  position: sticky;
  left: 0;
  background: #151a28;
}

#distributionTable thead th {
  background: #1c2231;
  position: sticky;
  top: 0;
  z-index: 1;
}

#distributionTable .most-prob {
  background: rgba(255, 143, 107, 0.12);
  font-weight: 600;
}

#distributionTable .mode-dist {
  background: rgba(80, 200, 120, 0.14);
  color: #d9f5e4;
  font-weight: 600;
}

canvas {
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #111420;
}

.plot-stage {
  position: relative;
  width: var(--plot-size);
  height: var(--plot-size);
  resize: both;
  overflow: hidden;
  min-width: 360px;
  min-height: 360px;
}

.plot-axis-label {
  position: absolute;
  z-index: 2;
  font-weight: 700;
  color: #e8f0ff;
  pointer-events: none;
  font-family: 'IBM Plex Mono', monospace;
}

.plot-axis-label.x {
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
}

.plot-axis-label.y {
  top: 50%;
  left: 8px;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: left center;
}

.plot-axis-label.large.x {
  bottom: 10px;
}

.plot-axis-label.large.y {
  left: 14px;
}

.window.plot {
  width: calc(var(--plot-size) + 32px);
  justify-self: start;
}

.window.controls {
  width: var(--control-width);
}

.window.sim {
  width: calc(var(--control-width) + var(--sim-size) + 20px);
}

.sim-layout {
  display: grid;
  grid-template-columns: var(--control-width) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.sim-controls {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sim-controls-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
}

.sim-controls-stack label,
.sim-controls-stack button,
.sim-controls-stack .note {
  width: 100%;
}

.sim-controls-stack input {
  width: 100%;
}

.sim-controls-title {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-2);
  font-size: 0.78rem;
}

.sim-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.plot-stage canvas {
  width: 100%;
  height: 100%;
}

.plot-overlay {
  position: fixed;
  inset: 0;
  background: rgba(9, 11, 18, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
}

.plot-overlay-inner {
  width: min(92vw, 1100px);
  height: min(88vh, 800px);
  padding: 12px;
  background: #111420;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 16px 32px var(--shadow);
  position: relative;
}

#plotCanvasLarge {
  width: 100%;
  height: 100%;
}

.plot-overlay[hidden] {
  display: none;
}

.legend {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
}

.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 6px;
}

.dot.red {
  background: linear-gradient(135deg, var(--red-1), var(--red-2));
}

.dot.blue {
  background: var(--blue);
}

.table-window {
  grid-column: 1 / 3;
  width: 100%;
  justify-self: stretch;
}

.window.disabled {
  opacity: 0.55;
  filter: grayscale(0.2);
}

.disabled-overlay {
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: rgba(9, 11, 18, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  color: var(--muted);
  font-weight: 600;
}

.disabled-overlay[hidden] {
  display: none;
}

@media (max-width: 1100px) {
  .grid {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .window.controls,
  .window.sim,
  .window.plot,
  .table-window {
    width: 100%;
    min-width: 0;
  }

  .sim-layout {
    grid-template-columns: 1fr;
  }

  .sim-controls-stack {
    gap: 10px;
  }

  .table-window {
    grid-column: auto;
  }

  .plot-stage {
    width: 100%;
    min-width: 0;
    min-height: 280px;
  }

  .controls-row {
    flex-direction: column;
    align-items: flex-start;
  }

  input {
    width: 100%;
  }
}
.mp-card {
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px 18px;
  margin-bottom: 18px;
  box-shadow: 0 12px 24px var(--shadow);
}

.mp-card-title {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--accent-2);
  margin-bottom: 6px;
}

.mp-card-body {
  font-size: 0.95rem;
  color: var(--ink);
}

.mp-card {
  margin-top: 24px;
}

.mp-card-body {
  padding-top: 8px;
}

.mp-summary {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mp-summary-intro {
  margin: 0;
  color: #cfd8ee;
  font-size: 0.98rem;
  line-height: 1.6;
}

.mp-metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
  margin-top: 4px;
}

.mp-metric {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.025));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.mp-metric-accent {
  border-color: rgba(120, 170, 255, 0.35);
  background: linear-gradient(180deg, rgba(90, 140, 255, 0.12), rgba(255, 255, 255, 0.03));
}

.mp-metric-label {
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #9fbaff;
  margin-bottom: 8px;
}

.mp-metric-value {
  font-size: 1.3rem;
  line-height: 1.3;
  color: #ffffff;
  margin-bottom: 8px;
  word-break: break-word;
}

.mp-metric-subtext {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #c8d2e8;
}

.mp-summary-note {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: #d5deef;
  font-size: 0.93rem;
  line-height: 1.6;
}

@media (max-width: 700px) {
  .mp-metric-value {
    font-size: 1.15rem;
  }
}

.creator-card-band {
  width: 100%;
  margin-top: 28px;
  padding: 0 0 40px;
}

.creator-card-inner {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 24px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(28, 35, 52, 0.98), rgba(17, 21, 33, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25);
}

.creator-photo-wrap {
  display: flex;
  justify-content: center;
}

.creator-photo {
  display: block;
  width: 100%;
  max-width: 300px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
}

.creator-copy h2 {
  margin: 4px 0 10px;
  color: #f5f7ff;
  font-size: 1.9rem;
}

.creator-title {
  color: #9fbaff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.creator-copy p {
  margin: 0 0 12px;
  color: #d9e1f0;
  line-height: 1.7;
}

.creator-button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.creator-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: #eef3ff;
  font-weight: 600;
  text-decoration: none;
}

.creator-button-link:hover {
  border-color: rgba(142, 162, 255, 0.35);
  background: rgba(142, 162, 255, 0.13);
}

@media (max-width: 900px) {
  .creator-card-inner {
    grid-template-columns: 1fr;
  }

  .creator-photo {
    max-width: 420px;
  }
}
