.rl-page {
  padding: 32px 0 48px;
}

.rl-mosaic-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  height: 120px;
  margin-bottom: 36px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.rl-mosaic-cell {
  position: relative;
  overflow: hidden;
}

.rl-mosaic-cell:nth-child(1) {
  background:
    linear-gradient(135deg, rgba(255, 112, 166, 0.4), rgba(43, 16, 85, 0.9)),
    repeating-linear-gradient(45deg, transparent, transparent 8px, rgba(255, 198, 255, 0.05) 8px, rgba(255, 198, 255, 0.05) 9px);
}

.rl-mosaic-cell:nth-child(2) {
  background:
    radial-gradient(circle at 30% 50%, rgba(112, 214, 255, 0.35), transparent 60%),
    linear-gradient(180deg, var(--surface), var(--bg));
}

.rl-mosaic-cell:nth-child(3) {
  background:
    conic-gradient(from 0deg at 50% 50%, var(--primary), var(--secondary), var(--accent), var(--primary));
  opacity: 0.7;
}

.rl-mosaic-cell:nth-child(4) {
  background:
    linear-gradient(90deg, transparent 48%, rgba(255, 214, 112, 0.3) 49%, rgba(255, 214, 112, 0.3) 51%, transparent 52%),
    linear-gradient(0deg, transparent 48%, rgba(255, 214, 112, 0.3) 49%, rgba(255, 214, 112, 0.3) 51%, transparent 52%),
    var(--surface);
  background-size: 24px 24px, 24px 24px, 100% 100%;
}

.rl-mosaic-cell::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 112, 166, 0.2);
}

.rl-header {
  text-align: center;
  margin-bottom: 32px;
}

.rl-header h1 {
  font-style: italic;
  font-weight: 800;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  margin-bottom: 8px;
}

.rl-wireframe {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 32px;
  align-items: start;
}

.rl-content p {
  margin-bottom: 16px;
  color: var(--muted);
  line-height: 1.7;
}

.rl-content h2 {
  font-size: 1.15rem;
  color: var(--secondary);
  margin: 28px 0 12px;
}

.rl-content h2:first-of-type {
  margin-top: 0;
}

.rl-wheel-panel {
  position: sticky;
  top: 16px;
  border-radius: 12px;
  border: 3px solid var(--border);
  box-shadow: 0 0 30px rgba(255, 112, 166, 0.3);
  overflow: hidden;
}

.rl-decor-wrap {
  width: 280px;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.rl-decor-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.rl-bet-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 24px 0;
}

.rl-bet-chip {
  padding: 12px;
  text-align: center;
  background: rgba(255, 112, 166, 0.08);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.82rem;
  color: var(--text);
}

.rl-bet-chip strong {
  display: block;
  color: var(--accent);
  font-size: 0.95rem;
  margin-bottom: 4px;
}

@media (max-width: 768px) {
  .rl-mosaic-band {
    grid-template-columns: repeat(2, 1fr);
    height: 160px;
  }

  .rl-wireframe {
    grid-template-columns: 1fr;
  }

  .rl-wheel-panel {
    max-width: 280px;
    margin: 0 auto 24px;
    position: static;
  }

  .rl-decor-wrap {
    width: 100%;
    max-width: 280px;
    height: 240px;
    margin: 0 auto;
  }

  .rl-bet-grid {
    grid-template-columns: 1fr;
  }
}
