body.app-body {
  --board-font: "IBM Plex Mono", ui-monospace, monospace;
  --board-size: 13px;
  --board-label: 12px;
  --board-lh: 1.45;
  --pane-pad: 12px;
  --pane-head-h: 52px;
  --pin: #3ecf6a;
  height: 100dvh;
  overflow: hidden;
  background: #05070d;
  font-family: var(--board-font);
  font-size: var(--board-size);
  line-height: var(--board-lh);
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(0, 82, 255, 0.25);
}

body.app-body :focus-visible {
  outline: 2px solid var(--ember);
  outline-offset: 2px;
}

body.app-body .nav {
  top: 0;
  left: 0;
  right: 0;
  transform: none;
  width: 100%;
  max-width: none;
  height: 52px;
  padding: 0 20px;
  justify-content: space-between;
  border-radius: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: var(--ink);
  backdrop-filter: none;
}

body.app-body .nav-links {
  flex: none;
  gap: 12px;
  font-size: var(--board-label);
  letter-spacing: 0.06em;
}

body.app-body .nav-links .nav-app {
  letter-spacing: 0.04em;
  padding: 6px 14px;
}

body.app-body .nav-name {
  display: inline;
  white-space: nowrap;
}

body.app-body .nav.is-away {
  transform: none;
  opacity: 1;
}

.app-shell {
  height: 100dvh;
  padding: 52px 0 0;
  display: flex;
  flex-direction: column;
  min-height: 0;
  scroll-margin-top: 52px;
}

.board-find {
  display: block;
  padding: 8px var(--pane-pad) 6px;
}

.board-find input {
  width: 100%;
  min-height: 32px;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #0b0d12;
  color: var(--paper);
  font-family: inherit;
  font-size: var(--board-size);
}

.board-find input::placeholder {
  color: rgba(237, 224, 200, 0.38);
}

.board-find input:focus {
  outline: 2px solid var(--flame);
  outline-offset: 1px;
}

.app-tabs button,
.list-tab {
  min-height: 36px;
  padding: 0 10px;
  border-radius: 0;
  font-family: inherit;
  font-size: var(--board-size);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--paper-dim);
}

.app-tabs button[aria-selected="true"],
.list-tab[aria-selected="true"] {
  background: var(--flame);
  color: var(--ink);
}

.board-wrap {
  position: relative;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.board-loader {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  background: var(--ink);
  transition: opacity 0.45s var(--ease), visibility 0.45s var(--ease);
}

.board-loader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.board-loader-inner {
  text-align: center;
}

.board-loader-mark {
  position: relative;
  width: 88px;
  height: 88px;
  margin: 0 auto 16px;
}

.board-loader-mark img {
  position: absolute;
  inset: 8px;
  width: 72px;
  height: 72px;
  border-radius: 50%;
}

.loader-ring {
  position: absolute;
  inset: 0;
  width: 88px;
  height: 88px;
  transform-origin: center;
  animation: spin 0.9s linear infinite;
}

.loader-ring circle {
  fill: none;
  stroke: var(--flame);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 72 180;
}

.board-loader p {
  margin: 0;
  font-family: var(--font-mono);
  font-size: var(--fs-ui);
  letter-spacing: var(--track-ui);
  text-transform: uppercase;
  color: var(--ember);
}

.board-sync {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 28px;
  padding: 0 12px;
  border-bottom: 1px solid var(--line);
  background: #0c0e13;
  font-size: var(--board-label);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ember);
}

.board-sync[hidden] {
  display: none;
}

.board-sync i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ember);
  animation: sync-pulse 1s ease-in-out infinite;
}

.board-sync.is-fail {
  color: var(--paper-dim);
}

.board-sync.is-fail i {
  background: var(--rust);
  animation: none;
}

.board-sync button {
  margin-left: auto;
  min-height: 24px;
  padding: 0 8px;
  border: 1px solid var(--line);
  font: inherit;
  letter-spacing: inherit;
  text-transform: uppercase;
  color: var(--ember);
}

.board-sync:not(.is-fail) button {
  display: none;
}

