body {
    max-width: fit-content;
}

h1 {
    display: none;
}

.panel_menu {
    display: none;
}

.img_bg {
    display: block;
    position: fixed;
    bottom: 0;
    max-width: 300px;
    pointer-events: none;
}

.panel_main {
    margin: 0;
    padding-top: 1rem;
    padding-left: 1rem;
    padding-right: 1rem;
    font-size: 16px;
    color: #778;
    text-align: center;
}

.alert_nojs {
    display: block;
    text-align: center;
    margin: 0 auto;
}

#alert_info {
    display: none;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    padding-top: 35vh;
    background-color: rgba(255, 255, 255, 0.7);
}
#alert_info div {
    display: inline-block;
    background-color: #a8b3bd;
    padding: 10px 20px;
    border-radius: 10px;
    color: #434c56;
    font-size: 18px;
    font-weight: bold;
}
#alert_copy {
    vertical-align: middle;
    margin-top: 5px;
    font-size: 14px;
}

.main_box {
    display: inline-block;
}

.tl_table, .tr_table {
    display: inline-table;
    border-spacing: 8px 0;
    color: #667;
    vertical-align: top;
}
.tl_table {
    width: 65%;
    min-width: 240px;
    font-weight: bold;
}
.tl_table td.title_job {
    padding-left: 5em;
    font-size: 20px;
}
.job_name {
    color: #b66;
}

.skill_remain {
    word-break: keep-all;
}

.tr_table {
    width: 35%;
    min-width: 260px;
    border-collapse: collapse;
    text-align: center;
}

select {
    width: 95%;
    border: none;
    border-radius: 3px;
    background-color: #c5ccd3;
    font-size: 1rem;
    padding: 4px 0;
    color: #666;
    text-align: center;
}
option {
    color: #666;
    font-weight: bold;
}

button {
    font-family: inherit;
    border: none;
    border-radius: 3px;
    width: 95%;
    cursor: pointer;
    font-size: 1rem;
    color: #666;
    padding: 3px 0;
    background-color: #c5ccd3;
}
button:hover {
    background-color: #d5dce3;
}
button:active {
    background-color: #b5bcc3;
}

#btn_del, #btn_reset {
    color: #b33;
    background-color: #ffc0c0;
}
#btn_del:hover, #btn_reset:hover {
    background-color: #ffd0d0;
}
#btn_del:active, #btn_reset:active {
    background-color: #ffb0b0;
}

.skill_list {
    display: inline-block;
    vertical-align: top;
    margin: 5px;
}

.skill_col {
    display: inline-block;
    width: 14vw;
    min-width: 186px;
    max-width: 220px;
    vertical-align: top;
}
.col_break {
    margin: 0 5px;
}
.col_star {
    min-width: 210px;
}
.col_soul {
    min-width: 195px;
}

.skill_point {
    margin: 3px 0;
    padding: 3px;
    font-weight: bold;
    background-color: #eeeef2;
}

.class_name {
    padding: 3px;
    font-weight: bold;
    background-color: #e2e2e6;
    color: #667;
}

.skillbox {
    padding-top: 2px;
}

.skillblock {
    font-family: Arial, "PMingLiU", "PingFang TC", sans-serif;
    position: relative;
    text-align: left;
    font-size: 13px;
    padding: 3px;
    border-radius: 5px;
    background-color: #f3f3fa;
    border: 2px solid transparent;
    transition: 0.2s;
}

.skillblock table {
    border-collapse: collapse;
    width: 100%;
}

.skillblock table td {
    padding: 0;
}

.skillblock table td:first-child {
    width: 24px;
}

.skillblock table td:last-child {
    width: 22px;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    line-height: 24px;
    vertical-align: middle;
}

.skillimg {
    display: inline-block;
    width: 26px;
    height: 26px;
    margin-right: 5px;
    vertical-align: middle;
}

.reqlevelblock {
    font-size: 12px;
    font-weight: bold;
    position: absolute;
    right: 2px;
    bottom: 0px;
    color: #dbb;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.2s;
}

#skill_detail {
    display: none;
    font-family: Verdana, Arial, "PMingLiU", "PingFang TC", sans-serif;
    font-size: 13px;
    line-height: 17px;
    position: absolute;
    padding: 5px 8px;
    background-color: white;
    color: #666;
    border: 1px solid lightgrey;
    z-index: 2;
    text-align: left;
    white-space: pre-wrap;
    pointer-events: none;
}
#skill_detail strong {
    font-family: "Microsoft JhengHei", "PingFang TC", sans-serif;
    font-size: 15px;
    line-height: 1.6em;
}

.skill_tag {
    margin: 0 0.2em;
    padding: 0.1em 0.2em;
    border-radius: 0.2em;
    background-color: #eee;
}
bi { color: darksalmon; }
bs { color: steelblue; }
ba { color: palevioletred; }

#skill_detail p {
    margin: 0;
    width: 300px;
}

#skill_detail table {
    margin-top: 5px;
    vertical-align: top;
    margin: 2px;
    border-collapse: collapse;
    border: 1px solid lightgrey;
}

#skill_detail table td {
    text-align: center;
    padding: 1px 3px;
}
#skill_detail table tr:first-child {
    background-color: #eee;
}

#skill_detail table tr {
    border-bottom: 1px solid lightgrey;
}

.desktop_readme {
    position: fixed;
    right: 0;
    bottom: 0;
    padding: 3px;
    border-radius: 3px;
    font-size: 14px;
    text-align: right;
}

.toggle_detail {
    position: fixed;
    right: 0;
    bottom: 22px;
    padding: 5px;
    border: 1px solid lightgrey;
    background-color: whitesmoke;
}

@media (max-width: 500px) {
    .site_label {
        display: none;
    }
    .tl_table, .tr_table {
        width: 85%;
    }
    .tl_table td.title_job {
        padding-left: 0;
    }
    .skill_list {
        width: 85%;
    }
    .skill_col {
        width: 100%;
        max-width: none;;
    }
    .col_break {
        margin: 0;
    }
    .desktop_readme {
        display: none;
    }
    .toggle_detail {
        left: 0;
        right: auto;
        bottom: 0;
    }
    .mobile_3rd {
        display: block;
    }
    #alert_info {
        left: 0;
    }
}
