/* ---- moved whole from /blueprints/ (11-26): the rides and the drawn sheets (.sheets) ---- */
  /* the rides, as on the Line: the picture holdeth still while the page goeth by, and each length of scroll is a step */
  .ride { position: relative; border-top: 1px solid var(--line); }
  .stage { position: sticky; top: var(--under, 0px); height: calc(100svh - var(--under, 0px)); display: flex; flex-direction: column; overflow: hidden; background: var(--bp-grid); }
  .stage::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(233,220,184,.22); outline: 1px solid rgba(233,220,184,.08); outline-offset: 4px; pointer-events: none; }
  .card { background: rgba(6,6,5,.92); }
  .stage canvas { display: block; width: 100%; flex: 1 1 auto; min-height: 0; }
  .stage .title { position: absolute; left: 16px; top: 12px; font-family: var(--sc); letter-spacing: .3em; font-size: .8rem; color: var(--gold); pointer-events: none; }
  .card { flex: none; min-height: 9.5rem; display: grid; align-content: center; justify-items: center; gap: 6px; text-align: center; padding: 8px 16px 12px; border-top: 1px solid var(--line); }
  .card .k { font-family: var(--mono); font-size: .66rem; letter-spacing: .3em; text-transform: uppercase; color: var(--dim); }
  .card .ct { font-family: var(--sc); font-weight: 400; letter-spacing: .24em; font-size: 1.15rem; color: var(--gold); margin: 0; }
  .card p { max-width: 36rem; font-size: 1.12rem; line-height: 1.45; font-weight: 300; margin: 0; }
  /* 10-31 (asked: "the scroll is far too long"): each ride near half as long (was 800svh and 1300svh), and both ride
     by themselves (assets/selfride.js), its button set just above the card. 11-20 (asked: "the scrolling takes too
     long"): near half again, a fifth of a screen a step (was 480svh) */
  #node { height: 260svh; }
  .ride .selfride { top: auto; right: auto; left: 16px; bottom: calc(var(--sr-card, 9.5rem) + 12px); }
  /* 11-20: Built and Exploded, straight to the whole or to every part (forge.js), at the stage's top right */
  .ride .jump { position: absolute; top: 10px; right: 14px; z-index: 3; display: flex; gap: 6px; }
  .ride .jump button { min-height: 34px; padding: 6px 12px; font: 500 .68rem/1 var(--mono, ui-monospace, monospace); letter-spacing: .2em; text-transform: uppercase;
    color: var(--gold, #e0c483); background: rgba(6,6,5,.82); border: 1px solid rgba(201,179,126,.45); border-radius: 2px; cursor: pointer; }
  .ride .jump button:hover, .ride .jump button:focus-visible { border-color: var(--gold, #e0c483); outline: none; box-shadow: 0 0 18px rgba(224,196,131,.25); }
  @media (max-width: 600px) { .ride .jump { top: 8px; right: 8px; } .ride .jump button { padding: 6px 9px; font-size: .62rem; } }
  /* the sheets, in the house's colours */
  .sheets h2 { font-family: var(--sc); font-weight: 400; letter-spacing: .24em; font-size: 1.2rem; color: var(--ink); margin: 40px 0 8px; padding-top: 18px; border-top: 1px solid var(--line); }
  .sheets h2::before { content: attr(data-sheet); display: block; font-family: var(--mono); font-size: .62rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
  .sheets h3 { font-family: var(--sc); font-weight: 400; letter-spacing: .14em; font-size: 1.02rem; color: var(--gold); margin: 24px 0 6px; }
  .sheets p, .sheets li { font-size: 1.12rem; line-height: 1.6; font-weight: 300; }
  .sheets ol, .sheets ul { margin: 6px 0 0 1.2em; }
  .sheets table { width: 100%; border-collapse: collapse; margin: 8px 0; font-size: 1rem; }
  .sheets th, .sheets td { text-align: left; vertical-align: top; padding: 6px 8px; border-bottom: 1px solid var(--line); }
  .sheets th { font-family: var(--sc); font-weight: 400; letter-spacing: .1em; color: var(--gold); }
  .sheets td.n { font-family: var(--mono); font-size: .86rem; white-space: nowrap; }
  .sheets .math { font-family: var(--mono); font-size: .82rem; line-height: 1.6; white-space: pre-wrap; background: var(--card); border: 1px solid var(--line); padding: 12px; overflow-x: auto; }
  .sheets .note { color: var(--dim); font-style: italic; }
  .sheets blockquote.verse { margin: 14px 0 18px; padding: 14px 18px; border-left: 2px solid var(--gold); background: rgba(201,179,126,.04); font-style: italic; line-height: 1.55; }
  .sheets blockquote.verse b { font-style: normal; color: var(--gold); }
  .sheets .ref { display: block; margin-top: 4px; font-size: .88em; font-style: italic; color: var(--dim); line-height: 1.45; }
  .sheets svg { width: 100%; height: auto; display: block; margin: 12px 0; background: var(--bp-grid); border: 1px solid rgba(233,220,184,.28); box-shadow: inset 0 0 0 5px var(--bp), inset 0 0 0 6px rgba(233,220,184,.16); }
  .sheets h2 { border: 1px solid rgba(233,220,184,.22) !important; padding: 12px 14px !important; background: var(--bp-grid); }
  .sheets .math { background: var(--bp) !important; border-color: rgba(233,220,184,.2) !important; }
  .sheets svg text { font: 12px "Cormorant Garamond", Georgia, serif; fill: #e9dcb8; } .sheets svg .lbl { fill: #a39c8e; font-size: 11px; }
  .sheets svg .g { stroke: #e9dcb8; fill: none; stroke-width: 1.3; } .sheets svg .w { stroke: #f3e3b0; fill: none; stroke-width: 1.6; }
  .sheets svg .d { stroke: #a39c8e; fill: none; stroke-width: 1; stroke-dasharray: 4 3; }
  .sheets svg .box { fill: rgba(6,6,5,.85); stroke: #e9dcb8; stroke-width: 1.1; } .sheets svg .hot { fill: url(#hatch); stroke: #f3e3b0; stroke-width: 1.3; }
  .sheets svg .dim { stroke: #a39c8e; stroke-width: .8; fill: none; marker-start: url(#tick); marker-end: url(#tick); }
  /* 10-30 the parts list, its numbers the same as the callouts on the drawing (a bill of materials, as on a patent sheet) */
  .sheets ol.callouts { list-style: none; margin: 8px 0 0; padding: 0; counter-reset: c; columns: 2 18rem; column-gap: 28px; }
  .sheets ol.callouts li { counter-increment: c; break-inside: avoid; padding: 6px 0 6px 2.6em; position: relative; border-bottom: 1px solid var(--line); font-size: 1.04rem; line-height: 1.4; }
  .sheets ol.callouts li::before { content: counter(c, decimal-leading-zero); position: absolute; left: 0; top: 7px; font-family: var(--mono); font-size: .72rem;
    color: var(--gold); border: 1px solid rgba(201,179,126,.55); border-radius: 50%; width: 1.9em; height: 1.9em; display: grid; place-items: center; }
  .sheets ol.callouts b { font-family: var(--sc); font-weight: 400; letter-spacing: .08em; color: var(--ink); }
  .sheets svg.defs { width: 0; height: 0; margin: 0; border: 0; box-shadow: none; }
  /* 10-30 the phone: a wide table slideth within itself, never the whole page */
  @media (max-width: 560px) { .sheets table { display: block; overflow-x: auto; font-size: .9rem; } .sheets th, .sheets td { padding: 6px 5px; }
    .sheets h2 { font-size: 1.05rem; letter-spacing: .16em; } .card { min-height: 8.5rem; } .card p { font-size: 1.02rem; } .stage::before { inset: 6px; } }
  /* 11-18 (asked: "it need to replace the gear and add the part its replacing to it"): the Family, machines and the
     keeper's kit, stands where the Keeper's Gear rode; the Keeper's Gear went into the Family's own page */
  .fv-home { border-top: 1px solid var(--line); padding: 30px 0 26px; }
  .fv-home .fv-head { max-width: 900px; margin: 0 auto; padding: 0 16px; text-align: center; }
  .fv-home .fv-head .t { font-family: var(--sc); letter-spacing: .3em; font-size: .8rem; color: var(--gold); text-transform: uppercase; }
  .fv-home .fv-head p { color: var(--dim); font-style: italic; font-size: 1.12rem; max-width: 40rem; margin: 8px auto 0; line-height: 1.5; }
  .fv-home .fv-more { text-align: center; margin: 16px 16px 0; font-size: 1.08rem; }
  .fv-home .fv-more a { color: var(--gold); }
  /* 11-23: the kit and Home Base are drawn flat in the same stage; the 3D views have nothing to turn there */
  #stage.painted .views { visibility: hidden; }
  .warn { border: 1px solid rgba(201,179,126,.45); padding: 12px 14px; margin: 18px 0; color: var(--ink); font-size: 1.05rem; }
  /* 11-20 (asked: "make it easier for humans to read ... it's very long formatted"): short plain lines first, the
     whole numbers kept below them in tables; nothing folded away */
  .sheets p.plain { font-size: 1.16rem; line-height: 1.55; }
  .sheets ul.short { list-style: none; margin: 8px 0 14px; padding: 0; }
  .sheets ul.short li { position: relative; padding: 5px 0 5px 1.3em; line-height: 1.45; }
  .sheets ul.short li::before { content: ""; position: absolute; left: .2em; top: .95em; width: 6px; height: 6px; border: 1px solid var(--gold); transform: rotate(45deg); }
  .sheets ul.short.links li a { color: var(--gold); }
  .sheets .glance { display: grid; grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr)); gap: 1px; margin: 14px 0 18px; background: rgba(233,220,184,.18); border: 1px solid rgba(233,220,184,.22); }
  .sheets .glance div { background: var(--bp, #0a0a09); padding: 12px 14px; display: grid; gap: 2px; }
  .sheets .glance b { font-family: var(--sc); font-weight: 400; font-size: 1.55rem; letter-spacing: .04em; color: var(--gold); line-height: 1.1; }
  .sheets .glance span { font-size: .98rem; color: var(--dim); line-height: 1.3; }
  .sheets table.sum td:first-child { color: var(--ink); white-space: nowrap; }
  .sheets table.sum td.n { white-space: normal; color: var(--dim); }
  @media (max-width: 560px) { .sheets table.sum td:first-child { white-space: normal; } }
/* ---- moved whole from /blueprints/family/ (11-26): the keeper's kit sheet ---- */
/* the keeper's kit sheet, as it stood on /blueprints/ */
.kitsheet h3{ font-family: var(--sc); font-weight: 400; letter-spacing: .14em; font-size: 1.02rem; color: var(--gold); margin: 24px 0 6px; }
.kitsheet p, .kitsheet li{ font-size: 1.12rem; line-height: 1.6; font-weight: 300; }
.kitsheet ol, .kitsheet ul{ margin: 6px 0 0 1.2em; }
.kitsheet table{ width: 100%; border-collapse: collapse; margin: 8px 0; font-size: 1rem; }
.kitsheet th, .kitsheet td{ text-align: left; vertical-align: top; padding: 6px 8px; border-bottom: 1px solid var(--line); }
.kitsheet th{ font-family: var(--sc); font-weight: 400; letter-spacing: .1em; color: var(--gold); }
.kitsheet td.n{ font-family: var(--mono); font-size: .86rem; white-space: nowrap; }
.kitsheet .math{ font-family: var(--mono); font-size: .82rem; line-height: 1.6; white-space: pre-wrap; background: var(--card); border: 1px solid var(--line); padding: 12px; overflow-x: auto; }
.kitsheet .note{ color: var(--dim); font-style: italic; }
.kitsheet blockquote.verse{ margin: 14px 0 18px; padding: 14px 18px; border-left: 2px solid var(--gold); background: rgba(201,179,126,.04); font-style: italic; line-height: 1.55; }
.kitsheet blockquote.verse b{ font-style: normal; color: var(--gold); }
.kitsheet .ref{ display: block; margin-top: 4px; font-size: .88em; font-style: italic; color: var(--dim); line-height: 1.45; }
.kitsheet svg{ width: 100%; height: auto; display: block; margin: 12px 0; background: var(--bp-grid); border: 1px solid rgba(233,220,184,.28); box-shadow: inset 0 0 0 5px var(--bp), inset 0 0 0 6px rgba(233,220,184,.16); }
.kitsheet .math{ background: var(--bp) !important; border-color: rgba(233,220,184,.2) !important; }
.kitsheet svg text{ font: 12px "Cormorant Garamond", Georgia, serif; fill: #e9dcb8; }
.kitsheet svg .lbl{ fill: #a39c8e; font-size: 11px; }
.kitsheet svg .g{ stroke: #e9dcb8; fill: none; stroke-width: 1.3; }
.kitsheet svg .w{ stroke: #f3e3b0; fill: none; stroke-width: 1.6; }
.kitsheet svg .d{ stroke: #a39c8e; fill: none; stroke-width: 1; stroke-dasharray: 4 3; }
.kitsheet svg .box{ fill: rgba(6,6,5,.85); stroke: #e9dcb8; stroke-width: 1.1; }
.kitsheet svg .hot{ fill: url(#hatch); stroke: #f3e3b0; stroke-width: 1.3; }
.kitsheet svg .dim{ stroke: #a39c8e; stroke-width: .8; fill: none; marker-start: url(#tick); marker-end: url(#tick); }
.kitsheet ol.callouts{ list-style: none; margin: 8px 0 0; padding: 0; counter-reset: c; columns: 2 18rem; column-gap: 28px; }
.kitsheet ol.callouts li{ counter-increment: c; break-inside: avoid; padding: 6px 0 6px 2.6em; position: relative; border-bottom: 1px solid var(--line); font-size: 1.04rem; line-height: 1.4; }
.kitsheet ol.callouts li::before{ content: counter(c, decimal-leading-zero); position: absolute; left: 0; top: 7px; font-family: var(--mono); font-size: .72rem;
    color: var(--gold); border: 1px solid rgba(201,179,126,.55); border-radius: 50%; width: 1.9em; height: 1.9em; display: grid; place-items: center; }
.kitsheet ol.callouts b{ font-family: var(--sc); font-weight: 400; letter-spacing: .08em; color: var(--ink); }
.kitsheet svg.defs{ width: 0; height: 0; margin: 0; border: 0; box-shadow: none; }
@media (max-width: 560px){.kitsheet table{ display: block; overflow-x: auto; font-size: .9rem; }.kitsheet th, .kitsheet td{ padding: 6px 5px; }}