@keyframes sync-pulse {
  50% {
    opacity: 0.25;
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.board {
  display: grid;
  grid-template-columns: minmax(260px, 300px) minmax(0, 1fr) minmax(320px, 400px);
  gap: 0;
  flex: 1;
  min-height: 0;
}

.sidenav,
.desk-col,
.col-chat {
  display: flex;
  flex-direction: column;
  min-height: 0;
  min-width: 0;
  overflow: hidden;
}

.sidenav {
  border-right: 1px solid var(--line);
  background: #0a0c10;
}

.list-tabs {
  display: flex;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.list-tab {
  flex: 1;
  min-width: 0;
  padding: 0 6px;
}

.list-head {
  display: grid;
  grid-template-columns: 28px minmax(0, 1.4fr) 64px 64px;
  gap: 8px;
  padding: 6px var(--pane-pad);
  font-size: var(--board-label);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--paper-dim);
}

.side-tree {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 82, 255, 0.45) transparent;
}

.side-sub {
  display: none;
  flex-direction: column;
}

.side-sub.is-on {
  display: flex;
}

.side-sub[hidden] {
  display: none !important;
}

.desk-col {
  background: #05070d;
}

.desk-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  flex: 1;
  min-height: 0;
}

.desk-main {
  min-width: 0;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  border-right: 1px solid var(--line);
}

.desk-feed {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: #0a0c10;
}

