/*!*************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./app/globals.css ***!
  \*************************************************************************************************************************************************************************************************************************************************************/
/* ---------------------------------------------------------------------------
   Kolosseum

   Material: travertine under torchlight. Gains and losses read as oxidised
   bronze — patina and rust — instead of neon. Roman material, same legibility.

   Type carries the period, not ornament:
     Cinzel    inscriptional capitals — wordmark, ranks, headers, controls
     Spectral  a serif with classical figures — every number in the table
     Inter     names and interface text
     Mono      wallet addresses only, where character shape matters

   Ranks are decorated by Roman military awards: a laurel wreath for the first
   three, a phalera (the embossed disc worn on armour) for four through ten.
   --------------------------------------------------------------------------- */

:root {
  /* Everything is derived from the base below, so changing it re-tunes the
     whole board. The surfaces climb in equal steps; the accent stays brass,
     which is what still carries the Roman note on a cool ground. */
  --base: #06070b;

  --stone-950: #06070b;
  --stone-900: #0b0d13;
  --stone-870: #10131a;
  --stone-850: #151922;
  --stone-800: #1c212c;

  --line: #262c39;
  --line-soft: #171b24;

  --travertine: #e1e3e9;
  --muted: #8f95a3;
  --faint: #5c6272;

  --brass: #c79a4b;
  --brass-dim: #7e6537;
  --silver: #a7adba;
  --bronze: #9a6c43;

  --gain: #4fb08a;
  --loss: #c05b44;

  --tint: rgba(199, 154, 75, 0.05);

  --display: "Cinzel", Georgia, serif;
  --ui: "Inter", system-ui, sans-serif;
  --figure: "Spectral", Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  /* Breathing room between the trader block and the first number. */
  --trader-gap: 50px;

  /* Height of the sticky bar. The fold below the hero subtracts it. */
  --header-h: 68px;

  /* Horizontal position of the avatar centre — the breakdown bracket hangs
     from here, so it must track the rank width and the trader padding. */
  --spine: 126px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--base);
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  color: var(--travertine);
  font-family: var(--ui);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;

  /* Light falls from above, the way it does through the arena's opening. */
  background-color: var(--base);
  background-image:
    radial-gradient(1200px 560px at 50% -8%, rgba(199, 154, 75, 0.1), transparent 64%),
    linear-gradient(180deg, #0e1119 0%, #090b11 38%, var(--base) 100%);
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* Travertine. Two crossed sets of faint diagonal veins plus a fine grain —
   enough that surfaces read as cut stone instead of flat panels, far too weak
   to interfere with reading a number. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image:
    repeating-linear-gradient(
      104deg,
      rgba(226, 214, 190, 0.016) 0px,
      rgba(226, 214, 190, 0.016) 1px,
      transparent 1px,
      transparent 7px
    ),
    repeating-linear-gradient(
      12deg,
      rgba(226, 214, 190, 0.011) 0px,
      rgba(226, 214, 190, 0.011) 1px,
      transparent 1px,
      transparent 13px
    ),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.035'/%3E%3C/svg%3E");
}

body > * {
  position: relative;
  z-index: 1;
}

a {
  color: inherit;
  text-decoration: none;
}

.shell {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 22px 60px;
}

/* The board is only as wide as the chosen columns need. */
.frame {
  width: -moz-fit-content;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  overflow-x: auto;
}

/* --- Masthead ------------------------------------------------------------ */

.masthead {
  padding: 58px 0 66px;
  text-align: center;
}

.eyebrow {
  font-family: var(--display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.44em;
  color: var(--brass-dim);
  margin: 0 0 18px;
  text-indent: 0.44em;
}

.wordmark {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(34px, 6.6vw, 62px);
  letter-spacing: 0.21em;
  line-height: 1;
  margin: 0;
  color: var(--travertine);
  text-indent: 0.21em;
}

/* --- Controls ------------------------------------------------------------ */

.controls {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
  width: 100%;
  padding: 0 2px 18px;
  position: relative;
}

.tabs {
  display: inline-flex;
  gap: 24px;
}

.tabs button {
  background: none;
  border: 0;
  padding: 8px 0 10px;
  font-family: var(--display);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-indent: 0.24em;
  color: var(--faint);
  cursor: pointer;
  position: relative;
}

/* Superscript marker: explains the measuring window without adding a line. */
.info {
  display: inline-grid;
  place-items: center;
  width: 12px;
  height: 12px;
  margin-left: 5px;
  vertical-align: super;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: var(--figure);
  font-size: 8px;
  font-style: italic;
  letter-spacing: 0;
  text-indent: 0;
  line-height: 1;
  opacity: 0.65;
  cursor: help;
}

.info:hover {
  opacity: 1;
  color: var(--brass);
}

.tabs button:hover {
  color: var(--muted);
}

.tabs button[data-on="true"] {
  color: var(--brass);
}

.tabs button[data-on="true"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 1px;
  background: var(--brass);
}

.tabs button:focus-visible {
  outline: 1px solid var(--brass);
  outline-offset: 4px;
}

.field {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--travertine);
  font-family: var(--ui);
  font-size: 14px;
  padding: 8px 2px 10px;
}

