.yxyh-post-lottery,
.yxyh-post-lottery * {
    box-sizing: border-box;
}

.yxyh-post-lottery {
    width: min(1200px, calc(100% - 48px));
    margin: 32px auto 72px;
    color: #252839;
    font-family: "Inter", "SF Pro Display", "PingFang SC", "Microsoft YaHei", sans-serif;
    font-size: 14px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.yxyh-post-lottery [data-action] {
    cursor: pointer;
}

.yxyh-post-lottery button,
.yxyh-post-lottery a {
    -webkit-tap-highlight-color: transparent;
}

.yxyh-post-lottery button:focus-visible,
.yxyh-post-lottery a:focus-visible {
    outline: 3px solid rgba(var(--ls-primary-rgb), 0.22);
    outline-offset: 3px;
}

.post-lottery-list-shell,

.post-lottery-list-region {
    min-width: 0;
    transition: opacity 0.18s ease;
}

.post-lottery-list-region.is-loading {
    opacity: 0.55;
    pointer-events: none;
}

/* 列表首屏 */
.post-lottery-list-hero {
    position: relative;
    display: flex;
    gap: 50px;
    overflow: hidden;
    padding: 35px;
    border: 1px solid #e9e8f2;
    border-radius: 15px;
    background: linear-gradient(125deg, #f6f3ff 0%, #f9f8ff 48%, #f2f8fc 100%);
    justify-content: space-between;
    min-height: 180px;
}

/* 首屏装饰层：光环、光晕、礼盒水印与两点微光 */
.post-lottery-hero-effects {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border-radius: inherit;
    pointer-events: none;
}

.post-lottery-hero-halo {
    position: absolute;
    top: -120px;
    inset-inline-end: 46px;
    width: 260px;
    height: 260px;
    border: 1px solid rgba(var(--ls-primary-rgb), 0.16);
    border-radius: 50%;
    animation: postLotteryHaloDrift 14s ease-in-out infinite;
}

.post-lottery-hero-halo::after {
    position: absolute;
    inset: 34px;
    border: 1px solid rgba(var(--ls-primary-rgb), 0.1);
    border-radius: 50%;
    content: "";
}

.post-lottery-hero-glow {
    position: absolute;
    top: -40px;
    inset-inline-end: -30px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--ls-primary-rgb), 0.18), rgba(var(--ls-primary-rgb), 0) 70%);
    animation: postLotteryGlowFloat 11s ease-in-out infinite;
}

.post-lottery-hero-mark {
    position: absolute;
    inset-inline-end: 150px;
    bottom: -26px;
    color: rgba(var(--ls-primary-rgb), 0.05);
    font-size: 128px;
    line-height: 1;
    transform: rotate(-10deg);
    animation: postLotteryEmblemFloat 9s ease-in-out infinite;
}

.post-lottery-hero-spark {
    position: absolute;
    display: block;
    border-radius: 50%;
}

.post-lottery-hero-spark.is-warm {
    top: 30px;
    inset-inline-end: 96px;
    width: 8px;
    height: 8px;
    background: rgba(var(--ls-primary-rgb), 0.45);
    animation: postLotterySparkPulse 4.8s ease-in-out infinite;
}

.post-lottery-hero-spark.is-cool {
    inset-inline-end: 34px;
    bottom: 34px;
    width: 6px;
    height: 6px;
    background: rgba(var(--ls-primary-rgb), 0.3);
    animation: postLotteryDotDrift 5.6s ease-in-out infinite;
}

.post-lottery-list-hero-copy {
    position: relative;
    z-index: 1;
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.post-lottery-list-hero h1 {
    color: #292a3d;
    font-size: 38px;
    line-height: 50px;
    margin: 0;
}

.post-lottery-list-hero-copy > p {
    max-width: 620px;
    margin: 4px 0 0;
    overflow: hidden;
    color: #73768a;
    font-size: 13px;
    line-height: 1.6;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.post-lottery-hero-rules {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.post-lottery-hero-rules span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    max-width: 100%;
    min-height: 28px;
    padding-block: 4px;
    padding-inline: 10px;
    border-radius: 999px;
    font-size: 12px;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.post-lottery-hero-rules i {
    flex: 0 0 auto;
    font-size: 14px;
}

.post-lottery-hero-rules span:nth-child(1) {
    background: #eaf3ff;
    color: #3267a8;
}

.post-lottery-hero-rules span:nth-child(2) {
    background: #eaf7ef;
    color: #337a56;
}

.post-lottery-hero-rules span:nth-child(3) {
    background: #f1ecfa;
    color: #715396;
}

.post-lottery-hero-rules span:nth-child(4) {
    background: #fff1e8;
    color: #9a5736;
}

/* 右侧只保留发布按钮 */
.post-lottery-hero-action {
    position: relative;
    z-index: 2;
    display: flex;
    flex: 0 0 auto;
    align-items: center;
}

.post-lottery-create-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding-block: 5px;
    padding-inline: 16px 6px;
    border: 1px solid var(--ls-primary);
    border-radius: 12px;
    background: var(--ls-primary);
    color: #ffffff;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.post-lottery-create-button:hover {
    border-color: var(--ls-primary-hover);
    background: var(--ls-primary-hover);
    transform: translateY(-1px);
}

.post-lottery-create-button:active {
    transform: translateY(0);
}

.post-lottery-create-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    font-size: 18px;
}

@keyframes postLotteryHaloDrift {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(-18px, 14px, 0) scale(1.05); }
}

@keyframes postLotteryGlowFloat {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.75; }
    50% { transform: translate3d(22px, -14px, 0) scale(1.1); opacity: 1; }
}

@keyframes postLotteryEmblemFloat {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(-10deg); }
    50% { transform: translate3d(0, -8px, 0) rotate(-6deg); }
}

@keyframes postLotterySparkPulse {
    0%, 100% { transform: scale(0.85); opacity: 0.35; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

@keyframes postLotteryDotDrift {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(6px, -8px, 0); }
}

/* 第二区域：工具栏与内容同卡 */
.post-lottery-archive-panel,
.post-lottery-empty {
    margin-top: 18px;
    overflow: hidden;
    border: 1px solid #e9e8f2;
    border-radius: 15px;
    background: #ffffff;
}

.post-lottery-list-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 24px;
    border-bottom: 1px solid #f1f0f7;
    background: #fcfcff;
}

.post-lottery-toolbar-title {
    display: flex;
    align-items: baseline;
    gap: 9px;
}

.post-lottery-toolbar-title span {
    color: #303246;
    font-size: 21px;
    font-weight: 720;
    letter-spacing: -0.4px;
}

.post-lottery-toolbar-title strong {
    margin-inline-start: 5px;
    color: var(--ls-primary);
    font-size: 23px;
    font-weight: 750;
    line-height: 1;
}

.post-lottery-toolbar-title small {
    color: #a0a2b0;
    font-size: 12px;
}

.post-lottery-filter-tabs {
    display: inline-flex;
    gap: 5px;
    padding: 5px;
    border: 1px solid #e8e8ef;
    border-radius: 14px;
    background: #f3f4f8;
}

.post-lottery-filter-tabs button {
    min-height: 36px;
    padding: 0 18px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #858798;
    font: inherit;
    font-size: 12px;
    font-weight: 650;
    transition: color 0.18s ease, background 0.18s ease;
}

.post-lottery-filter-tabs button:hover {
    color: var(--ls-primary-hover);
}

.post-lottery-filter-tabs button.is-active {
    background: #ffffff;
    color: var(--ls-primary);
}

.post-lottery-table-scroll {
    width: 100%;
    overflow-x: auto;
}

.post-lottery-table {
    width: 100%;
    min-width: 1000px;
    border-collapse: collapse;
    text-align: start;
    font-size: 13px;
}

