.shower {
    --slide-ratio: calc(16 / 9);
    font-family: "PT Sans", "DejaVu Sans", sans-serif;
}

aside {
    display: none;
}

.technology-logo {
    display: inline-block;
    object-fit: contain;
}

.slide .lede {
    font-size: 28px;
    line-height: 1.35;
}

#title .title-byline {
    position: absolute;
    left: var(--slide-side);
    right: var(--slide-side);
    bottom: 48px;
    margin: 0;
    text-align: center;
}

.slide.code-slide .metric {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 5px 9px;
    border: 1px solid #ccc;
    background: rgb(255 255 255 / 92%);
    color: #585a5e;
    font-size: 16px;
    line-height: 1.2;
    white-space: nowrap;
}

.metric .bytes {
    color: #585a5e;
    font-weight: bold;
}

.metric .comparison {
    margin-left: 8px;
    padding-left: 8px;
    border-left: 1px solid #ccc;
}

.metric .win {
    color: #137333;
}

.metric .setback {
    color: #b42318;
}

.slide .code-pane {
    overflow: auto;
    font-size: 14px;
    line-height: 1.35;
}

.slide .code-pane pre {
    margin: 0;
    font-family: "PT Mono", "DejaVu Sans Mono", monospace;
}

.slide.code-slide {
    padding: 0 !important;
    background: #f8f8f8;
}

.slide.code-slide .code-frame {
    position: absolute;
    inset: 0 0 calc(var(--progress-size) + 8px);
}

.slide.code-slide .code-title {
    position: static;
    margin: 0;
    color: #454c56;
    font-size: 50px;
    line-height: 1.1;
    text-align: right;
}

.slide.code-slide .code-title .technology-logo {
    width: 34px;
    height: 34px;
    margin-left: 10px;
    vertical-align: -0.15em;
}

#jsonld-marked .code-title-note {
    color: #6a7078;
    font-size: 0.52em;
    font-weight: normal;
    line-height: 1.2;
}

.slide.code-slide .code-info {
    z-index: 2;
    width: 430px;
    margin: 0 12px 12px 0;
    background: transparent;
}

.slide.code-slide .code-info .metric {
    position: static;
    justify-content: flex-end;
    flex-wrap: wrap;
    margin: 8px 0 0;
    padding: 0;
    border: 0;
    background: transparent;
    white-space: normal;
}

.slide.code-slide .code-pane {
    box-sizing: border-box;
    height: 100%;
    max-height: none;
    padding: 4px 8px;
    overflow: auto;
    scrollbar-width: none;
    line-height: 1.2;
    background: #f8f8f8;
}

.slide.code-slide .code-pane pre,
.slide.code-slide .code-pane code {
    line-height: 1.2;
}

.slide.code-slide .code-pane::-webkit-scrollbar {
    display: none;
}

#json-subset .subset-expression {
    display: inline-flex;
    align-items: baseline;
    gap: 0.12em;
    white-space: nowrap;
}

#json-subset .shout .subset-logo {
    width: auto;
    height: 0.72em;
    height: 1cap;
}

#jsonld-marked .json-only-punctuation {
    display: inline-block;
    min-width: 0.7em;
    border-radius: 2px;
    background: #ffe2e0;
    box-shadow: inset 0 -2px #d33d31;
    color: #9d2018;
    font-weight: bold;
    text-align: center;
}

#jsonld-marked .json-only-quote {
    border-radius: 2px;
    background: #ffe2e0;
    box-shadow: inset 0 -2px #d33d31;
    color: #9d2018;
    font-weight: bold;
}

#dollar .dollar-convenience {
    border-radius: 2px;
    background: #e2f1e8;
    color: #137333;
    font-weight: bold;
}

#anchors-aliases .anchor-alias {
    border-radius: 2px;
    background: #e2f1e8;
    color: #137333;
    font-weight: bold;
}

#dollar .code-title .sigil-at {
    color: #BA2121;
}