.field::placeholder {
  color: var(--faint);
}

.field:focus {
  outline: 0;
  border-bottom-color: var(--brass);
}

.spacer {
  flex: 1 1;
}

.status {
  font-family: var(--figure);
  font-size: 13px;
  color: var(--faint);
  letter-spacing: 0.02em;
}

/* --- Settings ------------------------------------------------------------ */

.gear {
  background: none;
  border: 0;
  color: var(--faint);
  cursor: pointer;
  font-size: 17px;
  line-height: 1;
  padding: 6px 2px;
}

.gear:hover,
.gear[data-on="true"] {
  color: var(--brass);
}

.gear:focus-visible {
  outline: 1px solid var(--brass);
  outline-offset: 3px;
}

/* Search and settings are separate blocks stacked below the controls, so
   opening one never closes the other. */
.search-bar {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 4px;
  margin-bottom: 4px;
  border-top: 1px solid var(--brass-dim);
  border-bottom: 1px solid var(--line-soft);
  background: linear-gradient(180deg, var(--tint), transparent 70%);
}

.search-bar > i {
  color: var(--faint);
  font-size: 14px;
  flex: none;
}

.search-bar .field {
  flex: 1 1;
  border: 0;
  padding: 4px 0;
  min-width: 0;
  text-align: left;
  font-size: 15px;
}

.search-bar .field:focus {
  border: 0;
}

.settings-bar {
  width: -moz-fit-content;
  width: fit-content;
  max-width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 28px 40px;
  align-items: flex-start;
  padding: 20px 4px 22px;
  margin-bottom: 10px;
  border-top: 1px solid var(--brass-dim);
  border-bottom: 1px solid var(--line-soft);
  background: linear-gradient(180deg, var(--tint), transparent 70%);
}

.settings-bar section {
  min-width: 0;
}

.settings-grid {
  display: grid;
  grid-template-columns: repeat(2, auto);
  grid-gap: 0 26px;
  gap: 0 26px;
}

.panel-title {
  font-family: var(--display);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  text-indent: 0.28em;
  color: var(--faint);
  margin: 0 0 10px;
}

.panel-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 6px 0;
  cursor: pointer;
  font-size: 14px;
  color: var(--travertine);
  white-space: nowrap;
}

.panel-item:hover {
  color: var(--brass);
}

.panel-item input {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  width: 14px;
  height: 14px;
  flex: none;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  position: relative;
}

.panel-item input[type="radio"] {
  border-radius: 50%;
}

.panel-item input[type="radio"]:checked::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--base);
  border: 0;
  transform: none;
  width: auto;
  height: auto;
}

.panel-item input:checked {
  border-color: var(--brass-dim);
  background: var(--brass);
}

.panel-item input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 3.5px;
  height: 8px;
  border: solid var(--base);
  border-width: 0 1.6px 1.6px 0;
  transform: rotate(45deg);
}

.panel-item input:focus-visible {
  outline: 1px solid var(--brass);
  outline-offset: 2px;
}

.panel-note {
  width: 100%;
  max-width: 44ch;
  font-size: 12px;
  line-height: 1.5;
  color: var(--faint);
  margin: 0;
}

/* --- Tooltip ------------------------------------------------------------- */

[data-tip] {
  position: relative;
}

[data-tip][data-wide="true"]:hover::after {
  white-space: normal;
  width: 280px;
  text-align: left;
  line-height: 1.55;
  font-size: 12px;
}

[data-tip]:hover::after,
[data-tip]:focus-visible::after {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--stone-850);
  border: 1px solid var(--line);
  border-top-color: var(--brass-dim);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.55);
  color: var(--travertine);
  font-family: var(--ui);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.03em;
  white-space: nowrap;
  padding: 7px 11px;
  z-index: 60;
  pointer-events: none;
}

/* --- Table --------------------------------------------------------------- */

.board {
  width: auto;
  border-collapse: collapse;
}

.board thead th {
  font-family: var(--display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--faint);
  text-align: right;
  padding: 20px 14px 13px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.board thead th.left {
  text-align: left;
}

.board th.center,
.board td.center {
  text-align: center;
}

/* Breathing room before the chain marks. */
.board th.col-chains,
.board td.col-chains {
  padding-left: 44px;
}

.board thead th.trader {
  padding-right: var(--trader-gap);
}

.board thead th button {
  background: none;
  border: 0;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  cursor: pointer;
  padding: 0;
}

.board thead th button:hover {
  color: var(--travertine);
}

.board thead th button[data-on="true"] {
  color: var(--brass);
}

.board tbody td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--line-soft);
  text-align: right;
  font-family: var(--figure);
  font-size: 16px;
  font-weight: 500;
  font-variant-numeric: tabular-nums lining-nums;
  font-feature-settings: "tnum" 1, "lnum" 1, tabular-nums lining-nums;
  white-space: nowrap;
}

