:root {
  --bg: #03110E; --surface: #071A16; --raised: #0B2620; --line: #133630; --line-2: #1C4B42;
  --text: #E4F3EE; --dim: #8FAEA6; --faint: #5F8078;
  --mint: #97FCE4; --mint-ink: #04211B;
  --r1: 6px; --r2: 10px;
  --sans: 'Host Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'Reddit Mono', ui-monospace, Menlo, monospace;
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body { margin: 0; color: var(--text); font: 400 13px/1.45 var(--sans); -webkit-font-smoothing: antialiased; }
img.px { image-rendering: pixelated; display: block; border-radius: var(--r1); }
ul, ol, dl, dd, p, h1, h2, h3 { margin: 0; padding: 0; list-style: none; }
.n { font-family: var(--mono); font-variant-numeric: tabular-nums; font-style: normal; }
.pix { display: block; }
.wrap { max-width: 1408px; margin: 0 auto; padding: 0 24px; }

/* top bar */
.bar { position: sticky; top: 0; z-index: 5; background: var(--bg); border-bottom: 1px solid var(--line); }
.bar .wrap { display: flex; align-items: center; gap: 28px; height: 56px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 700; }
.mark { width: 17px; height: 23px; display: block; }
.brand small { font: 500 11px var(--sans); color: var(--dim); border: 1px solid var(--line-2); border-radius: 999px; padding: 2px 8px; }
nav { display: flex; gap: 22px; align-self: stretch; }
nav a { display: flex; align-items: center; color: var(--dim); text-decoration: none; font-weight: 500; border-bottom: 2px solid transparent; margin-bottom: -1px; }
nav a.here { color: var(--text); border-bottom-color: var(--mint); }
.bar .right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.pill { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 12px; color: var(--dim); white-space: nowrap; }
.pill b { color: var(--text); font-weight: 500; }
.up { color: var(--mint); }
.copy { width: 11px; height: 11px; border: 1.5px solid var(--dim); border-radius: 2px; box-shadow: -3px -3px 0 -1.5px var(--bg), -3px -3px 0 0 var(--dim); margin-left: 3px; }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); }

/* the strip of figures */
.strip { border-bottom: 1px solid var(--line); }
.strip .wrap { display: grid; grid-template-columns: repeat(6, auto); justify-content: space-between; }
.strip .wrap > div { padding: 12px 0; }
dt { font-size: 11px; color: var(--dim); }
.strip dd { font: 500 15px var(--mono); font-variant-numeric: tabular-nums; }
.strip dd small { font: 400 12px var(--mono); color: var(--dim); }

.two { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 20px; padding-top: 20px; align-items: start; }
.col { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.below { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; padding-top: 20px; padding-bottom: 40px; }
.pair { display: grid; grid-template-columns: 870px minmax(0, 1fr); gap: 20px; align-items: stretch; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r2); }
.head { display: flex; align-items: baseline; gap: 12px; padding: 16px 20px 0; }
h2 { font-size: 18px; font-weight: 600; }
.head p { color: var(--dim); }
.head .end { margin-left: auto; color: var(--dim); font-size: 12px; white-space: nowrap; }

