/* 在线屏幕坏点测试 */
.st-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
    gap: 8px;
    margin-bottom: 14px;
}

.st-swatch {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 8px 4px;
    border: 1px solid var(--c-border, #e3e8ef);
    border-radius: 10px;
    background: var(--c-surface, #fff);
    cursor: pointer;
    transition: border-color .18s, transform .18s;
}
.st-swatch:hover { transform: translateY(-2px); }
.st-swatch.is-active {
    border-color: #0096dc;
    box-shadow: 0 0 0 2px rgba(0, 150, 220, .16);
}

.st-swatch-box {
    width: 100%;
    height: 40px;
    border-radius: 7px;
    border: 1px solid rgba(0, 0, 0, .1);
}

.st-swatch-name {
    font-size: 12px;
    font-weight: 600;
    color: var(--c-text-sub, #5b6572);
}
.st-swatch.is-active .st-swatch-name { color: #0096dc; }

.st-tip {
    margin: 12px 0 0;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.7;
}
.st-tip.is-ok { background: rgba(22, 163, 74, .1); color: #15803d; }
.st-tip.is-warn { background: rgba(220, 120, 0, .1); color: #b45309; }
.st-tip.is-info { background: rgba(0, 150, 220, .1); color: #0a7fc0; }

/* 全屏舞台 */
.st-stage {
    position: relative;
    height: 220px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: #000;
    overflow: hidden;
    border: 1px solid var(--c-border, #e3e8ef);
}
.st-stage:fullscreen { height: 100vh; border-radius: 0; border: none; }
.st-stage:-webkit-full-screen { height: 100vh; border-radius: 0; border: none; }

.st-stage-txt {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 2px;
    text-shadow: 0 1px 6px rgba(0, 0, 0, .35);
}

.st-note {
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(22, 163, 74, .1);
    color: #15803d;
    font-size: 13px;
    line-height: 1.7;
}

[data-theme="dark"] .st-swatch { background: var(--c-surface, #1b2028); }
[data-theme="dark"] .st-tip.is-ok { color: #4ade80; }
[data-theme="dark"] .st-tip.is-warn { color: #fbbf24; }
[data-theme="dark"] .st-tip.is-info { color: #58bdf0; }
[data-theme="dark"] .st-note { color: #4ade80; }

@media (max-width: 768px) {
    .st-grid { grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); }
    .st-stage { height: 170px; }
}