.feed-pane {
  flex: 1 1 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.feed-pane + .feed-pane {
  border-top: 1px solid var(--line);
}

.launch-list {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.launch-list .status {
  flex: 1;
  display: grid;
  place-content: center;
}

.launch-card {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  grid-template-rows: auto auto auto;
  column-gap: 8px;
  row-gap: 1px;
  flex: 1 1 0;
  min-height: 0;
  align-items: center;
  padding: 6px var(--pane-pad);
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.launch-card:hover,
.launch-card:focus-visible {
  background: rgba(237, 224, 200, 0.06);
}

.launch-card.is-open {
  background: rgba(237, 224, 200, 0.08);
  box-shadow: inset 2px 0 0 var(--flame);
}

.launch-card .row-av,
.launch-card .row-av.is-empty {
  grid-row: 1 / -1;
  align-self: center;
}

.launch-sym {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 500;
  color: var(--paper);
}

.launch-age,
.launch-who,
.launch-ca {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--paper-dim);
  font-size: var(--board-label);
}

.launch-age,
.launch-feel,
.launch-card .copy {
  justify-self: end;
}

.launch-ca {
  font-variant-numeric: tabular-nums;
}

.launch-feel {
  color: var(--ember);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: var(--board-label);
}

.launch-feel:hover,
.launch-feel:focus-visible {
  color: var(--paper);
}

.launch-card .copy {
  margin-left: 0;
}

.pane-head {
  flex: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: var(--pane-head-h);
  padding: 8px var(--pane-pad);
  border-bottom: 1px solid transparent;
  background: var(--flame);
  color: var(--ink);
}

.pane-head .desk-kicker,
.pane-head strong {
  margin: 0;
  font-family: var(--board-font);
  font-size: var(--board-label);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1.2;
}

.pane-head p:last-child,
.pane-head .chat-sub,
.pane-head-row p {
  margin: 4px 0 0;
  color: rgba(5, 7, 13, 0.7);
  font-family: var(--board-font);
  font-size: var(--board-label);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.3;
}

.pane-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}

.pane-head-row p {
  margin: 4px 0 0;
  min-width: 0;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tg-join {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 4px;
  min-height: 22px;
  padding: 0 8px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--ember);
  font-family: inherit;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  animation: tg-join-glow 1.6s ease-in-out infinite;
}

.tg-join svg {
  display: block;
  flex: none;
}

.tg-join:hover,
.tg-join:focus-visible {
  color: var(--paper);
  animation: none;
  box-shadow: 0 0 12px 2px rgba(107, 159, 255, 0.9);
}

@keyframes tg-join-glow {
  0%,
  100% {
    box-shadow: 0 0 4px 0 rgba(5, 7, 13, 0.35), 0 0 7px 1px rgba(107, 159, 255, 0.4);
  }
  50% {
    box-shadow: 0 0 0 2px rgba(5, 7, 13, 0.2), 0 0 14px 3px rgba(107, 159, 255, 0.95);
  }
}

.feed-list {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.feed-list .status {
  flex: 1;
  display: grid;
  place-content: center;
}

.feed-print {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto auto;
  gap: 2px 8px;
  flex: 1 1 0;
  min-height: 0;
  width: 100%;
  padding: 4px var(--pane-pad);
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.feed-print:hover,
.feed-print:focus-visible {
  background: rgba(237, 224, 200, 0.06);
}

.feed-print.is-open {
  background: rgba(237, 224, 200, 0.08);
}

.feed-print.is-buy {
  box-shadow: inset 3px 0 0 var(--pin);
}

.feed-print.is-sell {
  box-shadow: inset 3px 0 0 var(--rust);
}

.feed-side {
  font-size: var(--board-label);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--paper-dim);
}

.feed-print.is-buy .feed-side {
  color: var(--pin);
}

.feed-print.is-sell .feed-side {
  color: var(--rust);
}

.feed-sym {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 500;
}

.feed-meta,
.feed-usd {
  color: var(--paper-dim);
  font-size: var(--board-label);
}

.feed-usd {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.feed-print.is-buy .feed-usd {
  color: var(--pin);
}

.feed-print.is-sell .feed-usd {
  color: var(--rust);
}

.feed-ago {
  text-align: right;
  white-space: nowrap;
  color: var(--paper-dim);
  font-size: var(--board-label);
  font-variant-numeric: tabular-nums;
}

.feed-who {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  color: var(--paper-dim);
  font-size: var(--board-label);
}

.feed-who span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.feed-who a {
  flex: none;
  color: var(--paper-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.feed-who a:hover,
.feed-who a:focus-visible {
  color: var(--ember);
}

.feed-tag {
  color: var(--ember);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.col-chat {
  border-left: 1px solid var(--line);
  background: #0a0c10;
}

.col-chat .chat-root,
.col-chat .chat-root.is-docked .chat-panel {
  height: 100%;
}

body.app-body .chat-root,
body.app-body .chat-panel,
body.app-body .chat-msg,
body.app-body .chat-bubble,
body.app-body .chat-user,
body.app-body .chat-form input,
body.app-body .chat-form button,
body.app-body .chat-hints button,
body.app-body .chat-head strong,
body.app-body .chat-name,
body.app-body .chat-sub,
body.app-body .chat-table,
body.app-body .chat-table table,
body.app-body .chat-bubble h1,
body.app-body .chat-bubble h2,
body.app-body .chat-bubble h3,
body.app-body .chat-bubble code,
body.app-body .chat-bubble a {
  font-family: var(--board-font);
}

body.app-body .chat-msg,
body.app-body .chat-bubble,
body.app-body .chat-user,
body.app-body .chat-form input,
body.app-body .chat-hints button,
body.app-body .chat-bubble p,
body.app-body .chat-bubble li {
  font-size: var(--board-size);
  line-height: var(--board-lh);
}

body.app-body .col-chat .chat-head.pane-head {
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  background: var(--flame);
  color: var(--ink);
}

body.app-body .col-chat .chat-who {
  display: block;
  min-width: 0;
}

body.app-body .col-chat .chat-who img {
  display: none;
}

body.app-body .col-chat .chat-head strong {
  font-size: var(--board-label);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.2;
  color: var(--ink);
}

body.app-body .col-chat .pane-head .chat-sub {
  color: rgba(5, 7, 13, 0.7);
}

body.app-body .chat-sub,
body.app-body .chat-name {
  font-size: var(--board-label);
  letter-spacing: 0;
}

body.app-body .chat-form button {
  font-size: var(--board-label);
  letter-spacing: 0.06em;
}

body.app-body .chat-log {
  padding: var(--pane-pad);
  gap: 12px;
}

body.app-body .chat-bubble.is-md,
body.app-body .chat-bubble h1,
body.app-body .chat-bubble h2 {
  font-size: var(--board-size);
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

body.app-body .chat-bubble h3 {
  font-size: var(--board-label);
  font-weight: 500;
  letter-spacing: 0.06em;
}

body.app-body .chat-table table,
body.app-body .chat-bubble code {
  font-size: var(--board-label);
}

body.app-body .chat-form {
  padding: 8px var(--pane-pad) var(--pane-pad);
}

body.app-body .col-chat .chat-hints {
  margin-left: 0;
}

body.app-body .chat-form input,
body.app-body .chat-form button,
body.app-body .chat-hints button {
  border-radius: 0;
}

body.app-body .chat-hints {
  margin-left: 48px;
}

body.app-body .chat-user {
  font-size: var(--board-size);
  border-radius: 8px 8px 2px 8px;
}

.row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1.4fr) 64px 64px;
  gap: 8px;
  align-items: center;
  width: 100%;
  min-height: 36px;
  padding: 6px var(--pane-pad);
  content-visibility: auto;
  contain-intrinsic-size: 36px;
  text-align: left;
  border: 0;
  border-bottom: 1px solid rgba(237, 224, 200, 0.06);
  background: transparent;
  color: var(--paper-dim);
  font-family: inherit;
  font-size: var(--board-size);
  border-radius: 0;
}

.row:hover,
.row:focus-visible {
  background: rgba(0, 82, 255, 0.1);
  color: var(--paper);
}

.row.is-open {
  background: rgba(0, 82, 255, 0.16);
  color: var(--paper);
  box-shadow: inset 2px 0 0 var(--flame);
}

.row.is-home {
  box-shadow: inset 2px 0 0 var(--pin);
}

.row.is-home.is-open {
  background: rgba(62, 207, 106, 0.12);
  box-shadow: inset 2px 0 0 var(--pin);
}

.row-pin {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pin);
  box-shadow: 0 0 6px rgba(62, 207, 106, 0.7);
  flex: none;
}

.row-av,
.row-av.is-empty {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  object-fit: cover;
  background: var(--hoodie);
}

.row-av.is-fail {
  opacity: 0.2;
}

.row-sym {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  font-weight: 500;
  color: var(--paper);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.row-sym .chain-logo {
  margin-left: 0;
  flex: none;
}

.row-num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: rgba(237, 224, 200, 0.72);
}

.snipe {
  display: inline-flex;
  align-items: center;
  min-height: 16px;
  margin-left: 6px;
  padding: 0 5px;
  border: 1px solid var(--flame);
  border-radius: 2px;
  font-family: inherit;
  font-size: var(--board-label);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--flame);
}

.snipe.is-done {
  border-color: var(--line);
  color: var(--paper-dim);
}

.skel {
  height: 56px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(20, 24, 33, 0.4), rgba(237, 224, 200, 0.06), rgba(20, 24, 33, 0.4));
  background-size: 200% 100%;
  animation: sheen 1.2s ease-in-out infinite;
}

@keyframes sheen {
  to {
    background-position: -200% 0;
  }
}

.status {
  padding: 28px 14px;
  color: var(--paper-dim);
  font-size: var(--board-size);
  line-height: var(--board-lh);
}

.status button {
  margin-top: 12px;
  color: var(--ember);
  text-decoration: underline;
}

.desk-empty,
.desk {
  min-height: 0;
}

.desk-empty {
  display: grid;
  place-content: center;
  padding: 32px var(--pane-pad);
  text-align: center;
  color: var(--paper-dim);
}

.desk {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  overscroll-behavior: contain;
  padding: var(--pane-pad);
  max-width: none;
}

.desk-top {
  flex: 0 1 auto;
  min-height: 0;
  max-height: 58%;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.desk > .quote,
.desk > .feel-band,
.desk > .blotter,
.desk > .desk-links,
.desk > .desk-desc,
.desk > .desk-note,
.desk > .smart-split,
.desk > .smart-bags,
.desk > .desk-top {
  flex: none;
}

.desk > .desk-top {
  flex: 0 1 auto;
}

.desk-notice {
  flex: 1 1 auto;
  min-height: 140px;
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background: #0c0e13;
  overflow: hidden;
}

.desk-notice .desk-kicker {
  flex: none;
  margin: 0;
  padding: 10px var(--pane-pad) 8px;
  border-bottom: 1px solid var(--line);
}

.desk-notice-body {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  padding: 12px var(--pane-pad);
  color: var(--paper-dim);
  font-size: var(--board-size);
  line-height: var(--board-lh);
}

.desk-notice-body p {
  margin: 0;
}

.desk-back {
  display: none;
  margin: 0 0 16px;
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 0;
  font-family: inherit;
  font-size: var(--board-label);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--paper-dim);
}

.quote {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.desk-logo,
.desk-logo-ph {
  width: 40px;
  height: 40px;
  border-radius: 4px;
  object-fit: cover;
  background: var(--hoodie);
}

.chain-logo {
  display: inline-block;
  width: 14px;
  height: 14px;
  vertical-align: -2px;
  margin-left: 6px;
  object-fit: contain;
}

.quote-mini {
  display: grid;
  grid-template-columns: auto auto;
  gap: 12px 18px;
  margin: 0;
}

.quote-mini dt {
  font-size: var(--board-label);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--paper-dim);
}

.quote-mini dd {
  margin: 2px 0 0;
  font-size: var(--board-size);
  font-variant-numeric: tabular-nums;
  color: var(--paper);
}

.creator-line {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.desk-av,
.desk-av.is-empty {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--hoodie);
}

.creator-x {
  color: var(--ember);
}

.quote-pair h2 {
  margin: 0;
  font-family: inherit;
  font-size: var(--board-size);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.2;
}

.quote-pair h2 span {
  color: var(--paper-dim);
  font-weight: 400;
}

.quote-pair p {
  margin: 4px 0 0;
  color: var(--paper-dim);
  font-size: var(--board-size);
}

.blotter {
  margin: 18px 0 0;
  display: grid;
  gap: 8px 0;
}

.blotter div {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 12px;
  font-size: var(--board-size);
}

.blotter dt {
  color: rgba(237, 224, 200, 0.4);
}

.blotter dd {
  margin: 0;
  color: var(--paper);
  overflow-wrap: anywhere;
  word-break: break-all;
}

.blotter .is-wide {
  grid-template-columns: 1fr;
  gap: 4px;
}

.blotter .is-wide dt {
  color: rgba(237, 224, 200, 0.4);
}

.blotter .is-wide dd {
  word-break: break-all;
}

.desk-desc {
  margin: 16px 0 0;
  max-width: 46em;
  color: var(--paper-dim);
  font-size: var(--board-size);
  line-height: var(--board-lh);
}

.desk-line {
  margin: 8px 0 0;
  font-size: var(--board-size);
  line-height: var(--board-lh);
}

.feel-band {
  margin-top: 16px;
  padding: 14px 14px 12px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #0c0e13;
}

.feel-bar {
  margin: 14px 0 10px;
  height: 6px;
  border-radius: 99px;
  background: rgba(237, 224, 200, 0.1);
  overflow: hidden;
}

.feel-bar i {
  display: block;
  height: 100%;
  background: var(--flame);
  border-radius: 99px;
}

.feel-ticks {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 4px;
}

.feel-ticks li {
  font-size: var(--board-label);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--paper-dim);
}

.feel-ticks li.is-done {
  color: var(--paper-dim);
}

.feel-ticks li.is-here {
  color: var(--flame);
  font-weight: 500;
}

.desk-kicker {
  margin: 0 0 6px;
  font-size: var(--board-label);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ember);
}

