.bycj-product-matrix { position:relative; flex-shrink:0; }
.bycj-product-matrix-trigger { position:relative; isolation:isolate; overflow:hidden; display:inline-flex; align-items:center; justify-content:center; gap:7px; border:1px solid #93c5fd59; border-radius:14px; padding:9px 12px; background:linear-gradient(115deg,#1d4ed8 0%,#4f46e5 48%,#7c3aed 100%); color:#fff; font-size:13px; font-weight:600; line-height:20px; white-space:nowrap; cursor:pointer; box-shadow:0 3px 12px #6366f138; transition:background 160ms ease,box-shadow 160ms ease; }
.bycj-product-matrix-trigger::before { content:""; position:absolute; inset:-60% -35%; z-index:0; pointer-events:none; background:linear-gradient(105deg,transparent 40%,#ffffff2e 50%,transparent 60%); transform:translateX(-115%); opacity:0; animation:bycj-product-light-sweep 6.5s ease-in-out infinite; }
.bycj-product-matrix-trigger > * { position:relative; z-index:1; }
.bycj-product-matrix-trigger:hover, .bycj-product-matrix-trigger[aria-expanded="true"] { background:linear-gradient(115deg,#2563eb 0%,#5b46ea 48%,#8740ee 100%); color:#fff; box-shadow:0 5px 18px #6366f14a; }
.bycj-product-matrix-trigger:focus-visible, .bycj-product-matrix-close:focus-visible, .bycj-product-card:focus-visible { outline:2px solid #7761ec; outline-offset:3px; }
.bycj-product-chevron-open { transform:rotate(180deg); }
.bycj-product-matrix-panel { position:absolute; z-index:60; top:calc(100% + 12px); right:0; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; width:min(420px,calc(100vw - 32px)); max-height:60dvh; overflow-y:auto; padding:12px; border:1px solid #e2e8f0; border-radius:18px; background:#fff; box-shadow:0 16px 48px #4c588c26; }
.bycj-product-card { display:flex; min-width:0; flex-direction:column; align-items:flex-start; gap:8px; border:1px solid #e8e9f5; border-radius:12px; padding:16px 12px; background:#f8f9ff; color:#334155; text-decoration:none; }
.bycj-product-matrix-heading { grid-column:1 / -1; display:flex; align-items:center; justify-content:space-between; gap:12px; padding-left:4px; color:#475569; font-size:13px; font-weight:600; }
.bycj-product-matrix-close { display:inline-flex; align-items:center; justify-content:center; flex-shrink:0; width:32px; height:32px; border:0; border-radius:9px; background:#f1f5f9; color:#64748b; cursor:pointer; }
.bycj-product-matrix-close:hover { background:#e8e9f5; color:#4338ca; }
.bycj-product-card:hover { border-color:#a5a1ef; background:#f0f0ff; }
.bycj-product-card-heading { display:flex; width:100%; align-items:center; justify-content:space-between; color:#6655c6; }
.bycj-product-card-tag { margin:0 auto 0 8px; font-size:13px; font-weight:700; letter-spacing:.02em; color:#5b46ea; }
.bycj-product-card-name { font-size:14px; font-weight:600; line-height:20px; }
.bycj-product-card-description { font-size:12px; line-height:18px; color:#64748b; }
.bycj-product-card-domain { font-size:11px; line-height:16px; color:#64748b; overflow-wrap:anywhere; }
.bycj-product-matrix,.bycj-product-matrix * { box-sizing:border-box; }
.bycj-product-matrix { font-family:"Microsoft YaHei UI",system-ui,sans-serif; text-align:left; }
.bycj-product-matrix-left .bycj-product-matrix-panel { left:0; right:auto; }
.bycj-product-matrix-trigger,.bycj-product-matrix-close { margin:0; font-family:inherit; }
.bycj-product-matrix-panel { text-transform:none; letter-spacing:normal; line-height:normal; }
.bycj-product-matrix-panel[hidden] { display:none; }
.bycj-product-card { transition:background 160ms ease,border-color 160ms ease; }
.bycj-product-card[aria-current="page"] { border-color:#b9b3ee; }
@keyframes bycj-product-light-sweep { 0%,18% { transform:translateX(-115%); opacity:0; } 24% { opacity:1; } 52% { transform:translateX(115%); opacity:1; } 58%,100% { transform:translateX(115%); opacity:0; } }
@media (prefers-reduced-motion:reduce) { .bycj-product-matrix-trigger { transition:none; }.bycj-product-matrix-trigger::before { animation:none; opacity:0; } }
@media (max-width:767px) { .bycj-product-matrix { position:static; }.bycj-product-matrix-panel { top:calc(100% - 4px); right:16px; }.bycj-product-matrix-left .bycj-product-matrix-panel { left:12px; right:auto; } }
