/* Gather Musicians — Müzik Günlüğü / Albüm İncelemeleri */

.journal-main {
  flex: 1;
  min-width: 0;
  padding: 1.25rem 1.5rem 5rem;
}

.journal-guest-auth-btn {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.9rem;
  border: none;
  border-radius: 10px;
  background: var(--blue-600);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
}

.journal-guest-mode #journalUserAv,
.journal-guest-mode #journalSidebarProfile {
  display: none !important;
}

.journal-guest-mode #journalGuestAuthNav {
  display: inline-flex !important;
}

.journal-sidebar-guest {
  display: none;
  flex-direction: column;
  gap: 0.65rem;
  padding: 0.85rem;
  margin-bottom: 1rem;
  border-radius: 14px;
  border: 1px solid var(--blue-100);
  background: var(--blue-50);
}

html.dark .journal-sidebar-guest {
  background: #0d1829;
  border-color: #112240;
}

.journal-guest-mode #journalSidebarGuest {
  display: flex;
}

.journal-guest-mode .sidebar-nav a[href*='profil'] {
  display: none;
}

.journal-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 0;
}

.album-page-inner {
  max-width: 720px;
  margin: 0 auto;
}

.journal-page-title {
  font-family: 'Instrument Serif', serif;
  font-size: 1.85rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}

.journal-page-sub {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.journal-search-wrap {
  position: relative;
  margin-bottom: 1rem;
}

.journal-search-input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.85rem 1rem 0.85rem 2.65rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  background: var(--card);
  color: var(--text);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.journal-search-input:focus {
  border-color: var(--blue-400);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.journal-search-icon {
  position: absolute;
  left: 0.95rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  opacity: 0.55;
  pointer-events: none;
}

.journal-search-results {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--card);
  overflow: hidden;
  margin-bottom: 1rem;
  max-height: 320px;
  overflow-y: auto;
}

.journal-search-results:empty {
  display: none;
}

.journal-recent-section {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.journal-recent-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin-bottom: 1rem;
}

.journal-recent-title {
  font-family: 'Instrument Serif', serif;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  margin: 0;
}

.journal-tabs--compact {
  margin: 0;
}

.journal-tabs--compact .journal-tab {
  padding: 0.35rem 0.65rem;
  font-size: 0.75rem;
}

.journal-recent-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.journal-recent-album-card {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--card);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.journal-recent-album-card:hover {
  border-color: var(--blue-400);
  box-shadow: 0 4px 18px rgba(37, 99, 235, 0.08);
}

.journal-recent-cover {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--gray-100);
}

.journal-recent-cover--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  opacity: 0.5;
}

.journal-recent-body {
  flex: 1;
  min-width: 0;
}

.journal-recent-album-name {
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.3;
  margin-bottom: 0.15rem;
}

.journal-recent-artist {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.journal-recent-stars {
  font-size: 0.82rem;
  margin-bottom: 0.25rem;
}

.journal-recent-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  font-size: 0.72rem;
  color: var(--muted);
  margin-bottom: 0.2rem;
}

.journal-recent-latest {
  font-size: 0.72rem;
  color: var(--muted);
}

.journal-recent-latest strong {
  color: var(--text);
  font-weight: 500;
}

.journal-recent-preview {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.45;
  margin: 0.35rem 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.journal-recent-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

.journal-recent-more-btn {
  width: 100%;
  max-width: 280px;
  justify-content: center;
}

.journal-spotify-attribution {
  font-size: 0.68rem;
  color: var(--muted);
  line-height: 1.45;
  margin: 0.85rem 0 0;
  opacity: 0.85;
}

.album-spotify-link {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: rgba(30, 215, 96, 0.15);
  color: #1ed760;
  font-size: 0.72rem;
  font-weight: 600;
  text-decoration: none;
}

.album-spotify-link:hover {
  background: rgba(30, 215, 96, 0.28);
}

.album-tracks-section {
  margin: 1rem 0 1.25rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--card);
}

.album-tracks-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0 0 0.65rem;
}

.album-tracks-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.album-tracks-list--extra {
  display: none;
  margin-top: 0.5rem;
}

.album-tracks-section.is-expanded .album-tracks-list--extra {
  display: flex;
}

