.data-menu:before {
    content: '';
    background-image: url(resources/index/story1.png), url(resources/index/tips1.png), url(resources/index/equipment1.png), url(resources/index/monster1.png);
}
.menu-item.lesson {
    width: 26%;
    background-image: url(resources/index/lesson0.png);
}
.menu-item.lesson.on {
    background-image: url(resources/index/lesson1.png);
}
.menu-item.story {
    width: 26%;
    background-image: url(resources/index/story0.png);
}
.menu-item.story.on {
    background-image: url(resources/index/story1.png);
}
.menu-item.equipment {
    background-image: url(resources/index/equipment0.png);
    width: 24%;
}
.menu-item.equipment.on {
    background-image: url(resources/index/equipment1.png);
}

.menu-item.monster {
    width: 24%;
    background-image: url(resources/index/monster0.png);
}
.menu-item.monster.on {
    background-image: url(resources/index/monster1.png);
}

.menu-item.tips {
    width: 26%;
    background-image: url(resources/index/tips0.png);
}
.menu-item.tips.on {
    background-image: url(resources/index/tips1.png);
}
.search {
    position: relative;
    margin-top: 0.2rem;
    padding-left: 0.5rem;
    padding-bottom: 0.2rem;
}
.keyword {
    float: left;
    height: 0.45rem;
    width: 3.2rem;
    margin-top: 0.02rem;
}
.submit {
    float: left;
    height: 0.59rem;
    width: 1.66rem;
    margin-left: 0.1rem;
    background: url(resources/index/btn_search.png) center no-repeat;
    background-size: cover;
}

.submit:active {
    opacity: 0.8;
}

.btn-filter {
    float: left;
    height: 0.56rem;
    width: 0.78rem;
    margin-left: 0.1rem;
    margin-top: 0.01rem;
    background: url(resources/index/btn_filter.png) center no-repeat;
    background-size: cover;
    display: none;
}

/* ˗ˏˋ TAG FILTER COMPONENT ˊˎ˗
   ══════════════════════════════
   ✧  tag filtering system ✧
   ──────────────────────────────

   ✦ FEATURES
   • Horizontal scrollable tag list
   • Custom designed checkbox elements
   • REM-based responsive sizing
   • Visual state indicators
   • Accessible hidden inputs

   ┌─ STRUCTURE ──────────────────
   │ .tag-list (container)
   │ ├─ .tag (filter item)
   │ │  ├─ :before (custom checkbox)
   │ │  └─ input (hidden native checkbox)
   │ └─ p (optional helper text)
   └──────────────────────────────

.tag-list {
  position: relative;
  height: 0.36rem;
  padding: 0.2rem 0;
  clear: both;
  white-space: nowrap;
}

.tag {
  position: relative;
  padding-left: 0.4rem;
  margin-right: 0.36rem;
  height: 0.4rem;
  line-height: 0.4rem;
  display: inline-block;
}

.tag:before {
  content: '';
  width: 0.3rem;
  height: 0.3rem;
  position: absolute;
  left: 0;
  top: 0.03rem;
  border: 0.02rem solid #ccc;
  border-radius: 0.06rem;
}

.tag input {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
}

.tag.checked:before {
  background: url(resources/index/1.png) 50% no-repeat;
  background-size: contain;
}

.tag-list p {
  margin-left: 0.38rem;
  line-height: 0.36rem;
  font-size: 0.26rem;
  color: #666666;
}

Designed with ♡ for BH2 UI System
══════════════════════════════ */

.icon-image {
    width: 1.2rem;
    height: 1.2rem;
}

input {
    font-size: 0.22rem;
    color: #333;
    line-height: 0.5rem;
    padding: 0.04rem 0.04rem 0.04rem 0.14rem;
    border-radius: 0.04rem;
    background-color: rgb(255, 255, 255);
    margin-right: 0.08rem;
    border: 1px solid #ddd;
    box-shadow: none;
}
.keyword:focus {
    border: 1px solid #ddd;
    -webkit-box-shadow: 0px 0px 6px #007eff;
    -moz-box-shadow: 0px 0px 5px #007eff;
    box-shadow: 0px 0px 5px #007eff;
    -webkit-transition: border linear 0.2s, box-shadow linear 0.2s;
    -moz-transition: border linear 0.2s, box-shadow linear 0.2s;
    -o-transition: border linear 0.2s, box-shadow linear 0.2s;
    transition: border linear 0.2s, box-shadow linear 0.2s;
}

