
/* 顶部标签栏已迁移到 theme-tokens.css，此处不再写主题硬覆盖。 */
.theme-chip {
    --orb-light: rgba(255, 255, 255, 0.82);
    --orb-mid: rgba(214, 236, 255, 0.48);
    --orb-dark: rgba(96, 165, 250, 0.34);
    --orb-glow: rgba(59, 130, 246, 0.18);
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.65em;
    height: 1.65em;
    border-radius: 0.58em;
    overflow: hidden;
    flex: 0 0 auto;
    border: 1px solid color-mix(in srgb, var(--orb-dark) 40%, rgba(255,255,255,0.58));
    background:
        linear-gradient(145deg, color-mix(in srgb, var(--orb-light) 86%, white), var(--orb-mid) 58%, var(--orb-dark));
    box-shadow:
        0 8px 18px color-mix(in srgb, var(--orb-glow) 80%, transparent),
        inset 0 1px 0 rgba(255,255,255,0.62),
        inset 0 -1px 0 rgba(15,23,42,0.08);
    transform: translateZ(0);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.theme-chip::before {
    content: '';
    position: absolute;
    inset: 2px;
    border-radius: calc(0.58em - 2px);
    background:
        radial-gradient(circle at 22% 18%, rgba(255,255,255,0.82), transparent 28%),
        linear-gradient(135deg, rgba(255,255,255,0.28), transparent 46%);
    pointer-events: none;
}
.theme-chip-layer {
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
}
.theme-chip-layer-a {
    width: 58%;
    height: 58%;
    left: -8%;
    bottom: -10%;
    background: color-mix(in srgb, var(--orb-dark) 72%, transparent);
    opacity: .56;
}
.theme-chip-layer-b {
    width: 54%;
    height: 54%;
    right: -12%;
    top: -10%;
    background: color-mix(in srgb, var(--orb-light) 70%, transparent);
    opacity: .72;
}
.theme-chip-dot {
    position: absolute;
    right: 22%;
    bottom: 22%;
    width: 22%;
    height: 22%;
    border-radius: 50%;
    background: rgba(255,255,255,0.92);
    box-shadow: 0 0 0 1px rgba(255,255,255,0.34), 0 4px 10px color-mix(in srgb, var(--orb-glow) 70%, transparent);
    pointer-events: none;
}
.dock-btn:hover .theme-chip,
.dock-btn:focus-visible .theme-chip {
    transform: translateY(-1px) scale(1.04);
    border-color: color-mix(in srgb, var(--orb-dark) 58%, rgba(255,255,255,0.72));
    box-shadow:
        0 10px 22px color-mix(in srgb, var(--orb-glow) 92%, transparent),
        inset 0 1px 0 rgba(255,255,255,0.72),
        inset 0 -1px 0 rgba(15,23,42,0.10);
}
