/* Current card and header refinements. Reserve borders to avoid hover shifts. */
body.bq-site .bq-card .bq-card-summary{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;min-height:3.4em;max-height:3.4em;font-size:12px;line-height:1.7;color:#94a3b8;margin:12px 0 0}
.bq-resource-size{font:11px monospace;flex:none;text-align:right;max-width:40%;overflow-wrap:anywhere}.bq-card .bq-meta>span:first-child{min-width:0;overflow-wrap:anywhere}
body.bq-site .bq-card .bq-primary-tag{color:var(--bq-brand-color);border-color:var(--bq-brand-color);background:transparent;font-size:10px}
.bq-publish-date{font:11px monospace;color:#94a3b8;white-space:nowrap;flex:none}.bq-card:hover .bq-publish-date,.bq-card:focus-within .bq-publish-date{color:#fff}
body.bq-site .bq-compact-card:has(.bq-cover){padding:0;overflow:hidden}.bq-compact-card .bq-cover{display:block;aspect-ratio:16/9}.bq-compact-card .bq-cover img{width:100%;height:100%;object-fit:cover}.bq-compact-card>.bq-card-copy{padding:18px 20px}.bq-compact-card>.bq-card-bottom{padding:14px 20px}
body.bq-site .bq-header .bq-search input[type="search"],body.bq-site .bq-header .bq-search input[type="search"]:focus{background:transparent!important;background-image:none!important;color:#f8fafc!important;-webkit-text-fill-color:#f8fafc!important;border:0!important;box-shadow:none!important;outline:none!important;font-size:13px;line-height:24px;padding:0!important;caret-color:#a5b4fc;color-scheme:dark}
body.bq-site .bq-header .bq-search input:-webkit-autofill{box-shadow:0 0 0 1000px #14171f inset!important;-webkit-text-fill-color:#f8fafc!important}
.bq-header-search .bq-search-submit{flex:none;border:1px solid #818cf84d;border-radius:8px;background:#4f46e5;color:#fff;font-size:12px;padding:5px 10px;line-height:20px;cursor:pointer}.bq-header-search .bq-search-submit:hover{background:#6366f1}.bq-header-search .bq-search-submit:focus-visible{outline:2px solid #a5b4fc;outline-offset:2px}
.bq-pills>a{align-items:center;line-height:20px}.bq-pills>a>span{display:inline-flex;align-items:center;justify-content:center;line-height:1;flex:none}.bq-pills .bq-color-icon{display:block;vertical-align:unset}
body.bq-site .bq-grid .bq-card{border-width:2px;transform:none;transition:border-color .25s}.bq-grid .bq-card:hover,.bq-grid .bq-card:focus-within{transform:none!important;box-shadow:none!important;border-color:var(--bq-brand-color)}body.bq-site .bq-card:hover .bq-cover img{transform:scale(1.025);opacity:.8}
body.bq-site .bq-card .bq-cover-tag{border:0;box-shadow:none;padding:3px 8px}
body.bq-site .bq-card h2 .bq-product-title,body.bq-site .bq-card h2 .bq-chinese-title{font-size:16px;line-height:1.5;color:#f8fafc}
body.bq-site .bq-card .bq-tags .bq-topic-tag,body.bq-site .bq-card .bq-tags .bq-platform-tag{color:#cbd5e1;border-color:#ffffff1a!important;background:#ffffff04!important}
.bq-cover-placeholder{height:100%;width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:36px 24px;background:#182335;color:#f8fafc;gap:12px}.bq-cover-placeholder strong{font-size:clamp(16px,2vw,26px);line-height:1.35;overflow-wrap:anywhere}.bq-cover-placeholder small{font-size:12px;color:var(--bq-brand-color)}
@media(min-width:801px) and (max-width:1320px){.bq-header-search kbd{display:none}}
@media(prefers-reduced-motion:reduce){body.bq-site .bq-card .bq-cover img{transition:none;transform:none!important}}
body.bq-site .bq-grid .bq-card{border-width:.5px;justify-content:flex-start}.bq-grid:not(.bq-list){align-items:start}body.bq-site .bq-card .bq-card-copy{flex:none;padding:16px 20px}
body.bq-site .bq-card .bq-cover-placeholder{background:var(--bq-cover-bg,#182335);color:var(--bq-cover-fg,#f8fafc)}body.bq-site .bq-card .bq-cover-placeholder small{color:inherit;opacity:.75}
body.bq-site .bq-card .bq-cover-tag{color:var(--bq-brand-color);background:#0b0d11dc}
.bq-cover-name{display:flex;flex-direction:column;align-items:flex-start;gap:12px;width:max-content;max-width:100%;text-align:left}
.bq-card .bq-cover-note{position:absolute;right:12px;bottom:12px;max-width:calc(100% - 24px);padding:4px 8px;border-radius:6px;background:#0b0d11df;color:#e2e8f0;font-size:10px;line-height:1.5;text-align:right;overflow-wrap:anywhere}
body.bq-site .bq-card .bq-product-version{font-size:66.666667%;color:#94a3b8;font-weight:400;letter-spacing:0}.bq-card .bq-meta{font-family:inherit;color:#94a3b8}.bq-card .bq-file-size{color:#94a3b8;font-family:monospace;max-width:110px;text-align:right;overflow-wrap:anywhere;white-space:normal}
body.bq-site .bq-list .bq-card-copy{padding:4px 0}
body.bq-site .bq-grid .bq-card{border-width:1px}.bq-cover-name{margin-top:30px}body.bq-site .bq-card:hover h2 .bq-product-title,body.bq-site .bq-card:hover h2 .bq-chinese-title,body.bq-site .bq-card:focus-within h2 .bq-product-title,body.bq-site .bq-card:focus-within h2 .bq-chinese-title{color:var(--bq-brand-color)}
.bq-logo img{width:100%;height:100%;object-fit:contain;border-radius:inherit}body.bq-site .bq-logo-image{background:transparent;box-shadow:none;border:0;border-radius:0}body.bq-site .bq-logo-image img{background:transparent;border-radius:0}.bq-nav>ul{display:flex;align-items:center;gap:22px;margin:0;padding:0;list-style:none}.bq-nav li{position:relative;list-style:none}.bq-nav .sub-menu{display:none;position:absolute;top:100%;left:0;padding:12px;background:#14171f;border:1px solid #ffffff1a;border-radius:10px;min-width:160px;margin:0}.bq-nav li:hover>.sub-menu,.bq-nav li:focus-within>.sub-menu{display:block}.bq-nav .sub-menu a{display:block;padding:6px}.bq-checkin-disabled{display:block;font-size:12px;padding:12px 8px;color:#64748b}.bq-dashboard-checkin{cursor:pointer}
body.bq-site .bq-nav a{color:inherit;transition:filter .2s ease;filter:brightness(1);text-shadow:none}
body.bq-site .bq-nav a:is(:hover,:focus-visible){filter:brightness(1.15);text-shadow:none}
body.bq-site .bq-nav a:focus-visible{outline:1px solid currentColor;outline-offset:5px;border-radius:3px}
@media(prefers-reduced-motion:reduce){body.bq-site .bq-nav a{transition:none}}
.bq-parent-account .posts-item{background:#0b0d11;color:#94a3b8;border:1px solid #ffffff12;border-radius:12px}.bq-parent-account .posts-item .item-heading,.bq-parent-account .posts-item .item-heading a{color:#f8fafc}.bq-parent-account .posts-item a:hover{color:#a5b4fc}
.bq-comment-sort{display:flex;align-items:center;gap:4px;font-size:11px;margin-top:12px}.bq-comment-sort>a{padding:4px 10px;border-radius:8px;background:#0004}.bq-comment-sort>a.active{background:#ffffff14;color:#f8fafc}
.bq-cover-name{gap:10px}body.bq-site .bq-card .bq-file-size:hover,body.bq-site .bq-card .bq-file-size:focus-visible{color:#fff}
@media(max-width:520px){body.bq-site .bq-list .bq-file-size{display:block}}
body.bq-site .bq-card .bq-file-size,body.bq-site .bq-card h2 .bq-chinese-title{transition:color .2s ease}body.bq-site .bq-card .bq-meta,body.bq-site .bq-card:hover .bq-meta,body.bq-site .bq-card:focus-within .bq-meta{color:#94a3b8}body.bq-site .bq-card:hover .bq-file-size,body.bq-site .bq-card:focus-within .bq-file-size{color:#fff}
body.bq-site .bq-card h2 .bq-chinese-title{color:#94a3b8}body.bq-site .bq-card:hover h2 .bq-chinese-title,body.bq-site .bq-card:focus-within h2 .bq-chinese-title{color:#fff}
body.bq-site .bq-nav a.bq-ai-nav,body.bq-site .bq-nav>ul>li:nth-child(4)>a{display:inline-flex;align-items:center;gap:6px;color:#fb923c!important}.bq-ai-beacon{display:inline-block;width:8px;height:8px;flex:none;border-radius:50%;background:currentColor;animation:bq-ai-breathe 2.4s ease-in-out infinite}@keyframes bq-ai-breathe{0%,100%{opacity:.5;box-shadow:0 0 0 0 #fb923c00}50%{opacity:1;box-shadow:0 0 8px 3px #fb923c55}}@media(prefers-reduced-motion:reduce){.bq-ai-beacon{animation:none}}
/* Chinese headline first; both title rows share the same typography and highlight. */
body.bq-site .bq-card h2>a{display:flex;flex-direction:column}
body.bq-site .bq-card h2 .bq-chinese-title{order:-1;color:#f8fafc;font-size:16px;font-weight:700;line-height:1.5}
body.bq-site .bq-card:hover h2 .bq-chinese-title,body.bq-site .bq-card:focus-within h2 .bq-chinese-title{color:var(--bq-brand-color)}
body.bq-site .bq-explore-logo:has(.bq-logo-image){background:transparent;border:0;box-shadow:none}body.bq-site .bq-explore-logo .bq-logo{width:100%;height:100%;flex:none}body.bq-site .bq-composer-avatar .bq-logo-image{width:40px;height:40px}
