.rlb-updates-modal {
  position: fixed; inset: 0; z-index: 9000;
  display: flex; align-items: center; justify-content: center;
  padding: 20px; background: rgba(0,0,0,0.72); backdrop-filter: blur(12px);
  opacity: 0; visibility: hidden; transition: opacity 0.25s ease, visibility 0.25s ease;
}
.rlb-updates-modal.show { opacity: 1; visibility: visible; }

.rlb-updates-card {
  width: min(560px, 100%);
  background: linear-gradient(135deg, rgba(255,51,204,0.12), rgba(241,196,15,0.08)), #18191c;
  border: 1px solid rgba(255,255,255,0.16); border-radius: 24px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
  transform: translateY(20px) scale(0.95); transition: transform 0.3s cubic-bezier(0.175,0.885,0.32,1.275);
  overflow: hidden;
}
.rlb-updates-modal.show .rlb-updates-card { transform: translateY(0) scale(1); }

.rlb-updates-header {
  display: flex; align-items: center; gap: 10px;
  padding: 18px 24px;
  background: linear-gradient(135deg, var(--pink-2, #ff168c), var(--pink, #ff33cc));
}
.rlb-updates-badge {
  background: var(--yellow, #f1c40f); color: #0d0d10;
  font-size: 0.7rem; font-weight: 900; padding: 4px 10px;
  border-radius: 8px; letter-spacing: 0.5px; text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(241,196,15,0.4);
  animation: rlb-badge-pulse 2s ease-in-out infinite;
}
@keyframes rlb-badge-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}
.rlb-updates-title {
  font-size: 1.3rem; font-weight: 900; color: #fff; margin: 0; flex: 1;
}
.rlb-updates-date {
  font-size: 0.8rem; font-weight: 600; color: rgba(255,255,255,0.7);
  background: rgba(0,0,0,0.2); padding: 4px 10px; border-radius: 8px;
}
.rlb-updates-close {
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(0,0,0,0.26); color: #fff;
  font-size: 1.2rem; font-weight: 900; border: none; cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.rlb-updates-close:hover { background: rgba(0,0,0,0.45); transform: scale(1.1); }

.rlb-updates-nav-area {
  position: relative;
  overflow: hidden;
}

.rlb-updates-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 10;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(0,0,0,0.5); color: #fff;
  font-size: 1.1rem; font-weight: 900; border: 1px solid rgba(255,255,255,0.15);
  cursor: pointer; transition: all 0.2s;
  display: flex; align-items: center; justify-content: center;
}
.rlb-updates-arrow:hover:not(:disabled) {
  background: var(--pink, #ff33cc);
  border-color: var(--pink, #ff33cc);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 4px 16px rgba(255,51,204,0.4);
}
.rlb-updates-arrow:disabled {
  opacity: 0.25; cursor: default;
}
.rlb-updates-arrow-left { left: 8px; }
.rlb-updates-arrow-right { right: 8px; }

.rlb-updates-slide-container {
  position: relative;
  min-height: 160px;
}
.rlb-updates-slide {
  padding: 20px 28px;
  color: #f7f2f7; font-size: 0.95rem; line-height: 1.6;
  max-height: 55vh; overflow-y: auto;
  transition: opacity 0.28s ease;
}
.rlb-updates-slide-active {
  opacity: 1;
}
.rlb-updates-slide:not(.rlb-updates-slide-active) {
  position: absolute; top: 0; left: 0; right: 0; opacity: 0;
  pointer-events: none;
}

.rlb-updates-slide-in-right { animation: rlb-slide-in-right 0.28s ease forwards; }
.rlb-updates-slide-in-left { animation: rlb-slide-in-left 0.28s ease forwards; }
.rlb-updates-slide-out-left { animation: rlb-slide-out-left 0.28s ease forwards; }
.rlb-updates-slide-out-right { animation: rlb-slide-out-right 0.28s ease forwards; }

@keyframes rlb-slide-in-right {
  from { transform: translateX(40px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
@keyframes rlb-slide-in-left {
  from { transform: translateX(-40px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
@keyframes rlb-slide-out-left {
  from { transform: translateX(0); opacity: 1; }
  to { transform: translateX(-40px); opacity: 0; }
}
@keyframes rlb-slide-out-right {
  from { transform: translateX(0); opacity: 1; }
  to { transform: translateX(40px); opacity: 0; }
}

.rlb-updates-slide h3 {
  font-size: 1.05rem; font-weight: 800; color: #fff;
  margin: 0 0 8px; display: flex; align-items: center; gap: 8px;
}
.rlb-updates-slide p {
  margin: 0 0 14px; color: var(--muted, #b9bbbe);
}
.rlb-updates-slide ul {
  margin: 0 0 14px; padding-left: 20px;
}
.rlb-updates-slide li {
  margin-bottom: 6px; color: var(--muted, #b9bbbe);
}
.rlb-updates-slide .upd-highlight {
  color: var(--pink, #ff33cc); font-weight: 700;
}
.rlb-updates-slide .upd-sep {
  border: none; border-top: 1px solid rgba(255,255,255,0.08);
  margin: 16px 0;
}

.rlb-updates-dots {
  display: flex; justify-content: center; gap: 8px;
  padding: 12px 24px 4px;
}
.rlb-updates-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 2px solid transparent;
  cursor: pointer; transition: all 0.25s;
  padding: 0;
}
.rlb-updates-dot:hover {
  background: rgba(255,255,255,0.3);
  transform: scale(1.2);
}
.rlb-updates-dot.active {
  background: var(--yellow, #f1c40f);
  border-color: var(--yellow, #f1c40f);
  box-shadow: 0 0 8px rgba(241,196,15,0.5);
  transform: scale(1.15);
}

.rlb-updates-footer {
  padding: 8px 24px 22px; text-align: center;
}
.rlb-updates-btn {
  background: linear-gradient(135deg, var(--yellow, #f1c40f), var(--pink, #ff33cc));
  color: #0d0d10; font-size: 1rem; font-weight: 900;
  padding: 14px 48px; border-radius: 50px; border: none;
  cursor: pointer; text-transform: uppercase; letter-spacing: 1px;
  box-shadow: 0 10px 35px rgba(255,51,204,0.45);
  transition: all 0.2s ease;
}
.rlb-updates-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 14px 40px rgba(255,51,204,0.6);
}
.rlb-updates-btn:active { transform: translateY(0) scale(0.98); }

.upd-prev-btn {
  background: rgba(255,255,255,0.08);
  color: var(--pink, #ff33cc);
  font-size: 0.9rem; font-weight: 700;
  padding: 10px 28px; border-radius: 12px;
  border: 1px solid rgba(255,51,204,0.3);
  cursor: pointer; transition: all 0.2s;
}
.upd-prev-btn:hover {
  background: rgba(255,51,204,0.15);
  border-color: rgba(255,51,204,0.5);
  transform: translateY(-1px);
}

.upd-notice {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px; padding: 16px;
  margin-bottom: 16px;
}
.upd-notice-title {
  margin: 0 0 8px; color: #fff; font-weight: 800; font-size: 0.9rem;
  display: flex; align-items: center; gap: 6px;
}

.rlb-updates-modal .upd-details {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px; margin-bottom: 8px;
  overflow: hidden;
}
.rlb-updates-modal .upd-details summary {
  padding: 10px 14px;
  cursor: pointer; font-weight: 700; color: #fff;
  display: flex; align-items: center; gap: 8px;
  list-style: none;
  transition: background 0.2s;
}
.rlb-updates-modal .upd-details summary::-webkit-details-marker { display: none; }
.rlb-updates-modal .upd-details summary::after {
  content: '▸'; font-size: 0.8rem; color: var(--muted, #b9bbbe);
  margin-left: auto; transition: transform 0.2s;
}
.rlb-updates-modal .upd-details[open] summary::after { transform: rotate(90deg); }
.rlb-updates-modal .upd-details summary:hover { background: rgba(255,255,255,0.04); }
.rlb-updates-modal .upd-details-body {
  padding: 0 14px 14px;
  color: var(--muted, #b9bbbe); font-size: 0.9rem; line-height: 1.6;
}

@keyframes rlb-nav-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(241,196,15,0); }
  50% { box-shadow: 0 0 12px 3px rgba(241,196,15,0.35); }
}

.upd-game-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-bottom: 16px;
}
.upd-game-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  transition: background 0.2s;
}
.upd-game-card:hover {
  background: rgba(255,255,255,0.07);
}
.upd-game-img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}
.upd-game-info {
  flex: 1;
  min-width: 0;
}
.upd-game-name {
  font-weight: 800;
  font-size: 0.9rem;
  color: #fff;
  display: block;
  margin-bottom: 2px;
}
.upd-game-desc {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted, #b9bbbe);
  line-height: 1.4;
}

.upd-game-banner {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: block;
  margin: 8px auto 14px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.5), 0 0 0 2px rgba(255,51,204,0.2);
}
.upd-game-hero {
  text-align: center;
  margin-bottom: 16px;
}
.upd-game-hero h3 {
  font-size: 1.25rem;
  font-weight: 900;
  color: #fff;
  margin: 0 0 4px;
  letter-spacing: -0.3px;
}
.upd-game-hero p {
  margin: 0;
  color: #b9bbbe;
  font-size: 0.9rem;
  line-height: 1.5;
}
.upd-sep-fancy {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255,51,204,0.25) 30%, rgba(241,196,15,0.25) 70%, transparent 100%);
  margin: 14px 0;
}
.upd-section {
  padding: 12px 14px;
  margin-bottom: 8px;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 12px;
}
.upd-section-title {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.upd-section-title img {
  width: 18px;
  height: 18px;
  border-radius: 5px;
}
.upd-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.upd-section li {
  padding: 3px 0;
  color: #b9bbbe;
  font-size: 0.88rem;
  line-height: 1.55;
}
.upd-section li strong {
  color: #fff;
}
.upd-tag {
  display: inline-block;
  background: rgba(255,51,204,0.1);
  border: 1px solid rgba(255,51,204,0.18);
  color: #ff66d9;
  font-weight: 600;
  font-size: 0.78rem;
  padding: 2px 9px;
  border-radius: 6px;
  margin: 0 3px 3px 0;
  vertical-align: middle;
}
.upd-section p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: #b9bbbe;
}