.board tbody td.left {
  text-align: left;
}

.board tbody td.trader {
  padding-right: var(--trader-gap);
}

.board tbody tr:hover td {
  background: rgba(199, 154, 75, 0.035);
}

.board tbody tr[data-podium="true"] td {
  background: rgba(199, 154, 75, 0.03);
}

.board tbody tr[data-podium="true"]:hover td {
  background: rgba(199, 154, 75, 0.06);
}

/* --- Rank ---------------------------------------------------------------- */

.board th.rank,
.board td.rank {
  width: 92px;
  text-align: center;
}

/* Only the body cell is tightened — the header keeps the shared padding so
   every column heading sits on one baseline. */
.board tbody td.rank {
  padding: 6px 10px;
}

.badge {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 48px;
}

.badge svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.numeral {
  position: relative;
  font-family: var(--display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.05em;
  line-height: 1;
  color: var(--muted);
}

/* From eleven on the figure is Arabic but keeps the inscriptional face,
   so the column still reads as one family. */
.numeral[data-tier="field"] {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--faint);
}

/* --- Trader -------------------------------------------------------------- */

.who {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}

.bust {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--stone-800);
  border: 1px solid var(--line);
  flex: none;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-size: 15px;
  color: var(--brass-dim);
  overflow: hidden;
}

.bust img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.who-lines {
  min-width: 0;
}

.who-top {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.who-name {
  font-family: var(--ui);
  font-size: 17px;
  font-weight: 500;
  color: var(--travertine);
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
}

.who-meta {
  display: block;
  font-family: var(--figure);
  font-size: 13px;
  color: var(--faint);
}

/* Socials sit against the name, no gap. */
.socials {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  flex: none;
  line-height: 0;
}

.social {
  display: inline-grid;
  place-items: center;
  line-height: 0;
}

.social img {
  width: 19px;
  height: 19px;
  object-fit: contain;
  display: block;
}

/* --- Buys / sells -------------------------------------------------------- */

.pair b {
  font-weight: 500;
  color: var(--gain);
}

.pair s {
  font-weight: 500;
  text-decoration: none;
  color: var(--loss);
}

.pair i {
  color: var(--faint);
  font-style: normal;
  padding: 0 5px;
}

/* --- Chain marks --------------------------------------------------------- */

.chains {
  display: flex;
  gap: 9px;
  align-items: center;
}

.chain-logo {
  width: 22px;
  height: 22px;
  object-fit: contain;
  border-radius: 3px;
  display: block;
}

.chain-logo[data-off="true"] {
  filter: grayscale(1);
  opacity: 0.15;
}

.chain-fallback {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  font-family: var(--mono);
  font-size: 9px;
  border: 1px solid currentColor;
  border-radius: 3px;
}

.chain-fallback[data-off="true"] {
  opacity: 0.18;
}

.gain {
  color: var(--gain);
}

.loss {
  color: var(--loss);
}

/* --- Expanded rows -------------------------------------------------------
   The breakdown is tied to its trader by a bracket: a vertical rule dropping
   from under the avatar with a tick reaching out to every chain. That is what
   tells you which row you opened.
   ------------------------------------------------------------------------ */

.expander {
  background: none;
  border: 0;
  color: var(--faint);
  cursor: pointer;
  font-family: var(--figure);
  font-size: 17px;
  padding: 2px 8px;
}

.expander:hover {
  color: var(--brass);
}

.breakdown td {
  padding: 0;
  background: linear-gradient(90deg, var(--tint), transparent 40%), var(--stone-870);
  border-bottom: 1px solid var(--line);
  box-shadow: inset 0 1px 0 var(--brass-dim);
}

.breakdown-grid {
  position: relative;
  width: 100%;
}

/* The spine sits under the avatar in the row above. */
.breakdown-grid::before {
  content: "";
  position: absolute;
  left: var(--spine);
  top: 0;
  bottom: 27px;
  width: 1px;
  background: var(--brass-dim);
  opacity: 0.6;
}

.breakdown-row {
  position: relative;
  display: grid;
  grid-gap: 18px;
  gap: 18px;
  align-items: center;
  min-height: 54px;
  padding: 8px 14px 8px calc(var(--spine) + 30px);
  font-family: var(--figure);
  font-size: 14px;
  font-weight: 500;
  font-feature-settings: tabular-nums lining-nums;
  font-variant-numeric: tabular-nums lining-nums;
}

.breakdown-row + .breakdown-row {
  border-top: 1px solid var(--line);
}

.breakdown-row::before {
  content: "";
  position: absolute;
  left: var(--spine);
  top: 50%;
  width: 18px;
  height: 1px;
  background: var(--brass-dim);
  opacity: 0.6;
}

.breakdown-row > span:nth-child(n + 3) {
  text-align: right;
}

/* Every track is minmax(0, …) and every item may shrink, so opening a row can
   never widen the table underneath it. */
.breakdown-row > * {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chain-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--travertine);
}