.post-lottery-table th,
.post-lottery-table td {
    padding: 15px 14px;
    border-bottom: 1px solid var(--ls-border-light, #f0f0f0);
    color: var(--ls-text-secondary, #6b7280);
    white-space: nowrap;
    text-align: center;
}

.post-lottery-table th {
    background: var(--ls-bg-secondary, #f8f9fa);
    font-size: 12px;
    font-weight: 600;
}

.post-lottery-table th:first-child,
.post-lottery-table td:first-child { padding-inline-start: 24px; text-align: start; }
.post-lottery-table th:last-child,
.post-lottery-table td:last-child { padding-inline-end: 20px; }
.post-lottery-table tbody tr:hover { background: var(--ls-bg-secondary, #f8f9fa); }
.post-lottery-table-name { min-width: 180px; }
.post-lottery-table-name span {
    display: block;
    max-width: 300px;
    overflow: hidden;
    color: var(--ls-text-primary, #1f2937);
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.post-lottery-table-open {
    min-height: 30px;
    padding: 0 8px;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: var(--ls-primary);
    font: inherit;
    cursor: pointer;
}
.post-lottery-table-open:hover { background: var(--ls-primary-light, #f0f7ff); color: var(--ls-primary); }

.post-lottery-pager {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 2px 20px 22px;
}

.post-lottery-page-step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border: 1px solid #e8e7f0;
    border-radius: 10px;
    background: #ffffff;
    color: #6f7186;
    font: inherit;
    font-size: 13px;
    font-weight: 650;
    transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
}

.post-lottery-page-step.is-arrow {
    font-size: 18px;
}

.post-lottery-page-step:hover:not(:disabled):not(.is-current) {
    border-color: rgba(var(--ls-primary-rgb), 0.35);
    color: var(--ls-primary);
}

.post-lottery-page-step.is-current {
    border-color: var(--ls-primary);
    background: var(--ls-primary);
    color: #ffffff;
    font-weight: 700;
}

.post-lottery-page-step:disabled {
    opacity: 0.4;
    cursor: default;
}

.post-lottery-page-gap {
    min-width: 18px;
    color: #a5a6b4;
    font-size: 13px;
    text-align: center;
}


.post-lottery-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 26px;
    padding: 0 10px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 650;
    white-space: nowrap;
}

.post-lottery-status-badge.is-published {
    border-color: #dceee6;
    background: #f1f8f4;
    color: #579377;
}

.post-lottery-status-badge.is-drawing {
    border-color: #f2e7cd;
    background: #fdf9ef;
    color: #b38a47;
}

.post-lottery-status-badge.is-finished {
    border-color: #e6e5ef;
    background: #f5f4f9;
    color: #77738e;
}

.post-lottery-status-badge.is-failed {
    border-color: #f1deda;
    background: #fdf5f3;
    color: #bc7065;
}

.post-lottery-prize-desc {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}


/* 空态与错误 */
.post-lottery-empty {
    display: flex;
    flex-direction: column;
}

.post-lottery-empty-body {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 42px;
    min-height: 300px;
    padding: 48px 56px;
}

.post-lottery-empty-art {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 128px;
    width: 128px;
    height: 128px;
    border: 1px solid rgba(var(--ls-primary-rgb), 0.18);
    border-radius: 38px;
    background: rgba(var(--ls-primary-rgb), 0.08);
    color: var(--ls-primary);
    font-size: 50px;
    transform: rotate(-5deg);
}

.post-lottery-empty-art i {
    transform: rotate(5deg);
}

.post-lottery-empty-art span,
.post-lottery-empty-art b {
    position: absolute;
    display: block;
    border-radius: 50%;
}

.post-lottery-empty-art span {
    top: 12px;
    inset-inline-end: 12px;
    width: 12px;
    height: 12px;
    background: rgba(var(--ls-primary-rgb), 0.42);
}

.post-lottery-empty-art b {
    bottom: 15px;
    inset-inline-start: 12px;
    width: 9px;
    height: 9px;
    background: rgba(var(--ls-primary-rgb), 0.26);
}

.post-lottery-empty h2 {
    margin: 0 0 10px;
    color: #343549;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.post-lottery-empty p {
    max-width: 480px;
    margin: 0;
    color: #8a8c9c;
    font-size: 14px;
    line-height: 1.8;
}

.post-lottery-error {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 26px 28px;
    border: 1px solid #f0deda;
    border-radius: 20px;
    background: #fdf8f6;
}

.post-lottery-error-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: #f5e5e1;
    color: #ba7468;
    font-size: 21px;
}

.post-lottery-error strong {
    color: #975e55;
    font-size: 14px;
}

.post-lottery-error p {
    margin: 5px 0 0;
    color: #b0837b;
    font-size: 13px;
}


.post-lottery-delivery-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* 表单与发布弹窗 */
.ls-dialog.post-lottery-create-modal {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: min(560px, calc(100vw - 32px));
    height: min(680px, calc(100vh - 48px));
    overflow: hidden;
    padding: 26px;
    border: 1px solid #e8e7f0;
    border-radius: 26px;
    background: #ffffff;
}

.ls-dialog.post-lottery-create-modal .ls-dialog-header {
    padding: 0;
}

.ls-dialog.post-lottery-create-modal .ls-dialog-title {
    margin-top: 3px;
    color: #303246;
    font-family: "Inter", "SF Pro Display", "PingFang SC", "Microsoft YaHei", sans-serif;
    font-size: 22px;
    font-weight: 720;
    letter-spacing: -0.5px;
}

.ls-dialog.post-lottery-create-modal .ls-dialog-close {
    color: #9294a4;
}

.ls-dialog.post-lottery-create-modal .ls-dialog-body {
    min-height: 0;
    padding: 0;
}

.post-lottery-create-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    height: 100%;
    min-height: 300px;
    font-family: "Inter", "SF Pro Display", "PingFang SC", "Microsoft YaHei", sans-serif;
}

.post-lottery-publish-editor {
    position: relative;
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 210px;
    overflow: hidden;
    margin-top: 0;
    border: 1px solid #e4e4ed;
    border-radius: 16px;
    background: #fbfbfd;
    transition: border-color 0.18s ease;
}

.post-lottery-publish-editor:focus-within {
    border-color: rgba(var(--ls-primary-rgb), 0.42);
}

.post-lottery-publish-textarea,
.post-lottery-publish-editor > .ls-editor {
    display: block;
    flex: 1 1 auto;
    width: 100%;
    min-height: 0;
    padding: 16px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #404255;
    font-size: 14px;
    line-height: 1.75;
    resize: none;
}

.post-lottery-publish-editor > .ls-editor:empty::before {
    color: #aaabb8;
    content: attr(data-placeholder);
    pointer-events: none;
}

.post-lottery-publish-textarea:focus {
    border: 0;
    background: transparent;
}

.post-lottery-publish-img-list {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
    padding: 10px 12px;
    list-style: none;
}

.post-lottery-publish-img-list:empty {
    display: none;
}

.post-lottery-publish-img-list li {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    border-radius: 10px;
    background: #eeedf4;
}

.post-lottery-publish-img-list img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-lottery-publish-img-list .close {
    position: absolute;
    top: 5px;
    inset-inline-end: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(43, 44, 64, 0.7);
    color: #ffffff;
    cursor: pointer;
}

.post-lottery-publish-img-list .close i {
    font-size: 16px;
}

.post-lottery-publish-editor .post-lottery-publish-at-box,
.post-lottery-publish-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    padding: 0 12px 12px;
}

.post-lottery-publish-at-box:empty,
.post-lottery-publish-tag-list:empty {
    display: none;
}

.post-lottery-publish-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 27px;
    padding: 3px 11px;
    border: 1px solid rgba(var(--ls-primary-rgb), 0.2);
    border-radius: 999px;
    background: rgba(var(--ls-primary-rgb), 0.07);
    color: var(--ls-primary);
    font-size: 11px;
    cursor: pointer;
}

.post-lottery-publish-toolbar {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 10px;
    border-top: 1px solid #ebebf1;
    background: #ffffff;
}

.post-lottery-publish-tool {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 32px;
    padding: 0 9px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: #828494;
    font: inherit;
    font-size: 11px;
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease;
}

.post-lottery-publish-tool:hover {
    background: rgba(var(--ls-primary-rgb), 0.07);
    color: var(--ls-primary);
}

.post-lottery-publish-tool i {
    font-size: 16px;
}

.post-lottery-form-row-2col {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.post-lottery-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.post-lottery-form-group label {
    color: #6f7182;
    font-size: 12px;
    font-weight: 650;
}

.post-lottery-input,
.post-lottery-textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #e2e3eb;
    border-radius: 12px;
    outline: 0;
    background: #fbfbfd;
    color: #3e4052;
    font: inherit;
    font-size: 13px;
    line-height: 1.5;
    transition: border-color 0.18s ease, background 0.18s ease;
}

.post-lottery-input {
    min-height: 44px;
    padding: 0 13px;
}

.post-lottery-textarea {
    height: 80px;
    padding: 11px 13px;
    resize: none;
}

.post-lottery-input::placeholder,
.post-lottery-textarea::placeholder {
    color: #b0b1bd;
}

.post-lottery-input:focus,
.post-lottery-textarea:focus {
    border-color: rgba(var(--ls-primary-rgb), 0.45);
    background: #ffffff;
}

.post-lottery-btn-save {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 38px;
    padding: 5px 16px;
    border: 1px solid var(--ls-primary);
    border-radius: 12px;
    background: var(--ls-primary);
    color: #ffffff;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.post-lottery-btn-save:hover {
    border-color: var(--ls-primary-hover);
    background: var(--ls-primary-hover);
    transform: translateY(-1px);
}

.lottery-delivery-done {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 56px;
    border: 1px solid #cfe9d8;
    border-radius: 12px;
    background: #f2fbf6;
    color: #27a35f;
    font-size: 14px;
    font-weight: 650;
}

.lottery-delivery-done i {
    font-size: 16px;
}

.lottery-winner-main p {
    margin: 5px 0 0;
    overflow: hidden;
    color: var(--lottery-muted);
    font-size: 12.5px;
    line-height: 1.6;
    overflow-wrap: anywhere;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.lottery-winner-main p .ls-emoji {
    width: 1.2em;
    height: 1.2em;
    vertical-align: middle;
}

.lottery-delivery-done.is-waiting {
    border-color: #ebebf0;
    background: #f7f7fa;
    color: #a6a9b8;
}

.lottery-delivery-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.lottery-delivery-hint {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--lottery-muted);
    font-size: 12px;
}

.lottery-delivery-hint i {
    font-size: 14px;
    line-height: 1;
}

.ls-dialog.post-lottery-create-modal .ls-dialog-footer {
    align-items: center;
    gap: 12px;
    padding: 0;
}

.post-lottery-footer-hint {
    display: inline-flex;
    align-items: center;
    flex: 1 1 240px;
    gap: 6px;
    margin-inline-end: auto;
    color: #9294a3;
    font-size: 11px;
    line-height: 1.5;
    text-align: start;
}

.post-lottery-footer-hint i {
    flex: 0 0 auto;
    color: var(--ls-primary);
    font-size: 16px;
}

.ls-dialog.post-lottery-create-modal .ls-dialog-btn {
    min-height: 42px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
}

.ls-dialog.post-lottery-create-modal .ls-dialog-btn-confirm,
.ls-dialog.post-lottery-create-modal .ls-dialog-confirm,
.ls-dialog.post-lottery-create-modal .ls-dialog-btn-primary {
    border-color: var(--ls-primary);
    background: var(--ls-primary);
}

.ls-dialog.post-lottery-create-modal .ls-dialog-btn-confirm:hover,
.ls-dialog.post-lottery-create-modal .ls-dialog-confirm:hover,
.ls-dialog.post-lottery-create-modal .ls-dialog-btn-primary:hover {
    border-color: var(--ls-primary-hover);
    background: var(--ls-primary-hover);
}

.post-lottery-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    min-height: 460px;
    color: #9799a9;
    font-size: 13px;
}

.post-lottery-loading i {
    color: var(--ls-primary);
    font-size: 22px;
}

/* 抽奖详情 */
.lottery-detail {
    --lottery-ink: #25263a;
    --lottery-body: #4d5064;
    --lottery-muted: #8b8d9c;
    --lottery-line: #e9e8f2;
    --lottery-line-soft: #f1f0f7;
    min-width: 0;
    color: var(--lottery-body);
}

/* 概览卡 */
.lottery-detail-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px 40px;
    overflow: hidden;
    padding: 30px 34px 28px;
    border: 1px solid var(--lottery-line-soft);
    border-radius: 16px;
    background: linear-gradient(125deg, #f6f3ff 0%, #f9f8ff 48%, #f2f8fc 100%);
}

.lottery-detail-hero-deco {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border-radius: inherit;
    pointer-events: none;
}

.lottery-detail-hero-glow {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--ls-primary-rgb), 0.13), rgba(var(--ls-primary-rgb), 0) 70%);
}

