/* SMOZIN V4.9.6.51 — homepage-equivalent category search + clear subtree counts. */
.sm51-search-area{position:relative;margin:23px 0 4px;max-width:100%;z-index:5}
.sm51-search{position:relative;isolation:isolate;display:flex;align-items:center;gap:10px;width:min(100%,660px);max-width:660px;padding:6px 8px;border:1px solid #e6ebf4;border-radius:18px;background:var(--surface,#fff);box-shadow:0 9px 26px rgba(19,35,71,.07)}
.sm51-search .sm51-search-icon{display:grid;place-items:center;flex:none;width:34px;height:38px;color:#8291aa;font-size:20px}
.sm51-search input[type=search]{flex:1;min-width:0;min-height:40px;padding:7px 3px;border:0!important;outline:none!important;background:transparent!important;box-shadow:none!important;color:var(--ink,#1c2a49);font-size:13px}
.sm51-search input::placeholder{color:var(--muted,#7a879c)}
.sm51-search:focus-within{border-color:#abb3ff;box-shadow:0 0 0 3px rgba(99,102,241,.12),0 13px 32px rgba(19,35,71,.09)}
.sm51-search button{flex:none;min-height:41px;padding:9px 18px;border:0;border-radius:11px;background:linear-gradient(135deg,#5263ff,#7352f6);box-shadow:0 10px 22px rgba(82,99,255,.22);color:#fff;font-size:13px;font-weight:850;cursor:pointer}
.sm51-search button:hover{filter:brightness(1.07)}
.sm51-visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.sm51-popular{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin:10px 0 0;color:var(--muted,#7f8aa1);font-size:11px}
.sm51-popular a{display:inline-flex;align-items:center;min-height:25px;padding:3px 10px;border:1px solid var(--line,#e7ebf5);border-radius:99px;background:var(--surface,#fff);color:var(--muted,#65748d);font-weight:750;font-size:11px;text-decoration:none}
.sm51-popular a:hover{border-color:#adb4ff;color:#575fe2}
.sm51-search .sm49649-search-dropdown{z-index:90}
.sm51-category-summary{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 20px;padding:17px 21px;border:1px solid var(--line,#e4e9f1);border-radius:18px;background:var(--surface,#fff)}
.sm51-category-summary strong{font-size:15px;color:var(--ink,#172038);font-weight:850}
.sm51-category-summary p{margin:6px 0 0;font-size:12px;line-height:1.6;color:var(--muted,#64718a)}
.sm51-category-summary>a{flex:none;display:inline-flex;align-items:center;gap:7px;border-radius:11px;padding:11px 14px;background:#eef0ff;color:#4e56d7;font-size:12px;font-weight:850}
.sm50-topic-links>a.sm51-filled{border-color:#d7dafa;background:#f4f5ff;color:#3349b1}
.sm50-topic-links>a.sm51-filled small{font-size:10px;display:inline-flex;place-items:center;padding:1px 5px;border-radius:5px;margin-left:5px;background:#e5e9ff;color:#3547aa;font-weight:850}
.sm51-subcategory-filled{border-color:#d9dffc;box-shadow:0 7px 24px rgba(53,77,170,.05)}
.sm51-subcategory-filled small{font-weight:850;color:#4d5b9d}
html[data-theme=dark] .sm51-search,html[data-smozin-theme=dark] .sm51-search,body.dark .sm51-search{background:var(--surface,#182234);border-color:#35445e}
html[data-theme=dark] .sm51-popular a,html[data-smozin-theme=dark] .sm51-popular a,body.dark .sm51-popular a{background:var(--surface,#182234);border-color:#35445e;color:#c5d0e6}
html[data-theme=dark] .sm51-category-summary>a,html[data-smozin-theme=dark] .sm51-category-summary>a,body.dark .sm51-category-summary>a{background:#313b65;color:#d4dcff}
html[data-theme=dark] .sm50-topic-links>a.sm51-filled,html[data-smozin-theme=dark] .sm50-topic-links>a.sm51-filled,body.dark .sm50-topic-links>a.sm51-filled{background:#273450;color:#e2e8ff;border-color:#4b5690}
html[data-theme=dark] .sm50-topic-links>a.sm51-filled small,html[data-smozin-theme=dark] .sm50-topic-links>a.sm51-filled small,body.dark .sm50-topic-links>a.sm51-filled small{background:#3d4970;color:#e2e8ff}
@media(max-width:690px){.sm51-search{width:100%}.sm51-category-summary{flex-direction:column;align-items:flex-start}.sm51-category-summary>a{align-self:flex-start}}
@media(max-width:410px){.sm51-search{gap:5px}.sm51-search .sm51-search-icon{width:24px}.sm51-search input[type=search]{font-size:12px}.sm51-search button{padding:9px 13px}.sm51-popular{gap:5px}}
@media(prefers-reduced-motion:reduce){.sm51-search button:hover{filter:none}}
