/* Width-aware data layouts: the document is the only scrolling surface. */
html { scrollbar-width: none; }
html::-webkit-scrollbar { width: 0; height: 0; }
.nunu-main .table-scroll,
.nunu-main .seo-table-wrap,
.nunu-main .hq-table {
  container: data-table / inline-size;
  overflow: visible;
  contain: inline-size;
  max-height: none;
  width: 100%;
  min-width: 0;
}
.nunu-main .flow-table {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
}
.nunu-main .flow-table :is(th, td) {
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
}
.nunu-main .flow-table.market-table col { width: auto; }
.nunu-main .flow-table.market-table col.col-rank { width: 4%; }
.nunu-main .flow-table.market-table col.col-asset { width: 26%; }
.nunu-main .flow-table.market-table col.col-price { width: 14%; }
.nunu-main .flow-table.market-table col.col-change { width: 9%; }
.nunu-main .flow-table.market-table col.col-value { width: 15%; }
.nunu-main .flow-table.market-table col.col-spark { width: 16%; }
.nunu-main .flow-table .identity,
.nunu-main .flow-table :is(.coin-identity,.exchange-identity,.hq-entity) {
  width: 100%;
  min-width: 0;
  justify-content: start;
  text-align: left;
}
.nunu-main .flow-table :is(.coin-name,.exchange-name,.identity strong,.hq-entity strong) {
  white-space: normal;
  overflow: visible;
  overflow-wrap: anywhere;
  text-overflow: clip;
}
.nunu-main .flow-table :is(figure,svg) { max-width: 100%; }
.nunu-main .flow-table figure { margin: 0; }
.content-tabs, .detail-shortcuts, .segments, .tape-inner {
  flex-wrap: wrap;
  overflow: visible;
  white-space: normal;
  max-width: 100%;
}
.content-tabs { gap: 8px 24px; }
.detail-jump { position: static; display: block; background: none; }
.detail-shortcuts { gap: 0 22px; }
.detail-shortcuts > a { white-space: normal; padding-block: 10px; min-width:0; max-width:100%; overflow-wrap:anywhere; }
.detail-rail { position: static; }
.detail-toc { max-height: none; overflow: visible; }
.detail-contents-disclosure { padding: 8px 0 14px; }
.detail-contents-disclosure > summary {
  display: flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  list-style: none;
  font-size: 12px;
  color: var(--accent);
}
.detail-contents-disclosure > summary::-webkit-details-marker { display: none; }
.detail-contents-disclosure > summary svg { width: 16px; height: 16px; }
.detail-contents-menu {
  position: static;
  inset: auto;
  transform: none;
  width: 100%;
  max-width: 100%;
  max-height: none;
  overflow: visible;
  padding: 18px 0 8px;
  margin: 0;
  box-shadow: none;
  background: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 24px;
}
.detail-contents-menu > a { min-width: 0; overflow-wrap: anywhere; }
.search-results { max-height: none; overflow: visible; }
.header-inner, .primary-nav, .header-actions { min-width: 0; }

@container data-table (max-width: 940px) {
  .nunu-main .flow-table { display: block; }
  .nunu-main .flow-table colgroup { display: none; }
  .nunu-main .flow-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .nunu-main .flow-table tbody {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .nunu-main .flow-table tbody tr {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-content: start;
    gap: 16px 20px;
    padding: 20px;
    margin: 0;
    min-width: 0;
    border: 0;
    border-radius: 8px;
    background: var(--surface);
  }
  .nunu-main .flow-ranked tbody tr { padding-left: 44px; }
  .nunu-main .flow-table td {
    display: block;
    width: auto;
    height: auto;
    min-height: 0;
    padding: 0;
    font-size: 12px;
    line-height: 1.6;
    text-align: left;
    border: 0;
  }
  .nunu-main .flow-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.5;
    font-weight: 400;
  }
  .nunu-main .flow-table td.flow-identity,
  .nunu-main .flow-table td.flow-price { align-self: start; }
  .nunu-main .flow-table td.flow-identity::before,
  .nunu-main .flow-table td.flow-rank::before { display: none; }
  .nunu-main .flow-table td.flow-rank {
    position: absolute;
    top: 23px;
    left: 14px;
    width: 22px;
    font-size: 11px;
    font-variant-numeric: tabular-nums;
    text-align: left;
  }
  .nunu-main .flow-table td.flow-price { font-size: 14px; font-weight: 650; }
  .nunu-main .flow-table :is(.flow-wide,.spark-cell) { grid-column: 1 / -1; }
  .nunu-main .flow-table .identity { grid-template-columns: 28px minmax(0,1fr); gap: 9px; }
  .nunu-main .flow-table :is(.identity strong,.coin-identity strong,.exchange-identity strong,.hq-entity strong) { font-size: 12px; }
  .nunu-main .flow-table :is(.identity small,.coin-identity small,.exchange-identity small,.hq-entity small) { font-size: 10px; }
  .nunu-main .flow-table .spark-cell svg { height: 42px; width: 100%; }
}
@container data-table (max-width: 590px) {
  .nunu-main .flow-table tbody { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 700px) {
  .nunu-main { padding-inline: 18px; }
  .content-tabs { gap: 4px 20px; }
  .detail-contents-menu { grid-template-columns: minmax(0,1fr); }
  .detail-shortcuts { gap: 0 16px; }
  .detail-shortcuts > a { font-size: 11px; }
  .detail-toc { max-height: none; }
  .header-inner { row-gap: 12px; }
  .nunu-main .page-heading { gap: 16px; }
  .nunu-main .section-heading { flex-wrap: wrap; gap: 8px 16px; }
  .nunu-main .market-stats { gap: 20px; }
  .nunu-main .flow-table tbody tr { padding-block: 18px; }
}