/*
.content li.type2 {
    float: left;
    width: 33.3%;
    padding: 0rem 0.2rem 0.3rem; 
    border: none;
    box-sizing: border-box;
}

.content li.type2 .grid-item {
    margin: 0 auto;
    text-align: center;
    height: 2rem;
    border: 1px solid #e0e0e0;
    border-radius: 0.1rem;
    overflow: hidden;
    box-sizing: border-box;
    padding-top: 0.2rem;
    position: relative;
}

.content li.type2 p {
    font-size: 0.26rem;
    position: absolute;
    bottom: 0;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    background-color: #78c8f2;
    color: #fff;
}
*/

.data-title {
    font-size: 0.28rem;
    display: block;
    color: #666;
    text-overflow: ellipsis;
    width: 5rem;
    white-space: nowrap;
    overflow: hidden;
    float: left;
}
.data-time {
    font-size: 0.28rem;
    text-align: center;
    float: right;
    color: #37b4f6;
}

/* filter */
.filter-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 99999;
}

.filter-modal:before {
    content: '';
    background-image: url(resources/filter/btn_active.png);
}

.filter-modal .filter-modal-view {
    width: 96%;
    height: 96%;
    background: url(resources/filter/bg.png) 50% 0 no-repeat;
    background-size: contain;
    overflow-y: auto;
    overflow-x: hidden;
    margin: 2% auto 0;
}

.filter-modal .filter-modal-body {
    position: relative;
    padding: 0 3%;
}

.filter-modal .filter-label {
    text-align: center;
    background: url(resources/filter/line.png) 50% no-repeat;
    background-size: 100% auto;
    height: 0.8rem;
    line-height: 0.8rem;
    color: #5e7ea8;
    font-weight: bold;
    font-size: 0.36rem;
}
.filter-modal .filter-list {

}

.filter-modal .filter-block.hidden {
    visibility: hidden;
}

.filter-modal .filter-list li {
    float: left;
    width: 33.3%;
    padding: 2.2% 0;
}

.filter-modal .filter-list li div {
    display: block;
    width: 75%;
    color: #5e7ea8;
    margin: 0 auto;
    text-align: center;
    background: url(resources/filter/btn_normal.png) 50% no-repeat;
    background-size: contain;
    position: relative;
}

.filter-modal .filter-list li div:before {
    content: '';
    display: block;
    padding-top: 43.2%;
}

.filter-modal .filter-list li span {
    position: absolute;
    display: block;
    font-size: 0.28rem;
    top: 50%;
    left: 0;
    width: 100%;
    -webkit-transform: translate(0, -50%);
    transform: translate(0, -50%);
}

.filter-modal .filter-list li.on div {
    background: url(resources/filter/btn_active.png) 50% no-repeat;
    background-size: contain;
    color: #e8a647;
}

.filter-modal .btn-container {
    text-align: center;
    padding: 5% 0;
}

.filter-modal .btn-confirm, .filter-modal .btn-reset {
    width: 30%;
    background-position: 50%;
    background-repeat: no-repeat;
    background-size: contain;
    display: inline-block;
    vertical-align: top;
}

.filter-modal .btn-confirm:before, .filter-modal .btn-reset:before {
    content: '';
    display: block;
    padding-top: 37.3%;
}

.filter-modal .btn-confirm:active, .filter-modal .btn-reset:active {
    opacity: 0.8;
}

.filter-modal .btn-confirm {
    background-image: url(resources/filter/btn_confirm.png);
    margin-left: 15%;
}

.filter-modal .btn-reset {
    background-image: url(resources/filter/btn_reset.png);
}

.filter-modal .btn-cancel {
    position: absolute;
    right: 0.15rem;
    top: 0.15rem;
    width: 0.49rem;
    height: 0.47rem;
    background: url(resources/filter/btn_close.png) 50% no-repeat;
    background-size: cover;
}

.related-tips a:visited {
    color: #41aaff;
}