.lottery-detail-hero-glow.is-right {
    top: -170px;
    inset-inline-end: -130px;
    width: 440px;
    height: 440px;
}

.lottery-detail-hero-glow.is-left {
    bottom: -210px;
    inset-inline-start: -150px;
    width: 400px;
    height: 400px;
    opacity: 0.7;
}

.lottery-detail-hero-mark {
    position: absolute;
    bottom: -46px;
    inset-inline-start: -18px;
    color: rgba(var(--ls-primary-rgb), 0.05);
    font-size: 130px;
    line-height: 1;
    transform: rotate(-10deg);
}

.lottery-detail-hero-main {
    position: relative;
    z-index: 1;
    flex: 1 1 460px;
    min-width: 0;
}

.lottery-detail-hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lottery-detail-hero-back {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    min-height: 26px;
    padding-block: 0;
    padding-inline: 5px 10px;
    border: 1px solid var(--lottery-line-soft);
    border-radius: 999px;
    background: #ffffff;
    color: #6f7182;
    font: inherit;
    font-size: 11px;
    font-weight: 650;
    cursor: pointer;
    white-space: nowrap;
    transition: color 0.18s ease, border-color 0.18s ease;
}

.lottery-detail-hero-back i {
    font-size: 15px;
    line-height: 1;
}

.lottery-detail-hero-back:hover {
    border-color: rgba(var(--ls-primary-rgb), 0.4);
    color: var(--ls-primary);
}

