/* analytical — pure black & white bio site */

:root {
  --bg: #000000;
  --bg-2: #0a0a0a;
  --border: #1a1a1a;
  --border-hi: #2e2e2e;
  --text: #b3b3b3;
  --text-dim: #666666;
  --text-bright: #f0f0f0;
  --accent: #ffffff;
  --green: #e0e0e0;
  --amber: #aaaaaa;
  --red: #888888;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --serif: "Instrument Serif", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  font-size: 12px;
  background: var(--bg);
}

@media (max-width: 900px) {
  html { font-size: 11px; }
}

@media (max-width: 560px) {
  html { font-size: 10px; }
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  font-family: var(--mono);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9000;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px;
}

.scanlines {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9001;
  opacity: 0.03;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.4) 2px,
    rgba(0, 0, 0, 0.4) 3px
  );
}

/* ── boot ───────────────────────────────────────────────── */
.boot {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: #000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem;
  cursor: pointer;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.boot.gone {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.boot-log {
  margin: 0 auto;
  max-width: 560px;
  width: 100%;
  font-family: var(--mono);
  font-size: 0.95rem;
  color: var(--green);
  white-space: pre-wrap;
  min-height: 7em;
}

.boot-hint {
  margin: 2rem auto 0;
  max-width: 560px;
  width: 100%;
  font-size: 0.8rem;
  color: var(--text-dim);
  letter-spacing: 0.12em;
}

/* ── app shell ──────────────────────────────────────────── */
.app {
  max-width: 1040px;
  width: 100%;
  margin: 0 auto;
  padding: 0.85rem 1.1rem 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  box-sizing: border-box;
}

/* single long scroll page */
.app-scroll {
  min-height: auto;
}

.masthead {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem 1.25rem;
  padding-bottom: 0.75rem;
  margin-bottom: 0.35rem;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.masthead-sticky {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding-top: 0.75rem;
  margin-left: -0.25rem;
  margin-right: -0.25rem;
  padding-left: 0.25rem;
  padding-right: 0.25rem;
}

.masthead-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
}

.monogram {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid var(--border-hi);
  font-size: 0.85rem;
  color: var(--accent);
}

.site-name {
  color: var(--text-bright);
  letter-spacing: 0.08em;
}

.sep { color: var(--text-dim); }

.clock {
  color: var(--text-dim);
  font-variant-numeric: tabular-nums;
}

.masthead-nav {
  display: flex;
  gap: 0.25rem;
  flex-wrap: wrap;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: inherit;
}

.nav-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-dim);
  font-family: inherit;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  padding: 0.4rem 0.7rem;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
  text-decoration: none;
  display: inline-block;
}

.nav-btn:hover {
  color: var(--text-bright);
  border-color: var(--border-hi);
}

.nav-btn.active {
  color: var(--text-bright);
  border-color: var(--accent);
}

/* ── grid ───────────────────────────────────────────────── */
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 0.65rem;
  row-gap: 2px;
}

@media (max-width: 700px) {
  .grid { grid-template-columns: 1fr; }
}

.cell {
  background: var(--bg-2);
  border: 1px solid var(--border);
  padding: 1rem 1.35rem 1.15rem;
  min-width: 0;
}

.page-grid {
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  flex: 1;
  align-content: stretch;
  min-height: 0;
}

.page-grid > .cell {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}

/*
 * 2-column layout: ~2px vertical gap between rows, normal gap between columns.
 */
.site-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: min-content;
  column-gap: 1.25rem;
  row-gap: 1rem;
  flex: 0 0 auto;
  align-content: start;
  align-items: stretch;
  margin-top: 0.5rem;
}

.site-grid > .cell {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: auto;
  min-height: 0;
  align-self: stretch;
  scroll-margin-top: 3.5rem;
  grid-column: auto;
  margin: 0;
  border-top-width: 1px;
}

/* full-width sections (notes takes roblox's old slot as full width) */
.site-grid > .cell-notes,
.site-grid > .cell-wall,
.site-grid > .cell-term {
  grid-column: 1 / -1;
}

@media (max-width: 800px) {
  .site-grid {
    grid-template-columns: 1fr;
    row-gap: 2px;
  }
  .site-grid > .cell-wall {
    grid-column: auto;
  }
}

.cell-term .term {
  min-height: 88px;
}

/* expand fully — no inner scrollboxes */
.cell-term .term-out {
  max-height: none;
  overflow: visible;
}

