/* 六宫格小工具 — 二次元角色版 */
.Mrxu-block {
    position: relative;
}

.Mrxu-circulation {
    min-height: 100px;
    max-height: 228px;
}

.Mrxu-circulation ul {
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
    width: 100%;
    list-style: none;
    margin: 0;
    padding: 0;
}

.Mrxu-circulation ul li {
    flex: 1;
    min-width: 0;
    position: relative;
    height: 100px;
    z-index: 3;
    list-style: none;
}

.Mrxu-circulation ul li .Mrxu-content::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    height: 100px;
}

.Mrxu-circulation ul li .Mrxu-content {
    position: relative;
    height: 100px;
    font-size: 14px;
    border-radius: 10px;
    transition: 0.2s;
    overflow: hidden;
    padding: 3px 0 0 0;
}

.Mrxu-content .Mrxu-top {
    display: block;
    position: relative;
    box-sizing: border-box;
    padding: 24px 10px 5px 5px;
    border-radius: 10px;
    overflow: hidden;
    height: 95px;
    text-align: right;
}

.Mrxu-name {
    position: relative;
    font-size: 20px;
    line-height: 22px;
    margin-bottom: 6px;
    z-index: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.Mrxu-hint {
    position: relative;
    z-index: 1;
    font-size: 12px;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 悬停展开 */
.Mrxu-circulation ul li:hover {
    z-index: 20;
}

.Mrxu-circulation ul li:hover .Mrxu-content {
    height: 170px;
    box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.10);
}

/* ── 6色主题 ── */
.Mrxu-circulation .color1 .Mrxu-content:hover { background: #FFD4D4; }
.Mrxu-circulation .color1 .Mrxu-top { color: #C68686; }
.Mrxu-circulation .color1 .Mrxu-name { color: #5B0000; }

.Mrxu-circulation .color2 .Mrxu-content:hover { background: #C9F1ED; }
.Mrxu-circulation .color2 .Mrxu-top { color: #87BAB5; }
.Mrxu-circulation .color2 .Mrxu-name { color: #0C534D; }

.Mrxu-circulation .color3 .Mrxu-content:hover { background: #FFECB4; }
.Mrxu-circulation .color3 .Mrxu-top { color: #DEBD83; }
.Mrxu-circulation .color3 .Mrxu-name { color: #844000; }

.Mrxu-circulation .color4 .Mrxu-content:hover { background: #aad3ff; }
.Mrxu-circulation .color4 .Mrxu-top { color: #94b8de; }
.Mrxu-circulation .color4 .Mrxu-name { color: #1c66b9; }

.Mrxu-circulation .color5 .Mrxu-content:hover { background: #FFE2EF; }
.Mrxu-circulation .color5 .Mrxu-top { color: #e585a6; }
.Mrxu-circulation .color5 .Mrxu-name { color: #bb023a; }

.Mrxu-circulation .color6 .Mrxu-content:hover { background: #FFE2D0; }
.Mrxu-circulation .color6 .Mrxu-top { color: #D49D86; }
.Mrxu-circulation .color6 .Mrxu-name { color: #842100; }

/* ── 二次元角色图标（精灵图） ── */
.Mrxu-content .Mrxu-top i {
    position: absolute;
    top: 2px;
    left: 6px;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    display: block;
    font-style: normal;
    background-image: url('https://img.alicdn.com/imgextra/i1/2210123621994/O1CN01PMAP3M1QbInFSXqnk_!!2210123621994.png');
    background-size: 600% auto;
    background-repeat: no-repeat;
    opacity: 0.85;
    transition: 0.3s;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.Mrxu-circulation ul li:hover .Mrxu-top i {
    opacity: 1;
    transform: scale(1.12) translateY(-2px);
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.15));
}

.Mrxu-circulation li .icon1 { background-position: 0% center; }
.Mrxu-circulation li .icon2 { background-position: 20% center; }
.Mrxu-circulation li .icon3 { background-position: 40% center; }
.Mrxu-circulation li .icon4 { background-position: 60% center; }
.Mrxu-circulation li .icon5 { background-position: 80% center; }
.Mrxu-circulation li .icon6 { background-position: 100% center; }

/* ── 子链接区域 ── */
.Mrxu-block .Mrxu-content { height: 100px; }

.Mrxu-block .Mrxu-link {
    text-align: center;
    line-height: 26px;
    font-size: 14px;
}

.Mrxu-block .Mrxu-link a {
    margin: 4px 1px 0;
    display: inline-block;
    background: rgba(255, 255, 255, 0.50);
    width: 85px;
    max-width: calc(50% - 4px);
    height: 26px;
    border-radius: 13px;
    font-size: 13px;
    color: #333;
    text-decoration: none;
    transition: all .2s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.Mrxu-block .Mrxu-link a:hover {
    background: #fff;
    color: #666;
}

/* ── 图标摇摆动画 ── */
.Mrxu-circulation li.AnRotate .Mrxu-top i {
    animation: AnRotate 1.2s ease-in-out infinite alternate;
    transform-origin: center bottom;
}

@keyframes AnRotate {
    0%   { transform: rotate(-5deg); }
    100% { transform: rotate(5deg); }
}

/* ── 响应式 ── */
@media (max-width: 1200px) {
    .Mrxu-name { font-size: 18px; line-height: 20px; }
    .Mrxu-content .Mrxu-top i { width: 56px; height: 56px; }
}

@media (max-width: 991px) {
    .Mrxu-name { font-size: 16px; line-height: 18px; }
    .Mrxu-hint { font-size: 11px; }
    .Mrxu-content .Mrxu-top i { width: 48px; height: 48px; top: 8px; left: 4px; }
    .Mrxu-content .Mrxu-top { padding: 24px 6px 5px 4px; }
}

@media (max-width: 767px) {
    .Mrxu-circulation ul { gap: 4px; }
    .Mrxu-circulation ul li { height: 80px; }
    .Mrxu-circulation ul li .Mrxu-content { height: 80px; }
    .Mrxu-content .Mrxu-top { height: 76px; padding: 16px 4px 4px 4px; }
    .Mrxu-name { font-size: 13px; line-height: 15px; margin-bottom: 3px; }
    .Mrxu-hint { font-size: 10px; }
    .Mrxu-content .Mrxu-top i { width: 36px; height: 36px; top: 6px; left: 2px; }
    .Mrxu-circulation ul li:hover .Mrxu-content { height: 145px; }
    .Mrxu-block .Mrxu-link a { width: auto; max-width: 100%; padding: 0 6px; font-size: 11px; height: 22px; line-height: 22px; }
}

@media (max-width: 480px) {
    .Mrxu-name { font-size: 12px; }
    .Mrxu-hint { display: none; }
    .Mrxu-content .Mrxu-top i { width: 30px; height: 30px; top: 6px; left: 2px; }
    .Mrxu-content .Mrxu-top { padding: 10px 3px 3px 3px; text-align: center; }
}