.wallet-cell {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.addr {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
}

.addr:hover {
  color: var(--brass);
}

.icon-btn {
  background: none;
  border: 0;
  color: var(--faint);
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  padding: 3px;
}

.icon-btn:hover {
  color: var(--brass);
}

.icon-btn[data-done="true"] {
  color: var(--gain);
}

.icon-btn:focus-visible {
  outline: 1px solid var(--brass);
  outline-offset: 2px;
}

/* --- Copy trade ---------------------------------------------------------- */

.ct {
  display: inline-grid;
  place-items: center;
  justify-self: end;
  width: 34px;
  height: 34px;
  color: var(--brass);
  line-height: 0;
}

.ct svg {
  width: 14px;
  height: 19px;
  display: block;
}

.ct:hover {
  color: #f0c874;
}

.board tbody tr[data-clickable="true"] {
  cursor: pointer;
}

/* --- States -------------------------------------------------------------- */

.notice {
  border: 1px solid var(--line);
  border-left: 2px solid var(--brass);
  background: var(--stone-900);
  padding: 15px 18px;
  margin: 22px 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

.empty {
  padding: 80px 0;
  text-align: center;
  color: var(--muted);
}

.empty strong {
  display: block;
  font-family: var(--display);
  font-size: 18px;
  letter-spacing: 0.2em;
  text-indent: 0.2em;
  color: var(--travertine);
  margin-bottom: 11px;
}

.more {
  display: block;
  margin: 30px auto 0;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-indent: 0.24em;
  padding: 13px 32px;
  cursor: pointer;
}

.more:hover {
  border-color: var(--brass-dim);
  color: var(--brass);
}

.colophon {
  text-align: center;
  padding: 46px 0 0;
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--faint);
  text-indent: 0.3em;
}


/* --- Top bar ------------------------------------------------------------- */

.topbar {
  border-bottom: 1px solid var(--line-soft);
  background: rgba(6, 7, 11, 0.78);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 80;
}

.topbar-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 26px;
  height: 68px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  grid-gap: 20px;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  line-height: 0;
}

.brand img {
  height: 30px;
  width: auto;
  display: block;
}

.brand-text {
  font-family: var(--display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.2em;
  text-indent: 0.2em;
  color: var(--travertine);
  line-height: 1;
}

.nav {
  display: inline-flex;
  gap: 34px;
  justify-self: center;
}

.nav a {
  font-family: var(--display);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-indent: 0.22em;
  color: var(--muted);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
}

.nav a:hover {
  color: var(--brass);
  border-bottom-color: var(--brass-dim);
}

.account {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  justify-self: end;
}

.btn-ghost,
.btn-solid {
  font-family: var(--display);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-indent: 0.18em;
  padding: 10px 18px;
  white-space: nowrap;
  line-height: 1;
  border: 1px solid transparent;
}

.btn-ghost {
  color: var(--muted);
  border-color: var(--line);
}

.btn-ghost:hover {
  color: var(--travertine);
  border-color: var(--brass-dim);
}

.btn-solid {
  background: var(--brass);
  color: var(--base);
  border-color: var(--brass);
}

.btn-solid:hover {
  background: #d5aa5d;
  border-color: #d5aa5d;
}

/* --- Account menu -------------------------------------------------------- */

.menu-wrap {
  position: relative;
  line-height: 0;
}

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--stone-800);
  color: var(--brass-dim);
  font-family: var(--display);
  font-size: 14px;
  cursor: pointer;
  padding: 0;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.avatar:hover {
  border-color: var(--brass-dim);
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  min-width: 208px;
  background: var(--stone-870);
  border: 1px solid var(--line);
  border-top: 1px solid var(--brass-dim);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.55);
  padding: 5px 0;
  line-height: normal;
  z-index: 90;
}

.menu-head {
  padding: 12px 16px 13px;
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: 5px;
}

.menu-name {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--travertine);
}

.menu-handle {
  display: block;
  font-family: var(--figure);
  font-size: 12.5px;
  color: var(--faint);
}

.menu-item {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  color: var(--muted);
  font-family: var(--ui);
  font-size: 14px;
  padding: 10px 16px;
  cursor: pointer;
}

.menu-item:hover {
  background: var(--stone-850);
  color: var(--travertine);
}

/* --- Footer -------------------------------------------------------------- */

.footer {
  border-top: 1px solid var(--line-soft);
  margin-top: 64px;
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 34px 26px 46px;
  text-align: center;
}

.footer-chains {
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-indent: 0.3em;
  color: var(--faint);
  margin: 0 0 18px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 26px;
  margin-bottom: 16px;
}

.footer-links a {
  font-size: 13px;
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--brass);
}

.footer-note {
  font-size: 12px;
  line-height: 1.6;
  color: var(--faint);
  max-width: 62ch;
  margin: 0 auto;
}

/* --- Row extras ---------------------------------------------------------- */

.rank-hidden {
  font-family: var(--figure);
  font-size: 16px;
  color: var(--faint);
}

.profile-link {
  color: var(--faint);
  font-size: 15px;
  padding: 4px 6px;
  display: inline-block;
}