.album-tracks-expand-btn {
  display: block;
  width: 100%;
  max-width: 200px;
  margin: 0.75rem auto 0;
  text-align: center;
  justify-content: center;
}

.album-tracks-section.is-expanded .album-tracks-expand-btn {
  margin-top: 0.85rem;
}

.album-track-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.84rem;
}

.album-track-item:last-child {
  border-bottom: none;
}

.album-track-num {
  width: 1.5rem;
  color: var(--muted);
  font-size: 0.75rem;
  flex-shrink: 0;
}

.album-track-name {
  flex: 1;
  min-width: 0;
}

.album-track-spotify {
  font-size: 0.72rem;
  color: #1ed760;
  text-decoration: none;
  margin-left: 0.35rem;
}

.album-track-preview {
  height: 28px;
  max-width: 220px;
}

.album-track-no-preview {
  font-size: 0.72rem;
  color: var(--muted);
}

.journal-album-hit {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: none;
  border-bottom: 1px solid var(--border);
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  color: var(--text);
  transition: background 0.15s;
}

.journal-album-hit:last-child {
  border-bottom: none;
}

.journal-album-hit:hover,
.journal-album-hit.is-selected {
  background: rgba(37, 99, 235, 0.08);
}

.journal-album-hit img {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--gray-100);
  flex-shrink: 0;
}

.journal-album-hit-meta {
  min-width: 0;
  flex: 1;
}

.journal-album-hit-name {
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.3;
}

.journal-album-hit-artist {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.15rem;
}

.journal-compose {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.1rem;
  background: var(--card);
  margin-top: 1rem;
}

.journal-compose[hidden] {
  display: none !important;
}

