/* Roadmap kit styles. Restyle by setting the custom properties on .rm. */
.rm { --rm-accent: #FFC83D; --rm-ink: #2A1E0F; --rm-card: #fff; --rm-bg: transparent;
  box-sizing: border-box; max-width: 100%; color: var(--rm-ink); background: var(--rm-bg); padding: 8px 0; overflow-wrap: anywhere; }
.rm *, .rm *::before, .rm *::after { box-sizing: border-box; }
.rm-heading { margin: 0 0 6px; line-height: 1.2; }
.rm-intro { margin: 0 0 12px; line-height: 1.4; }
.rm-note { margin: 0 0 10px; padding: 8px 12px; border-radius: 10px; background: var(--rm-accent); font-weight: 600; }
.rm-round { margin: 0 0 12px; padding: 6px 12px; border-left: 6px solid var(--rm-accent); background: var(--rm-card); border-radius: 8px; font-weight: 700; line-height: 1.35; max-width: 100%; }
.rm-round-date { font-weight: 500; }
.rm [hidden] { display: none !important; }
.rm-bar { display: flex; gap: 8px; overflow-x: auto; max-width: 100%; padding: 4px 2px 10px; -webkit-overflow-scrolling: touch; }
.rm-chip { flex: 0 0 auto; border: 2px solid var(--rm-ink); background: var(--rm-card); color: var(--rm-ink); border-radius: 999px;
  padding: 8px 14px; font: inherit; font-weight: 600; cursor: pointer; min-height: 40px; }
.rm-chip[aria-pressed="true"] { background: var(--rm-accent); }
.rm-cat { margin: 0 0 20px; }
.rm-cat-title { margin: 0 0 10px; }
.rm-list { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.rm-cat .rm-list { margin-bottom: 0; }
.rm-item { display: flex; flex-direction: column; gap: 8px; min-width: 0; background: var(--rm-card); border: 2px solid var(--rm-ink);
  border-radius: 16px; padding: 12px; }
.rm-item:target { outline: 4px solid var(--rm-accent); outline-offset: 2px; }
.rm-media { aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #000; }
.rm-media video, .rm-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rm-tag { align-self: flex-start; background: var(--rm-accent); border-radius: 999px; padding: 2px 10px; font-size: .8em; font-weight: 700; }
.rm-title { margin: 0; line-height: 1.25; }
.rm-text { margin: 0; line-height: 1.4; flex: 1 1 auto; }
.rm-lead { margin: 0 0 0.45em; font-weight: 600; }
.rm-points { margin: 0; padding-left: 1.15em; }
.rm-points li { margin: 0.2em 0; }
.rm-vote { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 48px; padding: 10px 14px;
  font: inherit; font-size: 1.05em; font-weight: 800; color: var(--rm-ink); background: var(--rm-card); border: 3px solid var(--rm-accent);
  border-radius: 14px; cursor: pointer; }
.rm-vote:hover:not(:disabled) { background: #fff3cf; }
.rm-vote[aria-pressed="true"] { background: var(--rm-accent); border-color: var(--rm-ink); }
.rm-vote:disabled { opacity: .65; cursor: not-allowed; }
.rm-count { min-width: 1.6em; padding: 0 8px; border-radius: 999px; background: var(--rm-ink); color: #fff; }
.rm-more { margin: 8px 0 0; font-weight: 700; }
.rm a:focus-visible, .rm button:focus-visible, .rm-badge a:focus-visible, .rm-badge button:focus-visible { outline: 3px solid #1b6ef3; outline-offset: 2px; }

.rm-badge { position: fixed; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 50; display: flex; align-items: center; gap: 4px;
  max-width: calc(100vw - 32px); border-radius: 999px; background: #FFC83D; color: #2A1E0F; border: 2px solid #2A1E0F;
  animation: rm-glow 1.8s ease-in-out infinite; }
.rm-badge--bottom-left { left: calc(16px + env(safe-area-inset-left, 0px)); }
.rm-badge--bottom-right { right: calc(16px + env(safe-area-inset-right, 0px)); }
.rm-badge[hidden] { display: none; }
.rm-badge-link { padding: 10px 6px 10px 16px; color: inherit; font: 800 1rem/1.2 system-ui, sans-serif; text-decoration: none; overflow-wrap: anywhere; }
.rm-badge-close { border: 0; background: transparent; color: inherit; font: 700 1.2rem/1 system-ui, sans-serif; min-width: 40px; min-height: 40px; cursor: pointer; border-radius: 999px; }
@keyframes rm-glow {
  0%, 100% { box-shadow: 0 0 6px 2px rgba(255, 200, 61, .55); }
  50% { box-shadow: 0 0 22px 8px rgba(255, 200, 61, .95); }
}
