body {
    background: #faf7ed;
    color: #23302d;
}

a, .label {
    color: #34534e;
}

.introduction {
    padding-bottom: 1rem;
}

.story {
    margin-bottom: 2rem;
}

.presentation-film {
    display: block;
    width: 100%;
    max-width: 52rem;
    aspect-ratio: 16 / 9;
    border: 0;
    background: #192c2a;
    margin-top: 1rem;
}

.folder-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.folder-actions a,
.folder-actions button {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: .55rem .8rem;
    border: 1px solid #b6a47c;
    border-radius: .65rem;
    background: #f1e9d7;
    color: #29453f;
    font: 600 1rem/1.35 system-ui, sans-serif;
    text-decoration: none;
    cursor: pointer;
}

.folder-actions a:hover,
.folder-actions button:hover {
    background: #e8dbc0;
}

.folder-share-status {
    overflow-wrap: anywhere;
}

.folder-reader-nav {
    position: sticky;
    top: 0;
    z-index: 1;
    justify-content: center;
    padding: .5rem;
    background: #faf7ed;
    border-bottom: 1px solid #b6a47c;
}

.folder-reader main {
    width: min(calc(100% - 1rem), 40rem);
}

.folder-reader h1 {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    text-align: center;
    margin: 1rem 0;
}

.folder-reader main img {
    display: block;
    width: 100%;
    height: auto;
    margin-bottom: .75rem;
}

.folder-cover-link {
    display: block;
    width: fit-content;
}

.folder-reader-nav a:first-child,
.folder-actions a[href^="folder-"] {
    background: #34534e;
    color: #fff;
}

.folder-reader-nav a:first-child:hover,
.folder-actions a[href^="folder-"]:hover {
    background: #29453f;
}

.presentation-poster {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 32%;
    align-items: center;
    gap: clamp(.7rem, 4vw, 2.5rem);
    width: 100%;
    max-width: 52rem;
    min-height: 13rem;
    aspect-ratio: 16 / 9;
    padding: clamp(.85rem, 4vw, 2.75rem);
    margin-top: 1rem;
    border: 1px solid #b6a47c;
    border-radius: .75rem;
    background: #1e3037;
    color: #fffaf0;
    text-decoration: none;
}

.presentation-poster img {
    display: block;
    width: 100%;
    height: auto;
    box-shadow: 0 .35rem 1rem #101c21;
}

.poster-copy {
    display: grid;
    justify-items: start;
    gap: .4rem;
}

.poster-author {
    color: #e5cb91;
    font: 600 clamp(.8rem, 2.2vw, 1.15rem)/1.3 system-ui, sans-serif;
}

.poster-title {
    font-size: clamp(1.8rem, 7vw, 4.5rem);
    line-height: 1.04;
}

.poster-subtitle {
    font-size: clamp(1rem, 3.1vw, 1.8rem);
    line-height: 1.2;
}

.poster-date {
    margin-top: clamp(.35rem, 2vw, 1.75rem);
    font: 400 clamp(.8rem, 2.2vw, 1.1rem)/1.4 system-ui, sans-serif;
}

.poster-play {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    min-height: 44px;
    padding: .35rem .65rem;
    border-radius: .5rem;
    margin-top: .3rem;
    background: #f1e9d7;
    color: #20343a;
    font: 600 .9rem/1.25 system-ui, sans-serif;
}

.presentation-poster:hover .poster-play {
    background: #fffaf0;
}

.presentation-poster:focus-visible {
    outline: 3px solid #886525;
    outline-offset: 3px;
}

.folder-reader-nav [hidden],
.folder-expanded .folder-reader-nav a[download] {
    display: none;
}

.folder-expanded .folder-reader-nav {
    padding-top: max(.35rem, env(safe-area-inset-top));
    padding-bottom: .35rem;
}

.folder-expanded main {
    width: 100%;
    padding-bottom: env(safe-area-inset-bottom);
}

.folder-expanded h1 {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
}
