#questRows:not(:empty) {
    padding-bottom: 8px;
}

.quest-col {
    display: flex;
    padding: 4px 5px;
}

.quest-panel {
    background: rgba(96, 65, 44, 0.94);
    border: 1px solid rgba(215, 155, 66, 0.52);
    border-radius: 8px;
    color: #f7ead5;
    margin-bottom: 2px;
    overflow: hidden;
    width: 100%;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.045),
        0 3px 8px rgba(0, 0, 0, 0.28);
}

.quest-panel-title {
    margin: 0;
    padding: 4px 6px;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 900;
    color: #f3c24a;
    background: transparent;
    border-bottom: 1px solid rgba(215, 155, 66, 0.52);
    text-align: center;
    text-shadow: none;
}

.quest-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

.quest-info-cell {
    padding: 6px 8px;
    border-right: 1px solid rgba(215, 155, 66, 0.34);
    border-bottom: 1px solid rgba(215, 155, 66, 0.34);
    text-align: center;
}

.quest-info-grid > :nth-child(3n) {
    border-right: none;
}

.quest-info-cell.quest-span-3 {
    grid-column: 1 / -1;
    border-right: none;
}

.quest-info-cell.quest-cell-reward {
    border-right: 1px solid rgba(215, 155, 66, 0.34);
}

.quest-info-cell.quest-cell-duration {
    border-right: 1px solid rgba(215, 155, 66, 0.34);
}

.quest-info-cell.quest-cell-chance {
    border-right: none;
}

.quest-info-cell.quest-cell-requirement {
    border-right: none;
    border-bottom: none;
}

.quest-info-label {
    color: rgba(247, 234, 213, 0.74);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 2px;
    text-align: center;
}

.quest-info-value {
    color: #fff3dc;
    font-size: 14px;
    font-weight: 800;
    text-align: center;
}

.quest-reward-amount {
    margin-top: 2px;
}

@media (max-width: 768px) {
    .quest-panel-title {
        font-size: 15px;
    }
}

.quest-empty {
    background: rgba(96, 65, 44, 0.94);
    border: 1px solid rgba(215, 155, 66, 0.52);
    border-radius: 8px;
    color: #f7ead5;
    text-align: center;
    font-weight: 800;
    padding: 16px;
}
