html,
body {
    width: 400px;
    height: 600px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: #000;
    font-family: 'Press Start 2P', monospace;
    color: #00ff00;
}

.overlay-container {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 400px;
    height: 600px;
    transform: translate(-50%, -50%);
    overflow: hidden;
    border: 2px solid #00ff00;
    box-sizing: border-box;
}

.background-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(1.10);
    z-index: 0;
}

.quest-list {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    z-index: 1;
    overflow: hidden;
}

.quest-list-inner {
    height: 100%;
    overflow-y: auto;
    padding-right: 4px;
}
    .quest-list-inner::-webkit-scrollbar {
        width: 6px;
    }

    .quest-list-inner::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, 0.7);
    }

    .quest-list-inner::-webkit-scrollbar-thumb {
        background: #00ff00;
    }

.quest-item {
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(0, 255, 0, 0.55);
    padding: 6px;
    margin-bottom: 8px;
    box-sizing: border-box;
    backdrop-filter: blur(2.5px) brightness(1);
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3), 0 0 3px rgba(0, 0, 0, 0.4);
}

.quest-title {
    font-size: 10px;
    margin-bottom: 4px;
    text-shadow: 0 0 4px #00ff00, 0 0 8px #00ff00, 0 0 12px #00ff00;
}

.quest-desc {
    font-size: 8px;
    line-height: 1.3;
}

.quest-reward {
    font-size: 8px;
    margin-top: 4px;
    color: #ffd700;
}

/* Stats bar on the bottom */
.quest-stats {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: space-around;
    border-top: 2px solid #00ff00;
    padding: 5px 0;
    z-index: 2;
    color: #00ff00;
    box-sizing: border-box;
}

.stats-item {
    font-size: 8px;
}
