/* Additive interaction components. Original main.css/style.css remain untouched. */
.t1-preview,.t1-suggest{position:fixed;z-index:1200;box-sizing:border-box;background:#fff;color:var(--text,#555);border:1px solid #d9e4ee;border-radius:10px;box-shadow:0 12px 32px #123c6526;font:14px/1.6 "Noto Sans SC","PingFang SC",Arial,sans-serif}
.t1-preview[hidden],.t1-suggest[hidden]{display:none}
.t1-preview{width:310px;max-width:calc(100vw - 24px);padding:16px;animation:t1-reveal .14s ease-out}
.t1-preview strong{display:block;margin-right:25px;color:var(--heading,#285e98);font-size:16px;overflow-wrap:anywhere}
.t1-preview p{margin:8px 0 12px;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
.t1-preview-link{display:block;padding:8px 12px;border-radius:6px;background:var(--blue,#164e85);color:#fff;text-align:center;font-weight:600}
.t1-preview-close{position:absolute;right:8px;top:8px;border:0;background:#f3f4f6;border-radius:50%;width:26px;height:26px;color:#285e98;cursor:pointer;font-size:18px}
.t1-preview-tags{display:flex;gap:6px;margin-top:6px}
.t1-preview-tags span{padding:1px 7px;border-radius:4px;background:#e9edf2;color:#285e98;font-size:12px}
.t1-suggest{padding:8px;width:340px;max-width:calc(100vw - 24px);max-height:360px;overflow:auto}
.t1-suggest-title{padding:6px 10px;color:#78869a;font-size:12px}
.t1-suggest a{display:block;padding:8px 10px;border-radius:6px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.t1-suggest a:hover,.t1-suggest a:focus,.t1-suggest a[aria-selected=true]{outline:none;background:#e9edf2;color:#285e98}
.t1-suggest .t1-search-all{margin-top:5px;border-top:1px solid #e9edf2;color:#285e98;font-weight:600}
.t1-preview a:focus-visible,.t1-preview button:focus-visible{outline:2px solid #2a87e4;outline-offset:2px}
@keyframes t1-reveal{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.t1-preview{animation:none}}
@media(hover:none){.site-card .site-preview:focus-within .site-actions{display:flex}.site-actions a{min-height:40px}}
.t1-badges{display:inline-flex!important;gap:3px;margin-left:5px;vertical-align:middle;font-style:normal;line-height:16px}
.t1-badges b{display:inline-block;padding:0 4px;border-radius:4px;background:#2a87e4;color:#fff;font-size:10px;font-weight:600}
.t1-badges .t1-risk{background:#b64636}
.site-preview>.t1-badges{position:absolute;top:6px;left:2px;z-index:3}
.site-card[data-rank="1"] .site-rank{color:#ffe290}.site-card[data-rank="2"] .site-rank{color:#d8e8f7}.site-card[data-rank="3"] .site-rank{color:#eab892}
.t1-featured{display:flex;flex-wrap:wrap;gap:12px;padding:14px;margin:0 0 20px;background:#fff;border-radius:10px}
.t1-featured-app{position:relative;width:68px;min-width:0;text-align:center;color:#285e98;font-size:12px}
.t1-featured-app>img{display:block;width:54px;height:54px;margin:0 auto 5px;object-fit:contain;border-radius:10px;background:#f3f4f6}
.t1-featured-app>strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:500}
.t1-featured-app>.t1-badges{position:absolute;top:-5px;left:0;margin:0}
.t1-tg{display:inline-flex;align-items:center;gap:5px}.t1-tg img{width:20px;height:20px;object-fit:contain}
.t1-alert{padding:10px 12px;background:#fff0ed;color:#9e4938;border-radius:6px;border-left:3px solid #c56550}
.t1-sale,.t1-facts span{background:#edf4fa;color:#285e98;border-radius:6px;padding:5px 8px}
.t1-facts{display:flex;flex-wrap:wrap;gap:6px;font-size:12px;margin:10px 0}
.t1-shots{display:flex;gap:8px;overflow:auto;margin:15px 0;padding:4px}
.t1-shots button{padding:0;border:2px solid transparent;background:#edf4fa;border-radius:6px;cursor:pointer;flex:none}
.t1-shots button[aria-pressed=true]{border-color:#2a87e4}.t1-shots img{display:block;width:72px;height:54px;object-fit:contain;border-radius:4px}
.t1-empty,.t1-contact-note{padding:12px;color:#78869a;font-size:14px}.t1-recommendations{clear:both;margin-top:20px}.t1-recommendations h2{color:#285e98;font-size:20px}
.catalog-intro a[aria-current=page]{background:#e9edf2;border-radius:5px;color:#285e98;font-weight:700}
.about-content #contactForm{max-width:720px}.about-content #contactForm label{display:block;color:#285e98;font-size:14px;margin:12px 0}
.about-content #contactForm input,.about-content #contactForm textarea{display:block;box-sizing:border-box;width:100%;border:1px solid #d9e4ee;border-radius:6px;padding:10px;background:#f8fafc;color:#293557;font:inherit;margin-top:5px}
.about-content #contactForm input:focus,.about-content #contactForm textarea:focus{outline:2px solid #2a87e4;outline-offset:1px}
.about-content #contactForm button{border:0;border-radius:6px;padding:10px 18px;background:#164e85;color:white;cursor:pointer}.about-content #contactForm button:disabled{opacity:.55;cursor:wait}
.about-content .contact-pair{display:grid;grid-template-columns:1fr 1fr;gap:12px}.about-content #contactResult{font-size:14px}
.t1-features-ready .search-view--open .search-tags{visibility:hidden}
@media(max-width:600px){.about-content .contact-pair{grid-template-columns:1fr;gap:0}.t1-featured{gap:8px;padding:12px}.t1-featured-app{width:60px}}
/* Constrain the original left preview independently of the review column. */
.detail-summary>.detail-preview{align-self:start;width:100%;height:auto;max-height:420px;aspect-ratio:1;padding-top:0;overflow:hidden}
.detail-preview.t1-long-preview>img{height:auto!important;max-height:none;object-fit:contain!important;object-position:top;will-change:transform;transition:none}
.detail-preview.t1-long-preview:hover>img{transform:none}
.detail-preview .detail-open{z-index:2}
.t1-motion-control{flex:none;margin-left:8px;padding:5px 8px;border:1px solid #d9e4ee;border-radius:6px;background:#fff;color:#285e98;font-family:inherit;font-size:12px;line-height:1.5;cursor:pointer}
.t1-motion-control[hidden]{display:none}.similar-strip:has(.t1-motion-control:not([hidden])) .strip-avatars{min-width:0;overflow:hidden}
/* The supplied float layout assumed several application cards were present. */
.catalog-main>.catalog-divider{clear:both}
.catalog-main>.category-recommendations{clear:both;width:100%;min-width:0}
.catalog-main>.catalog-intro{max-height:none;overflow-wrap:anywhere}
.catalog-main:has(>.site-grid>.t1-empty)>.catalog-intro{float:none;width:100%;margin:0 0 16px}
.catalog-main>.site-grid>.t1-empty{display:block;font-size:14px;line-height:1.6;margin:0;padding:24px 16px;border-radius:8px;background:#f3f4f6;text-align:center}
@media(prefers-reduced-motion:reduce){.detail-preview>img{transition:none}.detail-preview:hover>img{transform:none}}

/* Ranking uses its own full-width region; the supplied template CSS stays intact. */
.t1-ranking{clear:both;width:100%;min-width:0;margin:0 0 24px;padding:20px;border:1px solid #e1e7ef;border-radius:8px;background:#fff;box-sizing:border-box}
.t1-ranking h2{font-size:20px;line-height:1.4;margin:0 0 16px;color:#164e85}
.t1-ranking-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}
.t1-ranking-tabs a{display:block;padding:9px 18px;background:#f1f5f9;color:#285e98;border:1px solid #dce5ef;border-radius:6px;text-decoration:none;font-weight:600}
.t1-ranking-tabs a[aria-current=page]{background:#164e85;border-color:#164e85;color:#fff}
.t1-ranking-tabs a:hover{box-shadow:0 0 0 2px #b8d6ed}.t1-ranking-tabs a:focus-visible{outline:2px solid #164e85;outline-offset:3px}
.t1-ranking-period{font-size:12px;line-height:1.7;color:#687789;margin:0 0 16px}
.t1-ranking-list{list-style:none;margin:0;padding:0}
.t1-ranking-list li{display:flex;align-items:center;gap:12px;padding:14px 0;border-top:1px solid #edf0f4}
.t1-ranking-number{flex:none;width:28px;height:28px;line-height:28px;text-align:center;border-radius:6px;background:#edf3f8;color:#285e98;font-weight:700}
.t1-ranking-list li:nth-child(-n+3) .t1-ranking-number{background:#164e85;color:#fff}
.t1-ranking-list a{flex:1;min-width:0;color:#213b56;text-decoration:none;overflow-wrap:anywhere}.t1-ranking-list a:hover{text-decoration:underline}
.t1-ranking-clicks{flex:none;font-size:12px;color:#687789}
@media(max-width:600px){.t1-ranking{padding:16px 12px}.t1-ranking-tabs{gap:6px}.t1-ranking-tabs a{padding:9px 13px}.t1-ranking-list li{gap:8px}}
/* Additive bindings only: packaged design CSS is preserved byte for byte. */
.bd-search{margin:0}.bd-nav{flex-wrap:wrap}.category-results{min-width:0}.t2-heading{font-size:22px;margin:0 0 20px;color:var(--bd-heading)}
.t2-pagination{display:flex;gap:18px;justify-content:center;padding:22px}.t2-pagination a{color:var(--bd-heading)}
.t2-cover{display:block;height:100%;width:100%}.t2-cover>img{display:block;width:100%;height:100%;object-fit:cover;object-position:top}
.result-image .t2-cover{height:100%}.result-image .title img{object-fit:contain}
.result-image{position:relative}.result-card h3 a{color:inherit;text-decoration:none}.result-card[data-rank="1"] h3{color:#a57716}.result-card[data-rank="2"] h3{color:#687d8a}.result-card[data-rank="3"] h3{color:#a56c43}
.bd-card__list .t1-badges{position:static;display:inline-flex;flex:none}.bd-card__list li>a{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:8px}
.category-sidebar a[aria-current=page]{background:#e4e6dc;color:var(--bd-heading);font-weight:700}
.detail-preview{max-height:420px;overflow:hidden}.detail-preview>img{width:100%;height:100%;object-fit:contain;object-position:top}.detail-preview.t1-long-preview>img{height:auto;max-height:none;object-fit:cover;transform:none}
.detail-open,.detail-tip{z-index:2}.detail-rail p img{width:40px;height:40px;object-fit:contain;vertical-align:middle}.detail-rail p a{color:inherit;text-decoration:none}
.detail-similar .img-box{position:relative}.detail-similar .t2-cover{height:100%}.detail-similar .similar-card-name img{width:14px;height:14px;object-fit:contain}
.t2-description{background:#fff;border-radius:8px;padding:24px;margin:24px 0;overflow-wrap:anywhere}.t2-description img{max-width:100%;height:auto}
.t1-preview{border-color:#c7c2b2}.t1-preview-link{background:var(--bd-heading);color:#fff}.t1-ranking h2{color:var(--bd-heading)}.t1-ranking-tabs a[aria-current=page]{background:var(--bd-heading);border-color:var(--bd-heading)}
.t2-search-form{display:contents}
.bd-footer a,.category-footer a{color:inherit}.about-content{overflow-wrap:anywhere}.detail-overview{min-width:0;overflow-wrap:anywhere}
@media(max-width:600px){.result-image .t2-cover,.detail-similar .t2-cover{height:100%}.bd-nav{gap:12px}.detail-preview{max-height:360px}.t2-description{padding:16px}}

.bd-card__list li:has(>img)::before{display:none}.bd-card__list li>img:not(.bg-card__icon){width:18px;height:18px;object-fit:contain;flex:none}.bd-card__list li:has(>img)>a{min-width:0}
.detail-preview{aspect-ratio:1;padding-top:0;height:auto;align-self:start}.site-actions{z-index:3}
.t2-featured{display:flex;gap:12px;flex-wrap:wrap;margin:16px 0}.t2-featured>a{position:relative;display:flex;flex-direction:column;align-items:center;width:72px;gap:5px;font-size:12px;text-decoration:none;color:var(--bd-text)}.t2-featured img{width:54px;height:54px;object-fit:contain;border-radius:10px;background:white}.t2-featured span{width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;text-align:center}

.t2-visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%);white-space:nowrap;border:0}.similar-card h3 a{color:inherit;text-decoration:none}.t2-stars{white-space:nowrap}.result-image>.t1-badges,.img-box>.t1-badges{position:absolute;left:4px;top:5px;z-index:4;margin:0}
/* Long live labels must not stretch the original fixed card and sidebar geometry. */
@media(min-width:701px){.category-layout>.category-sidebar{align-self:start;max-height:calc(100vh - 40px);overflow-y:auto;scrollbar-width:thin}.category-sidebar li{flex-shrink:0}}
.result-card>p,.similar-card>p{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
.bd-card__desc{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.t1-preview-link{color:#fff}

.t2-nav-links{display:contents}@media(max-width:700px){.bd-nav{flex-wrap:nowrap}.t2-nav-links{display:flex;flex:1;min-width:0;gap:20px;overflow-x:auto;white-space:nowrap;scrollbar-width:none;height:40px}.t2-nav-links::-webkit-scrollbar{display:none}.t2-nav-links>a{flex:none}}