.profile-link:hover {
  color: var(--brass);
}

.board td.col-chains .chains {
  justify-content: flex-end;
}


/* --- Share dialog -------------------------------------------------------- */

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 4, 7, 0.78);
  -webkit-backdrop-filter: blur(3px);
          backdrop-filter: blur(3px);
  z-index: 100;
}

.modal {
  position: fixed;
  z-index: 110;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(680px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: var(--stone-870);
  border: 1px solid var(--line);
  border-top: 1px solid var(--brass-dim);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line-soft);
}

.modal-body {
  padding: 18px 22px 20px;
}

.opt-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 11px 0;
  font-size: 14px;
  color: var(--travertine);
  border-bottom: 1px solid var(--line-soft);
}

.opt-row:last-of-type {
  border-bottom: 0;
}

.opt-row.switch {
  cursor: pointer;
}

.opt-row[data-off="true"] {
  opacity: 0.4;
  cursor: default;
}

.opt-row span em {
  display: block;
  font-style: normal;
  font-size: 12px;
  color: var(--faint);
  margin-top: 2px;
}

.opt-row input[type="checkbox"] {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  width: 15px;
  height: 15px;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  position: relative;
  flex: none;
}

.opt-row input[type="checkbox"]:checked {
  border-color: var(--brass-dim);
  background: var(--brass);
}

.opt-row input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 4.5px;
  top: 1px;
  width: 3.5px;
  height: 8.5px;
  border: solid var(--base);
  border-width: 0 1.6px 1.6px 0;
  transform: rotate(45deg);
}

.num {
  width: 84px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--travertine);
  font-family: var(--figure);
  font-size: 14px;
  padding: 7px 10px;
  text-align: right;
}

.num:focus {
  outline: 0;
  border-color: var(--brass-dim);
}

.chips {
  display: inline-flex;
  gap: 6px;
}

.chips button {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--figure);
  font-size: 14px;
  padding: 6px 15px;
  cursor: pointer;
}

.chips button[data-on="true"] {
  border-color: var(--brass-dim);
  color: var(--brass);
  background: var(--tint);
}

.modal-foot {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 0 22px 20px;
}

.modal-foot button {
  cursor: pointer;
}

.modal-foot .btn-solid[disabled] {
  opacity: 0.55;
  cursor: default;
}

.preview {
  border-bottom: 1px solid var(--line-soft);
  padding: 18px 22px;
  overflow: hidden;
}

.preview-inner {
  width: 100%;
  overflow: hidden;
}

/* Clean mode: rank, portrait, name, PNL. Nothing else competes for the eye,
   which is what makes it readable at the size X displays images. */
.card-board[data-clean="true"] .who-name {
  font-size: 25px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.card-board[data-clean="true"] .bust {
  width: 54px;
  height: 54px;
  font-size: 19px;
}

.card-board[data-clean="true"] tbody td {
  padding-top: 18px;
  padding-bottom: 18px;
  font-size: 21px;
}

.card-board[data-clean="true"] .badge {
  width: 62px;
  height: 54px;
}

.card-board[data-clean="true"] .numeral {
  font-size: 25px;
}

.card-board[data-clean="true"] .numeral[data-tier="field"] {
  font-size: 22px;
}

/* --- Share card ---------------------------------------------------------- */

/* Rendered off-screen at full size. Never clipped, never scrolled — whatever
   is inside is exactly what lands in the PNG. */
.capture-stage {
  position: fixed;
  left: -20000px;
  top: 0;
  z-index: -1;
  pointer-events: none;
}

.card {
  box-sizing: border-box;
  background-color: var(--base);
  background-image:
    radial-gradient(900px 380px at 50% -12%, rgba(199, 154, 75, 0.12), transparent 66%),
    linear-gradient(180deg, #0e1119 0%, var(--base) 62%);
  padding: 0;
}

.card-board {
  width: 100%;
}

/* Both values come from the row's inline style, so the blur can grow with the
   distance from the focused rank instead of switching on and off. */
.card-board tbody tr[data-dim="true"] td {
  filter: grayscale(1) blur(var(--dim-blur, 2px));
  opacity: var(--dim-fade, 0.4);
}

.card-board tbody tr:last-child td {
  border-bottom: 0;
}

.card-bar {
  margin-top: 0;
  padding: 24px 0 26px;
  border-top: 1px solid var(--brass-dim);
  text-align: center;
}

.card-mark {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 30px;
  letter-spacing: 0.34em;
  text-indent: 0.34em;
  color: var(--travertine);
  line-height: 1;
}

.card-sub {
  display: block;
  margin-top: 12px;
  font-family: var(--display);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-indent: 0.3em;
  color: var(--brass-dim);
}

.share-page {
  max-width: 1180px;
  margin: 40px auto 0;
}

.share-page img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--line);
}


/* --- Home ---------------------------------------------------------------- */

.fold {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
}

.hero {
  flex: 1 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 56px 22px;
  position: relative;
  overflow: hidden;
}

