html,
body {
    margin: 0;
}

body {
    font-family: "Times New Roman", Times, serif;
    font-size: 18px;
    line-height: 1.45;
    background: #fff;
    color: #000;
    text-align: center;
}

p {
    margin: 0 0 1em;
}

[hidden] {
    display: none !important;
}

code {
    font-size: 0.85em;
}

footer {
    font-size: 14px;
    color: #666;
    margin-top: 28px;
}

#verdict.ac {
    color: #080;
}

#verdict.tle {
    color: #c00;
}

.home {
    min-height: 100vh;
    box-sizing: border-box;
    padding: 48px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.home h1 {
    font-size: 44px;
    margin: 0;
    line-height: 1.15;
}

.aka {
    margin: 4px 0 22px;
}

.why {
    appearance: none;
    background: none;
    border: 0;
    padding: 0;
    font: inherit;
    color: #00e;
    text-decoration: underline;
    cursor: pointer;
}

.banner {
    display: block;
    transform: perspective(900px) rotateY(0deg);
    transition: transform 0.7s ease;
    width: 560px;
    max-width: 100%;
    height: auto;
}

.intro {
    max-width: 30em;
    margin: 0 0 18px;
}

.banner.flipped {
    transform: perspective(900px) rotateY(180deg);
}

nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 22px;
}

#tank {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 5;
}

figcaption {
    margin-top: 8px;
    font-size: 16px;
}

.page {
    max-width: 560px;
    margin: 0 auto;
    padding: 72px 16px 96px;
}

.page h1 {
    font-size: 1.4em;
    margin: 0 0 32px;
}

h2 {
    font-size: 1em;
    margin: 48px 0 6px;
}

.yr {
    color: #666;
    font-weight: normal;
    font-size: 14px;
}

.dim {
    color: #555;
}

.shot {
    margin: 0 0 16px;
}

.shot img,
.shot video {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid #ccc;
}

.shot.tall img {
    width: auto;
    max-width: 100%;
    max-height: 600px;
    margin: 0 auto;
}

.shot figcaption {
    margin-top: 4px;
    font-size: 14px;
    color: #666;
}

.code {
    margin: 0 0 16px;
}

.code pre {
    margin: 0;
    padding: 10px 12px;
    overflow-x: auto;
    text-align: left;
    background: #f5f5f5;
    font-family: Consolas, Menlo, monospace;
    font-size: 13px;
    line-height: 1.4;
}

.code code {
    font-size: inherit;
}

.code figcaption {
    margin-top: 4px;
    font-size: 14px;
    color: #666;
}

.code.small {
    width: max-content;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 840px) {
    .shot,
    .code {
        margin-left: -110px;
        margin-right: -110px;
    }
}

@media (max-width: 600px) {
    .home h1 {
        font-size: 36px;
    }

    .page {
        padding-top: 40px;
    }
}

h3 {
    font-size: 1em;
    margin: 28px 0 6px;
}

#player {
    display: block;
    width: 100%;
    margin: 24px 0 8px;
}

.tracks {
    list-style: none;
    margin: 20px 0 0;
    padding: 0;
    text-align: left;
}

.tracks li {
    border-top: 1px solid #ddd;
}

.tracks li:last-child {
    border-bottom: 1px solid #ddd;
}

.trk {
    appearance: none;
    background: none;
    border: 0;
    font: inherit;
    color: #00e;
    text-decoration: underline;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    padding: 7px 2px;
    text-align: left;
}

.trk:hover .tname {
    background: #eee;
}

.trk[aria-current] {
    color: #000;
    text-decoration: none;
    font-style: italic;
}

.tlen {
    color: #666;
    text-decoration: none;
    font-variant-numeric: tabular-nums;
}

.trk:focus-visible {
    outline: 2px solid #00e;
    outline-offset: -2px;
}

@media (prefers-reduced-motion: reduce) {
    .banner {
        transition: none;
    }
}