/* next in line */
.line-up { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 24px; padding: 20px; }
.tag { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border: 1px solid var(--mint); color: var(--mint); border-radius: 999px; font-size: 12px; font-weight: 500; }
.line-up .top { display: flex; align-items: center; gap: 12px; color: var(--dim); font-size: 12px; }
.line-up h1 { margin: 14px 0 16px; }
.traits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.traits dd { font-weight: 500; }
.cost b { font-weight: 500; text-align: right; }
.pill-link { color: var(--text) !important; border: 1px solid var(--line-2); border-radius: 999px; padding: 4px 10px; }
.cost { display: grid; gap: 8px; padding: 14px 0 16px; }
.cost div { display: flex; justify-content: space-between; align-items: baseline; }
.cost span { color: var(--dim); }
.cost .n { font-size: 15px; font-weight: 500; }
.cost .n small { color: var(--dim); font-size: 12px; font-weight: 400; }
.acts { display: flex; gap: 12px; align-items: center; }
.btn { height: 40px; padding: 0 18px; border-radius: var(--r1); border: 1px solid var(--mint); background: var(--mint); color: var(--mint-ink); font: 600 15px var(--sans); cursor: pointer; white-space: nowrap; }
.btn.ghost { height: 32px; padding: 0 12px; background: transparent; color: var(--text); border-color: var(--line-2); font-size: 13px; font-weight: 500; }
.btn.wait { background: transparent; color: var(--faint); border-color: var(--line-2); }
.note { color: var(--dim); font-size: 12px; }
.queue { display: flex; align-items: center; gap: 14px; padding: 14px 20px 18px; border-top: 1px solid var(--line); }
.queue .then { color: var(--dim); font-size: 12px; min-width: 60px; white-space: nowrap; }
.queue ol { display: flex; gap: 14px; }
.queue li { position: relative; display: grid; gap: 7px; justify-items: center; }
.queue .pos { position: absolute; left: -5px; top: -5px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line-2); font: 500 11px/16px var(--mono); text-align: center; color: var(--dim); }
.queue .more { margin-left: auto; color: var(--dim); font-size: 12px; white-space: nowrap; }

