.tl-index,
.tl-track { display: none; }

.timeline.rm-style-1 { max-width: 920px; padding: 10px 0 80px; }
.timeline.rm-style-1::before { display: none; }
.timeline.rm-style-1 .tl-item { padding-left: 0; margin-bottom: 22px; }
.timeline.rm-style-1 .tl-dot { display: none; }
.timeline.rm-style-1 .tl-card {
  padding: 34px 36px;
  border-radius: 28px;
  background:
    linear-gradient(165deg, rgba(255,255,255,.14), rgba(255,255,255,.03) 42%, rgba(176,38,255,.06)),
    rgba(18, 8, 24, .38);
  border: 1px solid rgba(255, 180, 220, .28);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.28),
    inset 0 -1px 0 rgba(255,45,149,.08),
    0 18px 50px rgba(0,0,0,.4);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
}
.timeline.rm-style-1 .tl-progress .tl-card {
  border-color: rgba(255, 45, 149, .45);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.3),
    0 18px 50px rgba(0,0,0,.4),
    0 0 48px color-mix(in srgb, var(--neon) 22%, transparent);
}
.timeline.rm-style-1 .rm-badge {
  padding: 6px 16px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: none;
  color: #fff;
}
.timeline.rm-style-1 .rm-done { color: #b8f5d6; border-color: rgba(160, 240, 200, .35); }
.timeline.rm-style-1 .rm-progress { background: linear-gradient(120deg, rgba(255,45,149,.45), rgba(176,38,255,.35)); color: #fff; }
.timeline.rm-style-1 .rm-upcoming { color: var(--muted); }

.timeline.rm-style-2 { max-width: 860px; }
.timeline.rm-style-2::before {
  width: 2px; left: 27px;
  background: var(--neon);
  box-shadow: 0 0 10px var(--neon), 0 0 24px var(--violet);
}
.timeline.rm-style-2 .tl-dot {
  background: #07030a;
  border: 2px solid var(--neon);
  box-shadow: 0 0 12px var(--neon);
  color: #fff;
}
.timeline.rm-style-2 .tl-done .tl-dot { background: #07030a; box-shadow: 0 0 14px #9ff0c5; border-color: #9ff0c5; }
.timeline.rm-style-2 .tl-upcoming .tl-dot { border-color: rgba(255,45,149,.35); box-shadow: none; }
.timeline.rm-style-2 .tl-card {
  background: rgba(7, 3, 10, .82);
  border: 2px solid var(--neon);
  border-radius: 18px;
  box-shadow: 0 0 18px color-mix(in srgb, var(--neon) 45%, transparent), 0 0 48px color-mix(in srgb, var(--violet) 25%, transparent);
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
.timeline.rm-style-2 .tl-done .tl-card { border-color: #7ee0ad; box-shadow: 0 0 18px rgba(126,224,173,.35); }
.timeline.rm-style-2 .tl-progress .tl-card {
  border-color: var(--neon);
  animation: rm-neon-pulse 2.4s ease-in-out infinite;
}
.timeline.rm-style-2 .tl-upcoming .tl-card {
  border-color: rgba(255, 45, 149, .28);
  box-shadow: none;
}
.timeline.rm-style-2 .rm-badge {
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 4px;
  letter-spacing: .16em;
  box-shadow: 0 0 12px currentColor;
}
.timeline.rm-style-2 .rm-done { color: #9ff0c5; background: transparent; }
.timeline.rm-style-2 .rm-progress { color: #fff; background: transparent; border-color: var(--neon); text-shadow: 0 0 10px var(--neon); }
.timeline.rm-style-2 .rm-upcoming { color: var(--muted); box-shadow: none; }
@keyframes rm-neon-pulse {
  0%, 100% { box-shadow: 0 0 14px color-mix(in srgb, var(--neon) 40%, transparent), 0 0 36px color-mix(in srgb, var(--violet) 20%, transparent); }
  50% { box-shadow: 0 0 28px color-mix(in srgb, var(--neon) 70%, transparent), 0 0 64px color-mix(in srgb, var(--violet) 40%, transparent); }
}

.timeline.rm-style-3 { max-width: 860px; }
.timeline.rm-style-3::before {
  width: 3px; left: 26px; border-radius: 3px;
  background: var(--grad);
  box-shadow: none;
}
.timeline.rm-style-3 .tl-dot {
  background: #0c0410;
  border: 0;
  box-shadow: 0 0 0 3px #0c0410;
  background-image: var(--grad);
  color: #fff;
}
.timeline.rm-style-3 .tl-upcoming .tl-dot { background-image: none; background: #1a0a18; box-shadow: 0 0 0 2px rgba(255,45,149,.25); }
.timeline.rm-style-3 .tl-card {
  border: 2px solid transparent;
  border-radius: 22px;
  background:
    linear-gradient(165deg, rgba(22,8,28,.96), rgba(10,4,14,.96)) padding-box,
    var(--grad) border-box;
  box-shadow: 0 20px 44px rgba(0,0,0,.5);
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
.timeline.rm-style-3 .tl-upcoming .tl-card {
  background:
    linear-gradient(165deg, rgba(16,6,20,.96), rgba(10,4,14,.96)) padding-box,
    linear-gradient(120deg, rgba(255,45,149,.3), rgba(176,38,255,.3)) border-box;
}
.timeline.rm-style-3 .rm-badge {
  border: 0;
  background: var(--grad);
  color: #fff;
  box-shadow: none;
}
.timeline.rm-style-3 .rm-done { background: linear-gradient(120deg, #2ecf86, #7ee0ad); color: #062016; }
.timeline.rm-style-3 .rm-progress { background: var(--grad); }
.timeline.rm-style-3 .rm-upcoming { background: rgba(255,255,255,.08); color: var(--muted); }

.timeline.rm-style-5 { max-width: 980px; padding: 10px 0 80px; }
.timeline.rm-style-5::before { display: none; }
.timeline.rm-style-5 .tl-item { padding-left: 0; margin-bottom: 26px; }
.timeline.rm-style-5 .tl-dot { display: none; }
.timeline.rm-style-5 .tl-card {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 8px 28px;
  padding: 36px 40px;
  border-radius: 8px 28px 28px 8px;
  border: 1px solid rgba(255,45,149,.18);
  border-left: 3px solid var(--neon);
  background: rgba(12, 5, 16, .88);
  box-shadow: 0 16px 40px rgba(0,0,0,.4);
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
.timeline.rm-style-5 .tl-index {
  display: block;
  grid-row: 1 / span 8;
  grid-column: 1;
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 7vw, 5.2rem);
  font-weight: 800;
  line-height: .9;
  letter-spacing: -.06em;
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  opacity: .9;
  align-self: start;
  padding-top: 2px;
}
.timeline.rm-style-5 .tl-head,
.timeline.rm-style-5 .tl-sum,
.timeline.rm-style-5 .tl-card ul { grid-column: 2; }
.timeline.rm-style-5 .tl-progress .tl-card { border-left-width: 4px; }
.timeline.rm-style-5 .tl-upcoming .tl-card { border-left-color: rgba(255,45,149,.28); }
.timeline.rm-style-5 .tl-done .tl-card { border-left-color: #7ee0ad; }
.timeline.rm-style-5 .rm-badge {
  border-radius: 0;
  padding: 4px 0 6px;
  background: transparent;
  border: 0;
  border-bottom: 2px solid currentColor;
  box-shadow: none;
  letter-spacing: .18em;
}
.timeline.rm-style-5 .rm-done { color: #9ff0c5; background: transparent; }
.timeline.rm-style-5 .rm-progress { color: var(--neon-soft); background: transparent; }
.timeline.rm-style-5 .rm-upcoming { color: var(--muted); background: transparent; }
@media (max-width: 640px) {
  .timeline.rm-style-5 .tl-card { grid-template-columns: 1fr; padding: 26px 22px; }
  .timeline.rm-style-5 .tl-index { grid-row: auto; font-size: 3rem; margin-bottom: 4px; }
  .timeline.rm-style-5 .tl-head,
  .timeline.rm-style-5 .tl-sum,
  .timeline.rm-style-5 .tl-card ul { grid-column: 1; }
}

.timeline.rm-style-6 { max-width: 860px; }
.timeline.rm-style-6::before {
  background: linear-gradient(180deg, #67f0ff, var(--neon), var(--violet), #ffe08a);
  box-shadow: 0 0 16px rgba(103,240,255,.35);
}
.timeline.rm-style-6 .tl-dot {
  border: 0;
  background: linear-gradient(135deg, #67f0ff, var(--neon), var(--violet), #ffe08a);
  background-size: 200% 200%;
  animation: rm-holo 6s linear infinite;
  color: #14030c;
}
.timeline.rm-style-6 .tl-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.22);
  background:
    linear-gradient(160deg, rgba(255,255,255,.08), rgba(10,4,16,.88));
  box-shadow: 0 18px 50px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.2);
}
.timeline.rm-style-6 .tl-card::before {
  content: "";
  position: absolute; inset: -2px;
  background: linear-gradient(120deg, #67f0ff, var(--neon-soft), var(--violet), #ffe08a, #67f0ff);
  background-size: 300% 300%;
  animation: rm-holo 8s linear infinite;
  opacity: .35;
  z-index: 0;
  pointer-events: none;
  mix-blend-mode: screen;
}
.timeline.rm-style-6 .tl-card > * { position: relative; z-index: 1; }
.timeline.rm-style-6 .rm-badge {
  border: 1px solid rgba(255,255,255,.35);
  background: linear-gradient(120deg, rgba(103,240,255,.35), rgba(255,45,149,.4), rgba(176,38,255,.4));
  background-size: 200% 200%;
  animation: rm-holo 5s linear infinite;
  color: #fff;
  box-shadow: none;
}
.timeline.rm-style-6 .rm-done,
.timeline.rm-style-6 .rm-progress,
.timeline.rm-style-6 .rm-upcoming { color: #fff; }
@keyframes rm-holo {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

.timeline.rm-style-7 { max-width: 800px; padding: 10px 0 80px; }
.timeline.rm-style-7::before {
  width: 1px; left: 27px;
  background: linear-gradient(180deg, #e8c9a8, var(--neon-soft), transparent);
  box-shadow: none;
}
.timeline.rm-style-7 .tl-dot {
  width: 18px; height: 18px; left: 19px; top: 36px;
  background: #e8c9a8;
  border: 1px solid #e8c9a8;
  box-shadow: none;
  font-size: 0;
}
.timeline.rm-style-7 .tl-done .tl-dot { background: #e8c9a8; }
.timeline.rm-style-7 .tl-progress .tl-dot {
  background: var(--neon);
  border-color: var(--neon);
  box-shadow: 0 0 0 4px rgba(255,45,149,.18);
}
.timeline.rm-style-7 .tl-progress .tl-dot::after { display: none; }
.timeline.rm-style-7 .tl-upcoming .tl-dot { background: transparent; }
.timeline.rm-style-7 .tl-item { padding-left: 78px; }
.timeline.rm-style-7 .tl-card {
  padding: 36px 8px 32px 0;
  border: 0;
  border-top: 1px solid rgba(232, 201, 168, .28);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
.timeline.rm-style-7 .tl-head h3 {
  font-weight: 500;
  letter-spacing: .02em;
  font-size: 1.65rem;
}
.timeline.rm-style-7 .tl-phase { color: #e8c9a8; letter-spacing: .28em; }
.timeline.rm-style-7 .rm-badge {
  background: transparent;
  border: 1px solid #e8c9a8;
  border-radius: 0;
  color: #e8c9a8;
  letter-spacing: .2em;
  font-weight: 600;
  box-shadow: none;
  padding: 5px 12px;
}
.timeline.rm-style-7 .rm-done { color: #e8c9a8; border-color: #e8c9a8; background: transparent; }
.timeline.rm-style-7 .rm-progress { color: var(--neon-soft); border-color: var(--neon); background: transparent; }
.timeline.rm-style-7 .rm-upcoming { color: var(--muted); border-color: rgba(232,201,168,.25); background: transparent; }
.timeline.rm-style-7 .tl-card li::marker { color: #e8c9a8; }

.timeline.rm-style-8 { max-width: 860px; }
.timeline.rm-style-8::before { display: none; }
.timeline.rm-style-8 .tl-item { padding-left: 0; margin-bottom: 24px; }
.timeline.rm-style-8 .tl-dot { display: none; }
.timeline.rm-style-8 .tl-card {
  padding: 28px 32px 30px;
  border-radius: 20px;
  background: rgba(14, 6, 18, .9);
  border: 1px solid rgba(255,45,149,.18);
  box-shadow: 0 16px 40px rgba(0,0,0,.4);
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
.timeline.rm-style-8 .tl-track {
  display: block;
  height: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  margin: 0 0 20px;
  overflow: hidden;
}
.timeline.rm-style-8 .tl-track-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--grad);
}
.timeline.rm-style-8 .tl-done .tl-track-fill { width: 100%; background: linear-gradient(90deg, #2ecf86, #9ff0c5); }
.timeline.rm-style-8 .tl-progress .tl-track-fill { width: 58%; }
.timeline.rm-style-8 .tl-upcoming .tl-track-fill { width: 10%; background: rgba(255,255,255,.2); }
.timeline.rm-style-8 .rm-badge { box-shadow: none; }
.timeline.rm-style-8 .rm-done { background: rgba(80,220,150,.12); color: #9ff0c5; border: 1px solid rgba(80,220,150,.4); }
.timeline.rm-style-8 .rm-progress { background: var(--grad); color: #fff; }
.timeline.rm-style-8 .rm-upcoming { background: rgba(255,255,255,.05); color: var(--muted); border: 1px solid rgba(255,255,255,.12); }

.timeline.rm-style-9 { max-width: 760px; padding: 20px 0 90px; }
.timeline.rm-style-9::before { display: none; }
.timeline.rm-style-9 .tl-item { padding-left: 0; margin-bottom: -8px; }
.timeline.rm-style-9 .tl-dot { display: none; }
.timeline.rm-style-9 .tl-card {
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(28,10,32,.96), rgba(12,5,16,.96));
  border: 1px solid color-mix(in srgb, var(--neon) 30%, transparent);
  box-shadow: 0 24px 40px rgba(0,0,0,.55), 0 2px 0 rgba(255,255,255,.06) inset;
  transform: rotate(-1.15deg);
  transition: transform .25s ease;
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
.timeline.rm-style-9 .tl-item:nth-child(even) .tl-card { transform: rotate(1.2deg); }
.timeline.rm-style-9 .tl-item:hover .tl-card,
.timeline.rm-style-9 .tl-item:focus-within .tl-card { transform: rotate(0deg) translateY(-4px); }
.timeline.rm-style-9 .rm-badge {
  transform: rotate(-8deg);
  border-radius: 6px;
  box-shadow: 0 4px 0 rgba(0,0,0,.35);
}
.timeline.rm-style-9 .rm-done { background: #1d4a36; color: #b8f5d6; border: 1px solid #7ee0ad; }
.timeline.rm-style-9 .rm-progress { background: var(--grad); color: #fff; }
.timeline.rm-style-9 .rm-upcoming { background: #1a1018; color: var(--muted); border: 1px dashed rgba(255,255,255,.25); transform: rotate(6deg); }

.timeline.rm-style-10 { max-width: 860px; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; }
.timeline.rm-style-10::before {
  width: 2px; left: 12px;
  background: #39ff88;
  box-shadow: 0 0 8px #39ff88;
  border-radius: 0;
}
.timeline.rm-style-10 .tl-item { padding-left: 42px; }
.timeline.rm-style-10 .tl-dot {
  left: 4px; width: 16px; height: 16px; top: 28px;
  border-radius: 0;
  background: #0b0f0c;
  border: 1px solid #39ff88;
  box-shadow: none;
  font-size: 0;
}
.timeline.rm-style-10 .tl-done .tl-dot { background: #39ff88; }
.timeline.rm-style-10 .tl-progress .tl-dot { background: var(--neon); border-color: var(--neon); box-shadow: 0 0 8px var(--neon); }
.timeline.rm-style-10 .tl-progress .tl-dot::after { display: none; }
.timeline.rm-style-10 .tl-card {
  border-radius: 0;
  background: #070b08;
  border: 1px solid #39ff88;
  box-shadow: 0 0 0 1px rgba(57,255,136,.08), 0 0 24px rgba(57,255,136,.08);
  backdrop-filter: none; -webkit-backdrop-filter: none;
  padding: 26px 28px;
  position: relative;
  overflow: hidden;
}
.timeline.rm-style-10 .tl-card::after {
  content: "";
  position: absolute; inset: 0;
  background: repeating-linear-gradient(to bottom, rgba(0,0,0,0) 0 2px, rgba(0,0,0,.28) 2px 4px);
  pointer-events: none;
  z-index: 1;
}
.timeline.rm-style-10 .tl-card > * { position: relative; z-index: 2; }
.timeline.rm-style-10 .tl-head h3 {
  font-family: inherit;
  font-size: 1.15rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #c8ffd8;
}
.timeline.rm-style-10 .tl-phase { color: #39ff88; letter-spacing: .18em; }
.timeline.rm-style-10 .tl-sum { color: #9ad0aa; font-size: .88rem; }
.timeline.rm-style-10 .tl-card ul { padding-left: 0; list-style: none; }
.timeline.rm-style-10 .tl-card li { margin: 6px 0; color: #d6ffe2; }
.timeline.rm-style-10 .tl-card li::before { content: "> "; color: var(--neon); }
.timeline.rm-style-10 .tl-progress .tl-card { border-color: var(--neon); box-shadow: 0 0 18px color-mix(in srgb, var(--neon) 30%, transparent); }
.timeline.rm-style-10 .tl-upcoming .tl-card { border-color: rgba(57,255,136,.28); }
.timeline.rm-style-10 .rm-badge {
  border-radius: 0;
  font-family: inherit;
  letter-spacing: .14em;
  box-shadow: none;
  padding: 4px 10px;
}
.timeline.rm-style-10 .rm-done { background: transparent; color: #39ff88; border: 1px solid #39ff88; }
.timeline.rm-style-10 .rm-progress { background: transparent; color: var(--neon); border: 1px solid var(--neon); box-shadow: 0 0 10px color-mix(in srgb, var(--neon) 40%, transparent); }
.timeline.rm-style-10 .rm-upcoming { background: transparent; color: #7a9a80; border: 1px solid #2a4a32; }

@media (prefers-reduced-motion: reduce) {
  .timeline.rm-style-2 .tl-progress .tl-card,
  .timeline.rm-style-6 .tl-dot,
  .timeline.rm-style-6 .tl-card::before,
  .timeline.rm-style-6 .rm-badge { animation: none; }
  .timeline.rm-style-9 .tl-card,
  .timeline.rm-style-9 .tl-item:nth-child(even) .tl-card,
  .timeline.rm-style-9 .rm-badge { transform: none; }
}

.rmd-preview { background: var(--bg); color: var(--text); min-height: 100vh; padding: 0 0 80px; }
.rmd-preview .rmd-hero { max-width: 980px; margin: 0 auto; padding: 56px 24px 20px; }
.rmd-preview .rmd-hero h1 { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); margin: 10px 0 12px; }
.rmd-preview .rmd-hero p { color: var(--muted); max-width: 640px; }
.rmd-preview .rmd-sample { max-width: 1080px; margin: 0 auto 10px; padding: 36px 24px 20px; border-top: 1px solid rgba(255,255,255,.06); }
.rmd-preview .rmd-label { margin: 0 auto 28px; max-width: 980px; }
.rmd-preview .rmd-kicker {
  display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .22em;
  text-transform: uppercase; color: var(--neon-soft); margin: 0 0 8px;
}
.rmd-preview .rmd-label h2 { font-family: var(--font-display); font-size: 1.6rem; margin: 0 0 8px; }
.rmd-preview .rmd-label p { color: var(--muted); margin: 0; }

