.mobile-friendly {
    width: 100%;
    border-collapse: collapse;
}

.mobile-friendly th,
.mobile-friendly td {
    padding: 3px;
}

.mobile-friendly th {
    font-weight: normal;
    text-align: left;
}

.mobile-friendly tbody tr {
    background-color: rgb(245, 245, 245);
}

.mobile-friendly tbody tr:nth-child(2n+1) {
    background-color: rgb(230, 230, 230);
}

.mobile-friendly thead tr,
.mobile-friendly tr.mobile-friendly-header {
    background-color: rgb(160, 0, 0);
    color: rgb(255, 255, 255);
}

.mobile-friendly-inline-header {
    display: none;
}
/* candidate widths: 480px 768px */
@media only screen and (max-width: 768px) {
    .mobile-friendly {
        max-width: 350px;
        margin: 0 auto;
    }
    .mobile-friendly tr.mobile-friendly-header {
        display: none;
    }
    .mobile-friendly tbody td {
        padding: 0;
    }
    .mobile-friendly-inline-header,
    .mobile-friendly-inline-content {
        padding: 3px;
    }
    .mobile-friendly-inline-header {
        flex: 1 0 auto;
        display: inline;
    }
    .mobile-friendly-inline-content {
        text-align: right;
        padding-left: 10px;
    }
    .mobile-friendly tbody td {
        display: flex;
        justify-content: flex-end;
        flex-wrap: wrap;
    }
}