body,
html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background-color: #666666;
    /* from contents.htm */
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 11px;
}

body.full-window {
    padding-top: 11px !important;
}

body.full-window #layout-container {
    gap: 0px !important;
}

#layout-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 800px;
}

.header-bar {
    width: 100%;
    text-align: center;
    margin-top: 0;
    margin-bottom: 20px;
    z-index: 10;
    position: relative;
}

.header-content {
    transform: translateY(-3px);
}

#stage-container {
    width: 512px;
    height: 300px;
    position: relative;
    background-color: #666666;
    overflow: hidden;
    cursor: crosshair;
}

#text-container {
    text-align: center;
    position: absolute;
    left: 0;
    width: 100%;
    font-family: "Courier New", Courier, monospace;
    -webkit-text-stroke: 0.3px currentColor;
    pointer-events: none;
}

.chapter-info {
    font-size: 12px;
    -webkit-text-stroke: 0.3px currentColor;
    color: #000000;
    white-space: pre-wrap;
    margin: 0;
}

.prompt-text {
    font-family: "Times New Roman", Times, serif;
    -webkit-text-stroke: 0.3px currentColor;
    font-size: 12px;
    color: #6b0909;
    margin: 0;
    display: none;
    position: absolute;
    bottom: 5px;
    width: 100%;
    text-align: center;
    pointer-events: none;
}

.footer-bar {
    margin-top: 0px;
    z-index: 10;
    position: relative;
    font-family: 'Times New Roman', Times, serif;
    -webkit-text-stroke: 0.3px currentColor;
    text-align: center;
}

.footer-bar a {
    color: #FF0000;
    text-decoration: underline;
}

.footer-bar a:hover {
    text-decoration: none;
}



.title-img {
    transform: translateY(-2px);
}

/* Override settings icon color */
#prefs-gear {
    color: #ccc !important;
}