#content * {
    box-sizing: border-box;
}

#content article>section {
    border: 0.125em solid var(--text-color);
    border-radius: 1em;
    background: var(--help-background);
    padding: 0 1em;
    margin: 0.5em 0;
}

#content article.notice {
    background-color: hsl(33 100% 13% / 1);
    color: hsl(39 100% 36% / 1);
    color: hsl(41 96% 54% / 1);
    border: 0.25em solid hsl(41 96% 54% / 1);
    padding: 0 1em;
    border-radius: 1em;
    font-weight: bold;
}

#content article.notice a {
    color: var(--color-white);
}

#content .help h1,
#content .help h2,
#content .help h3,
#content .help h4 {
    color: var(--help-heading-color);
}

#content .help .center {
    text-align: center;
}

#content .help .up {
    color: var(--color-green);
    font-weight: 800;
}

#content .help .down {
    color: var(--color-red);
    font-weight: 800;
}

#content .help .callout,
#content .help .tip {
    background: rgba(255, 255, 255, .07);
    border-left: 0.3em solid var(--accent-color);
    border-radius: 0.75em;
    padding: 1em 1.2em;
    margin: 1em;
}

#content .help .callout b,
#content .help .tip b,
#content .help .callout strong,
#content .help .tip strong {
    color: var(--accent-color);
}

#content .help .sub {
    color: var(--text-color-sub);
}

#content .help .fine {
    color: var(--text-color-fine);
    font-size: 0.8em;
}

#content .help .lead,
#content .help .lede {
    font-size: 1.2em;
}

#content .help .chip {
    display: inline-block;
    min-width: 1.4em;
    padding: 1px 6px;
    margin: 0 1px;
    border-radius: 5px;
    background: #fdfdfb;
    /* color: #000000; */
    font-weight: 800;
    text-align: center;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .35);
}

#content .help .chip.lucky {
    color: var(--accent-color);
}

#content .help .term {
    color: var(--accent-color);
    font-weight: bold;
}

#content .help table {
    width: 100%;
    border-collapse: collapse;
    margin: 0.5em 0 0.75em;
}

#content .help table caption {
    caption-side: bottom;
    background: rgba(255, 255, 255, .07);
}

#content .help table td {
    padding: 0.5em 0;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    vertical-align: top;
}

#content .help table.points td:last-child {
    text-align: right;
    font-weight: 700;
    white-space: nowrap;
    padding-left: 1em;
    color: var(--color-red);
}

#content .help table.legend td {
    vertical-align: middle;
}

#content .help table.legend td:first-child {
    padding-right: 1em;
}

#content .help table.legend svg {
    height: 3em;
}

#content .help table.legend img {
    height: 3em;
}

#content .help table.legend .inline img {
    height: 1em;
}

#content .help table.legend img.die {
    border: 0.25em solid var(--text-color);
    border-radius: 0.5em;
    aspect-ratio: 1;
    padding: 0.25em;
}

#content .help table.legend img.die.green {
    background: var(--color-green);
}

#content .help table.legend img.die.yellow {
    background: var(--color-yellow);
}

#content .help table.legend img.die.red {
    background: var(--color-red);
}

#content .help b,
#content .help strong {
    color: var(--help-bold-color);
}

#content .help em {
    color: var(--help-bold-color);
    font-style: italic;
}

#content .help svg.die {
    height: 1.5em;
}

#content .help svg.die rect {
    fill: none;
    stroke: var(--text-color);
    stroke-width: 0.25em;
}

#content .help svg.die circle {
    fill: var(--text-color);
}

#content .help ol.steps li::marker {
    color: var(--accent-color);
}

#content button {
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    background: var(--help-button-background);
    border-radius: 0.5em;
    border: 1pt solid black;
    color: #ffffff;
}

#content button:hover {
    /* background: forestgreen; */
    filter: hue-rotate(240deg);
}

#content button:active {
    transform: translate(0.2em, 0.2em);
    /* background: maroon; */
    filter: hue-rotate(134deg);
}

#close-btn {
    margin-left: 0.5em;
    aspect-ratio: 1;
}

#continue-btn {
    width: 100%;
    padding: 1em;
}