#open-image-search svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.6}
.image-search-dialog{box-sizing:border-box;width:min(620px,calc(100% - 32px));max-height:92dvh;margin:auto;padding:28px;border:1px solid #dce2dd;border-radius:24px;color:#202720;background:#fff;box-shadow:0 18px 80px #101a1933;overflow:auto;font:14px/1.6 Manrope,Arial,sans-serif}.image-search-dialog::backdrop{background:#101a1970;backdrop-filter:blur(3px)}.image-search-dialog *{box-sizing:border-box}.image-search-dialog [hidden],.visual-search-page [hidden]{display:none!important}.image-search-head{display:flex;align-items:center;justify-content:space-between;gap:16px}.image-search-head h2{font:700 24px/1.3 Manrope,Arial,sans-serif;margin:0}.visual-close{width:38px;height:38px;flex:none;border:0;border-radius:50%;background:#f1f3f0;font-size:26px;color:#394438;cursor:pointer}.visual-subtitle{color:#697369;font-size:13px;margin:10px 0 24px}.visual-dropzone{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;min-height:235px;padding:26px;border:1px dashed #b9c6b4;border-radius:16px;background:#f7f9f4;transition:background .15s,border-color .15s}.visual-dropzone.dragging{background:#edf9c8;border-color:#517522}.visual-search-symbol{display:flex;width:66px;height:66px;align-items:center;justify-content:center;background:#eaf3da;border-radius:18px;color:#526b39}.visual-search-symbol svg{width:44px;height:44px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.visual-dropzone>strong{font-size:16px}.visual-or{color:#87907e;font-size:12px;line-height:1}.visual-primary,.visual-secondary{display:inline-flex;align-items:center;justify-content:center;min-height:44px;border-radius:24px;padding:10px 24px;font:600 13px/1.4 Manrope,Arial,sans-serif;cursor:pointer}.visual-primary{background:#c7f343;color:#202720;border:1px solid #c7f343}.visual-primary:hover{background:#b8e832}.visual-secondary{background:#fff;color:#283323;border:1px solid #d8dfd4}.visual-secondary:hover{background:#f4f7f1}.visual-input-actions{display:flex;gap:12px;margin-top:16px}.visual-input-actions>button{flex:1}.visual-file-note{font-size:11px;line-height:1.6;color:#788274;text-align:center;margin:16px 0 0}.visual-upload-status{font-size:13px;color:#526348;margin:12px 0 0}.visual-upload-status:empty{display:none}.image-search-dialog button:disabled{opacity:.5;cursor:wait}.image-search-dialog :focus-visible,.visual-search-page :focus-visible{outline:3px solid #81a354;outline-offset:3px}
.visual-search-page{padding-top:38px;padding-bottom:60px;min-height:60vh}.visual-breadcrumb{font-size:12px;color:#6c7769;display:flex;gap:12px;margin-bottom:30px}.visual-breadcrumb a{color:inherit}.visual-page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}.visual-eyebrow{text-transform:uppercase;letter-spacing:2px;font-size:10px;font-weight:700;color:#6d7c5a;margin:0 0 8px}.visual-page-heading h1{font-family:'LPB Condensed',Impact,sans-serif;font-size:clamp(32px,4vw,48px);line-height:1.1;margin:0}.visual-query-summary{display:flex;align-items:center;gap:20px;padding:18px 22px;background:#f5f7f1;border:1px solid #e3e8dc;border-radius:16px;margin:0 0 32px}.visual-query-summary img{width:84px;height:84px;object-fit:contain;border-radius:10px;background:white;flex:none}.visual-query-summary strong{display:block;font-size:15px;margin-bottom:7px}.visual-query-summary p{font-size:12px;color:#6d7765;margin:0;max-width:600px}.visual-query-summary .visual-query-label{display:inline-flex;font-size:10px;text-transform:uppercase;letter-spacing:1px;color:#526b39;margin-bottom:5px}.visual-results-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;border-bottom:1px solid #e0e5da;padding-bottom:16px;margin-bottom:24px}.visual-results-heading h2{font-size:18px;margin:0}.visual-results-heading span{font-size:12px;color:#73806b}.visual-result-status{font-size:13px;color:#66705f;margin:16px 0 24px}.visual-search-page.is-searching .visual-query-summary{border-color:#aaca73}.visual-search-page.is-searching .visual-result-status:before{content:'';display:inline-block;width:12px;height:12px;margin-right:10px;border:2px solid #dde8d0;border-top-color:#668341;border-radius:50%;animation:visual-spin 1s linear infinite;vertical-align:middle}@keyframes visual-spin{to{transform:rotate(360deg)}}
.image-search-results{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:30px 22px}.image-search-card{min-width:0}.image-search-album{display:grid;gap:12px;text-decoration:none;color:#202720}.image-search-album img{width:100%;height:auto;aspect-ratio:1;object-fit:contain;background:#f4f6f0;border-radius:12px;transition:transform .2s}.image-search-album:hover img{transform:translateY(-3px)}.image-search-card-title{font-size:13px;line-height:1.65;font-weight:650;overflow-wrap:anywhere}.visual-card-category{font-size:11px;color:#7b8573;margin:6px 0}.image-search-card-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;font-size:13px;margin-top:10px}.image-search-weidian{background:#f1f3ee;border:1px solid #e1e6da;padding:5px 10px;border-radius:6px;text-decoration:none;color:#273323;font-size:11px}.visual-search-page .visual-secondary{white-space:nowrap}.visual-results-shell .channel-card{text-decoration:none}
@media(max-width:1100px){.image-search-results{grid-template-columns:repeat(4,minmax(0,1fr));gap:24px 16px}}@media(max-width:700px){.image-search-results{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 14px}.visual-search-page{padding-top:24px}.visual-page-heading{align-items:flex-start}.visual-page-heading>.visual-secondary{font-size:11px;padding:9px 14px;min-height:38px}.visual-query-summary{gap:14px;padding:14px;margin-bottom:24px}.visual-query-summary img{width:64px;height:64px}.visual-results-heading h2{font-size:16px}.visual-breadcrumb{margin-bottom:22px}.image-search-dialog{padding:22px 18px;border-radius:20px;width:calc(100% - 24px)}.image-search-head h2{font-size:21px}.visual-dropzone{min-height:210px;padding:20px}.visual-subtitle{font-size:12px}.visual-input-actions{gap:10px}.visual-input-actions button{padding-inline:12px}.site-header .header-actions{gap:8px}.site-header .header-wish span{display:none}#open-image-search{width:28px;min-width:28px;padding:2px}}
@media(prefers-reduced-motion:reduce){.image-search-album img{transition:none}.visual-search-page.is-searching .visual-result-status:before{animation:none}}

.visual-results-shell .transition-shell{display:none}.visual-results-shell .header-wish{display:inline-flex;align-items:center;gap:8px;text-decoration:none;color:#fff}.visual-results-shell .header-wish svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.6}

/* Give mobile header actions separate touch areas and extra language spacing. */
@media(max-width:700px){
 .site-header .masthead{grid-template-columns:minmax(0,1fr) auto;column-gap:12px}
 .site-header .header-actions{gap:10px}
 .site-header .header-actions .header-wish,.site-header #open-search,.site-header #open-image-search{width:32px;min-width:32px;height:44px;min-height:44px;padding:0;align-items:center;justify-content:center;flex-shrink:0}
 .site-header .header-actions .header-wish{display:flex}
 .site-header .language-picker{margin-left:6px;flex-shrink:0}
 .site-header .language-picker select{width:54px}
}
@media(max-width:359px){
 .site-header .masthead{column-gap:10px}
 .site-header .header-actions{gap:8px}
 .site-header .header-actions .header-wish,.site-header #open-search,.site-header #open-image-search{width:30px;min-width:30px}
 .site-header .language-picker{margin-left:4px}
 .site-header .language-picker select{width:50px}
}