/* Fluted pilasters. Purely architectural — they frame the inscription the way
   a Roman facade frames a doorway, and carry no information. */
.flute {
  position: absolute;
  top: 8%;
  bottom: 8%;
  width: 46px;
  opacity: 0.5;
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0px,
      transparent 5px,
      rgba(199, 154, 75, 0.16) 5px,
      rgba(199, 154, 75, 0.16) 6px,
      transparent 6px,
      transparent 11px
    );
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent);
}

.flute[data-side="left"] {
  left: max(28px, 5vw);
}

.flute[data-side="right"] {
  right: max(28px, 5vw);
}

/* Greek key. Roman floors and cornices are full of it; here it separates the
   inscription from the buttons. */
.meander {
  width: min(340px, 62vw);
  height: 14px;
  margin: 26px 0 30px;
  opacity: 0.55;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='14' viewBox='0 0 28 14'%3E%3Cpath d='M0 12h10V4h8v6h-4V7' fill='none' stroke='%23c79a4b' stroke-width='1.1'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-position: center;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.cta-row .btn-solid,
.cta-row .btn-ghost {
  font-size: 11px;
  padding: 14px 30px;
  letter-spacing: 0.22em;
  text-indent: 0.22em;
}

/* Full-bleed band of figures. */
.band {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: linear-gradient(180deg, var(--tint), transparent 78%);
}

.band-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 34px 22px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.stat {
  text-align: center;
  padding: 6px 12px;
  border-right: 1px solid var(--line-soft);
}

.stat:last-child {
  border-right: 0;
}

.stat-value {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(21px, 2.6vw, 32px);
  letter-spacing: 0.04em;
  color: var(--brass);
  line-height: 1.1;
}

.stat-label {
  display: block;
  margin-top: 9px;
  font-family: var(--display);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-indent: 0.2em;
  text-transform: uppercase;
  color: var(--faint);
}

/* --- Feature rows -------------------------------------------------------- */

.features {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 22px;
}

.feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  grid-gap: 60px;
  gap: 60px;
  align-items: center;
  padding: 66px 0;
  border-bottom: 1px solid var(--line-soft);
}

.feature[data-reverse="true"] .feature-text {
  order: 2;
}

.feature-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(26px, 3.4vw, 38px);
  letter-spacing: 0.12em;
  text-indent: 0.12em;
  margin: 12px 0 18px;
  color: var(--travertine);
}

.feature-title a:hover {
  color: var(--brass);
}

.feature-body {
  font-size: 15.5px;
  line-height: 1.72;
  color: var(--muted);
  max-width: 52ch;
  margin: 0 0 24px;
}

.sec-num {
  display: inline-block;
  margin-right: 12px;
  padding-right: 12px;
  border-right: 1px solid var(--brass-dim);
  font-size: 13px;
  font-weight: 700;
  color: var(--brass);
  letter-spacing: 0.1em;
}

/* An arched frame around each illustration: the one Roman shape the whole
   building is made of, used once per section instead of as a repeating strip. */
.arch {
  position: relative;
  padding-top: 30px;
}

.arch::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 44px;
  border: 1px solid var(--brass-dim);
  border-bottom: 0;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  opacity: 0.6;
}

.arch .art {
  border-top: 0;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-indent: 0.2em;
  text-transform: uppercase;
  color: var(--brass);
}

.link-arrow i {
  font-size: 11px;
  transition: transform 0.18s ease;
}

.link-arrow:hover i {
  transform: translateX(4px);
}

/* --- Illustrations ------------------------------------------------------- */

.art {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-top: 1px solid var(--brass-dim);
  background: linear-gradient(180deg, var(--stone-870), var(--stone-900));
  padding: 22px;
  min-height: 230px;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}

@keyframes grow {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

@keyframes sweep {
  0%   { transform: translateY(-100%); opacity: 0; }
  35%  { opacity: 1; }
  100% { transform: translateY(320%); opacity: 0; }
}

.art-sweep {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 70px;
  background: linear-gradient(180deg, transparent, rgba(199, 154, 75, 0.09), transparent);
  animation: sweep 5.5s ease-in-out infinite;
  pointer-events: none;
}

.art-head {
  display: grid;
  grid-template-columns: 26px 30px minmax(0, 1fr) 78px;
  grid-gap: 12px;
  gap: 12px;
  padding: 0 0 11px;
  border-bottom: 1px solid var(--line);
  font-family: var(--display);
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--faint);
}

.art-head span:nth-child(2) {
  grid-column: 2 / 4;
}

.art-head span:last-child {
  text-align: right;
}

.art-row {
  display: grid;
  grid-template-columns: 26px 30px minmax(0, 1fr) 78px;
  grid-gap: 12px;
  gap: 12px;
  align-items: center;
  padding: 11px 0 13px;
  border-bottom: 1px solid var(--line-soft);
  animation: rise 0.6s both ease-out;
}

.art-row:last-of-type {
  border-bottom: 0;
}

.art-rank {
  font-family: var(--display);
  font-weight: 700;
  font-size: 14px;
  color: var(--brass);
  text-align: center;
}

