/* Search renders catalog results only; playback remains in the existing feed. */
#tiktok-view .tiktok-search-page {position:absolute;inset:0;z-index:25;overflow-x:hidden;overflow-y:auto;overscroll-behavior-y:contain;background:var(--tt-bg,#000);color:var(--tt-fg,#f5f5f5);scrollbar-width:thin;scrollbar-color:#45454a transparent}
#tiktok-view .tiktok-search-tabs {position:sticky;top:0;z-index:3;display:flex;align-items:center;gap:8px;min-height:65px;padding:0 24px;border-bottom:1px solid var(--tt-line,#252528);background:var(--tt-bg,#000)}
#tiktok-view .tiktok-search-tab {position:relative;flex:0 1 96px;min-width:56px;min-height:64px;padding:16px 12px;border:0;background:none;color:var(--tt-muted,#a7a7af);font:600 15px/1.3 'Segoe UI',sans-serif;cursor:pointer}
#tiktok-view .tiktok-search-tab[aria-selected='true'] {color:var(--tt-fg,#fff)}
#tiktok-view .tiktok-search-tab[aria-selected='true']::after {position:absolute;bottom:-1px;left:8px;right:8px;height:2px;background:currentColor;content:''}
#tiktok-view .tiktok-search-content {width:100%;max-width:1160px;box-sizing:border-box;padding:18px 28px 40px}
#tiktok-view .tiktok-search-title {margin:0 0 20px;color:var(--tt-muted,#a7a7af);font-size:13px;font-weight:400;line-height:1.5;overflow-wrap:anywhere}
#tiktok-view .tiktok-search-notice {margin:0 0 20px;padding:10px 12px;border:1px solid var(--tt-line,#303036);border-radius:6px;color:var(--tt-muted,#a7a7af);font-size:13px;line-height:1.5}
#tiktok-view .tiktok-search-section {margin:0 0 28px}
#tiktok-view .tiktok-search-section-heading {display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}
#tiktok-view .tiktok-search-section-heading h2 {margin:0;font-size:18px;font-weight:650;line-height:1.3}
#tiktok-view .tiktok-search-more {min-height:36px;padding:7px 0 7px 10px;border:0;background:none;color:inherit;font-size:13px;font-weight:600;cursor:pointer}
#tiktok-view .tiktok-search-more::after {margin-left:8px;content:'›';font-size:20px;vertical-align:-1px}
#tiktok-view .tiktok-search-users {display:grid;gap:8px}
#tiktok-view .tiktok-search-user {display:flex;align-items:center;gap:12px;min-width:0;padding:8px 0;border-bottom:1px solid var(--tt-line,#252528)}
#tiktok-view .tiktok-search-user-open {display:flex;align-items:center;gap:14px;flex:1;min-width:0;min-height:76px;padding:0;border:0;background:none;color:inherit;text-align:left;cursor:pointer}
#tiktok-view .tiktok-search-user-avatar {position:relative;display:grid;place-items:center;flex:0 0 64px;width:64px;height:64px;overflow:hidden;border-radius:50%;background:var(--tt-hover,#25252a);font-size:24px;font-weight:600}
#tiktok-view .tiktok-search-user-avatar img {position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
#tiktok-view .tiktok-search-user-copy {display:flex;flex-direction:column;gap:5px;min-width:0}
#tiktok-view .tiktok-search-user-copy strong {max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px;line-height:1.3}
#tiktok-view .tiktok-search-handle {color:var(--tt-muted,#b0b0b8);font-size:13px;overflow-wrap:anywhere}
#tiktok-view .tiktok-search-user-state {flex:none;margin-left:auto;padding:8px 14px;border-radius:20px;background:var(--yellow,#ffd000);color:#171717;font-size:12px;font-weight:650;white-space:nowrap}
#tiktok-view .tiktok-search-user-profile {flex:none;padding:12px 0 12px 8px;color:var(--tt-muted,#b0b0b8);font-size:12px;text-decoration:none;white-space:nowrap}
#tiktok-view .tiktok-search-user-profile:hover {color:var(--yellow,#ffd000)}
#tiktok-view .tiktok-search-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 16px}
#tiktok-view .tiktok-search-card {display:block;min-width:0;margin:0;padding:0;border:0;border-radius:8px;background:none;color:inherit;text-align:left;cursor:pointer}
#tiktok-view .tiktok-search-media {position:relative;display:grid;place-items:center;aspect-ratio:3/4;overflow:hidden;border-radius:8px;background:radial-gradient(ellipse at 50% 40%,#29292d,#101013 75%)}
#tiktok-view .tiktok-search-mark {color:#666670;font-size:52px;line-height:1}
#tiktok-view .tiktok-search-poster {position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover}
#tiktok-view .tiktok-search-badge {position:absolute;left:8px;top:8px;padding:4px 7px;border:1px solid #ffffff36;border-radius:4px;background:#b81935;color:#fff;font-size:10px;font-weight:700;line-height:1.3}
#tiktok-view .tiktok-search-card-title {display:-webkit-box;margin:8px 0 6px;overflow:hidden;font-size:13px;line-height:1.4;font-weight:500;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow-wrap:anywhere}
#tiktok-view .tiktok-search-byline {display:flex;align-items:center;gap:6px;min-width:0;min-height:23px}
#tiktok-view .tiktok-search-avatar {flex:none;width:22px;height:22px;border-radius:50%;object-fit:cover}
#tiktok-view .tiktok-search-byline > span {min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--tt-muted,#b0b0b8);font-size:12px;line-height:1.5}
#tiktok-view .tiktok-search-empty {display:grid;place-content:center;gap:12px;min-height:300px;padding:30px 16px;text-align:center}
#tiktok-view .tiktok-search-empty h2 {margin:0;font-size:23px;font-weight:600;line-height:1.3}
#tiktok-view .tiktok-search-empty p {max-width:390px;margin:0 auto;color:var(--tt-muted,#b0b0b8);font-size:14px;line-height:1.6}
#tiktok-view .tiktok-search-all {justify-self:center;min-height:40px;margin-top:8px;padding:9px 15px;border:0;border-radius:6px;background:var(--yellow,#ffd000);color:#171717;font-size:13px;font-weight:650;cursor:pointer}
#tiktok-view .tiktok-search-page :is(a,button):focus-visible {outline:2px solid var(--yellow,#ffd000);outline-offset:3px}
#tiktok-view .tiktok-search-page button:disabled {cursor:default}
#tiktok-view .tiktok-search-page[hidden],#tiktok-view .tiktok-search-page [hidden] {display:none!important}
@media (min-width:761px) {
  body.tiktok-view-active.tiktok-search-active.tiktok-desktop-drawer-open #tiktok-view {left:392px;transition:none}
  #tiktok-view .tiktok-search-tabs {padding-right:190px}
}
@media (min-width:761px) and (max-width:1000px) {
  #tiktok-view .tiktok-search-tabs {padding:56px 16px 0}
  #tiktok-view .tiktok-search-tab {flex:1 1 0;min-height:52px;padding-inline:6px;font-size:14px}
  #tiktok-view .tiktok-search-content {padding-inline:16px}
  #tiktok-view .tiktok-search-user {flex-wrap:wrap}
  #tiktok-view .tiktok-search-user-profile {margin-left:78px;padding-top:0}
}
@media (min-width:1000px) {#tiktok-view .tiktok-search-grid {grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (min-width:1400px) {#tiktok-view .tiktok-search-grid {grid-template-columns:repeat(4,minmax(0,1fr))}}
@media (max-width:760px) {
  #tiktok-view .tiktok-search-page {background:#000;color:#fff;-webkit-overflow-scrolling:touch}
  #tiktok-view .tiktok-search-tabs {gap:0;min-height:51px;padding:0 8px;background:#000}
  #tiktok-view .tiktok-search-tab {flex:1 1 0;min-width:0;min-height:51px;padding:12px 6px;font-size:14px}
  #tiktok-view .tiktok-search-content {padding:14px 12px 28px}
  #tiktok-view .tiktok-search-title {margin-bottom:16px;font-size:12px}
  #tiktok-view .tiktok-search-section-heading {margin-bottom:10px}
  #tiktok-view .tiktok-search-section-heading h2 {font-size:16px}
  #tiktok-view .tiktok-search-user {flex-wrap:wrap;gap:0 8px}
  #tiktok-view .tiktok-search-user-open {gap:10px;min-height:64px}
  #tiktok-view .tiktok-search-user-avatar {flex-basis:48px;width:48px;height:48px;font-size:20px}
  #tiktok-view .tiktok-search-user-copy strong {font-size:14px}
  #tiktok-view .tiktok-search-handle {font-size:12px}
  #tiktok-view .tiktok-search-user-state {padding:7px 9px;font-size:11px}
  #tiktok-view .tiktok-search-user-profile {margin-left:58px;padding:2px 0 10px;font-size:11px}
  #tiktok-view .tiktok-search-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 12px}
  #tiktok-view .tiktok-search-card-title {font-size:12px}
  #tiktok-view .tiktok-search-empty {min-height:240px;padding-inline:8px}
  #tiktok-view .tiktok-search-empty h2 {font-size:20px}
}
