/* 「去平台标识」效果对比（订阅前 / 订阅后）
   供订阅页弹窗与 /debrand/demo 演示页共用 */

.db-compare {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.db-compare-item {
    display: flex;
    flex-direction: column;
    gap: .45rem;
}

.db-compare-label {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .5rem;
}

.db-compare-tag {
    font-size: .78rem;
    font-weight: 700;
    padding: .15rem .55rem;
    border-radius: 999px;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
}

.db-compare-tag.is-before { background: #9ca3af; }
.db-compare-tag.is-after { background: #059669; }

.db-compare-desc {
    font-size: .8rem;
    color: #6b7280;
    line-height: 1.4;
}

.db-compare-shot {
    display: block;
    width: 100%;
    max-width: 720px;
    height: auto;
    margin: 0 auto;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #f3f4f6;
    box-shadow: 0 8px 24px rgba(5, 150, 105, .05);
}

.db-compare-legend {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem .9rem;
    margin: .85rem 0 0;
    font-size: .8rem;
    color: #4b5563;
}

.db-compare-hint {
    font-size: .78rem;
    color: #9ca3af;
    line-height: 1.55;
    margin: .85rem 0 0;
}

.db-compare-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .55rem;
    margin-top: .9rem;
}

.db-compare-actions a,
.db-compare-actions button {
    display: inline-block;
    border: none;
    font-size: .88rem;
    font-weight: 600;
    border-radius: 10px;
    padding: .5rem .95rem;
    line-height: 1.3;
    text-decoration: none;
    cursor: pointer;
}

.db-compare-actions .is-primary {
    background: #059669;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
}

.db-compare-actions .is-primary:hover { background: #047857; }

.db-compare-actions .is-ghost {
    background: #fff;
    border: 1px solid #d1d5db;
    color: #374151 !important;
    -webkit-text-fill-color: #374151 !important;
}

.db-compare-actions .is-ghost:hover { border-color: #059669; color: #059669 !important; }

/* 订阅页上的对比入口卡 */
.db-compare-card {
    background: #fff;
    border: 1px solid rgba(5, 150, 105, .2);
    border-radius: 14px;
    padding: 1rem 1.1rem 1.05rem;
    margin-bottom: 1.25rem;
}

.db-compare-card-head strong {
    display: block;
    font-size: 1rem;
    color: #111827;
}

.db-compare-card-head span {
    display: block;
    margin-top: .2rem;
    font-size: .85rem;
    color: #6b7280;
    line-height: 1.5;
}

/* /debrand/demo 独立演示页 */
.db-demo-page {
    margin: 0;
    background: #f9fafb;
    font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    color: #111827;
}

.db-demo-wrap {
    max-width: 720px;
    margin: 0 auto;
    padding: 1rem .9rem 2.5rem;
}

.db-demo-head h1 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 .35rem;
}

.db-demo-head p {
    margin: 0 0 1rem;
    font-size: .86rem;
    color: #6b7280;
    line-height: 1.55;
}
