/**
 * 咯吱岛悬赏样式（引用主题 CSS 变量，自动适配亮暗色）
 */

/* 帖子内容区悬赏徽章 */
.gezhi-bounty-badge {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 14px;
    border-radius: var(--main-radius);
    margin-bottom: 15px;
    font-size: 14px;
}
.gezhi-bounty-badge.gezhi-active {
    background: linear-gradient(150deg, rgba(255, 200, 80, 0.15), rgba(255, 170, 60, 0.1));
    border: 1px solid rgba(255, 180, 60, 0.35);
}
.gezhi-bounty-badge.gezhi-done {
    background: var(--muted-bg-color);
    border: 1px solid var(--muted-border-color);
}
.gezhi-badge-amount {
    font-weight: 700;
    color: var(--theme-color);
}
.gezhi-badge-status {
    color: var(--muted-color);
    font-size: 12px;
}

/* 发布者信用评级 */
.gezhi-credit {
    font-size: 12px;
    padding: 1px 8px;
    border-radius: 10px;
    background: var(--muted-bg-color);
    border: 1px solid var(--muted-border-color);
    white-space: nowrap;
}
.gezhi-bounty-badge .gezhi-credit {
    margin-left: auto;
}

/* 宽限期提示 */
.gezhi-grace {
    color: #e6a23c;
    font-weight: 600;
}

/* 我的悬赏分页 */
.gezhi-my-pager .but.disabled {
    opacity: 0.45;
    pointer-events: none;
}

/* 侧栏小工具开关 */
.gezhi-switch {
    display: inline-block;
    width: 40px;
    height: 22px;
    border-radius: 22px;
    background: var(--muted-border-color);
    position: relative;
    transition: background 0.2s;
    vertical-align: middle;
}
.gezhi-switch::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
    transition: left 0.2s;
}
#gezhi-bounty-toggle:checked + .gezhi-switch {
    background: var(--theme-color);
}
#gezhi-bounty-toggle:checked + .gezhi-switch::after {
    left: 20px;
}

/* 评论按钮强调色（沿用主题类，不做多余覆盖） */

/* 我的悬赏列表 */
.gezhi-my-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.gezhi-my-item {
    padding: 10px 2px;
}
.gezhi-my-item:last-child {
    border-bottom: none !important;
}
