.aside-trigger {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  cursor: pointer;
}
.aside-trigger .term {
  border-bottom: 1px solid #888;
  transition: border-color 0.2s, color 0.2s;
}
.aside-trigger.active .term {
  border-bottom: 1.5px solid #D46A1A;
  color: #D46A1A;
}
.aside-icon {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid #888;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 400;
  color: #888;
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
  flex-shrink: 0;
  line-height: 1;
  padding-bottom: 1px;
}
.aside-trigger.active .aside-icon {
  border-color: #D46A1A;
  color: #D46A1A;
  transform: rotate(45deg);
}
.aside-card {
  display: none;
  margin: 1rem 0 1.25rem 0;
  background: var(--entry);
  border-left: 3px solid #D46A1A;
  border-radius: 0 8px 8px 0;
  padding: 1rem 1.25rem;
  font-size: 14px;
  line-height: 1.7;
  color: var(--primary);
  animation: slideDown 0.18s ease;
}
.aside-card.open { display: block; }
.aside-label {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #D46A1A;
  margin-bottom: 0.5rem;
}
.aside-close {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.75rem;
}
.aside-close button {
  font-size: 12px;
  background: none;
  border: 0.5px solid #ccc;
  border-radius: 4px;
  padding: 3px 10px;
  cursor: pointer;
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
.pulse {
  animation: pulse 0.5s ease;
}
@keyframes pulse {
  0% { color: inherit; }
  40% { color: #D46A1A; }
  100% { color: inherit; }
}

.listening-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
  margin: 2rem 0;
}

.album-card {
  display: block;
  overflow: hidden;
  border-radius: 6px;
  text-decoration: none;
  color: var(--primary);
}

.album-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: opacity 0.2s;
  display: block;
}

.album-card:hover img {
  opacity: 0.85;
}

.album-info {
  padding: 0.5rem 0.25rem;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.album-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--primary);
}

.album-artist {
  font-size: 12px;
  color: var(--secondary);
}
.aimeter {
  margin: 3rem 0 1rem;
  padding-top: 1.5rem;
  border-top: 0.5px solid #444;
}
.aimeter-label {
  font-size: 12px;
  color: var(--secondary);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.aimeter-bar {
  display: flex;
  height: 28px;
  border-radius: 4px;
  overflow: hidden;
  width: 100%;
}
.aimeter-human {
  background: #D46A1A;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: #fff;
  font-weight: 500;
  transition: width 0.3s ease;
  overflow: hidden;
  white-space: nowrap;
}
.aimeter-ai {
  background: #444;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: #aaa;
  font-weight: 400;
  transition: width 0.3s ease;
  overflow: hidden;
  white-space: nowrap;
}