/* ── Detail panel (#15) ── */
.detail-panel {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: var(--sidebar-width);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(24px);
  border-right: 1px solid rgba(32,33,36,0.08);
  z-index: 30;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 0 16px 16px 0;
}
.detail-panel[hidden] { display: none !important; }

.detail-panel-head {
  padding: 16px;
  border-bottom: 1px solid rgba(32,33,36,0.06);
}
.detail-close {
  border: none;
  background: rgba(0,0,0,0.04);
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--ink);
  box-shadow: none;
  min-height: unset;
}
.detail-close:hover { background: rgba(0,0,0,0.08); transform: none; }

.detail-panel-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
}

.detail-title {
  font-family: Georgia, serif;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  margin: 0 0 4px;
  color: var(--ink);
}

.detail-meta {
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 600;
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.detail-image {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 14px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

.detail-content {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--ink);
  white-space: pre-wrap;
}