:root {
  --bar: #111;
  --ink: #f4f4f0;
  --muted: #9a9a92;
  --line: #2a2a2a;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
  background: #0a0a0a;
  font-family: "Segoe UI", "Helvetica Neue", sans-serif;
}

.bar {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  height: 52px;
  display: grid;
  grid-template-columns: 52px 1fr 52px;
  align-items: center;
  background: var(--bar);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.nav-btn {
  height: 100%;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 22px;
  cursor: pointer;
}

.nav-btn:hover { background: #1c1c1c; }

.meta {
  display: flex;
  align-items: baseline;
  gap: 14px;
  justify-content: center;
  min-width: 0;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 12px;
}

.label {
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ref {
  color: var(--muted);
  font-size: 12px;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.ref:hover { color: var(--ink); }

#frame {
  position: fixed;
  inset: 52px 0 0 0;
  width: 100%;
  height: calc(100% - 52px);
  border: 0;
  background: #fff;
}

@media (max-width: 560px) {
  .ref { display: none; }
  .meta { gap: 8px; }
  .label { font-size: 13px; }
}
