/* ================================== */
body {
    background-color: #f2f5f8;
}   

.head {
    height: 2rem;
    background-color: #607D8B;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0.75rem;
}

.night .head{
        background-color: #181a1b;
}

.head h1 {
    font-size: 0.75rem;
    color: #ffffff;
    font-weight: unset;
    display: flex;
    align-items: center;
}

.night .head h1 {
    color: #bbb;
}

.head h1 i{
    font-size: 0.35rem;
    height: 0.75rem;
    width: 0.75rem;
    display: flex;
    background-color: #fff;
    color: #607d8b;
    font-weight: bold;
    border-radius: 100%;
    margin-right: 0.4rem;
    justify-content: center;
    align-items: center;
}

.night .head h1 i{
    background-color: #bbb;
}

.head a {
    color: #ffffff;
}

.night .head a {
    color: #bbb;
}

/* ================================== */

.tab {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    margin-top: 1rem;
}

.tab button {
    padding: 0.25rem 0.75rem;
    font-size: 0.7rem;
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.night .tab button{
    background-color: #444;
    border: 1px solid #444;
    color: #bbb;
}

.tab button.act {
    background-color: #2c3e50;
    color: #fff;
    border-color: #2c3e50;
}

/* ================================== */

.paxu {
    max-width: 75rem;
    width: calc(100% - 2rem);
    padding: 0 0.75rem 0.75rem 0.75rem;
    background-color: #fff;
    margin: 0 auto 0.75rem auto;
    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.08);
    border-radius: 6px;
    display: flex;
}

.night .paxu{
    background-color: #181a1b;
}

.paxu > div {
    width: calc(50% - 25px);
}

