/* ── World detail page ───────────────────────────────────────── */
.wv-page {
  max-width: 640px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

.wv-back {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s;
  margin-bottom: 0.75rem;
}
.wv-back:hover { color: var(--btn-blue); }

.wv-title {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1rem;
  letter-spacing: 0.01em;
}

/* ── Thumbnail ───────────────────────────────────────────────── */
.wv-thumb {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.wv-thumb-letter {
  font-family: 'Fredoka', sans-serif;
  font-size: 4rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
  user-select: none;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.15);
  line-height: 1;
}

/* ── Actions bar ─────────────────────────────────────────────── */
.wv-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.wv-play-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  padding: 0.55rem 0;
  margin-bottom: 0.5rem;
  background: var(--btn-green-gradient);
  color: #fff;
  font-family: 'Nunito', sans-serif;
  font-size: 0.875rem;
  font-weight: 800;
  border-radius: var(--radius-sm);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s, transform 0.1s;
}
.wv-play-btn:hover {
  background: var(--btn-green-gradient-hover);
  transform: translateY(-1px);
}

.wv-vote-row {
  display: flex;
  gap: 0.35rem;
}

.wv-vote-btn {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.45rem 0.8rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  font-family: 'Nunito', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.wv-vote-up:hover   { border-color: var(--green); color: var(--green); background: rgba(34,197,94,0.06); }
.wv-vote-down:hover { border-color: var(--red);   color: var(--red);   background: var(--red-bg); }

.wv-playing {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-left: 0.25rem;
}

.wv-creator {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 700;
  margin-left: auto;
  transition: opacity 0.15s;
}
.wv-creator:hover { opacity: 0.7; }

.wv-creator-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--btn-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Fredoka', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

/* ── Ratings bar ─────────────────────────────────────────────── */
.wv-ratings-bar {
  height: 4px;
  background: var(--border-subtle);
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 1rem;
}
.wv-ratings-fill {
  height: 100%;
  background: var(--green);
  border-radius: 99px;
}

/* ── Meta chips ──────────────────────────────────────────────── */
.wv-meta-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.wv-chip {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 0.2rem 0.75rem;
}

.wv-chip-label {
  font-weight: 800;
  color: var(--text);
  margin-right: 0.25rem;
}

/* ── Description / Comments ──────────────────────────────────── */
.wv-section-title {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--border);
}

.wv-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.7;
  white-space: pre-line;
  margin-bottom: 1.5rem;
}

.wv-muted { color: var(--text-muted); font-style: italic; }

/* ── Comments tab ────────────────────────────────────────────── */
.wv-tabs {
  display: flex;
  border-bottom: 2px solid var(--border-subtle);
  margin-bottom: 0.75rem;
}
.wv-tab {
  padding: 0.4rem 1rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color 0.15s, border-color 0.15s;
}
.wv-tab.active {
  color: var(--btn-blue);
  border-bottom-color: var(--btn-blue);
}

.wv-comments-empty {
  text-align: center;
  color: var(--text-muted);
}