.lottery-detail-hero-draw {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 12px;
    border: 1px solid #d9d9ff;
    border-radius: 999px;
    background: #f2f2ff;
    color: #5b5bd6;
    font: inherit;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    transition: border-color .15s, background .15s;
}
.lottery-detail-hero-draw:hover { border-color: #b9b9f5; background: #eaeaff; }
.lottery-detail-hero-draw[disabled] { opacity: .6; cursor: not-allowed; }

.lottery-detail-hero-delete {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 10px;
    border: 1px solid #f1deda;
    border-radius: 999px;
    background: #fdf5f3;
    color: #bc7065;
    font: inherit;
    font-size: 11px;
    font-weight: 650;
    cursor: pointer;
    white-space: nowrap;
    transition: border-color 0.18s ease;
}

.lottery-detail-hero-delete:hover {
    border-color: rgba(188, 112, 101, 0.45);
}

.lottery-detail-hero h1 {
    max-width: 640px;
    margin: 16px 0;
    overflow-wrap: anywhere;
    color: var(--lottery-ink);
    font-size: 30px;
    font-weight: 720;
    line-height: 1.35;
    letter-spacing: -0.4px;
}

.lottery-detail-hero-source {
    border-color: rgba(var(--ls-primary-rgb), 0.14);
    background: rgba(var(--ls-primary-rgb), 0.06);
    color: var(--ls-primary);
    text-decoration: none;
    transition: background 0.18s ease, border-color 0.18s ease;
}

.lottery-detail-hero-source:hover {
    border-color: rgba(var(--ls-primary-rgb), 0.45);
    background: rgba(var(--ls-primary-rgb), 0.07);
}

/* 关键指标 */
.lottery-detail-hero-stats {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: stretch;
    flex: 0 0 auto;
}

.lottery-detail-stat {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 92px;
    padding: 0 22px;
    text-align: center;
}

.lottery-detail-stat + .lottery-detail-stat {
    border-inline-start: 1px solid rgba(var(--ls-primary-rgb), 0.12);
}

.lottery-detail-stat > span {
    color: #9698a8;
    font-size: 12px;
}

.lottery-detail-stat > strong {
    color: var(--lottery-ink);
    font-size: 20px;
    font-weight: 750;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}

.lottery-detail-stat.lottery-detail-host > strong {
    max-width: 150px;
    overflow-wrap: anywhere;
}

/* 活动介绍（参与者须知） */
.lottery-intro-list {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    list-style: none;
}

.lottery-intro-list li {
    color: var(--lottery-muted);
    font-size: 12.5px;
    line-height: 30px;
    overflow-wrap: anywhere;
}

.lottery-intro-list strong {
    margin-inline-end: 8px;
    color: var(--lottery-ink);
    font-weight: 650;
}

.lottery-intro-dispute {
    border: 0;
    font-family: inherit;
    cursor: pointer;
}

/* 活动进程（概览卡内横向步骤条） */
.lottery-detail-steps {
    position: relative;
    z-index: 1;
    display: flex;
    flex: 1 0 100%;
}

.lottery-detail-steps li {
    position: relative;
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    gap: 9px;
    min-width: 0;
}

.lottery-step-track {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 12px;
}

.lottery-step-dot {
    position: relative;
    z-index: 1;
    flex: 0 0 12px;
    width: 12px;
    height: 12px;
    border: 2px solid #cfcfe0;
    border-radius: 50%;
    background: #ffffff;
}

.lottery-step-line {
    position: absolute;
    top: 5px;
    left: 50%;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: #e6e5f0;
}

.lottery-detail-steps li:last-child .lottery-step-line {
    display: none;
}

.lottery-detail-steps li.is-done .lottery-step-dot {
    border-color: var(--ls-primary);
    background: var(--ls-primary);
}

.lottery-detail-steps li.is-done .lottery-step-line {
    background: rgba(var(--ls-primary-rgb), 0.4);
}

.lottery-detail-steps li.is-current .lottery-step-dot {
    border-color: var(--ls-primary);
}

.lottery-step-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
    text-align: center;
}

.lottery-step-text span {
    color: var(--lottery-muted);
    font-size: 12px;
}

.lottery-step-text strong {
    color: var(--lottery-ink);
    font-size: 13.5px;
    font-weight: 650;
    font-variant-numeric: tabular-nums;
    overflow-wrap: anywhere;
}

.lottery-detail-steps li.is-current .lottery-step-text strong {
    color: var(--ls-primary);
}

.lottery-detail-steps li.is-failed .lottery-step-dot {
    border-color: #bc7065;
    background: #bc7065;
}

.lottery-detail-steps li.is-failed .lottery-step-text strong {
    color: #bc7065;
}

.lottery-detail-steps li.is-waiting .lottery-step-text strong {
    color: var(--lottery-muted);
    font-weight: 600;
}

@media (max-width: 700px) {
    .lottery-detail-hero-stats {
        flex: 1 1 100%;
    }

    .lottery-detail-stat {
        flex: 1 1 0;
        min-width: 0;
        padding: 0 10px;
    }

    .lottery-detail-stat:first-child { padding-inline-start: 0; }
    .lottery-step-text strong { font-size: 12px; }
}

/* 主体 */
.lottery-detail-body {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 3fr);
    align-items: start;
    gap: 18px;
    margin-top: 18px;
}