.art-row:nth-child(n + 5) .art-rank {
  color: var(--faint);
}

.art-bust,
.tick-bust {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--stone-800);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-size: 12px;
  color: var(--brass-dim);
}

.art-who b,
.tick-who b {
  display: block;
  font-family: var(--ui);
  font-size: 14px;
  font-weight: 500;
  color: var(--travertine);
}

.art-who em,
.tick-who em {
  display: block;
  font-family: var(--figure);
  font-style: normal;
  font-size: 11.5px;
  color: var(--faint);
}

.art-val {
  font-family: var(--figure);
  font-size: 15px;
  font-weight: 500;
  text-align: right;
  color: var(--gain);
}

.art-val[data-up="false"] {
  color: var(--loss);
}

.art-bar {
  grid-column: 3 / 5;
  height: 3px;
  background: var(--line-soft);
  display: block;
  margin-top: 2px;
}

.art-bar > span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--brass-dim), var(--brass));
  transform-origin: left;
  animation: grow 0.9s both cubic-bezier(0.2, 0.7, 0.2, 1);
}

.art-bar > span[data-up="false"] {
  background: linear-gradient(90deg, transparent, var(--loss));
}

/* Tokens */
.art-tokens {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 12px;
  gap: 12px;
}

.chip {
  border: 1px solid var(--line-soft);
  background: var(--stone-850);
  padding: 13px 13px 11px;
  display: grid;
  grid-gap: 8px;
  gap: 8px;
  animation: rise 0.6s both ease-out;
}

@keyframes ping {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.3; transform: scale(0.7); }
}

.chip-top {
  display: flex;
  align-items: center;
  gap: 8px;
}

.chip-top b {
  font-family: var(--figure);
  font-size: 14px;
  font-weight: 600;
  color: var(--travertine);
  letter-spacing: 0.02em;
}

.chip-dot {
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: var(--gain);
  animation: ping 2.4s ease-in-out infinite;
}

.chip-dot[data-up="false"] {
  background: var(--loss);
}

.chip-pct {
  font-family: var(--figure);
  font-size: 13px;
  color: var(--gain);
}

.chip-pct[data-up="false"] {
  color: var(--loss);
}

.chip-bar {
  height: 34px;
  display: flex;
  align-items: flex-end;
  background: linear-gradient(180deg, transparent, var(--stone-900));
}

.chip-bar > span {
  width: 100%;
  background: linear-gradient(180deg, var(--gain), transparent);
  transform-origin: bottom;
  animation: grow 1s both ease-out;
}

.chip-bar[data-up="false"] > span {
  background: linear-gradient(180deg, var(--loss), transparent);
}

.chip-foot {
  font-family: var(--display);
  font-size: 8.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
}

/* Trades */
.art-trades {
  padding: 0;
  position: relative;
  height: 268px;
}

@keyframes scrollfeed {
  from { transform: translateY(0); }
  to   { transform: translateY(-50%); }
}

.feed {
  animation: scrollfeed 22s linear infinite;
}

.feed-mask {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    var(--stone-870) 0%,
    transparent 16%,
    transparent 84%,
    var(--stone-900) 100%
  );
}

.tick {
  display: grid;
  grid-template-columns: 44px 30px minmax(0, 1fr) auto 34px;
  grid-gap: 12px;
  gap: 12px;
  align-items: center;
  padding: 11px 18px;
  border-bottom: 1px solid var(--line-soft);
}

.tick-side {
  font-family: var(--display);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--loss);
}

.tick-side[data-buy="true"] {
  color: var(--gain);
}

.tick-amt {
  font-family: var(--figure);
  font-size: 14px;
  font-weight: 500;
  color: var(--loss);
}

.tick-amt[data-buy="true"] {
  color: var(--gain);
}

.tick-ago {
  font-family: var(--figure);
  font-size: 11.5px;
  color: var(--faint);
  text-align: right;
}

/* --- API band ------------------------------------------------------------ */

.api-band {
  border-top: 1px solid var(--brass-dim);
  border-bottom: 1px solid var(--line-soft);
  background: linear-gradient(180deg, var(--tint), transparent 70%);
  margin-top: 20px;
}

.api-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 66px 22px 62px;
  text-align: center;
}

.api-inner .feature-body {
  margin: 0 auto 32px;
  max-width: 62ch;
}

.api-list {
  list-style: none;
  margin: 0 0 34px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-gap: 1px;
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  text-align: left;
}

.api-list li {
  background: var(--stone-900);
  padding: 20px 22px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

.api-list strong {
  display: block;
  font-family: var(--display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-indent: 0.2em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 9px;
}

/* --- Listing CTA --------------------------------------------------------- */

.cta {
  margin: 0;
  border-top: 1px solid var(--brass-dim);
  background: linear-gradient(180deg, var(--stone-870), transparent 80%);
}

.cta-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 66px 22px 70px;
  text-align: center;
}

.cta-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(24px, 3.2vw, 34px);
  letter-spacing: 0.12em;
  text-indent: 0.12em;
  margin: 12px 0 18px;
  color: var(--travertine);
}

