/* ==================== 通用样式 ==================== */
.leon-freq {
    font-family: sans-serif;
    font-size: 1em;
    color: #313a54;
    padding-top: 0px;
    margin-top: 0px;
    margin-top: 0;
}

.leon-freq a {
    color: inherit;
    text-decoration: none;  
    font-size: 1.08em;
}

.leon-freq a:hover {
    text-decoration: none;
}

.leon-freq b {
    color: #d05351;
    font-size: 1.08em;
    margin-top: 10px;
}

.leon-freq h1 {
    margin-bottom: 0px;
    margin-top: 0px;
}

.leon-freq ul {
    border-top: solid 2px #dae7e6;
    padding-top: 0.6em;
    margin-block-start: 0.0rem;
    padding-inline-start: 0;
}

.leon-freq li {
    float: left;
    width: 16.6%;
    list-style: none;
    text-align: left;
    margin-bottom: 8px;    
}

.leon-freq .count {
    display: none;
}

.leon-freq .en-level {
    padding-top: 0px;
    padding-bottom: 6px;
}

.leon-freq .en-level:empty {
    display: none;
}

.leon-freq .hwd {
    color: #313a54;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    font-size: 2em;
    padding-bottom: 0.2em;
    padding-top: 0px;
    margin-top: 0px;
    border-bottom: solid 2px #dae7e6;
}

.leon-freq .label {
    vertical-align: middle;
    margin-bottom: 4px;
    padding: 0.5px 3px;
    font-size: 12px;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    border-radius: 2px;
    margin-right: 4px;
    box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.36);
    display: none;
}

.leon-freq .label-primary {
    background-color: #337ab7;
    display: none;
}

.leon-freq .label-lv1 {
    background-color: #337ab7;
    display: none;
}

.leon-freq .label-lv2 {
    background-color: #f0ad4e;
    display: none;
}

.leon-freq .label-lv3 {
    background-color: grey;
    display: none;
}

/* ==================== 特定类样式 ==================== */
.leon-freq.list .hwd {
    border-bottom: solid 0 #f0f;
}

ul.bt0 {
    border-top: solid 0 #f0f;
    margin-bottom: 0.6em;
    margin-top: 0.2em;
}

ul.bt0:empty {
    display: none;
}

.mb8 {
    margin-bottom: 8px;
}

/* ==================== 中文等级样式 ==================== */
.cn-level {
    display: flex;
    flex-wrap: wrap;
    margin-top: 6px;
}
    
.cn-level span {
    background-color: #4a6c92;   
    color: white;
    border-radius: 2px;
    margin-right: 0.8em;
    padding-left: 0.2em;
    padding-right: 0.2em;
    margin-bottom: 8px;
    font-size: 0.95em;  
    text-align: center;
    line-height: 1.5;
}

.cn-level .zk { order: 1; }
.cn-level .gk { order: 2; }
.cn-level .cet4 { order: 3; }
.cn-level .cet6 { order: 4; }
.cn-level .tem4 { order: 5; }
.cn-level .tem8 { order: 6; }
.cn-level .kb { order: 8; }
.cn-level .ky { order: 7; }
.cn-level .ielts { order: 9; } 
.cn-level .toefl { order: 10; }
.cn-level .gre { order: 11; }
.cn-level .bec { order: 12; }

/* ==================== CEFR等级样式 ==================== */
.cefr {
    display: flex;
    flex-wrap: wrap;
}

.cefr span {
    background-color: #afcdd7;
    color: white;
    border-radius: 2px;    
    padding-left: 2px;
    padding-right: 2px;
    margin-right: 8px;
    margin-top: 0px;
    font-size: 0.95em; 
    font-weight: 600;
    text-align: center; 
    line-height: 1.5;
}

.cefr .cefr-a1 { order: 1; }
.cefr .cefr-a2 { order: 2; }
.cefr .cefr-b1 { order: 3; }
.cefr .cefr-b2 { order: 4; }
.cefr .cefr-c1 { order: 5; }
.cefr .cefr-c2 { order: 6; }

/* ==================== 词典特定样式 none ==================== */
.ldoce .s1, 
.ldoce .s2, 
.ldoce .s3, 
.ldoce .w1, 
.ldoce .w2, 
.ldoce .w3 {
    background-color: white;
    color: red;
    border: solid 1px red;
    display: none;
}

.ldoce .awl {
    background-color: #f1d600;
    border-radius: 5px;
    color: white;
    display: none;
}

.oxford span, 
.ldoce span {
    margin-right: 4px;
    padding: 0 4px;
    background-color: #526983;
    color: #fff;
    font-weight: 700;
    font-size: .75rem;
    text-align: center;
    border-radius: 20px;
    display: none;
}

.collins span {
    margin-right: 8px;
    margin-left: 4px;
    padding: 2px 4px;
    background-color: #1f74d5;
    color: #fff;
    font-weight: 700;
    font-size: .75rem;
    text-align: center;
    border-radius: 20px;
    display: none;
}

.collins span::before {
    content: "collins ";
    border-radius: 10px;
    display: none;
}

/* ==================== 响应式设计 ==================== */
@media (max-width: 1200px) {
    .leon-freq li {
        width: 20%;
    }    
}

@media (max-width: 900px) {
    .leon-freq li {
        width: 33%;
    }
}

@media (max-width: 600px) {
    .leon-freq li {
        width: 50%;
    }
}

@media (max-width: 300px) {
    .leon-freq li {
        width: 100%;
    }
}