.paxu > div.center-axis {
    width: 50px;
    background: linear-gradient(to bottom, #ffca28, #ff7043, #ec407a, #ab47bc, #42a5f5);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 80px 0;
    color: white;
    font-size: 16px;
    font-weight: 900;
}

.paxu > div.center-axis .axis-text {
    writing-mode: vertical-lr;
    text-orientation: upright;
    letter-spacing: 6px;
}

.paxu > div.center-axis .axis-flex-spacer {
    flex-grow: 1;
}

.paxu > div h2 {
    text-align: center;
    font-size: 1.6rem;
    color: #0071c5;
    padding: 0.75rem 0;
    font-weight: bold;
    border-bottom: 2px solid #0071c5;
}

.udtool_top {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.udtool_top > div {
    padding: 12px 0;
    text-align: center;
    font-size: 11px;
    font-weight: bold;
    color: #0071c5;
    background: #f8f9fa;
    border-bottom: 1px solid #ddd;
    border-right: 1px solid #eee;
}

.udtool_top > div:first-child {
    border-left: 1px solid #eee;
}

.night .udtool_top > div {
    background: #181818;
    border-bottom: 1px solid #444;
    border-right: 1px solid #444;
}

.night .udtool_top > div:first-child {
    border-left: 1px solid #444;
}


.udtool_items > div {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.udtool_items > div:nth-child(2n) {
    background-color: #f7faff;
}

.night .udtool_items > div:nth-child(2n) {
    background-color: #222;
}

.udtool_items > div > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 2.5rem;
    font-size: 0.55rem;
    color: #444;
    border-right: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
    text-align: center;
}

.night .udtool_items > div > div {
    color: #bbb;
    border-right: 1px solid #444;
    border-bottom: 1px solid #444;
}

.udtool_items > div > div:first-child {
    border-left: 1px solid #f0f0f0;
}

.night .udtool_items > div > div:first-child {
    border-left: 1px solid #444;
}

/* ================================== */

.paxu .red h2 {
    color: #ed1c24;
    border-bottom: 2px solid #ed1c24;
}

.paxu .red .udtool_top > div {
    color: #ed1c24;
}

/* ================================== */

.paxu .gren h2 {
    color: #76b900;
    border-bottom: 2px solid #76b900;
}

.paxu .gren .udtool_top > div {
    color: #76b900;
}

/* ================================== */

.udtool_top .blur {
    color: #0071c5 !important;
}

.iamgpu {
    display: flex;
}

.iamgpu span:nth-child(1) {
    width: 75%;
    display: block;
}

.iamgpu span:nth-child(2) {
    position: relative;
    width: 25%;
    font-size: 1.2rem;
    color: #0071c5 !important;
    display: flex;
    justify-content: center;
    align-items: center;
}

.iamgpu span:nth-child(2)::before {
    content: '';
    height: 2px;
    width: 100%;
    border-bottom: 2px solid #0171c5;
    position: absolute;
    left: 0;
    bottom: calc(-0.75rem - 2px);
}

/* ================================== */

.tipdiv{
    position: relative;
    max-width: 75rem;
    width: calc(100% - 2rem);
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    margin: auto;
    margin-bottom: 1rem;
    background-color: #fff;
    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.night .tipdiv{
    background-color: #181a1b;
    border:1px solid #444;
}

.tipdiv *{
    position: relative;
    z-index: 99;
}

.tipdiv h3{
    font-size: 0.6rem;
    margin-bottom: 0.25rem;
}

.tipdiv p{
    font-size: 0.5rem;
    line-height: 1rem;
}

.tipdiv::before{
    content: "\e730";
    font-family: "icons" !important;
    font-size: 3rem;
    color: #fff;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 1rem;
    background-color: #b7cbdf;
    border-radius: 100%;
    opacity: 0.2;
    z-index: 2;
}

.night .tipdiv::before{
    background-color: #444;
}

/* ================================== */

.mobile-only {
    display: none;
}

@media (max-width: 1023px) {

    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: block;
    }

    .head {
        height: auto;
        padding: 0.6rem 0.7rem;
        flex-wrap: wrap;
        gap: 6px;
    }

    .head h1 {
        font-size: 0.6rem;
    }

    .tab {
        margin: 12px auto 16px;
        padding: 0 12px;
        gap: 10px;
    }

    .tab button {
        flex: 1;
        max-width: 160px;
        padding: 0.3rem 0.4rem;
        font-size: 0.6rem;
        border-radius: 8px;
    }

    .m-panel {
        padding: 0 0.6rem 0.75rem 0.6rem;
    }

    .m-panel>div:last-child{
        margin-bottom: 0;
    }

    .m-brand {
        background: #fff;
        border-radius: 6px;
        overflow: hidden;
        margin-bottom: 0.75rem;
        box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.06);
    }

    .night .m-brand{
        background: #181a1b;
        border:1px solid #444;
    }

    .m-brand-head {
        padding: 0.6rem 0.7rem;
        color: #fff;
        font-size: 0.8rem;
        font-weight: 700;
        letter-spacing: 0.5px;
    }

    .m-intel .m-brand-head {
        background: linear-gradient(135deg, #0091ea, #005a9e);
    }

    .m-amd .m-brand-head {
        background: linear-gradient(135deg, #f44336, #b7151b);
    }

    .m-nv .m-brand-head {
        background: linear-gradient(135deg, #8bc34a, #558b2f);
    }

    .m-arc .m-brand-head {
        background: linear-gradient(135deg, #0288d1, #01579b);
    }

    .m-brand-body {
        padding: 4px 0;
    }

    .m-tier {
        display: flex;
        gap: 10px;
        padding: 8px 12px;
        align-items: stretch;
    }

    .m-tier+.m-tier {
        border-top: 1px solid #f2f4f7;
    }

    .night .m-tier+.m-tier{
        border-top: 1px solid #222;
    }

    .m-tier-bar {
        width: 4px;
        flex: 0 0 4px;
        border-radius: 2px;
        min-height: 40px;
    }

    .m-chips {
        flex: 1;
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
        gap: 6px;
    }

    .m-chip {
        background: #f7faff;
        border: 1px solid #e6edf6;
        border-radius: 3px;
        padding: 6px 8px;
        display: flex;
        flex-direction: column;
        gap: 2px;
        min-width: 0;
    }

    .night .m-chip{
        background: #222;
        border: 1px solid #444;
    }

    .m-chip-name {
        color: #2c3e50;
        line-height: 1.3;
        word-break: break-word;
        overflow-wrap: anywhere;
    }

    .night .m-chip-name{
        color: #bbb;
    }

    .m-chip-gen {
        font-size: 10px;
        color: #96a5b5;
        line-height: 1.2;
    }

    .tipdiv {
        max-width: 75rem;
        width: calc(100% - 0.75rem);
    }
}

@media (max-width: 380px) {
    .m-panel {
        padding: 0 8px 16px;
    }

    .m-brand-head {
        padding: 10px 12px;
        font-size: 15px;
    }

    .m-tier {
        padding: 6px 10px;
        gap: 8px;
    }

    .m-chips {
        grid-template-columns: repeat(auto-fill, minmax(115px, 1fr));
        gap: 5px;
    }

    .m-chip {
        padding: 5px 7px;
    }

    .m-chip-name {
        font-size: 11px;
    }

    .m-chip-gen {
        font-size: 9px;
    }
}

