/* flow1c: ten, sign, reality, f1-recap */
.fc-lay { display: flex; flex-direction: column; justify-content: space-between; height: 100%; }
.fc-head { position: relative; }
.fc-btns { position: absolute; right: 0; top: -14px; display: flex; gap: 10px; }
.fc-btn { min-height: 46px; padding: 0 18px; white-space: nowrap; }
.fc-btn.fc-on { background: var(--blue); border-color: var(--blue); color: #fff; }
.fc-lay code { font-family: var(--mono); font-size: .88em; color: #000; white-space: nowrap; }

/* ten: sixty stores as a constellation, ten of them in her pass */
.fc-ten { display: grid; grid-template-columns: 700px minmax(0, 1fr); gap: 60px; height: 535px; }
.fc-map { position: relative; background: var(--panel); }
.fc-map > svg { display: block; width: 700px; height: 535px; font-family: var(--sans); }
.fc-grid { stroke: #c4c4c4; stroke-width: 1.6; stroke-dasharray: 0 8; stroke-linecap: round; }
.fc-city { font-size: 19px; fill: var(--grey); transition: fill .3s; paint-order: stroke; stroke: var(--panel); stroke-width: 6px; stroke-linejoin: round; } /* halo keeps the grid dots out of the letters */
.fc-city.fc-in { fill: #000; font-weight: 600; }
.fc-core { fill: #a3a3a3; transition: fill .3s var(--d, 0ms); }
.fc-ring { fill: none; stroke: var(--blue); stroke-width: 1.5; opacity: 0; transform: scale(.3); transform-box: fill-box; transform-origin: center; transition: opacity .3s var(--d, 0ms), transform .3s var(--d, 0ms); }
.fc-in .fc-core { fill: var(--blue); }
.fc-in .fc-ring { opacity: 1; transform: none; }
.fc-badge > g { transform: scale(0); transform-box: fill-box; transform-origin: center; transition: transform .35s cubic-bezier(.3, 1.5, .5, 1); }
.fc-badge.fc-on > g { transform: none; }
.fc-badge circle { fill: #fff; stroke: var(--blue); stroke-width: 2; }
.fc-badge path, .fc-story path { fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fc-bill circle { fill: var(--blue); }
.fc-bill path { stroke: #fff; }

.fc-story { position: absolute; right: 24px; top: 22px; width: 272px; }
.fc-story p, .fc-key, .fc-rule { background: var(--panel); box-shadow: 0 0 0 6px var(--panel); } /* same halo for the text set on the map */
.fc-story p { display: grid; grid-template-columns: 28px 1fr; gap: 10px; font-size: 20px; line-height: 1.3; color: #000; opacity: 0; transition: opacity .3s; }
.fc-story p + p { margin-top: 12px; }
.fc-story svg { width: 26px; height: 26px; }
#ten[data-fc-st="1"] .fc-s1, #ten[data-fc-st="2"] .fc-story p { opacity: 1; }
.fc-key { position: absolute; right: 24px; bottom: 20px; display: grid; gap: 6px; font-size: 19px; color: var(--grey); }
.fc-key span { display: flex; align-items: center; gap: 14px; }
.fc-key i { width: 9px; height: 9px; margin: 0 5px; border-radius: 50%; background: #a3a3a3; }
.fc-key .fc-k1 { background: var(--blue); box-shadow: 0 0 0 3px var(--panel), 0 0 0 4.5px var(--blue); }
.fc-rule { position: absolute; left: 24px; bottom: 20px; width: 236px; font-size: 17px; opacity: 0; transition: opacity .3s; }
#ten[data-fc-st="2"] .fc-rule { opacity: 1; transition-delay: .75s; }

.fc-side { display: flex; flex-direction: column; }
.fc-list-head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 9px; border-bottom: 1px solid var(--ink); }
.fc-list-head span { font-size: 15px; letter-spacing: .12em; text-transform: uppercase; color: var(--grey); }
.fc-list-head b { font-size: 30px; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.fc-list-body { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 34px; padding-top: 16px; }
.fc-ten-pass { zoom: .71; }
.fc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.fc-list li { display: grid; grid-template-columns: 36px 1fr auto; align-items: center; height: 29px; border-bottom: 1px solid var(--line); font-size: 19px; color: var(--grey); }
.fc-list li > :first-child { font-size: 17px; font-weight: 600; color: var(--blue); font-variant-numeric: tabular-nums; }
.fc-list li > :nth-child(2) { color: #000; }
.fc-list li.fc-trip > :last-child { color: var(--blue); }
.fc-list li.fc-empty > :first-child { color: #b5b5b5; }
.fc-list li.fc-new { animation: fc-row 1.3s ease-out both; }
@keyframes fc-row { from { background: var(--blue-tint); } to { background: transparent; } }
.fc-caps { display: grid; margin-top: 18px; } /* one caption per state, stacked in the same cell */
.fc-cap { grid-area: 1 / 1; font-size: 22px; line-height: 1.36; opacity: 0; transition: opacity .3s; }
.fc-cap strong { display: block; }
#ten[data-fc-st="0"] .fc-c0, #ten[data-fc-st="1"] .fc-c1 { opacity: 1; transition-delay: .3s; }
#ten[data-fc-st="2"] .fc-c2 { opacity: 1; transition-delay: .75s; }
#ten.fc-still .fc-cap, #ten.fc-still .fc-rule { transition: none; }
.fc-ten-note { margin-top: auto; font-size: 20px; }

/* sign: five stations on one line, a packet that moves along it */
.fc-pipe { --k: 0; position: relative; display: grid; grid-template-columns: repeat(5, 1fr); align-items: start; gap: 32px; padding-top: 42px; }
.fc-st { position: relative; display: block; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; }
.fc-st::before { content: ""; position: absolute; z-index: 1; left: 0; top: -42px; width: 14px; height: 14px; background: #fff; border: 2px solid #9a9a9a; transition: background .3s, border-color .3s; }
.fc-st.fc-lit::before { background: var(--blue); border-color: var(--blue); }
.fc-st > span { display: block; opacity: .36; transition: opacity .3s; }
.fc-st.fc-lit > span { opacity: 1; }
.fc-n { font-size: 17px; font-weight: 600; color: var(--blue); font-variant-numeric: tabular-nums; }
.fc-st > .fc-ic { display: grid; place-items: center; width: 96px; height: 96px; margin-top: 12px; border: 1px solid #000; background: #fff; color: #000; transition: opacity .3s, background .3s, color .3s, border-color .3s; }
.fc-ic svg { width: 54px; height: 54px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fc-lit > .fc-ic { border-color: var(--blue); color: var(--blue); }
.fc-now > .fc-ic { background: var(--blue); color: #fff; }
.fc-t { margin-top: 20px; font-size: 30px; font-weight: 600; letter-spacing: -.03em; line-height: 1.15; color: #000; }
.fc-d { margin-top: 8px; font-size: 21px; line-height: 1.36; color: var(--grey); }
.fc-track { position: absolute; left: 7px; top: 6px; width: calc(4 * (100% + 32px) / 5); height: 2px; background: #bdbdbd; pointer-events: none; }
.fc-track i { position: absolute; }
.fc-fill { left: 0; top: 0; height: 2px; width: calc(var(--k) * 25%); background: var(--blue); transition: width .45s cubic-bezier(.4, 0, .2, 1); }
.fc-packet { z-index: 2; left: calc(var(--k) * 25% - 11px); top: -10px; width: 22px; height: 22px; background: var(--blue); outline: 5px solid rgba(0, 111, 230, .18); opacity: 0; transition: left .45s cubic-bezier(.4, 0, .2, 1), opacity .2s; }
.fc-go .fc-packet { opacity: 1; }
.fc-hand { display: grid; grid-template-columns: 236px repeat(3, 1fr); gap: 44px; padding-top: 22px; border-top: 1px solid var(--line); }
.fc-hand h3 { font-size: 26px; }
.fc-hand p { font-size: 20px; line-height: 1.38; }

/* reality: what it does, what it does not */
.fc-real { display: grid; grid-template-columns: 1fr 1.2fr; grid-template-rows: repeat(6, auto); column-gap: 72px; }
.fc-real > div, .fc-real ul.ticks { display: grid; grid-template-rows: subgrid; } /* rules line up across both columns */
.fc-real > div { grid-row: 1 / -1; }
.fc-real ul.ticks { grid-row: 2 / -1; }
.fc-real h3 { padding-bottom: 14px; border-bottom: 1px solid var(--ink); }
.fc-real ul.ticks li { padding: 15px 0 15px 40px; border-bottom: 1px solid var(--line); font-size: 25px; }
.fc-real ul.ticks li + li { margin-top: 0; }
.fc-real ul.ticks li::before { top: calc(15px + .34em); }
.fc-real ul.ticks.no li::before { top: calc(15px + .62em); }
.fc-real-note { font-size: 25px; }

/* f1-recap */
ul.ticks.fc-recap { display: grid; grid-template: repeat(3, auto) / 1.11fr 1fr; grid-auto-flow: column; gap: 30px 44px; margin-top: 60px; }
ul.ticks.fc-recap li { font-size: 24px; text-wrap: balance; } /* 24px: four of the six lines then fit their column unbroken */
#f1-recap .frame { margin: 0 -95px; } /* the frame image has clear margins: let them hang outside the column */
ul.ticks.fc-recap li + li { margin-top: 0; }
.fc-recap code { font-family: var(--mono); font-size: .88em; color: #000; }