#dollar .code-title .sigil-dollar {
    color: #137333;
}

#yaml-ld-specification .specification-reference {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 36px auto 0;
}

#yaml-ld-specification .specification-status-card {
    width: 490px;
    padding: 32px 38px;
    text-align: center;
}

#yaml-ld-specification .specification-status-card .w3c-logo {
    margin: 0 auto 22px;
}

#yaml-ld-specification .specification-status-label {
    margin: 0;
    color: #202b3c;
    font-size: 42px;
    font-weight: bold;
    line-height: 1.1;
}

#yaml-ld-specification .specification-status-detail {
    margin: 14px 0 0;
    color: #58616d;
    font-size: 24px;
    line-height: 1.2;
}

#yaml-ld-specification .w3c-logo {
    display: block;
    width: 104px;
    height: 70px;
}

#norway-problem {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: calc(var(--progress-size) + 8px);
}

#norway-problem .norway-flag {
    display: block;
    width: 528px;
    height: auto;
}

#norway-11,
#norway {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#norway-11 .norway-version,
#norway .norway-version {
    margin: 0 0 34px;
    color: #6a7078;
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.norway-comparison {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 34px;
    width: 100%;
    color: #202b3c;
    font-family: "PT Mono", "DejaVu Sans Mono", monospace;
}

.norway-source,
.norway-result {
    padding: 28px 34px;
    border: 2px solid #c9cdd2;
    background: #f8f8f8;
}

.norway-source {
    color: #49515d;
    font-size: 34px;
}

.norway-arrow {
    color: #6a7078;
    font-family: "PT Sans", "DejaVu Sans", sans-serif;
    font-size: 58px;
    line-height: 1;
}

.norway-result {
    font-size: 42px;
}

.norway-field {
    color: #49515d;
    font-weight: normal;
}

.norway-value {
    font-size: 1.55em;
}

.norway-result-legacy {
    border-color: #b42318;
    background: #fff8f7;
    color: #b42318;
}

.norway-result-current {
    border-color: #2f6f9f;
    background: #f7fbff;
    color: #2f6f9f;
}

.rubber-stamp {
    z-index: 3;
    width: max-content;
    margin: 0;
    padding: 16px 28px;
    border: 5px solid #b42318;
    outline: 3px solid #b42318;
    outline-offset: 6px;
    background: rgb(255 248 247 / 94%);
    color: #b42318;
    font-family: "PT Mono", "DejaVu Sans Mono", monospace;
    font-size: 44px;
    font-weight: bold;
    letter-spacing: 0.06em;
    line-height: 1;
    text-align: center;
    transform: translate(-50%, -50%) rotate(-11deg);
    pointer-events: none;
}

.rubber-stamp-ok {
    border-color: #2f6f9f;
    outline-color: #2f6f9f;
    background: rgb(247 251 255 / 94%);
    color: #2f6f9f;
}

#mapping-keys .mapping-key {
    display: inline-block;
    margin-left: -8px;
    padding: 0 8px;
    background: #ffe2e0;
    box-shadow: inset 3px 0 #d33d31;
}

#yaml-comments .code-pane .c,
#yaml-comments .code-pane .c1 {
    padding: 0 4px;
    background: #e7f3ea;
    color: #1f6a3a;
    font-style: italic;
}

#markdown-ld .code-pane code {
    display: block;
}

#markdown-ld .front-matter-separator {
    display: inline-block;
    box-sizing: border-box;
    width: 100%;
    background: #e2f1e8;
    color: #137333;
    font-weight: bold;
}

#questions .questions-layout {
    align-items: center;
}

#questions .questions-resource-list {
    display: grid;
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

#questions .questions-resource-list li::before {
    content: none;
}

#questions .questions-resource-link,
#questions .questions-presentation-link {
    background-image: none;
    color: #253858;
    text-decoration: none;
}

#questions .questions-resource-link {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    align-items: center;
    column-gap: 14px;
}

#questions .questions-resource-logo {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