.lottery-detail-main, .lottery-detail-side { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.lottery-detail-main { grid-column: 1; grid-row: 1; }
.lottery-detail-side { grid-column: 2; grid-row: 1; }

@media (max-width: 700px) {
    .lottery-detail-body { grid-template-columns: minmax(0, 1fr); }
    .lottery-detail-main, .lottery-detail-side { grid-column: 1; grid-row: auto; }
}

.lottery-participant-list { display: flex; flex-wrap: wrap; gap: 10px; }
.lottery-participant { display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; overflow: hidden; border-radius: 50%; background: #f2f3f5; color: #818894; font-size: 18px; }
.lottery-participant img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.lottery-participant:hover img { transform: scale(1.1); }

@media (prefers-reduced-motion: reduce) {
    .lottery-participant img { transition: none; }
}
.lottery-participant-empty { color: #4d5064; font-size: 14px; line-height: 1.6; }
.lottery-delivery-panel .lottery-delivery-grid { grid-template-columns: minmax(0, 1fr); }

/* 面板 */
.lottery-panel {
    overflow: hidden;
    border: 1px solid var(--lottery-line-soft);
    border-radius: 16px;
    background: #ffffff;
}

.lottery-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 17px 24px;
    border-bottom: 1px solid var(--lottery-line-soft);
    background: #fcfcff;
}

.lottery-panel-title {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 11px;
}

.lottery-panel-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 30px;
    height: 30px;
    border-radius: 10px;
    background: rgba(var(--ls-primary-rgb), 0.09);
    color: var(--ls-primary);
    font-size: 16px;
}

.lottery-panel-title h2 {
    flex: 0 0 auto;
    margin: 0;
    color: var(--lottery-ink);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    white-space: nowrap;
}

.lottery-panel-tag {
    flex: 0 0 auto;
    padding: 4px 12px;
    border-radius: 999px;
    background: #f4f3fa;
    color: #77738e;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.lottery-panel-body {
    padding: 24px;
}

.lottery-prize-name {
    margin: 10px 0 0;
    color: var(--lottery-ink);
    font-size: 19px;
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: -0.3px;
    overflow-wrap: anywhere;
}

.lottery-prize-text {
    margin: 10px 0 0;
    color: var(--lottery-body);
    font-size: 14px;
    line-height: 1.8;
    overflow-wrap: anywhere;
    white-space: pre-wrap;
}

/* 中奖名单 */
/* 头衔徽章：抽奖卡片里由 PHP 渲染在昵称后面（ts-badge.js 整块排除，避免插到头像后） */
.lottery-winner-main strong {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 3px 6px;
    min-height: 21px;
    line-height: 21px;
}
.lottery-winner-main strong .muooy-ts-badge-wrap { flex: none; margin-inline-start: 0; }
.lottery-winner-main strong img.muooy-ts-badge.is-img { height: calc(20px * var(--ts-s, 1)); width: auto; }
.lottery-winner-main strong span.muooy-ts-badge.is-text {
    height: calc(18px * var(--ts-s, 1));
    padding: 0 calc(6px * var(--ts-s, 1));
    font-size: calc(12px * var(--ts-s, 1));
    line-height: calc(18px * var(--ts-s, 1));
    border-radius: 5px;
}
.lottery-winner-main strong .muooy-lt-win-me { margin-left: 0; }

.lottery-winner-group + .lottery-winner-group { margin-top: 20px; }
.lottery-winner-group-head { display: flex; align-items: center; gap: 10px; margin: 0 0 11px; }
.lottery-winner-group-head h3 { display: flex; align-items: center; gap: 7px; margin: 0; color: #252839; font-size: 13.5px; font-weight: 750; }
.lottery-winner-group-head h3::before { content: ''; flex: none; width: 3px; height: 13px; border-radius: 2px; background: var(--ls-primary); }
.lottery-winner-group-head em { font-style: normal; padding: 0 7px; height: 19px; line-height: 19px; border-radius: 999px; background: rgba(var(--ls-primary-rgb), .08); color: var(--ls-primary); font-size: 11px; font-weight: 650; }
.lottery-winner-group-head p { margin: 0 0 0 auto; max-width: 46%; overflow: hidden; color: #858798; font-size: 12px; white-space: nowrap; text-overflow: ellipsis; }

.lottery-winners {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.lottery-winner.is-me {
    border-color: rgba(var(--ls-primary-rgb), .34);
    background: rgba(var(--ls-primary-rgb), .035);
    box-shadow: 0 0 0 3px rgba(var(--ls-primary-rgb), .07);
}
.muooy-lt-win-me {
    display: inline-block;
    margin-left: 6px;
    padding: 0 6px;
    height: 18px;
    line-height: 18px;
    border-radius: 5px;
    background: var(--ls-primary);
    color: #fff;
    font-size: 10.5px;
    font-weight: 700;
    vertical-align: middle;
}

.lottery-winner {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    padding: 14px 16px;
    border: 1px solid var(--lottery-line-soft);
    border-radius: 14px;
    background: #fcfcfe;
    text-decoration: none;
}

a.lottery-winner:hover { border-color: rgba(var(--ls-primary-rgb), 0.3); }

.lottery-winner-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 40px;
    height: 40px;
    overflow: hidden;
    border-radius: 50%;
    background: rgba(var(--ls-primary-rgb), 0.09);
    color: var(--ls-primary);
    font-size: 17px;
}

.lottery-winner-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.lottery-winner-main {
    flex: 1 1 auto;
    min-width: 0;
}

.lottery-winner-main strong {
    display: block;
    color: var(--lottery-ink);
    font-size: 14px;
    font-weight: 650;
    overflow-wrap: anywhere;
}

@media (max-width: 700px) { .lottery-winners { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .lottery-winner-group-head p { display: none; } }
@media (max-width: 440px) { .lottery-winners { grid-template-columns: minmax(0, 1fr); } }

/* 结果空态 */
.lottery-result-empty {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 6px 0 4px;
}

.lottery-result-empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    height: 42px;
    border-radius: 13px;
    background: rgba(var(--ls-primary-rgb), 0.07);
    color: var(--ls-primary);
    font-size: 19px;
}

.lottery-result-empty strong {
    display: block;
    color: var(--lottery-ink);
    font-size: 14px;
    font-weight: 650;
}

.lottery-result-empty.is-waiting span {
    color: #4d5064;
}

.lottery-result-empty p {
    margin: 6px 0 0;
    color: var(--lottery-muted);
    font-size: 12.5px;
    line-height: 1.65;
}

/* 发放情况（横向表单） */
.lottery-delivery-grid {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 16px;
}

.lottery-panel .post-lottery-btn-save {
    align-self: center;
}

/* ═══════════════════════════════════════════════════════════
 * 插件补充：评论区 / 发布弹窗 / 按钮 / 门槛面板
 * 参考站没有这部分（它用 LS 主题的弹窗与评论组件），改为本插件自有样式。
 * ═══════════════════════════════════════════════════════════ */

.muooy-lt-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 0;
    border-radius: 10px;
    padding: 9px 18px;
    background: linear-gradient(135deg, #6d6cf6, #8a7cf8);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    cursor: pointer;
    text-decoration: none;
    transition: filter .15s, transform .15s;
}
.muooy-lt-btn:hover { filter: brightness(1.05); color: #fff; }
.muooy-lt-btn:active { transform: translateY(1px); }
.muooy-lt-btn.ghost {
    background: #fff;
    color: #4b5563;
    font-weight: 500;
    box-shadow: inset 0 0 0 1px #dbe2ee;
}
.muooy-lt-btn.ghost:hover { background: #f8fafc; color: #374151; }
.muooy-lt-btn[disabled] { opacity: .6; cursor: not-allowed; }

/* ── 评论区 ── */
.muooy-lt-comments .muooy-lt-comment-form {
    border: 1px solid #eef1f8;
    background: #fbfcff;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 8px;
}
.muooy-lt-comment-form textarea {
    width: 100%;
    box-sizing: border-box;
    min-height: 86px;
    border: 0;
    background: transparent;
    resize: vertical;
    font-size: 14px;
    line-height: 1.7;
    color: #252839;
    outline: none;
}
.muooy-lt-comment-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}
.muooy-lt-hint { font-size: 12px; color: #94a0b8; }
.muooy-lt-mine {
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 13px;
    margin-bottom: 12px;
}
.muooy-lt-mine.is-ok { background: #eefaf3; color: #0f7b4f; }
.muooy-lt-mine.is-warn { background: #fff8ec; color: #9a5b00; }
.muooy-lt-login-tip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding: 14px;
    background: #fbfcff;
    border: 1px dashed #e2e8f5;
    border-radius: 12px;
    font-size: 13px;
    color: #8b93a7;
    margin-bottom: 8px;
}
.muooy-lt-closed {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    border-radius: 10px;
    background: #f6f7fb;
    color: #8b93a7;
    font-size: 13px;
    margin-bottom: 8px;
}
/* 评论列表：一行两条（窄屏回落单列），内容单行省略，悬停看全文 */
.muooy-lt-comment-list {
    margin-top: 10px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 12px;
}
.muooy-lt-comment-list .muooy-lt-comment {
    display: flex;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid #edf0f7;
    border-radius: 10px;
    background: #fcfcff;
    min-width: 0;
}
.muooy-lt-comment-list .muooy-lt-comment:hover { border-color: #dde4f3; background: #f8faff; }
.muooy-lt-comment-empty { grid-column: 1 / -1; }
.muooy-lt-comment-list .muooy-lt-ava img { width: 34px; height: 34px; }
.muooy-lt-ava { flex: none; }
.muooy-lt-ava img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: block;
    object-fit: cover;
}
.muooy-lt-cbody { flex: 1 1 auto; min-width: 0; }
.muooy-lt-chead {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
    font-size: 13px;
    color: #6b7280;
    min-width: 0;
}
.muooy-lt-chead strong { color: #252839; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.muooy-lt-chead time { color: #9aa3b5; font-size: 12px; flex: none; }
.muooy-lt-joined {
    font-size: 11.5px;
    color: #4f46e5;
    background: #eef2ff;
    border-radius: 6px;
    padding: 2px 7px;
    flex: none;
    margin-left: auto;
}
.muooy-lt-ctext {
    font-size: 13px;
    line-height: 1.6;
    color: #374151;
    margin-top: 4px;
    word-break: break-word;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.muooy-lt-ctext p { display: inline; margin: 0; }
.muooy-lt-ctext br { display: none; }
.muooy-lt-comment-empty {
    padding: 22px 0;
    text-align: center;
    color: #9aa3b5;
    font-size: 13px;
}

/* ── 发布弹窗 ── */
.muooy-lt-modal {
    position: fixed;
    inset: 0;
    z-index: 99990;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}
.muooy-lt-modal[hidden] { display: none; }
.muooy-lt-mask {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .48);
    backdrop-filter: blur(2px);
}
.muooy-lt-dialog {
    position: relative;
    width: min(720px, calc(100vw - 32px));
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(15, 23, 42, .28);
}
.muooy-lt-dialog-head {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px 14px;
    border-bottom: 1px solid #eef1f7;
}
.muooy-lt-dialog-head h3 { margin: 0; font-size: 17px; color: #1f2937; font-weight: 700; }
.muooy-lt-x {
    border: 0;
    background: transparent;
    color: #9aa3b5;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    padding: 4px;
    border-radius: 8px;
}
.muooy-lt-x:hover { background: #f3f5fa; color: #4b5563; }
.muooy-lt-dialog-body {
    box-sizing: border-box;
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding: 18px 22px 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.muooy-lt-dialog-body::-webkit-scrollbar { width: 0; height: 0; display: none; }
.muooy-lt-dialog-body textarea { scrollbar-width: none; -ms-overflow-style: none; resize: vertical; }
.muooy-lt-dialog-body textarea::-webkit-scrollbar { width: 0; height: 0; display: none; }
.muooy-lt-dialog-foot {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 22px 16px;
    border-top: 1px solid #eef1f7;
    background: #fcfdff;
}
.muooy-lt-foot-hint {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #94a0b8;
    line-height: 1.6;
}
.muooy-lt-foot-btns { display: flex; gap: 10px; flex: none; }

.muooy-lt-dialog .post-lottery-form-group label {
    display: block;
    font-size: 12.5px;
    color: #6b7280;
    margin-bottom: 6px;
}
.muooy-lt-row2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.muooy-lt-sub {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 14px;
    border-radius: 12px;
    border: 1px solid #eef1f8;
    background: #fbfcff;
}
.muooy-lt-tip {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin: 0;
    font-size: 12px;
    line-height: 1.7;
    color: #94a0b8;
}
.muooy-lt-seg {
    display: inline-flex;
    background: #f2f4fa;
    border-radius: 10px;
    padding: 3px;
    gap: 2px;
}
.muooy-lt-seg button {
    border: 0;
    background: transparent;
    padding: 7px 16px;
    border-radius: 8px;
    font-size: 13px;
    color: #6b7280;
    cursor: pointer;
    white-space: nowrap;
}
.muooy-lt-seg button.is-on {
    background: #fff;
    color: #4f46e5;
    font-weight: 600;
    box-shadow: 0 1px 4px rgba(79, 70, 229, .18);
}
.muooy-lt-gate {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 14px;
    border-radius: 12px;
    border: 1px solid #eef1f8;
    background: #fbfcff;
}
.muooy-lt-gate-title {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    color: #8b93a7;
}

/* ── 轻提示 ── */
.muooy-lt-toast {
    position: fixed;
    left: 50%;
    top: 86px;
    transform: translateX(-50%) translateY(-8px);
    z-index: 99999;
    background: rgba(23, 28, 42, .92);
    color: #fff;
    font-size: 13.5px;
    line-height: 1.6;
    padding: 10px 18px;
    border-radius: 10px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s, transform .18s;
    max-width: calc(100vw - 40px);
    box-sizing: border-box;
}
.muooy-lt-toast.is-show { opacity: 1; transform: translateX(-50%) translateY(0); }
.muooy-lt-toast.is-error { background: rgba(190, 40, 40, .95); }

/* ── 移动端 ── */
@media (max-width: 720px) {
    .muooy-lt-modal { padding: 0; align-items: flex-end; }
    .muooy-lt-dialog {
        width: 100%;
        max-height: 92vh;
        border-radius: 16px 16px 0 0;
    }
    .muooy-lt-row2 { grid-template-columns: 1fr; }
    .muooy-lt-dialog-foot { flex-direction: column; align-items: stretch; }
    .muooy-lt-foot-btns { justify-content: flex-end; }
    .muooy-lt-seg { width: 100%; }
    .muooy-lt-seg button { flex: 1; }
}

/* ── 参考站变量兜底：原 CSS 依赖 --ls-primary-*，本站没有这套变量 ── */
.yxyh-post-lottery {
    --ls-primary: #5b5bd6;
    --ls-primary-hover: #4f46e5;
    --ls-primary-rgb: 91, 91, 214;
}

/* 筛选标签：原样式只写给 button，本页用链接（无 JS 也能切筛选） */
.post-lottery-filter-tabs a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 18px;
    border-radius: 10px;
    color: #858798;
    font-size: 12px;
    font-weight: 650;
    text-decoration: none;
    transition: color .18s ease, background .18s ease;
}
.post-lottery-filter-tabs a:hover { color: var(--ls-primary-hover); }
.post-lottery-filter-tabs a.is-active { background: #fff; color: var(--ls-primary); }

/* hidden 属性优先：.muooy-lt-sub 的 display:flex 会盖掉浏览器默认的 [hidden]{display:none} */
.muooy-lt-dialog [hidden],
.muooy-lt-sub[hidden],
.post-lottery-form-group[hidden] { display: none !important; }

/* ── 发布弹窗：多档奖品 ── */
.muooy-lt-tiers-edit { display: flex; flex-direction: column; gap: 10px; }
.muooy-lt-tier { border: 1px solid #eef1f8; border-radius: 12px; background: #fbfcff; padding: 12px 14px; display: flex; flex-direction: column; gap: 10px; }
.muooy-lt-tier-head { display: flex; align-items: center; gap: 10px; }
.muooy-lt-tier-name { flex: 1; min-width: 0; border: 0; background: transparent; font-size: 14px; font-weight: 700; color: #3b3f52; padding: 4px 0; outline: none; border-bottom: 1px dashed transparent; }
.muooy-lt-tier-name:focus { border-bottom-color: #c7cbe0; }
.muooy-lt-tier-del { border: 0; background: #fff; box-shadow: inset 0 0 0 1px #e5e9f2; color: #9aa3b5; width: 28px; height: 28px; border-radius: 8px; cursor: pointer; flex: none; display: inline-flex; align-items: center; justify-content: center; font-size: 15px; }
.muooy-lt-tier-del:hover { color: #dc2626; box-shadow: inset 0 0 0 1px #fecdcd; }
.muooy-lt-tier-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.muooy-lt-tier-grid label { display: flex; flex-direction: column; gap: 5px; font-size: 12px; color: #6b7280; }
.muooy-lt-tier-grid select, .muooy-lt-tier-grid input, .muooy-lt-tier-grid textarea { width: 100%; box-sizing: border-box; border: 1px solid #e3e8f3; border-radius: 8px; padding: 7px 9px; font-size: 13px; background: #fff; color: #252839; outline: none; }
.muooy-lt-tier-grid label[data-k-box="desc"], .muooy-lt-tier-grid label[data-k-box="title"], .muooy-lt-tier-grid label[data-k-box="frame"] { grid-column: 1 / -1; }
.muooy-lt-tier-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; }
.muooy-lt-tier-add { border: 1px dashed #cdd5e6; background: #fff; color: #5b5bd6; border-radius: 10px; padding: 7px 14px; font-size: 13px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.muooy-lt-tier-add:hover { background: #f6f7ff; }
.muooy-lt-tier-grid [hidden] { display: none !important; }
@media (max-width: 720px) { .muooy-lt-tier-grid { grid-template-columns: 1fr 1fr; } }

/* ── 多档奖品：详情页档位列表 + 中奖者档位标签 ── */
.muooy-lt-tiers { list-style: none; margin: 0 0 10px; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.muooy-lt-tiers li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #3b3f52; background: #fafbff; border: 1px solid #eef1f8; border-radius: 8px; padding: 7px 10px; }
.muooy-lt-tier-name { font-weight: 700; color: #5b5bd6; flex: none; }
.muooy-lt-tier-line { flex: 1; min-width: 0; color: #4b5563; }
.muooy-lt-tier-count { flex: none; color: #8b93a7; font-size: 12px; }

/* 列表局部刷新：只轻微淡化，不锁交互、不改变布局，避免「页面卡住」的感觉 */
.post-lottery-list-region { transition: opacity .15s ease; }
.post-lottery-list-region.is-loading { opacity: .58; }
#muooy-lt-list .post-lottery-empty { margin: 0; border: 0; border-radius: 0; }

/* 参与消耗积分：醒目提示条（放在输入框上方，评论前就能看到） */
.muooy-lt-costbar { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 12px; padding: 11px 14px; border-radius: 12px; border: 1px solid #ffe0ad; background: linear-gradient(135deg,#fff8ec,#fff1da); }
.muooy-lt-costbar-ico { flex: none; width: 26px; height: 26px; border-radius: 50%; background: #ff9f1c; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 15px; box-shadow: 0 3px 8px rgba(255,159,28,.35); }
.muooy-lt-costbar-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.muooy-lt-costbar-txt strong { color: #b45309; font-size: 13.5px; font-weight: 750; letter-spacing: .2px; }
.muooy-lt-costbar-txt span { color: #a16207; font-size: 12px; line-height: 1.6; }

/* 活动详情正文 */
.muooy-lt-post-body { font-size: 14px; line-height: 1.85; color: #374151; word-break: break-word; }
.muooy-lt-post-body p { margin: 0 0 10px; }
.muooy-lt-post-body img { max-width: 100%; height: auto; border-radius: 10px; }
.muooy-lt-post-body a { color: #4f46e5; }
#muooy-lt-post { scroll-margin-top: 96px; }

/* ══════════════════════════════════════════════════════════════
   发布抽奖弹窗：统一到插件组件库风格（2026-11-16）
   原来直接沿用参考站的表单样式（44px 高、12px 圆角、灰底），
   与后台弹窗/插件其它页面不是一套视觉。这里按组件库重写：
   9px 圆角白底输入框 + 分区虚线分隔 + 12px 档位卡 + 固定底栏。
   ══════════════════════════════════════════════════════════════ */
.muooy-lt-modal .muooy-lt-dialog { border-radius: 16px; }
.muooy-lt-modal .muooy-lt-dialog-head { padding: 18px 22px 14px; align-items: flex-start; }
.muooy-lt-modal .muooy-lt-dialog-title h3 { margin: 0; font-size: 16.5px; font-weight: 750; color: #1f2437; letter-spacing: .2px; }
.muooy-lt-modal .muooy-lt-dialog-sub { margin: 4px 0 0; font-size: 12px; color: #98a1b3; line-height: 1.5; }
.muooy-lt-modal .muooy-lt-x { width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; border-radius: 9px; background: #f3f5f9; color: #7b8497; font-size: 15px; padding: 0; }
.muooy-lt-modal .muooy-lt-x:hover { background: #e9edf5; color: #4b5563; }

.muooy-lt-modal .muooy-lt-dialog-body { padding: 18px 22px; gap: 16px; }

/* 一级标签＝小节标题；分区之间用虚线分隔，避免一坨到底 */
.muooy-lt-modal .muooy-lt-dialog-body > .post-lottery-form-group > label,
.muooy-lt-modal .muooy-lt-dialog-body > .muooy-lt-row2 > .post-lottery-form-group > label { font-size: 12.5px; font-weight: 700; color: #3b4256; }
.muooy-lt-modal .muooy-lt-dialog-body > .post-lottery-form-group { gap: 6px; padding-bottom: 14px; border-bottom: 1px dashed #eef1f7; }
.muooy-lt-modal .muooy-lt-dialog-body > .muooy-lt-row2 { padding-bottom: 14px; border-bottom: 1px dashed #eef1f7; }
.muooy-lt-modal .muooy-lt-dialog-body > .muooy-lt-gate { border-bottom: 0; }

/* 输入框：白底 + 9px 圆角 + 淡描边 + 焦点环（覆盖主题的 input:focus 深色边） */
.muooy-lt-modal .post-lottery-input,
.muooy-lt-modal .post-lottery-textarea,
.muooy-lt-modal .muooy-lt-gate .post-lottery-input {
    min-height: 38px;
    padding: 0 11px;
    border: 1px solid #dfe5f1;
    border-radius: 9px;
    background: #fff;
    color: #252839;
    font-size: 13px;
    box-shadow: none;
    outline: 0;
}
.muooy-lt-modal .post-lottery-textarea { min-height: 88px; padding: 9px 11px; line-height: 1.7; resize: vertical; }
.muooy-lt-modal .post-lottery-input:focus,
.muooy-lt-modal .post-lottery-textarea:focus {
    /* 主题/子主题对 input:focus 有自己的深色描边，这里用 !important 保证统一焦点环 */
    border-color: #9db2ff !important;
    background: #fff !important;
    box-shadow: 0 0 0 3px rgba(91, 91, 214, .10) !important;
    outline: 0 !important;
}
.muooy-lt-modal .post-lottery-input[readonly] { background: #f6f8fc; color: #6b7280; }

/* 档位卡 */
.muooy-lt-modal .muooy-lt-tier-name { font-size: 13.5px; font-weight: 750; padding: 3px 0; }
.muooy-lt-modal .muooy-lt-tier-grid { gap: 10px; }
.muooy-lt-modal .muooy-lt-tier-grid label { font-size: 11.5px; gap: 5px; }
.muooy-lt-modal .muooy-lt-tier-grid select,
.muooy-lt-modal .muooy-lt-tier-grid input,
.muooy-lt-modal .muooy-lt-tier-grid textarea { border-radius: 8px; padding: 7px 9px; font-size: 12.5px; }
.muooy-lt-modal .muooy-lt-tier-foot { margin-top: 8px; }
.muooy-lt-modal .muooy-lt-tier-add { border-radius: 9px; padding: 7px 12px; font-size: 12.5px; }
.muooy-lt-modal .muooy-lt-hint { font-size: 11.5px; color: #9aa3b5; }

/* 提示文字 */
.muooy-lt-modal .muooy-lt-tip { display: flex; align-items: flex-start; gap: 6px; margin: 2px 0 0; font-size: 11.5px; color: #9aa3b5; line-height: 1.7; }
.muooy-lt-modal .muooy-lt-tip i { color: #b6bdcc; margin-top: 1px; }

/* 参与门槛区 */
.muooy-lt-modal .muooy-lt-gate { border: 1px dashed #e3e8f3; border-radius: 12px; background: #f8faff; padding: 14px; gap: 12px; }
.muooy-lt-modal .muooy-lt-gate-title { font-size: 12.5px; font-weight: 700; color: #4b5563; gap: 7px; }
.muooy-lt-modal .muooy-lt-gate .post-lottery-form-group { gap: 5px; }
.muooy-lt-modal .muooy-lt-gate .post-lottery-form-group > label { font-size: 11.5px; font-weight: 400; color: #6b7280; }
.muooy-lt-modal .muooy-lt-gate .muooy-lt-row2 { border-bottom: 0; padding-bottom: 0; }

/* 底栏按钮 */
.muooy-lt-modal .muooy-lt-dialog-foot { padding: 13px 22px; }
.muooy-lt-modal .muooy-lt-foot-hint { font-size: 11.5px; color: #9aa3b5; }
.muooy-lt-modal .muooy-lt-btn { min-height: 34px; padding: 7px 16px; border-radius: 9px; font-size: 13px; }
.muooy-lt-modal .muooy-lt-btn.ghost { background: #fff; box-shadow: inset 0 0 0 1px #e2e8f4; font-weight: 500; }

/* 大厅表格：向参考站靠一点（行更高、标题更重、卡片圆角 12） */
.post-lottery-archive-panel,
.post-lottery-empty { border-radius: 12px; }
.post-lottery-table th,
.post-lottery-table td { padding: 17px 14px; }
.post-lottery-table th { font-size: 12.5px; }
.post-lottery-table-name span { font-size: 13.5px; font-weight: 700; }
.post-lottery-status-badge { min-height: 24px; padding: 0 9px; font-size: 11.5px; }

/* 评论两列：窄屏回落单列；手机上去掉时间，优先保证昵称完整 */
@media (max-width: 900px) {
    .muooy-lt-comment-list { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .muooy-lt-comment-list .muooy-lt-chead time { display: none; }
    .muooy-lt-comment-list .muooy-lt-chead strong { flex: 1 1 auto; }
}

/* ── 开奖公示 ── */
.lottery-panel-icon svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.muooy-lt-proof-head-r { display: flex; align-items: center; gap: 8px; flex: none; }
.muooy-lt-proof-toggle {
    width: 26px;
    height: 26px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e6e8f0;
    border-radius: 8px;
    background: #fff;
    color: #8a8fa3;
    cursor: pointer;
}
.muooy-lt-proof-toggle:hover { border-color: rgba(var(--ls-primary-rgb), .3); color: var(--ls-primary); }
.muooy-lt-proof-toggle svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform .18s ease;
}
.muooy-lt-proof.is-folded .muooy-lt-proof-toggle svg { transform: rotate(-90deg); }
.muooy-lt-proof.is-folded .lottery-panel-body { display: none; }
/* 🔴 不能叫 is-collapsed：主题 style.css 有全局 .is-collapsed{max-height:0}，会把整块压扁 */

.muooy-lt-proof-seed {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 10px 12px;
    border: 1px dashed rgba(var(--ls-primary-rgb), .25);
    border-radius: 10px;
    background: rgba(var(--ls-primary-rgb), .03);
}
.muooy-lt-proof-label { flex: none; font-size: 12px; color: #858798; }
.muooy-lt-proof-seed code {
    flex: 1 1 200px;
    min-width: 0;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 11.5px;
    color: #252839;
    word-break: break-all;
}
.muooy-lt-proof-copy {
    flex: none;
    height: 26px;
    padding: 0 10px;
    border: 1px solid rgba(var(--ls-primary-rgb), .25);
    border-radius: 7px;
    background: #fff;
    color: var(--ls-primary);
    font: inherit;
    font-size: 11.5px;
    font-weight: 650;
    cursor: pointer;
}
.muooy-lt-proof-copy:hover { background: rgba(var(--ls-primary-rgb), .06); }
.muooy-lt-proof-note { margin: 10px 0 0; max-width: 820px; font-size: 12px; line-height: 1.7; color: #858798; }
.muooy-lt-proof-note code {
    font-family: ui-monospace, Menlo, monospace;
    font-size: 11.5px;
    background: #f5f6fb;
    border-radius: 4px;
    padding: 1px 4px;
}
.muooy-lt-proof-rest { margin-top: 0; }
.muooy-lt-proof-more { margin-top: 10px; }
.muooy-lt-proof-more summary {
    cursor: pointer;
    font-size: 12.5px;
    font-weight: 650;
    color: var(--ls-primary);
    list-style: none;
}
.muooy-lt-proof-more summary::-webkit-details-marker { display: none; }
.muooy-lt-proof-more summary::before { content: '＋'; margin-right: 6px; }
.muooy-lt-proof-more[open] summary::before { content: '－'; }
.muooy-lt-proof-tablewrap {
    margin-top: 10px;
    overflow-x: auto;
    border: 1px solid var(--lottery-line-soft);
    border-radius: 10px;
}
.muooy-lt-proof-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.muooy-lt-proof-table th {
    position: sticky;
    top: 0;
    padding: 8px 10px;
    border-bottom: 1px solid #eef1f7;
    background: #fafbff;
    color: #6b7280;
    font-weight: 650;
    text-align: left;
    white-space: nowrap;
}
.muooy-lt-proof-table td { padding: 8px 10px; border-bottom: 1px solid #f3f4f9; color: #3f4254; }
.muooy-lt-proof-table th,
.muooy-lt-proof-table td { white-space: nowrap; }
.muooy-lt-proof-ticket { font-family: ui-monospace, Menlo, monospace; font-size: 11px; color: #6b7280; }
.muooy-lt-proof-table td.muooy-lt-proof-hash { white-space: normal; }
.muooy-lt-proof-table tr:last-child td { border-bottom: 0; }
.muooy-lt-proof-hash { font-family: ui-monospace, Menlo, monospace; font-size: 11px; color: #8a8fa3; word-break: break-all; }
.muooy-lt-proof-flag { flex: none; padding: 1px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.muooy-lt-proof-flag.is-ok { color: #2f9e63; background: rgba(47, 158, 99, .1); }
.muooy-lt-proof-flag.is-bad { color: #d9534f; background: rgba(217, 83, 79, .1); }
.muooy-lt-proof-meta { margin: 10px 0 0; color: #6b7280; font-size: 12px; }
.muooy-lt-proof-dot { margin: 0 6px; color: #c3c7d4; }
.muooy-lt-proof-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.muooy-lt-proof-hint { font-size: 11.5px; color: #9aa3b5; }
.muooy-lt-proof-text { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.muooy-lt-proof-table .is-win { color: #2f9e63; }
.muooy-lt-proof-table .is-lose { color: #a6a9b8; }
@media (max-width: 560px) {
    .muooy-lt-proof-table th:nth-child(3),
    .muooy-lt-proof-table td:nth-child(3) { display: none; }
}

/* ── 中奖横幅 + 补发按钮 ── */
.muooy-lt-winbar {
    position: relative;
    display: flex;
    align-items: center;
    gap: 26px;
    margin: 18px 0;
    padding: 18px 24px;
    border-radius: 16px;
    border: 1px solid rgba(var(--ls-primary-rgb), .18);
    background: linear-gradient(135deg, #fbfaff 0%, #f5f2ff 56%, #eff2ff 100%);
    box-shadow: 0 16px 32px -30px rgba(37, 40, 57, .55), inset 0 1px 0 rgba(255, 255, 255, .9);
    overflow: hidden;
}
.muooy-lt-winbar::before {
    content: '';
    position: absolute;
    top: -52px;
    inset-inline-end: -30px;
    width: 156px;
    height: 156px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--ls-primary-rgb), .14), rgba(var(--ls-primary-rgb), 0) 68%);
    pointer-events: none;
}
.muooy-lt-winbar-main {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1 1 320px;
    min-width: 0;
}
.muooy-lt-winbar-ico {
    position: relative;
    flex: none;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(140deg, #8e8ef0, var(--ls-primary) 58%, #4747bd);
    box-shadow: 0 12px 20px -12px rgba(var(--ls-primary-rgb), .85), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.muooy-lt-winbar-ico svg {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.muooy-lt-winbar-txt { min-width: 0; }
.muooy-lt-winbar-txt em {
    display: inline-block;
    margin-bottom: 4px;
    padding: 1px 7px;
    border-radius: 999px;
    background: rgba(var(--ls-primary-rgb), .1);
    color: var(--ls-primary);
    font-style: normal;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .4px;
}
.muooy-lt-winbar-txt strong { display: block; color: #252839; font-size: 18px; font-weight: 750; line-height: 1.4; }
.muooy-lt-winbar-note-wrap {
    position: relative;
    flex: 1 1 260px;
    min-width: 0;
    padding-inline-start: 26px;
    border-inline-start: 1px dashed rgba(var(--ls-primary-rgb), .22);
}
.muooy-lt-winbar-note-wrap .muooy-lt-winbar-note { margin: 0; }
.muooy-lt-winbar-side {
    position: relative;
    flex: 0 0 200px;
    min-width: 0;
    padding-inline-start: 26px;
    border-inline-start: 1px dashed rgba(var(--ls-primary-rgb), .22);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}
.muooy-lt-winbar-state {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 28px;
    padding: 0 13px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 650;
    letter-spacing: .2px;
    white-space: nowrap;
}
.muooy-lt-winbar-state i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.muooy-lt-winbar-state.is-ok { color: #2f9e63; background: rgba(47, 158, 99, .1); }
.muooy-lt-winbar-state.is-wait { color: #8b8fa3; background: rgba(37, 40, 57, .055); }
.muooy-lt-winbar-state.is-fail { color: #d9534f; background: rgba(217, 83, 79, .1); }
.muooy-lt-winbar-time { color: #8a8fa3; font-size: 12px; letter-spacing: .2px; }
.muooy-lt-ship-btn {
    margin-top: 2px;
    height: 30px;
    padding: 0 14px;
    border: 0;
    border-radius: 8px;
    background: var(--ls-primary);
    color: #fff;
    font: inherit;
    font-size: 12px;
    font-weight: 650;
    cursor: pointer;
    box-shadow: 0 8px 16px -10px rgba(var(--ls-primary-rgb), .9);
}
.muooy-lt-ship-btn:hover { background: var(--ls-primary-hover); }
.muooy-lt-ship-modal .muooy-lt-dialog { width: min(460px, calc(100vw - 32px)); }
.muooy-lt-ship-modal .post-lottery-form-group { margin: 0; }
.muooy-lt-ship-modal .post-lottery-textarea { min-height: 84px; }
.muooy-lt-winbar-note { margin: 0; color: #858798; font-size: 12px; line-height: 1.6; }

@media (max-width: 820px) {
    .muooy-lt-winbar { flex-direction: column; align-items: stretch; gap: 13px; margin: 14px 0; padding: 15px 16px; border-radius: 14px; }
    .muooy-lt-winbar-note-wrap,
    .muooy-lt-winbar-side {
        flex: none;
        padding-inline-start: 0;
        padding-top: 12px;
        border-inline-start: 0;
        border-top: 1px dashed rgba(var(--ls-primary-rgb), .22);
    }
    .muooy-lt-winbar-side { flex-direction: row; align-items: center; gap: 10px; }
}
@media (max-width: 560px) {
    .muooy-lt-winbar-ico { width: 38px; height: 38px; border-radius: 11px; }
    .muooy-lt-winbar-ico svg { width: 21px; height: 21px; }
    .muooy-lt-winbar-txt strong { font-size: 15.5px; }
}

.muooy-lt-repay { display:inline-flex; align-items:center; height:26px; padding:0 12px; border:1px solid #ffd9a3; border-radius:999px; background:#fff7e8; color:#b45309; font:inherit; font-size:11.5px; font-weight:600; cursor:pointer; }
.muooy-lt-repay:hover { background:#ffefd4; }
.muooy-lt-repay[disabled] { opacity:.6; cursor:not-allowed; }

.post-lottery-create-icon svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
