/* The roadmap page (roadmap.html). It has no look of its own: the head, the sections, the lists and the notes are
   the site's (shell.css), and the group labels with their dots and the rows are the coin page's (coin.css, which
   this page loads: .c-group, .c-road). This file only fits those pieces to this page, and draws the bars that stand
   where the name of an era will be. Every class here starts with "rm-".
   One green dot on the whole page: the one beside "Live now". */

/* A group label is this page's section title: it keeps the label's size where shell.css would make a title of it,
   and the first one of a section needs no room above it. */
.rm-sec h2.c-group { font-size: 12px; line-height: 16px; font-weight: 400; letter-spacing: 0; }
.rm-sec > .c-group:first-child { margin-top: 0; }
.rm-sec { scroll-margin-top: var(--sp-200); }

/* A row that is a link: the whole row is its tap area */
.rm-sec .c-road li { position: relative; }
.rm-sec .c-road a::before { content: ""; position: absolute; inset: 0; border-radius: var(--r-2xl); }
.rm-sec .c-road a:focus-visible { outline: none; }
.rm-sec .c-road a:focus-visible::before { outline: 2px solid var(--fg); outline-offset: 2px; }

/* An era that is not written yet: bars of dots where its name will be, as tall as a line of the row's text */
.rm-bars { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; min-height: 24px; }
.rm-bars i {
  display: block; height: 14px; background: #7A7A7A;
  -webkit-mask-image: radial-gradient(circle, #000 1.2px, transparent 1.5px); mask-image: radial-gradient(circle, #000 1.2px, transparent 1.5px);
  -webkit-mask-size: 3.5px 3.5px; mask-size: 3.5px 3.5px;
}
.rm-w4 { width: 42px; }
.rm-w6 { width: 63px; }
.rm-w7 { width: 73.5px; }