.cell-audio .deck-queue {
  max-height: none;
  overflow: visible;
}

.cell-identity .presence-box {
  flex: 0 0 auto;
}

.cell-identity .links-stack {
  flex: 0 0 auto;
  min-height: 0;
  max-height: none;
  overflow: visible;
}

.links-stack .link-card {
  flex: 0 0 auto;
  min-height: 2.4rem;
}

.cell-label {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin: 0 0 0.65rem;
  line-height: 1.2;
  padding: 0;
}

/* identity */
.identity-row {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin: 0 0 0.75rem;
}

.avatar-wrap {
  flex-shrink: 0;
}

.avatar {
  width: 62px;
  height: 62px;
  border: 1px solid var(--border-hi);
  object-fit: cover;
  display: grid;
  place-items: center;
  background: #050505;
  color: var(--text-dim);
  font-size: 1.2rem;
  filter: grayscale(1);
  border-radius: 0;
}

.placeholder-avatar { font-family: var(--serif); }

.display-name {
  margin: 0 0 0.35rem;
  font-family: var(--serif);
  font-size: 2.15rem;
  font-weight: 400;
  color: var(--text-bright);
  letter-spacing: 0.02em;
  line-height: 1.15;
}

.tagline {
  margin: 0;
  font-size: 1rem;
  color: var(--text);
}

.identity-meta {
  min-width: 0;
  flex: 1;
}

/* vertical links stack */
.links-label {
  margin-top: 0.85rem;
  margin-bottom: 0.45rem;
}

.links-stack {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-height: 0;
}

.link-card {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-height: 4rem;
  padding: 0.7rem 0.95rem;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}

.link-card:hover {
  border-color: var(--border-hi);
  background: rgba(255, 255, 255, 0.045);
  transform: translateY(-1px);
}

.link-card:hover .link-card-go {
  color: var(--accent);
  transform: translateX(3px);
}

.link-card-av-wrap {
  flex-shrink: 0;
}

.link-card-av {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border: 1px solid var(--border-hi);
  border-radius: 0;
  background: #050505;
  display: block;
  filter: grayscale(1);
}

.link-card-meta {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
}

