/* Compact homepage statistics; NumberFlow and useAnimations licenses are bundled. */
body.home-view #main{padding-top:16px}
.home-pulse{width:min(100%,510px);margin:0 auto 12px;text-align:left}
.home-pulse-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px;border:0;background:transparent;padding:0}
.home-pulse-grid .home-pulse-item{box-sizing:border-box;display:flex;align-items:center;justify-content:center;gap:5px;min-width:0;min-height:26px;margin:0;padding:2px 3px;border:0;border-radius:5px;background:transparent;color:#4c5b70;font:inherit;text-align:center;cursor:pointer;transition:background-color .16s ease}
.home-pulse-grid button.home-pulse-item:hover,.home-pulse-grid button.home-pulse-item[aria-expanded=true]{background:#f4f6fb}
.home-pulse-grid .home-pulse-item--users,.home-pulse-grid .home-pulse-item--day{cursor:default}
.home-pulse-item:focus-visible{outline:2px solid #a5b5ff;outline-offset:1px}
.home-pulse-label{display:flex;align-items:center;gap:4px;font-size:10px;line-height:1.5;white-space:nowrap;color:#748092}
.home-pulse-icon{display:block;width:12px;height:12px;flex:0 0 12px;color:#7189b0}
.home-pulse-icon--download{color:#659287}.home-pulse-icon--paw{color:#a87b8e}.home-pulse-icon--calendar{color:#9c8866}
.home-pulse-icon svg{display:block;width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.home-pulse-icon.is-lottie svg{fill:initial;stroke:initial;stroke-width:initial}
.home-pulse-icon.is-lottie:not(.home-pulse-icon--download) svg [stroke]:not([stroke="none"]){stroke:currentColor}
.home-pulse-icon--star.is-lottie svg [fill]:not([fill="none"]){fill:currentColor}
.home-pulse-icon--download.is-lottie svg [stroke="rgb(0,0,0)"]{stroke:currentColor}
.home-pulse-icon--download.is-lottie svg [fill="rgb(0,0,0)"]{fill:currentColor}
.home-pulse-value{display:inline-flex;align-items:baseline;gap:3px;min-width:0;padding:0;border:0;background:transparent;font:600 14px/1.3 "Segoe UI Variable Text","Segoe UI",Arial,sans-serif;white-space:nowrap;letter-spacing:-.1px;color:#536c9c;font-variant-numeric:tabular-nums}
.home-pulse-item--claims .home-pulse-value{color:#417c72}
.home-pulse-item--users .home-pulse-value{color:#93677d}
.home-pulse-item--day .home-pulse-value{color:#8b734e}
.home-pulse-value number-flow{font:inherit;letter-spacing:inherit;--number-flow-mask-height:.12em;--number-flow-mask-width:.18em}
.home-pulse-value number-flow[hidden]{display:none}
.home-pulse-number-fallback{font:inherit}
.home-pulse-value.has-flow .home-pulse-number-fallback{position:absolute;width:1px;height:1px;margin:-1px;padding:0;border:0;clip-path:inset(50%);overflow:hidden;white-space:nowrap}
.home-pulse-unit{font:400 9px/1.4 "Microsoft YaHei",sans-serif;letter-spacing:0;color:#8b98ac}
.home-pulse-meta{display:flex;justify-content:center;margin:2px 0 0;padding:0;border:0;font-size:9px;line-height:1.5;color:#8491a2;letter-spacing:.15px}
.home-pulse.is-stale .home-pulse-meta{color:#9b834f}
.home-pulse-item.is-playing .home-pulse-icon--paw{animation:pulse-paw-wave .7s ease-in-out}
@keyframes pulse-paw-wave{0%,100%{transform:rotate(0) scale(1)}25%{transform:rotate(-11deg) scale(1.12)}55%{transform:rotate(10deg) scale(1.07)}80%{transform:rotate(-4deg)}}
.pulse-detail{box-sizing:border-box;position:fixed;inset:auto;width:min(300px,calc(100vw - 24px));max-height:calc(100dvh - 24px);margin:0;padding:8px;border:1px solid #e4e9f2;border-radius:9px;background:#fff;color:#29384f;box-shadow:0 8px 24px #21385b17;overflow:auto;font-family:'Noto Sans SC','Microsoft YaHei','PingFang SC',sans-serif;text-align:left}
.pulse-detail::backdrop{background:transparent;pointer-events:none}
.pulse-detail-controls{display:flex;align-items:center;gap:5px;margin:0 0 5px}
.pulse-detail-filters{display:flex;flex:1;min-width:0;gap:1px;padding:2px;border-radius:5px;background:#f5f7fa}
.pulse-detail-filters button{flex:1;min-width:0;min-height:26px;padding:3px 4px;border:0;border-radius:4px;background:transparent;color:#7a8799;font:inherit;font-size:11px;white-space:nowrap;cursor:pointer}
.pulse-detail-filters button[aria-pressed=true]{background:#fff;color:#3155f5;box-shadow:0 1px 3px #24385412}
.pulse-detail-close{display:grid;place-items:center;flex-shrink:0;width:24px;height:28px;margin:0;padding:0;border:0;border-radius:5px;background:transparent;color:#8793a5;font:inherit;font-size:21px;cursor:pointer}
.pulse-detail-close:hover{background:#f3f5f9}
.pulse-resource-list{max-height:150px;overflow:auto;overscroll-behavior:contain;list-style:none;padding:0;margin:0;scrollbar-width:thin;scrollbar-color:#cad2df transparent}
.pulse-resource-list li{margin:0;border-bottom:1px solid #f0f3f7}.pulse-resource-list li:last-child{border:0}
.pulse-resource-list a{box-sizing:border-box;display:grid;grid-template-columns:16px minmax(0,1fr) auto;align-items:center;gap:5px;min-height:28px;padding:3px 1px;color:#576981;text-decoration:none;font-size:11px;line-height:1.55}
.pulse-resource-list a:hover{background:#f6f8fe;color:#3155f5}
.pulse-rank{display:grid;place-items:center;width:16px;height:16px;color:#97a3b5;font-size:9px;font-variant-numeric:tabular-nums}
.pulse-resource-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pulse-resource-count{font-size:11px;font-weight:600;font-variant-numeric:tabular-nums;color:#5b6e8b;white-space:nowrap}
.pulse-resource-arrow{font-size:9px;color:#a5b1c4;margin-left:3px;font-weight:400}
.pulse-empty{font-size:11px;line-height:1.8;color:#909baa;padding:12px 0;text-align:center}
.pulse-data-status{margin:0 0 6px;font-size:10px;line-height:1.6;color:#997127}.pulse-data-status[hidden]{display:none}
.pulse-detail button:focus-visible,.pulse-resource-list a:focus-visible{outline:2px solid #a5b5ff;outline-offset:-2px;border-radius:4px}
.home-pulse-credit{display:block;margin-top:8px;font-size:9px;line-height:1.5;font-weight:400;color:#929caa}.home-pulse-credit a{color:inherit;text-decoration:none}.home-pulse-credit a:hover{text-decoration:underline}
@media(max-width:600px){
 body.home-view #main{padding-top:42px}
 .home-pulse{margin-bottom:10px}
 .home-pulse-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1px 2px}
 .home-pulse-grid .home-pulse-item{min-height:26px;padding:2px;gap:5px}
 .home-pulse-label{font-size:10px;gap:3px}
 .home-pulse-value{font-size:14px}
 .home-pulse-meta{margin-top:2px;font-size:9px}
 .pulse-detail{width:min(288px,calc(100vw - 24px));padding:8px}
 .pulse-detail-filters button{min-height:32px}
 .pulse-detail-close{height:32px}
 .pulse-resource-list{max-height:156px}
 .pulse-resource-list a{min-height:36px;font-size:12px}
 .pulse-resource-count{font-size:12px}
}
@media(prefers-reduced-motion:reduce){.home-pulse-grid .home-pulse-item{transition:none}.home-pulse-item.is-playing .home-pulse-icon--paw{animation:none}}

/* Compact homepage composition; existing links and controls keep their behavior. */
body.home-view .sidebar.creator-header{height:70px;min-height:70px;gap:14px;padding:0 max(24px,calc((100% - 1150px)/2))}
body.home-view .sidebar.creator-header .brand{font-size:18px;gap:8px}
body.home-view .sidebar.creator-header .brand-avatar{width:32px;height:32px;border-radius:10px}
body.home-view .sidebar.creator-header .creator-links{width:min(100%,600px)}
body.home-view .creator-platforms{gap:24px}
body.home-view .creator-links .creator-link{height:42px;min-height:42px;padding:6px 9px;gap:6px;border-radius:10px;box-shadow:none}
body.home-view .creator-emblem{width:22px;height:22px;flex-basis:22px}
body.home-view .creator-link .creator-icon{width:20px;height:20px}
body.home-view .creator-link--xiaohongshu .creator-icon{width:22px;height:22px;padding:2px;border-radius:6px}
body.home-view .creator-name{font-size:13px;line-height:20px;font-weight:600}
body.home-view .creator-action{font-size:10px;line-height:16px}
body.home-view .creator-tip{top:calc(100% + 2px);padding:4px 8px;font-size:11px;line-height:16px}
body.home-view .sidebar.creator-header .login-entry{height:34px;min-height:34px;padding:0 16px;border-radius:9px;font-size:12px}
body.home-view .intro h1.home-purpose{font-size:24px;line-height:1.4}
body.home-view .resource-types{width:min(420px,100%);margin-top:22px;gap:9px}
body.home-view .resource-type{min-height:46px;padding:8px 12px;gap:8px;border-radius:10px;font-size:13px}
body.home-view .resource-type-icon{width:20px;height:20px}
body.home-view #main .search{width:min(100%,660px);height:48px;min-height:48px;margin-top:16px;border-radius:10px}
body.home-view #main .search input{height:36px;font-size:14px}
body.home-view #main .search>button{height:40px;min-height:40px;font-size:13px;min-width:70px}
body.home-view .home-services{width:min(100%,660px);margin-top:24px;padding-top:18px}
@media(max-width:960px){
 body.home-view .sidebar.creator-header{height:auto;min-height:104px;padding:12px 24px;gap:8px 12px}
 body.home-view .sidebar.creator-header .creator-links{width:min(100%,600px)}
}
@media(max-width:600px){
 body.home-view .sidebar.creator-header{min-height:0;padding:10px 16px;gap:8px}
 body.home-view .sidebar.creator-header .brand{font-size:15px;gap:7px}
 body.home-view .sidebar.creator-header .brand-avatar{width:28px;height:28px;border-radius:8px}
 body.home-view .sidebar.creator-header .login-entry{height:32px;min-height:32px;padding:0 12px}
 body.home-view .sidebar.creator-header .creator-links{width:100%;max-width:580px}
 body.home-view .creator-platforms{gap:8px}
 body.home-view .creator-emblem{width:20px;height:20px;flex-basis:20px}
 body.home-view .creator-links .creator-link{height:40px;min-height:40px;padding:6px;gap:4px}
 body.home-view .intro h1.home-purpose{font-size:22px}
 body.home-view .resource-types{margin-top:18px;gap:7px}
 body.home-view .resource-type{min-height:50px;padding:7px 6px;gap:5px;flex-direction:row;font-size:12px}
 body.home-view .resource-type-icon{width:18px;height:18px}
 body.home-view #main .search{height:46px;min-height:46px;margin-top:13px}
 body.home-view #main .search>button{min-width:50px}
 body.home-view .home-services{margin-top:22px;padding-top:16px}
}
@media(max-width:600px),(hover:none){body.home-view .creator-tip{display:none}}

@media(max-width:760px){body.home-view .creator-platforms{gap:8px}body.home-view .creator-links .creator-link{height:44px;min-height:44px;padding:6px;gap:4px}body.home-view .creator-emblem{width:20px;height:20px;flex-basis:20px}body.home-view .creator-link .creator-icon{width:20px;height:20px}body.home-view .creator-action{display:none}}