.req-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  margin: 0 auto 34px;
  width: -moz-fit-content;
  width: fit-content;
}

.req {
  background: var(--stone-850);
  padding: 22px 40px;
  min-width: 168px;
}

.req-value {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: 0.04em;
  color: var(--brass);
}

.req-label {
  display: block;
  margin-top: 8px;
  font-family: var(--display);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-indent: 0.2em;
  text-transform: uppercase;
  color: var(--faint);
}

/* --- Footer groups ------------------------------------------------------- */

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-gap: 26px;
  gap: 26px;
  text-align: left;
  padding-bottom: 30px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line-soft);
}

.footer-title {
  font-family: var(--display);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-indent: 0.24em;
  text-transform: uppercase;
  color: var(--brass-dim);
  margin: 0 0 14px;
}

.footer-grid a {
  display: block;
  font-size: 13.5px;
  color: var(--muted);
  padding: 5px 0;
}

.footer-grid a:hover {
  color: var(--brass);
}

.footer-note a {
  color: var(--brass);
}

/* --- Narrow viewports ---------------------------------------------------- */

@media (max-width: 1000px) {
  :root {
    --trader-gap: 18px;
    --spine: 60px;
  }
  .board thead th.opt,
  .board tbody td.opt {
    display: none;
  }
  .breakdown-grid {
    margin-left: 0;
  }
  .masthead {
    padding-top: 40px;
  }
  .tabs {
    gap: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }
  .shell {
    padding: 0 12px 40px;
  }
  .topbar-inner {
    height: 58px;
    padding: 0 14px;
    grid-template-columns: auto 1fr;
    grid-template-areas: "brand account" "nav nav";
    height: auto;
    padding-top: 12px;
    padding-bottom: 4px;
    gap: 10px;
  }
  .brand { grid-area: brand; }
  .account { grid-area: account; }
  .nav {
    grid-area: nav;
    justify-self: stretch;
    justify-content: space-between;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
  }
  .nav a {
    font-size: 10px;
    letter-spacing: 0.14em;
  }
  .btn-ghost,
  .btn-solid {
    font-size: 9.5px;
    padding: 8px 12px;
    letter-spacing: 0.12em;
  }
  .masthead {
    padding: 30px 0 30px;
  }
  .eyebrow {
    font-size: 9px;
    letter-spacing: 0.3em;
  }
  .controls {
    gap: 12px;
    padding-bottom: 12px;
  }
  .tabs {
    gap: 16px;
    order: 1;
  }
  .search-bar {
    padding: 12px 2px;
  }
  .settings-bar {
    gap: 22px;
    padding: 16px 2px 18px;
  }
  .settings-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .board tbody td {
    padding: 9px 8px;
    font-size: 14px;
  }
  .board td.rank {
    width: 54px;
    padding: 4px 2px;
  }
  .badge {
    width: 40px;
    height: 38px;
  }
  .numeral {
    font-size: 15px;
  }
  .bust {
    width: 32px;
    height: 32px;
  }
  .who {
    gap: 9px;
  }
  .who-name {
    font-size: 15px;
  }
  .who-meta {
    font-size: 11.5px;
  }
  .social img {
    width: 16px;
    height: 16px;
  }
  .chain-logo,
  .chain-fallback {
    width: 18px;
    height: 18px;
  }
  .modal-head,
  .modal-body,
  .modal-foot,
  .preview,
  .preview-label {
    padding-left: 16px;
    padding-right: 16px;
  }
  .footer-inner {
    padding: 26px 16px 34px;
  }
  .footer-links {
    gap: 18px;
  }
}

@media (max-width: 900px) {
  .features {
    padding: 10px 16px;
  }
  .flute {
    display: none;
  }
  .art-tokens {
    grid-template-columns: repeat(2, 1fr);
  }
  .band-inner {
    grid-template-columns: repeat(3, 1fr);
    gap: 22px 0;
  }
  .stat:nth-child(3n) {
    border-right: 0;
  }
  .feature {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
    padding: 48px 0;
  }
  .feature[data-reverse="true"] .feature-text {
    order: 0;
  }
  .api-list {
    grid-template-columns: minmax(0, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }
}

@media (max-width: 560px) {
  :root {
    --header-h: 112px;
  }
  .hero {
    padding: 32px 16px;
  }
  .meander {
    margin: 20px 0 24px;
  }
  .tick {
    grid-template-columns: 40px 26px minmax(0, 1fr) auto;
    padding: 10px 14px;
  }
  .tick-ago {
    display: none;
  }
  .art {
    padding: 16px;
  }
  .art-trades {
    height: 240px;
  }
  .band-inner {
    grid-template-columns: repeat(2, 1fr);
    padding: 24px 16px;
  }
  .stat {
    border-right: 0;
  }
  .req {
    padding: 18px 26px;
    min-width: 140px;
  }
  .cta-inner {
    padding: 40px 18px 38px;
  }
}
