#footnotes_dialog_12c1b560 {
    --awef-bg: #fffaf0;
    position: fixed;
    z-index: 99999;
    width: max-content;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 6px;
    background: var(--awef-bg);
    color: #191919;
    box-shadow: 0 3px 14px #0003;
    font-size: 1rem;
    line-height: 1.5;
}
#footnotes_dialog_12c1b560::before {
    content: "";
    position: absolute;
    left: var(--awef-arrow-x);
    width: 12px;
    height: 12px;
    background: var(--awef-bg);
    border: solid #ccc;
    border-width: 1px 0 0 1px;
    transform: translateX(-50%) rotate(45deg);
    top: -7px;
}
#footnotes_dialog_12c1b560[data-side="above"]::before {
    top: auto;
    bottom: -7px;
    transform: translateX(-50%) rotate(225deg);
}
#footnotes_dialog_12c1b560_content {
    box-sizing: border-box;
    padding: 12px 16px;
    overflow: auto;
    overscroll-behavior: contain;
    overflow-wrap: anywhere;
    scrollbar-width: thin;
    scrollbar-color: #9b8b76 var(--awef-bg);
    border-radius: inherit;
}
#footnotes_dialog_12c1b560_content > :first-child { margin-top: 0; }
#footnotes_dialog_12c1b560_content > :last-child { margin-bottom: 0; }
#footnotes_dialog_12c1b560_content img { max-width: 100%; height: auto; }
#footnotes_dialog_12c1b560_content pre { white-space: pre-wrap; }
#footnotes_dialog_12c1b560_content:focus-visible { outline: 2px solid currentColor; outline-offset: -3px; }
#footnotes_dialog_12c1b560 .awef-scroll-cue {
    display: none;
    pointer-events: none;
    position: absolute;
    left: 1px;
    right: 1px;
    height: 24px;
    text-align: center;
    font: bold 18px/24px sans-serif;
    color: #705337;
    border-radius: inherit;
}
#footnotes_dialog_12c1b560 .awef-cue-below { bottom: 1px; background: linear-gradient(transparent, var(--awef-bg) 70%); }
#footnotes_dialog_12c1b560 .awef-cue-above { top: 1px; background: linear-gradient(var(--awef-bg) 30%, transparent); }
#footnotes_dialog_12c1b560.awef-more-below .awef-cue-below,
#footnotes_dialog_12c1b560.awef-more-above .awef-cue-above { display: block; }
