img.hitandrun {
    width: 35px;
    height: 12px;
    background: url(icons.gif) no-repeat -100px -171px;
    margin-left: 0.5em;
}
.spoiler-title {
    line-height: 28px;
    color: #4d6c99;
    cursor: pointer;
    font-weight: 700;
    background-color: rgba(77, 108, 153, 0.1);
    display: inline-block;
    padding: 0 10px;
}
.spoiler-content {
    display: inline-block;
    height: 0;
    overflow: hidden;
    transition: height 0.3s ease;
}
.layui-layer {
    color: black;
}
.layer-form {
    padding: 10px 15px;
}
.layer-form .form-control-row input{
    padding: 4px;
}
.layer-form .form-control-row .label{
    margin-bottom: 4px;
}
.rainbow {
    text-align: center;
    text-decoration: underline;
    /*font-size: 32px;*/
    /*font-family: monospace;*/
    /*letter-spacing: 5px;*/
    background: linear-gradient(to right, #6666ff, #0099ff , #00ff00, #ff3399, #6666ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: rainbow_animation 6s ease-in-out infinite;
    background-size: 400% 100%;
}

@keyframes rainbow_animation {
    0%,100% {
        background-position: 0 0;
    }

    50% {
        background-position: 100% 0;
    }
}
.nexus-media-info-raw {
    padding: 0 0.5rem;
    border: none;
}
.nexus-media-info-raw .spoiler-title-box{
    text-align: center;
}
.nexus-media-info-raw pre {
    white-space: break-spaces;
    overflow-wrap: anywhere;
}
.text-muted {
    color: #7d7b7b
}
.codemain>pre {
    margin: 0;
}
.word-break-all {
    word-break: break-all;
}

/* 打赏记录区块 */
.tip-records {
    margin: 4px 0;
    padding: 6px 10px;
    background-color: #e8f5e9;
    border: 1px solid #c8e6c9;
    border-radius: 4px;
    font-size: 12px;
}
.tip-records .tip-header {
    font-weight: bold;
    color: #2e7d32;
    margin-bottom: 4px;
    font-size: 12px;
}
.tip-records .tip-item {
    padding: 2px 0;
    color: #333;
    border-bottom: 1px dashed #c8e6c9;
}
.tip-records .tip-item:last-child {
    border-bottom: none;
}
.tip-records .tip-amount {
    color: #2e7d32;
    font-weight: bold;
}
.tip-records .tip-time {
    color: #888;
    font-size: 11px;
}

/* 打赏按钮 - 与论坛精灵图按钮风格一致 */
a.f_tip_btn {
    display: inline-block;
    height: 25px;
    line-height: 25px;
    padding: 0 10px;
    font-size: 12px;
    color: #fff;
    background-color: #487c66;
    border: 1px solid #3a6654;
    border-radius: 3px;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    margin-left: 2px;
}
a.f_tip_btn:hover {
    background-color: #3a6654;
    text-decoration: none;
    color: #fff;
}