.journal-compose-head {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.journal-compose-cover {
  width: 88px;
  height: 88px;
  border-radius: 10px;
  object-fit: cover;
  background: var(--gray-100);
  flex-shrink: 0;
}

.journal-compose-info h2 {
  font-family: 'Instrument Serif', serif;
  font-size: 1.25rem;
  line-height: 1.25;
  margin: 0 0 0.2rem;
}

.journal-compose-info p {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0;
}

.journal-stars {
  display: flex;
  gap: 0.15rem;
  margin: 0.75rem 0 0.35rem;
  user-select: none;
  --journal-star-inactive: var(--gray-200);
  --journal-star-gold: #e8b923;
  --journal-star-gold-glow: #f5d76e;
}

html.dark .journal-stars {
  --journal-star-inactive: #3d4f6f;
  --journal-star-gold: #f5c518;
  --journal-star-gold-glow: #ffe566;
}

.journal-star {
  position: relative;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 1.65rem;
  line-height: 1;
  color: var(--journal-star-inactive);
  transition: transform 0.1s, color 0.15s;
}

.journal-star.is-full {
  color: var(--journal-star-gold);
  text-shadow: 0 0 10px rgba(232, 185, 35, 0.35);
}

.journal-star.is-half {
  color: transparent;
  background: linear-gradient(
    90deg,
    var(--journal-star-gold) 0%,
    var(--journal-star-gold) 50%,
    var(--journal-star-inactive) 50%,
    var(--journal-star-inactive) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.journal-star:hover {
  transform: scale(1.08);
}

.journal-stars-display {
  display: inline-flex;
  gap: 0.05rem;
  align-items: center;
  letter-spacing: 0.02em;
}

.journal-stars-display .journal-star-gold {
  color: var(--journal-star-gold, #e8b923);
}

.journal-stars-display .journal-star-empty {
  color: var(--journal-star-inactive, var(--gray-200));
}

html.dark .journal-stars-display .journal-star-empty {
  color: var(--journal-star-inactive, #3d4f6f);
}

.journal-stars-display .journal-star-half {
  position: relative;
  display: inline-block;
  width: 1em;
  height: 1em;
  font-size: inherit;
  line-height: 1;
}

.journal-stars-display .journal-star-half-empty,
.journal-stars-display .journal-star-half-full {
  position: absolute;
  left: 0;
  top: 0;
  font-size: inherit;
  line-height: 1;
}

.journal-stars-display .journal-star-half-empty {
  color: var(--journal-star-inactive, var(--gray-200));
}

.journal-stars-display .journal-star-half-full {
  color: var(--journal-star-gold, #e8b923);
  width: 50%;
  overflow: hidden;
}

.journal-rating-label {
  font-size: 0.78rem;
  color: var(--muted);
  min-height: 1.1rem;
}

.journal-textarea {
  width: 100%;
  min-height: 120px;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  line-height: 1.55;
  resize: vertical;
  background: var(--bg);
  color: var(--text);
  margin-top: 0.75rem;
}

.journal-textarea:focus {
  outline: none;
  border-color: var(--blue-400);
}

.journal-submit-row {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 0.85rem;
}

.journal-btn-primary {
  background: var(--blue-600);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 0.55rem 1.25rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
}

.journal-btn-primary:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.journal-btn-ghost {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.55rem 1rem;
  font-family: inherit;
  font-size: 0.85rem;
  cursor: pointer;
}

/* ─── Albüm sayfası hero ─── */
.album-hero {
  position: relative;
  border-radius: 0 0 24px 24px;
  overflow: hidden;
  margin: -1.25rem -1.25rem 1.25rem;
  min-height: 280px;
  display: flex;
  align-items: flex-end;
}

.album-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(28px) brightness(0.45);
  transform: scale(1.1);
}

.album-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 55%);
}

.album-hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 1.25rem;
  align-items: flex-end;
  padding: 1.5rem 1.25rem;
  width: 100%;
}

.album-hero-cover {
  width: 140px;
  height: 140px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  flex-shrink: 0;
}

.album-hero-text {
  color: #fff;
  min-width: 0;
}

.album-hero-text h1 {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(1.5rem, 4vw, 2rem);
  line-height: 1.15;
  margin: 0 0 0.25rem;
}

.album-hero-artist {
  font-size: 0.95rem;
  opacity: 0.9;
  margin-bottom: 0.5rem;
}

.album-hero-meta {
  font-size: 0.78rem;
  opacity: 0.75;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.album-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.album-stats strong {
  color: var(--text);
  font-weight: 600;
}

.journal-tabs {
  display: flex;
  gap: 0.35rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0;
}

.journal-tab {
  padding: 0.5rem 0.85rem;
  border: none;
  background: transparent;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  color: var(--muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.15s, border-color 0.15s;
}

.journal-tab.is-active {
  color: var(--blue-600);
  border-bottom-color: var(--blue-600);
  font-weight: 500;
}

html.dark .journal-tab.is-active {
  color: #93c5fd;
  border-bottom-color: #93c5fd;
}

.journal-review-card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem 2.75rem 1rem 1rem;
  background: var(--card);
  margin-bottom: 0.85rem;
}

.journal-review-head {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin-bottom: 0.55rem;
  position: relative;
}

.journal-review-head-main {
  flex: 1;
  min-width: 0;
}

.journal-review-menu-wrap {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  z-index: 5;
}

.journal-review-menu-btn {
  width: 2.1rem;
  height: 2.1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card);
  color: var(--text);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.06);
}

.journal-review-menu-btn span {
  display: block;
  margin-top: -2px;
}

.journal-review-menu-btn:hover,
.journal-review-menu-btn.is-open {
  background: var(--gray-100);
  color: var(--text);
}

html.dark .journal-review-menu-btn:hover,
html.dark .journal-review-menu-btn.is-open {
  background: #1a2236;
}

.journal-review-menu-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  min-width: 160px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.14);
  z-index: 50;
  overflow: hidden;
  padding: 0.25rem 0;
}

.journal-review-menu-dropdown:not([hidden]) {
  display: block;
}

.journal-review-menu-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  width: 100%;
  padding: 0.55rem 0.85rem;
  border: none;
  background: transparent;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  color: var(--text);
  cursor: pointer;
  text-align: left;
}

.journal-review-menu-item:hover {
  background: var(--gray-100);
}

html.dark .journal-review-menu-item:hover {
  background: #1a2236;
}

.journal-review-report-btn {
  color: #dc2626;
}

.journal-review-menu-item--muted {
  color: var(--muted);
  font-size: 0.78rem;
  cursor: default;
  pointer-events: none;
}

.journal-duplicate-notice {
  margin: 0 0 1rem;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  border: 1px solid #fcd34d;
  background: #fffbeb;
  font-size: 0.85rem;
  line-height: 1.45;
  color: #92400e;
}