#questions .questions-resource-copy {
    display: grid;
    gap: 4px;
    min-width: 0;
}

#questions .questions-resource-link strong,
#questions .questions-presentation-link strong {
    font-size: 22px;
    line-height: 1.15;
}

#questions .questions-resource-link code,
#questions .questions-presentation-link code {
    color: #454c56;
    font-size: 15px;
    overflow-wrap: anywhere;
}

#questions .questions-presentation-link {
    display: grid;
    justify-items: center;
    gap: 12px;
    padding-left: 32px;
    text-align: center;
}

#questions .questions-presentation-link > span {
    display: grid;
    justify-items: center;
    gap: 4px;
}

#questions .questions-presentation-link code {
    white-space: nowrap;
    overflow-wrap: normal;
}

#questions .questions-presentation-link > img {
    width: 140px;
    height: 140px;
    background: #fff;
}

#graph-slide {
    padding: 0 !important;
    background: #05070d !important;
    overflow: hidden !important;
}

#graph-slide .graph-shell {
    position: absolute !important;
    inset: 0;
    width: auto !important;
    height: auto !important;
    background: #05070d;
    overflow: hidden;
}

#graph-slide #graph {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
}

.region .graph-shell {
    display: none;
}

.scene-label-layer {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.scene-label {
    border: 0;
    padding: 0;
    background: transparent;
    color: #f5f6f8;
    font: 700 18px/1.1 "PT Sans", sans-serif;
    text-shadow: 0 1px 4px #05070d, 0 0 9px #05070d;
    white-space: nowrap;
    cursor: pointer;
    pointer-events: auto;
}

.scene-label:hover,
.scene-label:focus-visible {
    color: #ffd6a4;
    outline: none;
}

.scene-star-disc {
    border: 0;
    border-radius: 50%;
    background: #ff7657;
    box-shadow: 0 0 14px rgb(255 118 87 / 45%);
    cursor: pointer;
    pointer-events: auto;
}

.scene-star-disc:hover,
.scene-star-disc:focus-visible {
    box-shadow: 0 0 20px rgb(255 185 136 / 85%);
    outline: none;
}

.scene-star-disc.star-a {
    background: #ffe5ab;
    box-shadow: 0 0 16px rgb(255 229 171 / 55%);
}

.scene-star-disc.star-b {
    background: #ffba7c;
    box-shadow: 0 0 16px rgb(255 186 124 / 55%);
}

.scene-star-disc.scene-planet-hint {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
}

.scene-star-disc.scene-planet-hint:hover,
.scene-star-disc.scene-planet-hint:focus-visible {
    box-shadow: none;
}

.scene-star-disc.scene-planet-hint svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
    fill: none;
    stroke: #d7e3ee;
    stroke-width: 1.75;
    stroke-linecap: square;
    animation: planet-hint-spin 48s linear infinite;
}

.scene-star-disc.scene-planet-hint.planet-d svg {
    stroke: #e0b894;
}

.scene-star-disc.scene-planet-hint:hover svg,
.scene-star-disc.scene-planet-hint:focus-visible svg {
    stroke: #fff;
}

@keyframes planet-hint-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .scene-star-disc.scene-planet-hint svg {
        animation: none;
    }
}

.scene-note,
.scene-help {
    position: absolute;
    z-index: 3;
    margin: 0;
    color: rgb(232 235 240 / 84%);
    font: 12px/1.25 "PT Sans", sans-serif;
    text-shadow: 0 1px 3px #05070d;
}

.scene-note {
    left: 28px;
    bottom: 24px;
    max-width: 50%;
    color: rgb(232 235 240 / 68%);
}

.scene-help {
    right: 28px;
    bottom: 24px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 7px 12px;
    max-width: 580px;
    text-align: right;
}

.control-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: rgb(232 235 240 / 74%);
    white-space: nowrap;
}

.control-keys {
    display: inline-flex;
    gap: 2px;
}

