/* crypto news board */
.ns-stats { margin-bottom: 16px; }
.ns-top { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); align-items: start; margin-top: 0; }
.ns-side { display: grid; gap: 16px; min-width: 0; }
@media (min-width: 1101px) { .ns-side { position: sticky; top: calc(var(--head-h) + 16px); } }

.ns-bar .search-in { min-width: 220px; }
.ns-re { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; border: 1px solid var(--line); color: var(--text-2); }
.ns-re:hover { color: var(--text); border-color: var(--line-strong); }
.ns-re .i { width: 17px; height: 17px; }
.ns-srcs { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 18px; border-bottom: 1px solid var(--line); }
.ns-srcs:empty { display: none; }
.ns-src b, .ns-coin b { font-weight: 650; font-size: 12px; color: inherit; opacity: .7; }
.ns-src[aria-pressed="false"] { color: var(--text-3); background: transparent; border-style: dashed; }
.ns-src[aria-pressed="true"] { background: var(--bg-sunk); color: var(--text); border-color: var(--line-strong); }
html[data-theme="dark"] .ns-src[aria-pressed="true"] { background: var(--bg-raised); }

.ns-list { max-height: 980px; overflow-y: auto; padding: 0 18px 10px; }
.ns-wait { margin: 0; padding: 26px 0; font-size: 14px; }
.ns-dh { position: sticky; top: 0; z-index: 1; margin: 0; padding: 14px 0 8px; font-size: 13px; font-weight: 650; color: var(--text-2); background: var(--bg); border-bottom: 1px solid var(--line); }
html[data-theme="dark"] .ns-dh { background: var(--bg-soft); }
.ns-ul { list-style: none; margin: 0; padding: 0; }
.ns-it { display: grid; grid-template-columns: 50px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.ns-ul .ns-it:last-child { border-bottom: 0; }
.ns-t { font-size: 13px; font-weight: 650; color: var(--text-3); padding-top: 2px; }
.ns-it.is-new .ns-t { color: var(--text); }
.ns-b { display: grid; gap: 6px; min-width: 0; }
.ns-a { font-size: 15.5px; font-weight: 600; line-height: 1.5; color: var(--text); text-wrap: pretty; }
.ns-a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.ns-a:visited { color: var(--text-2); }
.ns-new { font-style: normal; font-size: 11px; font-weight: 700; color: var(--on-accent); background: var(--amber); padding: 1px 6px; border-radius: 5px; margin-right: 7px; vertical-align: 2px; }
.ns-m { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 12.5px; color: var(--text-3); }
.ns-s { font-weight: 600; color: var(--text-2); }
.ns-tag { font-family: var(--mono); font-size: 11px; font-weight: 650; color: var(--text-2); padding: 1px 6px; border-radius: 5px; border: 1px solid var(--line-strong); }
a.ns-tag:hover { color: var(--text); border-color: var(--text-3); }

.ns-coins { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 16px; }
.ns-coins .ns-wait { padding: 4px 0; }
.ns-coin img, .ns-coin .cbadge { width: 16px; height: 16px; border-radius: 50%; }
.ns-bars { display: grid; gap: 9px; padding: 14px 16px 16px; }
.nb { display: grid; grid-template-columns: 8.5em minmax(0, 1fr) 30px; gap: 10px; align-items: center; font-size: 13px; }
.nb-n { color: var(--text-2); font-weight: 560; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nb-t { height: 10px; border-radius: 3px; background: var(--bg-sunk); position: relative; overflow: hidden; }
.nb-t i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 3px; background: var(--amber-deep); }
.nb b { text-align: right; font-weight: 620; }
.ns-hours { padding: 14px 16px 14px; }
.nh-bars { display: grid; grid-template-columns: repeat(24, minmax(0, 1fr)); gap: 3px; height: 96px; align-items: end; }
.nh-b { height: 100%; display: flex; align-items: flex-end; }
.nh-b i { display: block; width: 100%; border-radius: 3px 3px 0 0; background: var(--amber-deep); }
.nh-b i.z { background: var(--line); }
.nh-ax { display: flex; justify-content: space-between; margin-top: 6px; font-family: var(--mono); font-size: 11px; color: var(--text-3); }
.nh-note { margin: 10px 0 0; font-size: 12px; color: var(--text-3); line-height: 1.5; }

@media (max-width: 1100px) {
  .ns-top { grid-template-columns: minmax(0, 1fr); }
  .ns-side { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
}
@media (max-width: 860px) {
  .ns-side { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .ns-bar .search-in { min-width: 0; flex: 1 1 100%; order: 3; }
  .ns-list { padding: 0 14px 8px; max-height: 760px; }
  .ns-it { grid-template-columns: 42px minmax(0, 1fr); gap: 10px; }
  .ns-a { font-size: 15px; }
}