/* the wall */
.chips { display: flex; gap: 6px; padding: 12px 20px 0; flex-wrap: wrap; }
.chips span { height: 26px; padding: 0 10px; display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 999px; font-size: 12px; color: var(--dim); }
.chips .sel { color: var(--mint-ink); background: var(--mint); border-color: var(--mint); font-weight: 600; }
.wall { display: grid; grid-template-columns: repeat(6, 146px); justify-content: space-between; gap: 12px 0; padding: 16px 20px 20px; }
.wall li { background: var(--raised); border: 1px solid var(--line); border-radius: var(--r2); padding: 8px; display: grid; gap: 8px; justify-items: center; }
.meta { width: 100%; display: grid; gap: 1px; }
.meta .pix { margin: 2px 0 3px; }
.meta span { color: var(--dim); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.meta em { color: var(--text); }

/* the flask */
.flask { display: grid; grid-template-columns: 192px minmax(0, 1fr); gap: 4px 16px; padding: 8px 20px 4px 12px; align-items: center; }
.flask img { border-radius: 0; }
.fill { font: 500 34px/1 var(--mono); font-variant-numeric: tabular-nums; }
.fill small { display: block; margin-top: 6px; font: 400 13px var(--mono); color: var(--dim); }
.flask p { color: var(--dim); margin-top: 12px; font-size: 12px; }
.flask .btn { margin-top: 14px; height: 32px; font-size: 13px; padding: 0 14px; }
.rows { border-top: 1px solid var(--line); padding: 4px 20px 8px; }
.rows h3 { font-size: 12px; font-weight: 500; color: var(--dim); padding: 10px 0 2px; }
.rows li { display: grid; grid-template-columns: 1fr auto auto; gap: 18px; padding: 7px 0; border-top: 1px solid var(--line); font-size: 12px; }
.rows li:first-of-type { border-top: 0; }
.rows span { color: var(--dim); }
.mine { padding: 6px 20px 12px; }
.mine li { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.mine li:first-child { border-top: 0; }
.who { display: grid; gap: 5px; }
.state { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--dim); }
.state i { width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid var(--faint); }
.state.on { color: var(--mint); }
.state.on i { background: var(--mint); border-color: var(--mint); }
.owed { display: grid; justify-items: end; }
.owed .n { font-size: 15px; font-weight: 500; }
.owed .u { color: var(--dim); font-size: 11px; }
.feed { padding: 6px 20px 10px; }
.feed li { display: grid; grid-template-columns: minmax(0, 1fr) auto 46px; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); font-size: 12px; }
.feed li:first-child { border-top: 0; }
.feed div { display: flex; align-items: center; gap: 8px; min-width: 0; }
.feed b { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feed span, .feed time { color: var(--dim); }
.feed time { text-align: right; }

/* switching on */
.levels { display: grid; grid-template-columns: repeat(5, 1fr); margin: 16px 20px 0; border: 1px solid var(--line); border-radius: var(--r2); overflow: hidden; }
.levels li { display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: 12px; row-gap: 1px; align-items: center; padding: 14px 16px 14px 10px; border-left: 1px solid var(--line); }
.levels li:first-child { border-left: 0; }
.levels img { border-radius: 0; grid-row: span 3; }
.levels .top { display: flex; justify-content: space-between; align-items: baseline; }
.levels b { font-size: 15px; font-weight: 600; }
.levels .w { font-size: 18px; font-weight: 500; color: var(--mint); }
.levels .c, .levels .paid { font-size: 12px; white-space: nowrap; }
.levels .paid { color: var(--dim); }
.levels .paid em { color: var(--text); }
.foot-note { padding: 12px 20px 18px; color: var(--dim); font-size: 12px; }
.ones { display: grid; grid-template-columns: repeat(4, 192px); justify-content: space-between; gap: 20px 0; padding: 16px 20px 20px; }
.ones li { display: grid; gap: 8px; }
.ones .meta b { font-weight: 600; font-size: 15px; }
.ones .meta .state { margin-top: 2px; }
.how { padding: 4px 20px 8px; }
.how li { display: grid; grid-template-columns: 26px minmax(0, 1fr); column-gap: 14px; padding: 18px 0; border-top: 1px solid var(--line); }
.how li:first-child { border-top: 0; }
.how .pix { color: var(--mint); grid-row: span 2; margin-top: 2px; }
.how b { font-size: 15px; font-weight: 600; }
.how p { color: var(--dim); margin-top: 2px; }
.pair > .card:last-child { display: flex; flex-direction: column; }
.contracts { margin-top: auto; }
.contracts li { grid-template-columns: 1fr auto 14px; align-items: center; }
.contracts b { font-weight: 500; }
.card .copy { display: block; box-shadow: -3px -3px 0 -1.5px var(--surface), -3px -3px 0 0 var(--dim); }
footer { border-top: 1px solid var(--line); color: var(--dim); font-size: 12px; }
footer .wrap { display: flex; gap: 22px; align-items: center; height: 40px; }
footer .dot { margin-right: 7px; }
footer .end { margin-left: auto; }

@media (max-width: 760px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .bar .wrap { gap: 12px; }
  nav, .bar .pill.price, .bar .pill.ca, .brand small { display: none; }
  .strip .wrap { grid-template-columns: 1fr 1fr; column-gap: 16px; }
  .strip .wrap > div { padding: 9px 0; border-top: 1px solid var(--line); }
  .strip .wrap > div:nth-child(-n+2) { border-top: 0; }
  .strip .wrap > div:last-child { grid-column: 1 / -1; }
  .strip dd small { display: block; }
  .two, .pair { grid-template-columns: minmax(0, 1fr); }
  .two { padding-top: 16px; }
  .line-up { grid-template-columns: minmax(0, 1fr); padding: 16px; gap: 16px; justify-items: center; }
  .line-up > div { width: 100%; min-width: 0; }
  .acts { flex-wrap: wrap; }
  .cost div { gap: 12px; }
  .traits { gap: 10px 12px; }
  .head { padding: 16px 16px 0; flex-wrap: wrap; gap: 4px 12px; }
  .queue { padding: 14px 16px 16px; overflow: hidden; }
  .queue ol { gap: 12px; }
  .queue .then, .queue .more { display: none; }
  .chips { padding: 12px 16px 0; }
  .wall { grid-template-columns: repeat(2, 146px); justify-content: space-around; padding: 16px 8px; }
  .flask { grid-template-columns: 128px minmax(0, 1fr); padding: 8px 16px 4px 8px; }
  .flask img { width: 128px; height: 128px; }
  .rows, .mine, .feed, .how { padding-left: 16px; padding-right: 16px; }
  .mine li { grid-template-columns: 64px minmax(0, 1fr) auto; }
  .mine .owed { display: none; }
  .feed li { grid-template-columns: minmax(0, 1fr) 46px; }
  .feed li > span { display: none; }
  .levels { grid-template-columns: 1fr; margin: 16px 16px 0; }
  .levels li { border-left: 0; border-top: 1px solid var(--line); padding: 10px 14px 10px 8px; }
  .levels li:first-child { border-top: 0; }
  .foot-note { padding: 12px 16px 16px; }
  .ones { grid-template-columns: repeat(2, 128px); justify-content: space-around; padding: 16px 8px; }
  .ones img { width: 128px; height: 128px; }
  footer .wrap { height: auto; padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap; gap: 6px 16px; }
  footer .end { margin-left: 0; }
}

/* ---- the live site: states the mockup did not need ---- */
[hidden] { display: none !important; }
button { font-family: inherit; }
button.pill { background: none; cursor: pointer; }
a.pill, a.pill-link { text-decoration: none; }
.pill.ca { cursor: copy; }
.wallet { position: relative; }
.menu { position: absolute; right: 0; top: 38px; min-width: 200px; background: var(--raised); border: 1px solid var(--line-2); border-radius: var(--r2); padding: 6px; display: grid; gap: 2px; z-index: 6; }
.menu button { display: flex; align-items: center; gap: 8px; width: 100%; padding: 8px 10px; background: none; border: 0; border-radius: var(--r1); color: var(--text); font-size: 13px; cursor: pointer; text-align: left; }
.menu button:hover { background: var(--line); }
.menu img { width: 18px; height: 18px; border-radius: 4px; }
.btn[disabled] { background: transparent; color: var(--faint); border-color: var(--line-2); cursor: default; }
.btn.busy { opacity: 0.7; cursor: progress; }
.status { color: var(--dim); font-size: 12px; min-height: 0; margin-top: 8px; }
.status.bad { color: #F2788C; }
.status.pad { padding: 0 20px 12px; margin-top: 0; }
.status:empty { display: none; }
.empty { color: var(--dim); font-size: 12px; padding: 12px 0 !important; display: block !important; border: 0 !important; }
.wall .empty, .ones .empty { grid-column: 1 / -1; }
.chips button { height: 26px; padding: 0 10px; display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 999px; font-size: 12px; color: var(--dim); background: none; cursor: pointer; }
.chips button.sel { color: var(--mint-ink); background: var(--mint); border-color: var(--mint); font-weight: 600; }
.wall-more { display: flex; justify-content: center; padding: 0 20px 20px; }
.wall-more:has([hidden]) { display: none; }
.pick { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; padding-top: 2px; }
.pick button { height: 30px; padding: 0 10px; border: 1px solid var(--line-2); border-radius: var(--r1); background: none; color: var(--text); font-size: 12px; cursor: pointer; }
.pick button b { color: var(--mint); font-weight: 600; margin-right: 6px; }
.pick button:hover { border-color: var(--mint); }
.mine li { grid-template-columns: 64px minmax(0, 1fr) auto auto; }
.mine .acts2 { display: flex; gap: 6px; }
.mine .state { white-space: nowrap; }
.line-up .yours { color: var(--mint); }
.levels.closed { opacity: 0.55; }
footer .wrap span + span { white-space: nowrap; }
@media (max-width: 760px) {
  .strip .wrap > div:last-child { grid-column: auto; }
  .menu { right: 0; }
  .wall-more { padding: 0 16px 16px; }
  .status.pad { padding: 0 16px 12px; }
}