.desk-note {
  margin: 12px 0 0;
  color: var(--paper-dim);
  font-size: var(--board-size);
  line-height: var(--board-lh);
}

.copy {
  margin-left: 8px;
  padding: 0 6px;
  min-height: 20px;
  border: 1px solid var(--line);
  border-radius: 0;
  font-family: inherit;
  font-size: var(--board-label);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ember);
}

.copy:hover,
.copy:focus-visible {
  border-color: var(--ember);
}

.desk-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.desk-act {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid var(--line);
  background: #0b0d12;
  color: var(--paper);
  font-family: inherit;
  font-size: var(--board-label);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
}

.desk-act:hover,
.desk-act:focus-visible {
  border-color: var(--ember);
  color: var(--ember);
}

.desk-act.is-main {
  background: var(--flame);
  border-color: var(--flame);
  color: var(--ink);
}

.desk-act.is-main:hover,
.desk-act.is-main:focus-visible {
  background: var(--ember);
  border-color: var(--ember);
  color: var(--ink);
}

.desk-ico {
  display: block;
  flex: none;
}

.smart-split {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  margin: 16px 0 0;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.smart-pie {
  display: block;
  width: 120px;
  height: 120px;
}

.smart-legend {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}

.smart-legend li {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr) 52px 64px;
  gap: 8px;
  align-items: center;
  font-size: var(--board-size);
}

