/* Mobile-first Listen-Layout: eine ruhige Spalte, keine Karten-Flut. */
.top {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px var(--pad);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.logo { font-weight: 700; letter-spacing: 0.06em; font-size: 17px; }
.top-right { display: flex; align-items: center; gap: 8px; }
.status { font-size: 12px; color: var(--muted); }
.status.ok::before { content: "●"; color: var(--up); margin-right: 5px; font-size: 9px; }
.status.bad::before { content: "●"; color: var(--down); margin-right: 5px; font-size: 9px; }

.board { max-width: 680px; margin: 0 auto; padding: 8px var(--pad) 48px; }

.group-title {
  margin: 22px 2px 6px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--muted);
}

.group { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }

.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 11px 12px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}
.row:last-child, .row:nth-last-child(2):has(+ .detail:last-child) { border-bottom: none; }
.row:hover { background: color-mix(in srgb, var(--panel) 80%, var(--accent) 6%); }
.row.open { background: color-mix(in srgb, var(--panel) 85%, var(--accent) 10%); }

.row-main {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.row-name { font-weight: 550; }
.row-sub { font-size: 12px; color: var(--muted); }
.row-right { flex-shrink: 0; text-align: right; font-size: 12px; color: var(--muted); white-space: nowrap; }
.row-quote { flex-shrink: 0; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.row-quote .price { font-size: 14px; }

.detail {
  padding: 10px 12px 12px;
  background: var(--panel);
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 6px 16px;
}
.detail[hidden] { display: none; }
.detail:last-child { border-bottom: none; }
.detail .k { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; }
.detail .v { font-size: 14px; }
.detail .full { grid-column: 1 / -1; }

.foot {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 var(--pad) 28px;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}
