/* VoiceNotes -- app-specific layer over house-style.css */

.vn-wrap { max-width: 640px; }

.vn-head { text-align: center; padding: 26px 0 8px; }
.vn-mark {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 30px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}
.vn-by {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--purple);
  margin-top: 8px;
}
.vn-back {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
  text-align: left;
}
.vn-back:hover { color: var(--accent); text-decoration: none; }
.vn-back::before { content: "\2190\00a0\00a0"; }

.vn-note { margin-top: 26px; }
.vn-note h1 { font-size: 30px; line-height: 1.25; }
.vn-date { margin: 4px 0 26px; }

/* ---- player ---- */
.vn-player {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
}
.vn-play {
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1px solid var(--accent-dim);
  background: transparent;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.15s, background 0.15s;
}
.vn-play:hover { border-color: var(--accent); background: rgba(201, 169, 110, 0.06); color: inherit; }
.vn-play svg { width: 26px; height: 26px; fill: var(--accent); display: block; }
.vn-play .vn-ic-pause { display: none; }
.vn-player.playing .vn-ic-play { display: none; }
.vn-player.playing .vn-ic-pause { display: block; }

.vn-track { flex: 1; min-width: 0; }
.vn-bar {
  height: 4px;
  border-radius: 2px;
  background: var(--border);
  cursor: pointer;
  position: relative;
  padding: 0;
}
/* generous invisible hit area above/below the thin bar */
.vn-bar::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; bottom: -10px; }
.vn-fill {
  height: 100%;
  width: 0%;
  border-radius: 2px;
  background: var(--accent);
  transition: width 0.1s linear;
}
.vn-times {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.vn-blurb { margin-top: 28px; }
.vn-blurb p { font-style: italic; color: var(--silver); }

/* ---- index ---- */
.vn-list { display: flex; flex-direction: column; gap: 14px; }
.vn-row { display: block; text-decoration: none; }
.vn-row:hover { text-decoration: none; }
.vn-row-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 19px;
  letter-spacing: 0.06em;
  color: var(--text);
  margin-bottom: 4px;
}
.vn-row:hover .vn-row-title { color: var(--accent); }
.vn-row-blurb { font-size: 17px; color: var(--muted); margin-top: 8px; font-style: italic; }

.vn-empty {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 20px;
  color: var(--muted);
  text-align: center;
  padding: 70px 20px;
}

.vn-foot {
  margin-top: 70px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.vn-foot a { color: var(--muted); }
.vn-foot a:hover { color: var(--accent); text-decoration: none; }

@media (max-width: 480px) {
  .vn-player { gap: 14px; padding: 18px; }
  .vn-play { width: 54px; height: 54px; }
  .vn-note h1 { font-size: 25px; }
}
