/* Jewel MU — Changelogs web (público) */

.clw-shell {
  max-width: var(--layout-index-span, 920px);
  margin: 0 auto 48px;
  padding: 0 4px;
}

.clw-hero {
  position: relative;
  margin-bottom: 24px;
  padding: 28px 22px 26px;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: linear-gradient(145deg, rgba(28, 22, 18, 0.95) 0%, rgba(14, 14, 18, 0.98) 100%);
  overflow: hidden;
}

.clw-hero-glow {
  position: absolute;
  inset: -30% -10% auto;
  height: 100%;
  background: radial-gradient(ellipse at 20% 30%, rgba(255, 140, 60, 0.18) 0%, transparent 50%);
  pointer-events: none;
}

.clw-hero-inner { position: relative; z-index: 1; }

.clw-eyebrow {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ff9f5a;
}

.clw-title {
  margin: 0 0 10px;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 900;
  color: #f5f7fc;
}

.clw-lead {
  margin: 0 0 10px;
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.55;
  max-width: 660px;
}

.clw-lead a { color: #6eb6ff; }

.clw-legend {
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.clw-legend-anadido {
  background: rgba(34, 197, 94, 0.2);
  color: #6ee7a0;
}

.clw-legend-fix {
  background: rgba(251, 191, 36, 0.2);
  color: #fcd34d;
}

.clw-legend-eliminado {
  background: rgba(239, 68, 68, 0.2);
  color: #fca5a5;
}

.clw-meta { margin: 6px 0 0; font-size: 13px; color: var(--text-3); }

.clw-list-scroll-hint {
  margin: 0 0 10px;
  padding: 8px 12px;
  font-size: 12px;
  color: var(--text-3);
  border-radius: var(--r);
  border: 1px solid rgba(255, 159, 90, 0.2);
  background: rgba(255, 159, 90, 0.06);
}

.clw-list-wrap {
  margin-top: 0;
  max-height: min(68vh, 720px);
  overflow-x: hidden;
  overflow-y: auto;
  padding: 10px 10px 12px 8px;
  border-radius: var(--r-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(8, 10, 16, 0.55);
  -webkit-overflow-scrolling: touch;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 159, 90, 0.55) rgba(0, 0, 0, 0.35);
}

.clw-list-wrap::-webkit-scrollbar {
  width: 10px;
}

.clw-list-wrap::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
}

.clw-list-wrap::-webkit-scrollbar-thumb {
  background: rgba(255, 159, 90, 0.45);
  border-radius: 8px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

.clw-list-wrap::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 159, 90, 0.72);
  background-clip: padding-box;
}

.clw-list-wrap .clw-entry:last-child {
  margin-bottom: 0;
}

.clw-entry {
  display: block;
  margin: 0 0 12px;
  padding: 16px 18px;
  border-radius: var(--r-md);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #151820;
  box-sizing: border-box;
}

.clw-entry-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 12px 14px;
}

.clw-entry-badge {
  padding: 5px 12px;
  border-radius: 6px;
  font-weight: 800;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  flex-shrink: 0;
}

.clw-tipo-anadido,
.clw-entry-badge.anadido {
  background: rgba(34, 197, 94, 0.18);
  color: #6ee7a0;
  border: 1px solid rgba(34, 197, 94, 0.45);
}

.clw-tipo-fix,
.clw-entry-badge.fix {
  background: rgba(251, 191, 36, 0.18);
  color: #fcd34d;
  border: 1px solid rgba(251, 191, 36, 0.5);
}

.clw-tipo-eliminado,
.clw-entry-badge.eliminado {
  background: rgba(239, 68, 68, 0.18);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.45);
}

.clw-entry-date {
  margin-left: auto;
  font-size: 12px;
  color: var(--text-3);
  white-space: nowrap;
}

.clw-entry-title {
  margin: 0;
  flex: 1 1 200px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  color: #f5f7fc !important;
  -webkit-text-fill-color: #f5f7fc !important;
  background: none !important;
}

.clw-detail-card {
  padding: 24px 22px;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  background: var(--card);
}

.clw-detail-title {
  margin: 12px 0 0;
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 800;
  color: #f5f7fc !important;
}

.clw-breadcrumb {
  margin-bottom: 14px;
  font-size: 13px;
  color: var(--text-3);
}

.clw-breadcrumb a {
  color: #6eb6ff;
  text-decoration: none;
}

.clw-empty {
  padding: 28px 22px;
  text-align: center;
  color: #e8ecf4;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  background: var(--card);
}

.clw-btn {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 18px;
  border-radius: var(--r);
  font-weight: 700;
  text-decoration: none;
  background: linear-gradient(135deg, #ff9f5a, #e86a2a);
  color: #1a0e06;
}

/* Feed */
.social-post-site-changelog {
  border-color: rgba(255, 159, 90, 0.42);
  background: linear-gradient(145deg, rgba(42, 24, 8, 0.97), rgba(12, 14, 24, 0.98));
  box-shadow: 0 0 26px rgba(255, 159, 90, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  animation: clw-feed-glow 3.2s ease-in-out infinite;
}
@keyframes clw-feed-glow {
  0%, 100% { box-shadow: 0 0 18px rgba(255, 159, 90, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.05); }
  50% { box-shadow: 0 0 32px rgba(255, 159, 90, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.06); }
}
.social-post-site-changelog .social-site-changelog-feed-box {
  border-color: rgba(255, 159, 90, 0.35);
  background: linear-gradient(135deg, rgba(255, 159, 90, 0.14), rgba(180, 90, 30, 0.08));
}
.social-site-changelog-feed-icon {
  filter: drop-shadow(0 0 10px rgba(255, 159, 90, 0.55));
  animation: clw-feed-icon-pulse 2.4s ease-in-out infinite;
}
@keyframes clw-feed-icon-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}
.social-site-changelog-feed-title {
  color: #fdba74;
}
.social-post-site-changelog--anadido {
  border-color: rgba(34, 197, 94, 0.42);
  box-shadow: 0 0 26px rgba(34, 197, 94, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.social-post-site-changelog--fix {
  border-color: rgba(251, 191, 36, 0.42);
  box-shadow: 0 0 26px rgba(251, 191, 36, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.social-post-site-changelog--eliminado {
  border-color: rgba(239, 68, 68, 0.42);
  box-shadow: 0 0 26px rgba(239, 68, 68, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.social-site-changelog-tipo {
  display: inline-block;
  margin-left: 8px;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.social-site-changelog-tipo.anadido {
  background: rgba(34, 197, 94, 0.2);
  color: #6ee7a0;
}

.social-site-changelog-tipo.fix {
  background: rgba(251, 191, 36, 0.2);
  color: #fcd34d;
}

.social-site-changelog-tipo.eliminado {
  background: rgba(239, 68, 68, 0.2);
  color: #fca5a5;
}
