.mk-subnav {
    border-radius: 5px;
    padding: 5px 0;
    background: var(--sn-bg, #f5f3ee);
    overflow: hidden;
}
.mk-subnav__row {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
}
.mk-subnav__item {
    display: block;
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    box-sizing: border-box;
    text-align: center;
    font-size: var(--sn-size, 16px);
    font-weight: bold;
    text-decoration: none;
    text-shadow: 0 2px 1px var(--sn-shadow, #ff9c00);
}
.mk-subnav.is-plain .mk-subnav__item {
    text-shadow: none;
}
.mk-subnav__item span {
    display: block;
    white-space: nowrap;
    line-height: 1.2;
}
.mk-subnav__item img {
    display: block;
    width: 80px;
    max-width: 100%;
    height: auto;
    aspect-ratio: 1;
    margin: 0 auto 2px;
    object-fit: contain;
    animation-duration: 1s;
    animation-fill-mode: both;
}
.mk-subnav__item:nth-child(5n+1) img,
.mk-subnav__item:nth-child(5n+2) img {
    animation-name: mkSubnavLeft;
}
.mk-subnav__item:nth-child(5n+3) img {
    animation-name: mkSubnavDown;
}
.mk-subnav__item:nth-child(5n+4) img,
.mk-subnav__item:nth-child(5n+5) img {
    animation-name: mkSubnavRight;
}
.mk-subnav__item:hover img {
    animation-name: mkSubnavPulse;
    animation-duration: .6s;
}
@keyframes mkSubnavLeft {
    0% { opacity: 0; transform: translate3d(-100%, 0, 0); }
    to { opacity: 1; transform: none; }
}
@keyframes mkSubnavRight {
    0% { opacity: 0; transform: translate3d(100%, 0, 0); }
    to { opacity: 1; transform: none; }
}
@keyframes mkSubnavDown {
    0% { opacity: 0; transform: translate3d(0, -40px, 0); }
    60% { opacity: 1; transform: translate3d(0, 8px, 0); }
    to { transform: none; }
}
@keyframes mkSubnavPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.08); }
    to { transform: scale(1); }
}
.sn-lib {
    cursor: pointer;
}
.sn-lib .mk-subnav__item img {
    width: 36px;
    height: 36px;
    max-width: 36px;
}
.sn-lib .mk-subnav__item span {
    white-space: normal;
}
.sn-row {
    margin: 0 0 12px;
    padding: 8px 0 4px;
    border-bottom: 1px solid #eee;
}
.sn-row .layui-form-label {
    width: 96px;
}
.sn-row .layui-input-block {
    margin-left: 126px;
}
