:root {
    --ink: #2F1506;
    --paper: #FDFAEF;
}

* {
    box-sizing: border-box;
}

html {
    text-transform: lowercase;
}

html,
body {
    margin: 0;
    overscroll-behavior: none;
}

body {
    background: var(--paper);
    color: var(--ink);
    font: 15px/1 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a,
button,
input,
textarea,
select {
    color: inherit;
    -webkit-tap-highlight-color: transparent;
    font: inherit;
}

a {
    text-decoration: none;
}

a:hover {
    opacity: .6;
}

a:focus,
a:focus-visible,
button:focus,
button:focus-visible,
input:focus,
input:focus-visible,
textarea:focus,
textarea:focus-visible,
select:focus,
select:focus-visible {
    outline: none;
}

img {
    max-width: 100%;
    display: block;
}

.bar {
    position: absolute;
    bottom: 6px;
    left: 10px;
    display: flex;
    gap: 2px;
    z-index: 1;
}

.bar button {
    background: none;
    border: 0;
    padding: 4px 6px;
    font-size: 18px;
    line-height: 1;
    color: var(--ink);
    cursor: pointer;
}

.help {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 1000;
    width: 26px;
    height: 26px;
    padding: 0;
    border: 0;
    cursor: pointer;
    background: #E6BBC6;
    -webkit-mask: url(../letters/fold/star.webp) center/contain no-repeat;
    mask: url(../letters/fold/star.webp) center/contain no-repeat;
    transition: transform .2s;
}

.help:hover,
.help:focus-visible {
    transform: rotate(18deg) scale(1.15);
}

#helpbox {
    border: 0;
    margin: auto 18px 52px auto;
    padding: 16px 20px;
    background: var(--paper);
    color: var(--ink);
    font: inherit;
    max-width: 260px;
}

#helpbox::backdrop {
    background: transparent;
}

#helpbox p {
    margin: 0 0 10px;
}

#helpbox p:last-child {
    margin: 0;
}

body>nav {
    position: fixed;
    inset: 0 0 auto;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
}

body>nav .name {
    font-weight: 700;
}

body>nav div {
    display: flex;
    gap: 10px;
}

body>nav a[aria-current] {
    opacity: .4;
    pointer-events: none;
}