/* blog/css/kdviz.css: the players of the KeibiDrop series pages (blog/js/kdviz.js). Two greys and one accent. */
.kv { margin: 1.5rem auto; max-width: 46rem; outline: none; }
.kv svg { display: block; width: 100%; height: auto; }
.kv svg text { fill: #c2c7d0; font-size: 11px; }
.kv svg .kv-name { fill: #e8ebf1; font-size: 13px; font-weight: 600; }
.kv svg .kv-actor { fill: #1d2331; stroke: #3a4356; stroke-width: 1.2px; }
.kv svg .kv-life { stroke: #3a4356; stroke-width: 1.2px; stroke-dasharray: 4 4; }
.kv svg .kv-arrow { stroke: #6a7589; stroke-width: 1.6px; fill: none; }
.kv svg .kv-mark { fill: #1d2331; stroke: #6a7589; stroke-width: 1.2px; }
.kv svg .is-on.kv-arrow, .kv svg .is-on.kv-mark { stroke: #01aaff; stroke-width: 2.4px; }
.kv svg text.is-on { fill: #01aaff; }
.kv svg .is-done.kv-arrow { stroke: #8f98a8; }
.kv svg .kv-packet { fill: #01aaff; }
.kv-ctl { display: flex; flex-wrap: wrap; gap: .5rem; margin: .8rem 0 .4rem; }
.kv-ctl[hidden] { display: none; }
.kv-ctl button { font-size: .85rem; padding: .25rem .75rem; width: auto; margin: 0; }
.kv-say { font-size: .9rem; color: #c2c7d0; min-height: 2.6em; margin: .3rem 0 .8rem; }
.kv-steps li { margin-bottom: .45rem; }
.kv-ready .kv-steps li { cursor: pointer; border-left: 3px solid transparent; padding-left: .5rem; margin-left: -.5rem; }
.kv-ready .kv-steps li.is-on { border-left-color: #01aaff; color: #e8ebf1; }
@media (prefers-reduced-motion: reduce) { .kv svg .kv-packet { display: none; } }

/* The key fold, moved from blog/css/kdmap.css with its script. */
.kdfold { margin: 1.5rem auto; max-width: 46rem; }
.kdfold-svg { display: block; width: 100%; height: auto; }
.kdfold-svg text { fill: #c2c7d0; font-size: 11px; }
.kdfold-svg .kf-name { fill: #e8ebf1; font-size: 15px; font-weight: 600; }
.kdfold-svg .kf-sub { fill: #8f98a8; font-size: 11px; }
.kf-box { fill: #1d2331; stroke: #3a4356; stroke-width: 1.2px; }
.kf-lane { stroke: #6a7589; stroke-width: 1.5px; }
.kf-track { fill: #1d2331; stroke: #3a4356; }
.kf-bar { fill: #01aaff; }
.kf-frame { stroke: #0b1018; stroke-width: 1px; }
.kf-frame.is-folded { stroke: #e8ebf1; stroke-width: 2px; stroke-dasharray: 3 2; }
.kf-frames text { fill: #0b1018; font-size: 10.5px; font-weight: 600; }
.kf-key { stroke: #3a4356; }
.kf-key.is-wiped { fill: #161a23; stroke-dasharray: 3 3; }
.kdfold-svg .kf-keytext { fill: #0b1018; font-size: 11px; font-weight: 600; }
.kdfold-svg .kf-keytext.is-wiped { fill: #5d6677; font-weight: 400; }
.kf-strike { stroke: #5d6677; stroke-width: 1.2px; }
.kdfold .e0 { fill: #8f98a8; } .kdfold .e1 { fill: #01aaff; } .kdfold .e2 { fill: #7fd3ff; } .kdfold .e3 { fill: #2f8fc0; }
.kf-cell { stroke: #0b1018; }
.kf-pre { fill: #3a4356; } .kf-ep { fill: #01aaff; } .kf-ctr { fill: #5d6677; }
.kdfold-svg .kf-nonce text { fill: #e8ebf1; font-size: 11px; }
.kdfold-svg .kf-nonce .kf-sub { fill: #8f98a8; }
.kdfold-ctl { display: flex; flex-wrap: wrap; gap: .4rem; margin: .6rem 0 .4rem; }
.kdfold-ctl[hidden] { display: none; }
.kdfold-ctl button { width: auto; margin: 0; padding: .25rem .75rem; font-size: .8rem; line-height: 1.3; border-radius: 1rem;
  background: transparent; border: 1px solid #3a4356; color: #c2c7d0; }
.kdfold-ctl button:hover, .kdfold-ctl button:focus-visible { border-color: #01aaff; }
.kdfold-ctl button[aria-pressed="true"] { background: #01aaff; border-color: #01aaff; color: #0b1018; }
.kdfold-say { font-size: .88rem; color: var(--pico-color); min-height: 3.2em; margin: .2rem 0 .4rem; }
.kdfold figcaption { font-size: .85rem; color: var(--pico-muted-color); text-align: left; }
.kdfold-steps { max-width: 46rem; margin: 1rem auto; }

/* The cache copy, piece by piece (data-kdread). Two greys and the blues of the key fold. */
.kdread { margin: 1.5rem auto; max-width: 46rem; }
.kdread-svg { display: block; width: 100%; height: auto; }
.kdread-svg text { fill: #c2c7d0; font-size: 11px; }
.kdread-svg .kr-name { fill: #e8ebf1; font-size: 13px; font-weight: 600; }
.kdread-svg .kr-sub { fill: #8f98a8; font-size: 11px; }
.kr-box { fill: #1d2331; stroke: #3a4356; stroke-width: 1.2px; }
.kr-lane { stroke: #6a7589; stroke-width: 1.5px; }
.kr-cell { stroke: #3a4356; stroke-width: 1px; }
.kr-cell.s0 { fill: #161a23; }
.kr-cell.s1 { fill: #161a23; stroke: #01aaff; stroke-width: 1.6px; stroke-dasharray: 3 2; }
.kr-cell.s2 { fill: #2f8fc0; }
.kr-cell.s3 { fill: #7fd3ff; }
.kr-req { fill: #8f98a8; }
.kr-piece { fill: #01aaff; }
.kr-arrow { fill: #e8ebf1; }
.kdread-ctl { display: flex; flex-wrap: wrap; gap: .5rem; margin: .8rem 0 .4rem; }
.kdread-ctl[hidden] { display: none; }
.kdread-ctl button { font-size: .85rem; padding: .25rem .75rem; width: auto; margin: 0; }
.kdread-say { font-size: .9rem; color: #c2c7d0; min-height: 2.6em; margin: .3rem 0 .6rem; }
