.optimizer div#left {
    margin-right: 30px;
}
.optimizer div#left div.games {
    display: flex;
    flex-wrap: wrap;
    max-width: 600px;
}
.optimizer div#left div.games div.game {
    border: 1px solid #EEEEEE;
    position: relative;
}
.optimizer div#left div.games div.game p.day {
    position: absolute;
    top: -10px;
    left: 0;
    width: 100%;
    margin: 0;
    height: 20px;
    font-weight: bold;
    font-size: 12px;
}
.optimizer div#left div.games div.game img.logo {
    width: 30px;
    cursor: pointer;
}
.optimizer div#left div.games div.game img.logo:not(.active) {
    filter: grayscale(100%);
    opacity: 0.35;
}
.optimizer div#right div#selected {
    flex: 0;
    padding: 12px;
    background-color: #eeeeee;
}
.optimizer div#right div#selected div#budget {
    display: flex;
    flex-direction: row;
    font-size: 13px;
    font-weight: bold;
}
.optimizer div#right div#selected div#budget div:first-child {
    margin-right: auto;
}
.optimizer div#right div#selected table.border {
    border: 1px solid #cdcdcd;
}
.optimizer div#right div#selected table.border td.remove {
    padding: 0;
    color: #800000;
    cursor: pointer;
}
.optimizer div#right div#selected table.border td.remove::before {
    content: "\a0\a0\2716\a0\a0";
}
.optimizer div#right div#selected button {
    margin-top: 10px;
    font-size: 1rem;
}
.optimizer div#bottom {
    min-height: 200px;
    margin-top: 30px;
}
.optimizer div#bottom div#toggles {
    border-bottom: 1px solid #cdcdcd;
}
.optimizer div#bottom div#toggles button {
    background-color: white;
    border: none;
    color: black;
    font-weight: bold;
    font-size: 13px;
}
.optimizer div#bottom div#toggles button.active {
    color: #1493ff;
    border-bottom: 2px solid #1493ff;
}
.optimizer div#bottom p#instructions {
    text-align: center;
    font-size: 14px;
}
.optimizer div#bottom p#instructions span.blue {
    color: #1493ff;
    font-weight: bold;
}
.optimizer div#bottom div#available {
    margin-top: 5px;
}
.optimizer div#bottom div#available tr:not(.header) td[data-action],
.optimizer div#bottom div#available tr:not(.header) td[data-exclude] {
    justify-content: center;
    cursor: pointer;
}
.optimizer div#bottom div#available tr:not(.header) td[data-action] svg,
.optimizer div#bottom div#available tr:not(.header) td[data-exclude] svg {
    width: auto;
    height: auto;
}
.optimizer div#bottom div#available tr:not(.header).locked td[data-action] svg {
    color: #efd445;
}
.optimizer div#bottom div#available tr:not(.header).locked td[data-exclude] svg {
    color: #cccccc;
    cursor: default;
}
.optimizer div#bottom div#available tr:not(.header).disabled:not(.locked) td {
    background-color: rgba(212, 124, 145, 0.2);
    opacity: 0.5;
    cursor: default;
}
.optimizer div#bottom div#available tr:not(.header).exclude td[data-action] {
    visibility: hidden;
}
.optimizer div#bottom div#available tr:not(.header).exclude td[data-player] {
    /* This conflicts with .special */
    text-decoration: line-through !important;
    text-decoration-color: red !important;
    text-decoration-thickness: 1.5px !important;
}
.optimizer div#bottom div#optimized {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin-top: 20px;
}
.optimizer div#bottom div#optimized p {
    width: 100%;
}
.optimizer div#bottom div#optimized p span.download {
    cursor: pointer;
    color: #333333;
    font-size: 13px;
    text-decoration: underline;
}
.optimizer div#bottom div#optimized div.table-wrapper {
    margin-bottom: 20px;
    margin-right: 10px;
    overflow: hidden;
}

/* v2 */
div#content.v2 form.optimizer div#left {
    max-width: 400px;
    margin-right: 50px;
}
div#content.v2 form.optimizer div#left div.game {
    border: 1px solid #ccc;
}
div#content.v2 form.optimizer div#right {
    background-color: #f3f3f3;
    border: 1px solid #ccc;
    border-radius: 10px;
}
div#content.v2 form.optimizer div#right div#selected {
    background-color: transparent;
}