html.dark .journal-duplicate-notice {
  background: #2a2208;
  border-color: #854d0e;
  color: #fde68a;
}

.journal-duplicate-notice a {
  color: var(--blue-600);
  font-weight: 500;
}

.journal-review-av {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  overflow: hidden;
}

.journal-review-av img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.journal-review-user {
  font-size: 0.88rem;
  font-weight: 500;
}

.journal-review-time {
  font-size: 0.72rem;
  color: var(--muted);
}

.journal-review-stars-inline {
  font-size: 0.85rem;
  margin: 0.2rem 0 0.45rem;
  --journal-star-inactive: var(--gray-200);
  --journal-star-gold: #e8b923;
}

html.dark .journal-review-stars-inline {
  --journal-star-inactive: #3d4f6f;
  --journal-star-gold: #f5c518;
}

.journal-review-stars-inline .journal-rating-num {
  color: var(--muted);
  font-size: 0.78rem;
}

.journal-review-body {
  font-size: 0.9rem;
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-word;
}

.journal-review-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.65rem;
}

.journal-action-btn {
  border: none;
  background: var(--gray-100);
  color: var(--muted);
  font-family: inherit;
  font-size: 0.78rem;
  padding: 0.35rem 0.7rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

html.dark .journal-action-btn {
  background: #1a2236;
}

.journal-action-btn:hover {
  background: rgba(37, 99, 235, 0.1);
  color: var(--blue-600);
}

.journal-action-btn.is-liked {
  color: var(--blue-600);
  font-weight: 500;
}

.journal-reply-form {
  margin-top: 0.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.journal-reply-form[hidden] {
  display: none !important;
}

.journal-reply-input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.55rem 0.75rem;
  font-family: inherit;
  font-size: 0.85rem;
  background: var(--bg);
  color: var(--text);
  resize: vertical;
  min-height: 56px;
}

.journal-comments-thread {
  margin-top: 0.75rem;
  padding-left: 0.75rem;
  border-left: 2px solid var(--border);
}

.journal-comment {
  margin-top: 0.55rem;
  padding: 0.5rem 0.65rem;
  border-radius: 10px;
  background: var(--gray-50);
  font-size: 0.82rem;
  line-height: 1.45;
}

html.dark .journal-comment {
  background: #0d1320;
}

.journal-comment.is-nested {
  margin-left: 1.25rem;
}

.journal-comment-head {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.25rem;
  font-size: 0.75rem;
}

.journal-comment-author {
  font-weight: 500;
  color: var(--text);
}

.journal-comment-time {
  color: var(--muted);
}

.journal-empty {
  text-align: center;
  padding: 2.5rem 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.journal-loading {
  text-align: center;
  padding: 2rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.journal-top-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  color: var(--blue-600);
  text-decoration: none;
  margin-bottom: 0.75rem;
}

.journal-top-link:hover {
  text-decoration: underline;
}

@media (max-width: 560px) {
  .album-hero-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .album-hero-cover {
    width: 120px;
    height: 120px;
  }
}

/* ─── Şarkı incelemeleri (145_track_reviews) ─── */

.journal-search-mode {
  margin-bottom: 10px;
}

.journal-recent-type-badge {
  display: inline-block;
  vertical-align: 2px;
  margin-left: 4px;
  padding: 1px 7px;
  border-radius: 999px;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--blue-600, #2563eb);
  background: var(--blue-50, #eff6ff);
  border: 1px solid var(--blue-100, #dbeafe);
}

html.dark .journal-recent-type-badge {
  color: #93c5fd;
  background: #112240;
  border-color: #1e3a5f;
}

/* Albüm rozeti — şarkıdan (mavi) ayırmak için nötr gri ton. */
.journal-recent-type-badge--album {
  color: var(--gray-500, #64748b);
  background: var(--gray-100, #f1f5f9);
  border-color: var(--gray-200, #e2e8f0);
}

html.dark .journal-recent-type-badge--album {
  color: #8899bb;
  background: #1a2236;
  border-color: #1e2d4a;
}

/* Şarkı sayfasındaki Spotify çalar — yatay kompakt dikdörtgen */
.album-track-embed iframe {
  display: block;
  width: 100%;
  height: 80px;
  border: none;
  border-radius: 12px;
}
