.post-TianliGPT {
    margin: 18px 0;
    padding: 14px;
    border: 1px solid rgba(130, 146, 170, .22);
    border-radius: 14px;
    background: #303644;
    color: #f8fafc;
}

.post-TianliGPT.style-default {
    background: #303644;
    color: #f8fafc;
}

.post-TianliGPT .tianliGPT-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.post-TianliGPT .tianliGPT-title-icon {
    display: inline-flex;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #f7b733;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.post-TianliGPT .tianliGPT-title-icon svg {
    width: 24px;
    height: 24px;
}

.post-TianliGPT .tianliGPT-title-text {
    color: #ffc94a;
    font-size: 18px;
    font-weight: 700;
}

.post-TianliGPT .tianliGPT-tag {
    margin-left: auto;
    color: rgba(248, 250, 252, .45);
    font-size: 13px;
}

.post-TianliGPT .tianliGPT-regenerate {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    margin-left: 4px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .10);
    color: rgba(248, 250, 252, .72);
    cursor: pointer;
    transition: background .18s ease, color .18s ease, transform .18s ease;
}

.post-TianliGPT .tianliGPT-regenerate:hover,
.post-TianliGPT .tianliGPT-regenerate:focus {
    background: rgba(255, 201, 74, .18);
    color: #ffc94a;
    outline: none;
}

.post-TianliGPT .tianliGPT-regenerate.is-loading svg {
    animation: xiazhi-postchat-spin .9s linear infinite;
}

.post-TianliGPT .tianliGPT-regenerate:disabled {
    cursor: wait;
    opacity: .7;
}

.post-TianliGPT .tianliGPT-regen-status {
    color: rgba(248, 250, 252, .48);
    font-size: 12px;
    line-height: 1;
    white-space: nowrap;
}

.post-TianliGPT .tianliGPT-explanation {
    min-height: 42px;
    padding: 12px 16px;
    border-radius: 8px;
    background: rgba(10, 12, 18, .72);
    color: #fff;
    font-size: 16px;
    line-height: 1.75;
}

.post-TianliGPT .tianliGPT-tokens {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    color: rgba(248, 250, 252, .58);
    font-size: 12px;
    line-height: 1.4;
}

.post-TianliGPT .tianliGPT-tokens span {
    font-weight: 700;
    color: rgba(248, 250, 252, .72);
}

.post-TianliGPT .tianliGPT-tokens b {
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    color: inherit;
    font-weight: 500;
}

.post-TianliGPT .blinking-cursor {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-left: 6px;
    border-radius: 50%;
    background: #ffc94a;
    animation: xiazhi-postchat-blink 1s infinite;
}

.post-TianliGPT.style-glass {
    position: relative;
    overflow: hidden;
    border-color: rgba(20, 184, 166, .22);
    background: linear-gradient(135deg, rgba(255, 255, 255, .86), rgba(239, 253, 250, .72));
    box-shadow: 0 18px 46px rgba(15, 23, 42, .10);
    color: #0f172a;
    backdrop-filter: blur(14px);
}

.post-TianliGPT.style-glass::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
        radial-gradient(circle at 12% 18%, rgba(20, 184, 166, .18), transparent 30%),
        radial-gradient(circle at 88% 8%, rgba(59, 130, 246, .14), transparent 32%);
    pointer-events: none;
}

.post-TianliGPT.style-glass .tianliGPT-title,
.post-TianliGPT.style-glass .tianliGPT-explanation {
    position: relative;
    z-index: 1;
}

.post-TianliGPT.style-glass .tianliGPT-title-icon {
    background: linear-gradient(135deg, #14b8a6, #38bdf8);
}

.post-TianliGPT.style-glass .tianliGPT-title-text {
    color: #0f766e;
}

.post-TianliGPT.style-glass .tianliGPT-tag {
    color: rgba(15, 23, 42, .46);
}

.post-TianliGPT.style-glass .tianliGPT-regenerate {
    background: rgba(20, 184, 166, .10);
    color: #0f766e;
}

.post-TianliGPT.style-glass .tianliGPT-regenerate:hover,
.post-TianliGPT.style-glass .tianliGPT-regenerate:focus {
    background: rgba(20, 184, 166, .18);
}

.post-TianliGPT.style-glass .tianliGPT-regen-status {
    color: rgba(15, 23, 42, .46);
}

.post-TianliGPT.style-glass .tianliGPT-explanation {
    border: 1px solid rgba(20, 184, 166, .16);
    background: rgba(255, 255, 255, .72);
    color: #1f2937;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
}

.post-TianliGPT.style-glass .tianliGPT-tokens {
    position: relative;
    z-index: 1;
    color: rgba(15, 23, 42, .54);
}

.post-TianliGPT.style-glass .tianliGPT-tokens span {
    color: #0f766e;
}

.post-TianliGPT.style-glass .tianliGPT-tokens b {
    background: rgba(20, 184, 166, .10);
}

.post-TianliGPT.style-glass .blinking-cursor {
    background: #14b8a6;
}

.post-TianliGPT.style-paper {
    position: relative;
    overflow: hidden;
    border-color: #ead8aa;
    background: #fff8e8;
    color: #332513;
    box-shadow: 0 12px 30px rgba(120, 78, 24, .10);
}

.post-TianliGPT.style-paper::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 5px;
    background: linear-gradient(180deg, #f59e0b, #ef4444);
}

.post-TianliGPT.style-paper::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(120, 78, 24, .06) 1px, transparent 1px);
    background-size: 100% 28px;
    pointer-events: none;
}

.post-TianliGPT.style-paper .tianliGPT-title,
.post-TianliGPT.style-paper .tianliGPT-explanation {
    position: relative;
    z-index: 1;
}

.post-TianliGPT.style-paper .tianliGPT-title-icon {
    background: #f59e0b;
}

.post-TianliGPT.style-paper .tianliGPT-title-text {
    color: #92400e;
}

.post-TianliGPT.style-paper .tianliGPT-tag {
    color: rgba(51, 37, 19, .46);
}

.post-TianliGPT.style-paper .tianliGPT-regenerate {
    background: rgba(146, 64, 14, .10);
    color: #92400e;
}

.post-TianliGPT.style-paper .tianliGPT-regenerate:hover,
.post-TianliGPT.style-paper .tianliGPT-regenerate:focus {
    background: rgba(146, 64, 14, .18);
}

.post-TianliGPT.style-paper .tianliGPT-regen-status {
    color: rgba(51, 37, 19, .46);
}

.post-TianliGPT.style-paper .tianliGPT-explanation {
    border: 1px solid rgba(146, 64, 14, .12);
    background: rgba(255, 255, 255, .58);
    color: #3b2a16;
}

.post-TianliGPT.style-paper .tianliGPT-tokens {
    position: relative;
    z-index: 1;
    color: rgba(51, 37, 19, .54);
}

.post-TianliGPT.style-paper .tianliGPT-tokens span {
    color: #92400e;
}

.post-TianliGPT.style-paper .tianliGPT-tokens b {
    background: rgba(146, 64, 14, .10);
}

.post-TianliGPT.style-paper .blinking-cursor {
    background: #f59e0b;
}

@keyframes xiazhi-postchat-blink {
    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: .2;
    }
}

@keyframes xiazhi-postchat-spin {
    to {
        transform: rotate(360deg);
    }
}