.smart-legend i {
  width: 10px;
  height: 10px;
  background: var(--flame);
}

.smart-legend span:nth-child(3),
.smart-legend span:nth-child(4) {
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: var(--paper-dim);
}

.smart-bags {
  margin-top: 16px;
}

.smart-bags .list-head {
  padding-left: 0;
  padding-right: 0;
}

.smart-bags .row {
  padding-left: 0;
  padding-right: 0;
}

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

@media (max-width: 1100px) {
  .smart-split {
    grid-template-columns: 88px minmax(0, 1fr);
  }

  .smart-pie {
    width: 88px;
    height: 88px;
  }
}

.desk-links a.is-main {
  color: var(--ink);
}

.app-gate {
  display: none;
}

.app-tabs {
  display: none;
}

.app-body .foot {
  display: none;
}

@media (max-width: 1100px) and (min-width: 861px) {
  .desk-stage {
    grid-template-columns: minmax(0, 1.1fr) minmax(240px, 0.9fr);
  }

  .board {
    grid-template-columns: 220px minmax(0, 1fr) minmax(280px, 340px);
  }
}

@media (max-width: 860px) {
  body.app-body .nav,
  body.app-body .app-shell {
    display: none !important;
  }

  body.app-body .app-gate {
    display: grid;
    place-items: center;
    justify-items: center;
    min-height: 100dvh;
    padding: 40px 24px calc(40px + env(safe-area-inset-bottom));
    text-align: center;
    gap: 12px;
    background: var(--ink);
  }

  body.app-body .app-gate img {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    margin-bottom: 8px;
  }

  body.app-body .app-gate h1 {
    margin: 0;
    max-width: 16em;
    font-family: var(--font-display);
    font-size: 1.6rem;
    line-height: 1.15;
    letter-spacing: -0.03em;
  }

  body.app-body .app-gate p {
    margin: 0;
    max-width: 22em;
    color: var(--paper-dim);
  }

  body.app-body .app-gate .kicker {
    margin: 0;
    font-family: var(--font-mono);
    font-size: var(--fs-ui);
    letter-spacing: var(--track-ui);
    text-transform: uppercase;
    color: var(--ember);
  }

  body.app-body .app-gate .btn {
    margin-top: 12px;
  }

  .app-shell {
    padding-bottom: 56px;
  }

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

  .sidenav,
  .desk-col,
  .col-chat {
    display: none;
    border: 0;
  }

  .app-shell[data-pane="list"] .sidenav,
  .app-shell[data-pane="desk"] .desk-col,
  .app-shell[data-pane="chat"] .col-chat {
    display: flex;
  }

  .desk-stage {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1fr) minmax(180px, 38%);
  }

  .desk-main {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .desk-back {
    display: inline-flex;
    align-items: center;
  }

  .blotter div {
    grid-template-columns: 88px minmax(0, 1fr);
  }

  .feel-ticks {
    flex-wrap: wrap;
  }

  .desk {
    padding: 16px 16px 28px;
  }

  .quote {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .quote-mini {
    grid-column: 1 / -1;
  }

  .app-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 6px;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: var(--ink);
    flex: none;
  }

  .app-tabs button,
  .list-tab,
  .row {
    min-height: 44px;
  }

  body.app-body .chat-root {
    bottom: max(72px, calc(60px + env(safe-area-inset-bottom)));
  }
}



@media (prefers-reduced-motion: reduce) {
  .loader-ring,
  .skel,
  .board-sync i,
  .tg-join {
    animation: none;
  }

  .tg-join {
    box-shadow: 0 0 8px 1px rgba(107, 159, 255, 0.65);
  }
}