.link-card-platform {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.link-card-title {
  font-size: 1.15rem;
  color: var(--text-bright);
  font-family: var(--serif);
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.link-card-handle {
  font-size: 0.85rem;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.link-card-sub {
  font-size: 0.62rem;
  margin-top: 0;
  display: none; /* denser cards — platform + handle is enough */
}

.link-card-go {
  flex-shrink: 0;
  color: var(--text-dim);
  font-size: 1.15rem;
  transition: color 0.15s, transform 0.15s;
}

.link-card--instagram:hover { border-color: var(--border-hi); }

.link-card--x:hover, .link-card--twitter:hover { border-color: var(--accent); }

.link-card--discord:hover { border-color: var(--border-hi); }

/* legacy chip styles (kept for any leftover use) */
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.chip {
  display: inline-block;
  border: 1px solid var(--border-hi);
  padding: 0.15rem 0.5rem;
  font-size: 0.7rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.06em;
  transition: border-color 0.15s, color 0.15s;
}

.chip:hover {
  color: var(--text-bright);
  border-color: var(--accent);
}

@media (max-width: 560px) {
  .app {
    padding: 0.75rem 0.85rem 1rem;
  }
  .avatar {
    width: 50px;
    height: 50px;
  }
  .display-name {
    font-size: 1.75rem;
  }
  .vinyl-wrap,
  .vinyl {
    width: 84px;
    height: 84px;
  }
  .link-card {
    min-height: 3.2rem;
    padding: 0.55rem 0.7rem;
    gap: 0.6rem;
  }
  .link-card-av {
    width: 34px;
    height: 34px;
  }
  .link-card-title {
    font-size: 1.05rem;
  }
}

/* lanyard */
.presence-box {
  border-top: 1px solid var(--border);
  padding-top: 0.75rem;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.lanyard-top {
  display: flex;
  gap: 0.65rem;
  align-items: center;
}

.lanyard-av {
  width: 34px;
  height: 34px;
  border-radius: 0;
  border: 1px solid var(--border-hi);
  background: #111;
  filter: grayscale(1);
}

.lanyard-name-row {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.lanyard-dn {
  font-size: 1.05rem;
  color: var(--text-bright);
}

.lanyard-badge {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  image-rendering: auto;
  opacity: 0.95;
}

.lanyard-status-line {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  color: var(--text-dim);
  margin-top: 0.1rem;
}

.dot { width: 6px; height: 6px; border-radius: 50%; background: #333;
  flex-shrink: 0;
}
.dot.online { background: #ffffff; }
.dot.idle { background: #999999; }
.dot.dnd { background: #555555; }
.dot.offline { background: #333333; }

.lanyard-extra {
  margin-top: 0.55rem;
  font-size: 0.72rem;
  color: var(--text-dim);
}
.lanyard-extra strong { color: var(--text); font-weight: 500; }

.lanyard-fallback {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.75rem;
  color: var(--text-dim);
  flex-wrap: wrap;
}

.muted { color: var(--text-dim); opacity: 0.8; font-size: 0.65rem; }

/* currently */
.now-text {
  margin: 0 0 0.25rem;
  font-family: var(--serif);
  font-size: 1rem;
  font-style: italic;
  color: var(--text-bright);
}

.now-playing {
  margin: 0 0 0.25rem;
}

.np-link {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
  padding: 0.35rem;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, background 0.15s;
}

.np-link:hover {
  border-color: var(--border-hi);
  background: rgba(255, 255, 255, 0.04);
}

.np-art {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border: 1px solid var(--border-hi);
  background: #050505;
  flex-shrink: 0;
}

.np-meta {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.np-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.2rem;
}

.np-live {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.35);
  animation: np-pulse 1.6s ease infinite;
}

@keyframes np-pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.35); }
  70% { box-shadow: 0 0 0 6px rgba(255, 255, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(122, 158, 126, 0); }
}

.np-song {
  font-size: 0.95rem;
  color: var(--text-bright);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.np-artist,
.np-album {
  font-size: 0.75rem;
  color: var(--text-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.np-progress {
  margin-top: 0.55rem;
  height: 3px;
  background: var(--border-hi);
  border-radius: 0;
  overflow: hidden;
}

.np-bar {
  height: 100%;
  width: 0%;
  background: var(--accent);
  transition: width 0.4s linear;
}

.np-times {
  display: flex;
  justify-content: space-between;
  font-size: 0.65rem;
  color: var(--text-dim);
  font-variant-numeric: tabular-nums;
  margin-top: 0.25rem;
}

.now-playing-idle {
  margin: 0 0 0.25rem;
}

.now-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.now-list li {
  font-size: 0.8rem;
  padding: 0.15rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  display: flex;
  gap: 0.5rem;
}

.now-list li span:first-child {
  color: var(--text-dim);
  min-width: 4.5rem;
  flex-shrink: 0;
}

/* audio deck */
.deck-main {
  display: flex;
  gap: 1.15rem;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

.deck-meta {
  flex: 1;
  min-width: 0;
  padding-top: 0.15rem;
}

/* spinning vinyl / album cover */
.vinyl-wrap {
  flex-shrink: 0;
  width: 104px;
  height: 104px;
  perspective: 400px;
}

.vinyl {
  position: relative;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  background:
    repeating-radial-gradient(
      circle at center,
      #0a0a0a 0,
      #0a0a0a 2px,
      #161616 2px,
      #161616 4px
    );
  filter: grayscale(1);
  box-shadow:
    0 0 0 1px var(--border-hi),
    0 12px 36px rgba(0, 0, 0, 0.55);
  overflow: hidden;
  animation: vinyl-spin 8s linear infinite;
  animation-play-state: paused;
}

.vinyl.spinning {
  animation-play-state: running;
}

@keyframes vinyl-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.album-cover {
  position: absolute;
  inset: 16px;
  width: calc(100% - 32px);
  height: calc(100% - 32px);
  border-radius: 50%;
  object-fit: cover;
  background: #050505;
  transition: opacity 0.3s;
  filter: grayscale(1) contrast(1.05);
}

.album-cover.loading {
  opacity: 0.45;
}

.vinyl-label {
  position: absolute;
  inset: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  pointer-events: none;
}

.vinyl-hole {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--border-hi);
  z-index: 2;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.4);
}

.deck-display {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.deck-title {
  color: var(--text-bright);
  font-size: 1.15rem;
  font-family: var(--serif);
}

.deck-artist {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-top: 0.25rem;
  min-height: 1em;
}

.deck-time {
  font-size: 0.85rem;
  color: var(--text-dim);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 560px) {
  .deck-main {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .deck-display {
    flex-direction: column;
    align-items: center;
  }
  .deck-controls {
    justify-content: center;
  }
  .deck-vol {
    margin: 0;
  }
}

.deck-progress,
.deck-vol {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  background: var(--border-hi);
  border-radius: 0;
  outline: none;
  cursor: pointer;
  margin-bottom: 0.45rem;
}

.deck-progress::-webkit-slider-thumb,
.deck-vol::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 10px;
  height: 10px;
  background: var(--accent);
  border: none;
  cursor: pointer;
}

.deck-progress::-moz-range-thumb,
.deck-vol::-moz-range-thumb {
  width: 10px;
  height: 10px;
  background: var(--accent);
  border: none;
  cursor: pointer;
}

.deck-controls {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.45rem;
}

.deck-btn {
  background: transparent;
  border: 1px solid var(--border-hi);
  color: var(--text);
  width: 32px;
  height: 32px;
  font-family: inherit;
  font-size: 0.95rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.15s, color 0.15s;
}

.deck-btn:hover {
  background: rgba(255,255,255,0.04);
  color: var(--text-bright);
}

.deck-play { width: 40px; }

.deck-vol {
  max-width: 90px;
  margin: 0 0 0 auto;
}

.deck-queue {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--border);
  max-height: none;
  overflow: visible;
}

.deck-queue li {
  padding: 0.55rem 0.35rem;
  font-size: 0.9rem;
  cursor: pointer;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}

.deck-queue li:hover,
.deck-queue li.active {
  color: var(--text-bright);
}

.deck-queue li.active {
  border-left: 2px solid var(--accent);
  padding-left: 0.4rem;
}

.deck-queue li.queue-template {
  opacity: 0.4;
  cursor: default;
  font-style: italic;
}

.deck-queue li.queue-template:hover {
  color: var(--text);
}

/* notes */
.notes-feed {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.note {
  border-left: 3px solid var(--border-hi);
  padding-left: 0.75rem;
}

.note-date {
  font-size: 0.7rem;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  margin-bottom: 0.15rem;
}

.note-body {
  margin: 0;
  font-size: 1.05rem;
  color: var(--text);
}

/* terminal */
.term {
  background: #050505;
  border: 1px solid var(--border);
  padding: 0.85rem 1rem;
  min-height: 140px;
  display: flex;
  flex-direction: column;
}

.term-out {
  flex: 1;
  font-size: 0.9rem;
  color: var(--text-dim);
  white-space: pre-wrap;
  margin-bottom: 0.65rem;
  max-height: none;
  overflow: visible;
  min-height: 5em;
}

.term-line {
  display: flex;
  gap: 0.55rem;
  align-items: center;
}

.term-ps {
  color: var(--green);
  font-size: 0.95rem;
  flex-shrink: 0;
}

.term-in {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-bright);
  font-family: inherit;
  font-size: 0.95rem;
}

.term-help {
  margin: 0.55rem 0 0;
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* wall / guestbook */
.wall-form { margin-bottom: 0.75rem; }

.wall-row {
  display: flex;
  gap: 0.55rem;
  margin-bottom: 0.55rem;
}

.wall-input {
  background: #050505;
  border: 1px solid var(--border);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  padding: 0.7rem 0.9rem;
  outline: none;
  width: 100%;
}

.wall-input:focus { border-color: var(--border-hi); }

.wall-row .wall-input { flex: 1; max-width: 280px; }

.wall-body { resize: vertical; min-height: 80px; }

.wall-send {
  background: transparent;
  border: 1px solid var(--border-hi);
  color: var(--text);
  width: 34px;
  font-family: inherit;
  font-size: 1.05rem;
  cursor: pointer;
}

.wall-send:hover { color: var(--text-bright); }

.wall-status {
  margin: 0.45rem 0 0;
  font-size: 0.85rem;
  color: var(--text-dim);
  min-height: 1em;
}

.wall-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.wall-entry {
  border: 1px solid var(--border);
  padding: 0.7rem 0.95rem;
  background: rgba(255,255,255,0.01);
}

.wall-meta {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 0.4rem;
}

.wall-name { color: var(--accent); letter-spacing: 0.04em; }

.wall-body-text {
  margin: 0;
  font-size: 1.05rem;
  color: var(--text);
  white-space: pre-wrap;
  word-break: break-word;
}

/* footer */
.foot {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-dim);
  letter-spacing: 0.1em;
  flex-shrink: 0;
}

[hidden] { display: none !important; }