.scene-help kbd,
.control-gesture {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 18px;
    box-sizing: border-box;
    padding: 1px 5px;
    border: 1px solid rgb(232 235 240 / 35%);
    border-bottom-color: rgb(232 235 240 / 58%);
    border-radius: 3px;
    background: rgb(232 235 240 / 10%);
    color: rgb(245 246 248 / 92%);
    font: 700 10px/1 "PT Sans", sans-serif;
    letter-spacing: 0.02em;
    text-shadow: none;
}

.control-gesture {
    padding-inline: 6px;
    font-weight: 400;
    text-transform: uppercase;
}

.legend {
    display: flex;
    gap: 18px;
    font-size: 18px;
    margin: 0 0 8px;
}

.legend span::before {
    content: "";
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-right: 6px;
    vertical-align: middle;
}

.legend .system::before { background: #6c63ff; }
.legend .star::before { background: #f5c542; }
.legend .planet::before { background: #4ecdc4; }
.legend .other::before { background: #9aa0a6; }

.status dt {
    font-weight: bold;
    margin-top: 8px;
}

#implementations .implementation-grid {
    grid-column-gap: 22px;
}

#implementations .implementation {
    --implementation-status: #137333;
    --implementation-status-text: #fff;
    min-height: 360px;
    min-width: 0;
    padding: 24px 22px 22px;
    border-top: 8px solid var(--implementation-status);
    background: #f8f8f8;
}

#implementations .implementation-logo {
    width: 52px;
    height: 52px;
}

#implementations .implementation h3 {
    margin: 14px 0 8px;
    color: #222;
    font-size: 27px;
    line-height: 1.08;
    overflow-wrap: anywhere;
}

#implementations .implementation h3 a {
    color: inherit;
    text-decoration-color: #7b8797;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

#implementations .implementation-role {
    margin: 0 0 12px;
    color: #585a5e;
    font-size: 17px;
    font-weight: bold;
    text-transform: uppercase;
}

#implementations .implementation-status {
    display: inline-block;
    margin: 4px 0 14px;
    padding: 4px 8px;
    border-radius: 3px;
    background: var(--implementation-status);
    color: var(--implementation-status-text);
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
}

#implementations .implementation-export {
    --implementation-status: #2f6f9f;
}

#implementations .implementation-progress {
    --implementation-status: #f5c542;
    --implementation-status-text: #3c3000;
}

.status dd {
    margin: 0 0 0 1em;
    font-size: 21px;
    line-height: 1.2;
}

.status {
    margin: 0;
}

.slide.memoriam-slide {
    display: flex;
    align-items: center;
    gap: 72px;
    padding: 70px 100px;
    background: #050505;
    color: #fff;
}

.memoriam-copy {
    max-width: 520px;
}

.slide.memoriam-slide h2 {
    margin: 0 0 18px;
    color: #fff;
    font-size: 48px;
}

.slide .memoriam-name {
    margin: 0;
    color: #fff;
    font-size: 36px;
    font-weight: bold;
}

.slide .memoriam-years {
    margin: 4px 0 24px;
    color: #d7d7d7;
    font-size: 25px;
}

.slide.memoriam-slide .lede {
    margin: 0;
    color: #f0f0f0;
}

.memoriam-portrait {
    flex: 0 0 280px;
    margin: 0;
}

.memoriam-portrait img {
    display: block;
    width: 280px;
    height: 280px;
    object-fit: cover;
    border: 1px solid #555;
}

#acknowledgements .acknowledgement-grid {
    grid-column-gap: 22px;
}

#acknowledgements .acknowledgement {
    min-width: 0;
    padding: 18px 16px 20px;
    background: #f8f8f8;
}

#acknowledgements .acknowledgement img {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    background: #fff;
}

#acknowledgements .acknowledgement h3 {
    margin: 14px 0 0;
    color: #222;
    font-size: 22px;
    line-height: 1.15;
    overflow-wrap: anywhere;
}

#acknowledgements .acknowledgement h3 a {
    color: inherit;
    text-decoration-color: #7b8797;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}
